/* ─── Shared marketing-site stylesheet ─────────────────────────────────────
   Used by about / pricing pages (the homepage has its own dedicated
   landing.css). Same design system as landing.css — warm paper bg,
   Bricolage Grotesque + Inter + IBM Plex Mono, emerald accent, dark ink —
   but keeps the legacy class names that the existing about/pricing HTML
   already uses so those pages don't need to be restructured. */

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

:root {
  --bg:        #FAF7F1;
  --bg-2:      #F3EEE2;
  --surface:   #FFFFFF;
  --ink:       #0E1410;
  --ink-2:     #262B27;
  --ink-soft:  #3A3F3B;
  --ink-3:     #5C615C;
  --ink-muted: #8E928D;
  --border:    #E5DECD;
  --border-2:  #EFE9DA;

  --accent:    #0F5132;
  --accent-2:  #16A34A;
  --accent-soft: #E3ECDF;
  --clay:      #B5462A;
  --clay-soft: #F2E2D8;

  /* Legacy aliases — kept so any inline style referencing these still works.
     Map to the new emerald palette so nothing renders in the old indigo. */
  --purple:       var(--accent);
  --purple-light: var(--accent-soft);
  --purple-mid:   var(--accent-2);
  --white:        var(--surface);

  --sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter Tight', var(--sans);
  --mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Legacy alias — old stylesheet used --serif. Map to display so any
     inline rule that references it gets the modern grotesque. */
  --serif:   var(--display);

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Animations ────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-1 { animation: fadeUp 0.7s ease both; }
.anim-2 { animation: fadeUp 0.7s 0.10s ease both; }
.anim-3 { animation: fadeUp 0.7s 0.20s ease both; }
.anim-4 { animation: fadeUp 0.7s 0.30s ease both; }
.anim-fade { animation: fadeIn 0.9s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250,247,241,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
/* The legacy markup is `<a class="logo">Aza<span>yon</span></a>`.
   We turn this into "[brand-mark icon] Azayon" by injecting the icon via
   ::before — so the existing HTML on every page picks up the new mark
   without needing to be edited. */
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.logo::before {
  content: '';
  width: 26px; height: 26px;
  margin-right: 10px;
  background: url('/icon-mark.svg') center / contain no-repeat;
  flex-shrink: 0;
}
.logo span {
  /* Drop the old purple-italic styling. Kept as a separate span only because
     existing markup still has it — render it identical to the rest of the
     wordmark so visually it's just "Azayon". */
  color: inherit;
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.15s;
}
.nav-login:hover { color: var(--ink); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 1px 2px rgba(14,20,16,0.20);
}
.btn-primary:hover { background: #1d2520; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.5);
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: #f1ece0; transform: translateY(-1px); }
.btn-dark-outline {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.22);
}
.btn-dark-outline:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05); }

/* ── Hamburger / mobile nav ───────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: .25s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 28px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border-2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border-2);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }

/* ── Section heading primitives ───────────────────────────────────────── */
/* Section-label is the small uppercase label above section titles.
   Restyled as the asterisk-marker mono eyebrow used on the new homepage. */
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '✱';
  color: var(--clay);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  line-height: 0;
  transform: translateY(2px);
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 620px;
  margin-bottom: 16px;
}
/* The legacy markup uses <em> inside section titles for an italic-purple
   accent. We keep using <em> as the hook but render it as a non-italic
   emerald accent so it matches the new design language. */
.section-title em,
h1 em, h2 em {
  font-style: normal;
  color: var(--accent);
}
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.6;
}

/* ── About page ───────────────────────────────────────────────────────── */
.about-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 80% 0%, rgba(15,81,50,0.06), transparent 60%);
  pointer-events: none;
}
.about-hero .container { position: relative; }
.about-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 24px;
}
.about-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.about-hero p {
  font-size: 18.5px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0 32px;
}
.about-text h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.about-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Value cards — replace the old emoji+round container with a clean tile.
   Value icons keep working with the existing emoji markup, but you can also
   put inline SVG inside .value-icon and it'll render as a Lucide-style chip. */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .18s ease;
}
.value-card:hover { background: #fdfcf8; }
.value-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 8px;
}
.value-icon svg { width: 18px; height: 18px; }
.value-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.value-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
}

.team-section {
  padding: 96px 0;
  border-top: 1px solid var(--border-2);
}

/* ── Pricing page ─────────────────────────────────────────────────────── */
#pricing {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-2);
}
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-label { justify-content: center; }
.pricing-header h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 auto 16px;
  max-width: 720px;
}
.pricing-header h1 em { font-style: normal; color: var(--accent); }
.pricing-header > p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin-top: 28px;
}
.toggle-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--ink-3);
  transition: all 0.2s;
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.toggle-btn.active {
  background: var(--ink);
  color: #fff;
}
.save-badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.toggle-btn.active .save-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--surface);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(14,20,16,0.08);
}
.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.price-card.featured:hover {
  box-shadow: 0 32px 80px -24px rgba(14,20,16,0.4);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.price-card.featured .price-name { color: rgba(255,255,255,0.6); }

.price-amount {
  font-family: var(--display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.price-amount sup {
  font-size: 18px;
  vertical-align: super;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink-muted);
  margin-right: 4px;
}
.price-card.featured .price-amount sup { color: rgba(255,255,255,0.55); }

.price-period {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.price-card.featured .price-period { color: rgba(255,255,255,0.55); }

.price-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}
.price-card.featured .price-divider {
  background: rgba(255,255,255,0.10);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 7px 0;
  line-height: 1.5;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features li .tick {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}
.price-card.featured .price-features li .tick { color: var(--accent-2); }
.price-features li .cross {
  color: var(--ink-muted);
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

/* The featured price card uses .btn-primary; on a dark-ink card, invert it
   so the CTA reads as "primary action on a dark surface" (white pill). */
.price-card.featured .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 1px 2px rgba(0,0,0,0.10);
}
.price-card.featured .btn-primary:hover { background: #f1ece0; }

.founding-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-3);
}
.founding-note strong { color: var(--ink); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-wrap {
  max-width: 720px;
  margin: 96px auto 0;
}
.faq-wrap h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 32px;
}
.faq-wrap h2 em { font-style: normal; color: var(--accent); }
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.faq-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item p:first-child {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.faq-item p:last-child {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.faq-item a { color: var(--accent); }

/* ── CTA banner (used on about + pricing) ─────────────────────────────── */
.cta-banner {
  margin: 0 28px 96px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 90% 0%, rgba(22,163,74,0.30), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(181,70,42,0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cta-banner h2 em {
  font-style: normal;
  color: var(--accent-2);
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-banner .actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-2);
  padding: 64px 0 28px;
  background: var(--bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 280px;
  margin-top: 4px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.footer-bottom p { font-size: inherit; color: inherit; }
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .about-hero { padding: 64px 0 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 56px 28px; margin: 0 16px 64px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
}
