/* =========================================================
   style.css — Intent App
   ========================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Tokens */
:root {
  --bg:         #0e0e0e;
  --surface:    #161616;
  --border:     #2a2a2a;
  --text:       #e8e4dc;
  --muted:      #7a7570;
  --accent:     #c8a96e;
  --accent-dim: #6e5a38;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* Navigation */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo em { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}


/* =========================================================
   Homepage (index.html)
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: 15px;
  color: #a09a92;
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 48px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0e0e0e;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #d4b87a;
  transform: translateY(-1px);
}

.btn-ghost {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 0.6s 0.6s ease both;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}

.feature {
  background: var(--surface);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.feature:hover { border-color: var(--accent-dim); }

.feature-icon {
  font-size: 22px;
  margin-bottom: 16px;
  display: block;
}

.feature h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--text);
}

.feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.philosophy {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.philosophy h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  position: sticky;
  top: 100px;
}

.philosophy h2 em {
  font-style: italic;
  color: var(--accent);
}

.philosophy-body p {
  color: #a09a92;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.nobs {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.nobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.nobs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.nobs-item::before {
  content: '×';
  color: #4a4540;
  font-size: 16px;
  flex-shrink: 0;
}

body > footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 100%;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

body > footer span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}


/* =========================================================
   Inner pages — Support & Privacy (shared)
   ========================================================= */

.wrap { max-width: 680px; margin: 0 auto; padding: 120px 32px 120px; }

.wrap header { margin-bottom: 64px; animation: fadeUp 0.6s ease both; }

.wrap .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.wrap h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}

.wrap h1 em { font-style: italic; color: var(--accent); }

.rule { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

.wrap p { color: #c4bfb7; margin-bottom: 12px; }

.wrap p:last-child { margin-bottom: 0; }

.wrap > footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wrap > footer span { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

.wrap > footer a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.wrap > footer a:hover { color: var(--accent); }


/* =========================================================
   Support page (support.html)
   ========================================================= */

.faq-section { margin-bottom: 48px; animation: fadeUp 0.5s ease both; }
.faq-section:nth-child(2) { animation-delay: 0.08s; }
.faq-section:nth-child(3) { animation-delay: 0.14s; }
.faq-section:nth-child(4) { animation-delay: 0.20s; }
.faq-section:nth-child(5) { animation-delay: 0.26s; }

.faq-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 2px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent); }

.faq-q .chevron {
  font-size: 10px;
  color: var(--accent-dim);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item.open .chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-a p { font-size: 13px; color: var(--muted); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 32px;
  border-radius: 2px;
  margin-top: 48px;
  animation: fadeUp 0.5s 0.3s ease both;
}

.contact-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.btn-contact {
  display: inline-block;
  background: var(--accent);
  color: #0e0e0e;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-contact:hover { background: #d4b87a; }


/* =========================================================
   Privacy page (privacy.html)
   ========================================================= */

.meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--accent-dim);
  padding-left: 14px;
}

.wrap section { margin-bottom: 48px; animation: fadeUp 0.5s ease both; }
.wrap section:nth-child(2) { animation-delay: 0.08s; }
.wrap section:nth-child(3) { animation-delay: 0.14s; }
.wrap section:nth-child(4) { animation-delay: 0.20s; }
.wrap section:nth-child(5) { animation-delay: 0.26s; }
.wrap section:nth-child(6) { animation-delay: 0.32s; }
.wrap section:nth-child(7) { animation-delay: 0.38s; }

.wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wrap h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 2px;
}

.callout p { color: var(--text); font-size: 13px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-block p { margin: 0; font-size: 13px; color: var(--muted); }

.contact-block a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-block a:hover { color: var(--text); border-color: var(--text); }

.inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 640px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .philosophy { padding: 60px 20px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 32px; }
  .philosophy h2 { position: static; }
  .nobs { padding: 60px 20px; }
  .nobs-grid { grid-template-columns: 1fr; }
  body > footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }
  .wrap { padding: 90px 20px 80px; }
  .contact-block { flex-direction: column; align-items: flex-start; }
}
