@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-400.29952151.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-500.add46472.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-600.b24f1812.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --muted: #6d6c65;
  --line: #d9d5cd;
  --dark: #20231f;
  --shadow: 0 30px 90px rgba(47, 39, 28, .12);
  --small-shadow: 0 14px 38px rgba(47, 39, 28, .09);
  --page: 1180px;
  /* This page has no dark visual design; its cards stay cream/paper in OS
     dark mode. /assets/tokens.css flips --hairline to a near-invisible
     cream-at-14%-alpha value under prefers-color-scheme: dark, so pin it
     back to the kit's light value regardless of OS mode (same pattern as
     apps/console/app/globals.css's own --hairline/--fg/--fg-muted pins).
     Composed from the kit's --ink, which is a raw literal that never flips
     between light/dark, rather than a hand-typed hex, so this stays in sync
     with the kit if --ink ever changes. */
  --hairline: color-mix(in srgb, var(--ink) 12%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Instrument Sans", Arial, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, a { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { text-decoration: none; }
img, svg { display: block; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; inset-block-start: -80px; inset-inline-start: 20px; padding: 12px 18px; color: white; background: var(--ink); border-radius: 10px; }
.skip-link:focus { inset-block-start: 18px; }

.site-header {
  width: min(calc(100% - 48px), var(--page));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 50;
}
.wordmark { justify-self: start; min-width: 44px; min-height: 44px; display: flex; align-items: center; }
.wordmark img, .footer-wordmark img { width: 136px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: 14px; font-weight: 500; }
.desktop-nav a:hover { color: var(--ink); }
.lang-toggle { padding: 0 12px; border: 1px solid var(--hairline); border-radius: var(--radius-sm); }
.header-cta {
  min-height: 48px;
  padding: 0 20px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  background: var(--ink);
  border-radius: 13px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(23, 24, 22, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 24, 22, .18); }
.menu-button, .mobile-nav { display: none; }

/* Hero: headline first at full width, mascot centred below it (D2/D3). */
.hero {
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
  padding: 76px 0 60px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 36px;
}
.hero-copy { max-width: 780px; }
h1, h2 { margin: 0; font-family: "Instrument Sans", system-ui, sans-serif; font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 5.6vw, 62px); }
.hero-lede { max-width: 560px; margin: 26px auto 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; justify-content: center; }
.primary-button {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  background: var(--coral);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 16px 38px rgba(232, 94, 62, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(232, 94, 62, .28); }
.hero-mascot { width: min(220px, 42vw); aspect-ratio: 769 / 1200; display: block; }
.hero-mascot img { width: 100%; height: 100%; display: block; }

.section-wrap { width: min(calc(100% - 48px), var(--page)); margin: 0 auto; }
.section-heading h2 { font-size: clamp(30px, 3.6vw, 44px); }
.centered-heading { max-width: 720px; margin: 0 auto; text-align: center; }
.centered-heading > p:last-child { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Phone demo: a realistic, static WhatsApp mockup with no floating cards. */
.demo { padding: 70px 0 90px; }
.demo-stage { max-width: 900px; margin: 44px auto 0; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; justify-items: center; direction: ltr; }
.phone { width: 280px; height: 570px; position: relative; padding: 9px; border: 2px solid #b7b4ad; border-radius: 46px; background: #0d0e0d; box-shadow: 0 30px 70px rgba(33, 29, 24, .2); }
.iphone-button { width: 4px; position: absolute; z-index: 0; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, #777a76, #d7d4cc); }
.iphone-action { height: 24px; top: 84px; left: -6px; }
.iphone-volume-up { height: 50px; top: 122px; left: -6px; }
.iphone-volume-down { height: 50px; top: 184px; left: -6px; }
.iphone-power { height: 76px; top: 148px; right: -6px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #d7d4cc, #777a76); }
.phone-shell { height: 100%; border-radius: 38px; background: #efeae1; overflow: hidden; display: grid; grid-template-rows: 28px 54px 1fr 50px; }
.phone-top { padding: 8px 20px 0; display: flex; align-items: start; justify-content: flex-end; }
.phone-top i { width: 40px; height: 6px; border-radius: 4px; background: #cfcabf; }
.phone-top span { margin-left: 8px; font-size: 9px; letter-spacing: 1px; color: #8b8d89; }
.wa-header { padding: 7px 14px; color: white; background: #075e54; display: grid; grid-template-columns: 20px 32px 1fr auto; gap: 8px; align-items: center; }
.wa-back { font-size: 22px; line-height: 1; }
.wa-avatar { width: 32px; height: 32px; border-radius: 50%; color: #31574e; background: #dce7d5; display: grid; place-items: center; font-size: 10px; font-weight: 500; }
.wa-header b, .wa-header small { display: block; }
.wa-header b { font-size: 12px; }
.wa-header small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 9px; }
.wa-more { letter-spacing: 2px; font-size: 9px; }
.wa-chat {
  padding: 14px 11px 20px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(72, 66, 55, .055) 1px, transparent 1px);
  background-size: 12px 12px;
  overflow: hidden;
}
.day-chip { width: max-content; margin: 0 auto 9px; padding: 4px 8px; border-radius: 7px; color: #64736f; background: rgba(255,255,255,.82); display: block; font-size: 9px; }
.wa-message { width: max-content; max-width: 88%; margin-top: 7px; padding: 9px 10px 14px; border-radius: 4px 10px 10px 10px; color: #2e312f; background: white; position: relative; font-size: 10.5px; line-height: 1.4; }
.wa-message b { margin-bottom: 3px; color: #ba5a45; display: block; font-size: 8.5px; }
.wa-message time { position: absolute; right: 7px; bottom: 3px; color: #8e918d; font-size: 7px; }
.wa-message.outgoing { margin-left: auto; border-radius: 10px 4px 10px 10px; background: #d9fdd3; }
.wa-message.outgoing time { color: #66857d; }
.wa-input { margin: 8px; padding: 0 10px; border-radius: 24px; background: white; display: grid; grid-template-columns: 20px 1fr 20px; gap: 4px; align-items: center; color: #8b8d89; font-size: 14px; }
.wa-input p { font-size: 10px; }
.wa-input b { color: #0c8f7f; font-size: 12px; }
.demo-callout { max-width: 320px; padding: 22px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--small-shadow); }
.demo-callout b { display: block; font-size: 15px; }
.demo-callout p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.comparison { padding: 90px 0; }
.comparison-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.comparison-grid > article { min-height: 0; padding: 26px; border-radius: 24px; }
.before-card { border: 1px solid var(--line); background: #ebe8e1; }
.after-card { color: white; background: var(--dark); }
.comparison-grid header { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; }
.comparison-grid header em { padding: 6px 9px; border-radius: 8px; color: #77756e; background: rgba(255,255,255,.62); font-size: 10px; font-style: normal; }
.after-card header em { color: #aeb2aa; background: #31342f; display: flex; align-items: center; gap: 6px; }
.after-card header em i { width: 6px; height: 6px; border-radius: 50%; background: var(--whatsapp); }
.notification-stack { margin-top: 30px; display: grid; gap: 10px; }
.notification-stack div { padding: 14px 16px; border: 1px solid #d7d3ca; border-radius: 14px; background: rgba(255,253,249,.72); }
.notification-stack b, .notification-stack span { display: block; }
.notification-stack b { font-size: 12px; }
.notification-stack span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.after-signals { margin-top: 30px; display: grid; gap: 10px; }
.after-signals > div { padding: 14px; border: 1px solid #3a3d38; border-radius: 14px; background: #282b27; }
.after-signals b, .after-signals small { display: block; }
.after-signals b { font-size: 12px; }
.after-signals small { margin-top: 4px; color: #989c94; font-size: 10px; }
.comparison-grid article > p { margin: 26px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.after-card article > p, .after-card > p { color: #b5b8ae; }

.how { padding: 90px 0; }
.step-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--paper); }
.step-card h3 { margin: 0; font-size: 20px; font-weight: 600; }
.step-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.segments { padding: 90px 0; }
.segment-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segment-card { padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--paper); }
.segment-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.segment-card p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.privacy-section { padding: 90px 0; }
.privacy-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.privacy-card { padding: 26px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--paper); }
.privacy-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.privacy-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.faq { padding: 90px 0 110px; }
.faq-list { max-width: 720px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-item { padding: 18px 22px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--paper); }
.faq-item summary { cursor: pointer; font-size: 15px; font-weight: 500; }
.faq-item p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Closing: mascot sits below the copy in normal flow, so it cannot overlap the button. */
.closing { padding: 90px 24px 70px; color: white; background: var(--dark); display: grid; justify-items: center; text-align: center; gap: 30px; }
.closing-copy { max-width: 620px; }
.closing h2 { font-size: clamp(28px, 4vw, 44px); }
.closing-copy > p { margin: 20px 0 0; color: #b5b8ae; font-size: 16px; }
.closing-button { margin-top: 26px; }
.closing-mascot { width: min(160px, 40vw); aspect-ratio: 769 / 1200; display: block; }
.closing-mascot img { width: 100%; height: 100%; display: block; }

.site-footer { width: min(calc(100% - 48px), var(--page)); min-height: 170px; margin: 0 auto; padding: 36px 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; gap: 12px 35px; align-items: center; }
.footer-wordmark { min-width: 44px; min-height: 44px; display: flex; align-items: center; }
.site-footer p { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 500; }
.site-footer nav a:hover { color: var(--coral); }
.site-footer small { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); color: #99968e; font-size: 10px; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); justify-self: end; display: grid; align-content: center; justify-items: center; gap: 6px; }
  .menu-button span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); position: absolute; inset: 72px 0 auto 0; box-shadow: var(--shadow); }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav a { min-height: 48px; padding: 0 12px; border-bottom: 1px solid #ece8e0; display: flex; align-items: center; font-weight: 500; }
  .mobile-nav a:last-child { margin-top: 8px; border: 0; border-radius: 10px; color: white; background: var(--ink); justify-content: center; }
  .demo-stage { grid-template-columns: 1fr; }
  .step-grid, .segment-grid, .privacy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-header, .hero, .section-wrap, .site-footer { width: min(calc(100% - 32px), var(--page)); }
  .site-header { min-height: 74px; }
  .wordmark img, .footer-wordmark img { width: 118px; }
  .hero { padding: 40px 0 48px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .primary-button { width: 100%; max-width: 320px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .step-grid, .segment-grid, .privacy-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
