/* ==========================================================================
   AYAKKU — styles.css
   Clean, minimal, professional. One accent colour. Light theme only.
   Edit the CSS variables in :root to re-theme the whole site.
   ========================================================================== */

:root {
  /* Brand accent (sampled from the Ayakku logo's green). Change here to re-theme. */
  --accent: #16a34a;
  --accent-strong: #128040;
  --accent-soft: #e8f6ee;
  --navy: #0d2f6b; /* deep brand blue, used sparingly */

  /* Ink / neutrals */
  --ink: #14181f;
  --ink-2: #384150;
  --muted: #5b6473;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-softer: #fafbfc;

  /* System font stack — fast, no network request */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;

  --container: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --focus: 0 0 0 3px rgba(22, 163, 74, 0.35);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section--soft {
  background: var(--bg-soft);
}
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}
.section__head p {
  font-size: 1.075rem;
  color: var(--muted);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.75rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
}
.text-center {
  text-align: center;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.08s ease,
    box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}
.btn--primary:hover {
  background: var(--accent-strong);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: #d7dbe0;
}
.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 1.05rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 66px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  height: 30px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
}
.nav__links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
  text-decoration: none;
}
.nav__cta {
  margin-left: 0.4rem;
}
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}
.nav__toggle .icon-close {
  display: none;
}
.nav[data-open='true'] .nav__toggle .icon-open {
  display: none;
}
.nav[data-open='true'] .nav__toggle .icon-close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__cat {
  color: var(--navy);
}
.hero h1 {
  margin-bottom: 1rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.1rem;
}
.hero__trust {
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__trust .dot {
  color: var(--accent);
}

/* ---------- App window mock / screenshot frame ---------- */
.appframe {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.appframe__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.appframe__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d7dbe0;
}
.appframe__title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.appframe__body {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, var(--bg-softer));
  padding: 18px;
}
.placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed #cdd3da;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  background: repeating-linear-gradient(
    45deg,
    #fbfcfd,
    #fbfcfd 12px,
    #f4f6f8 12px,
    #f4f6f8 24px
  );
}
.placeholder strong {
  color: var(--ink-2);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.placeholder span {
  font-size: 0.8rem;
}
.placeholder__mark {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

/* When a real screenshot is present, let it fill the window frame edge-to-edge. */
.appframe__body:has(img) {
  aspect-ratio: auto;
  padding: 0;
  display: block;
  background: #fff;
}
.appframe__body img {
  display: block;
  width: 100%;
  height: auto;
}
/* Same edge-to-edge treatment for the thumbnail frames (higher specificity). */
.showcase__thumbs .appframe__body:has(img) {
  aspect-ratio: auto;
  padding: 0;
  display: block;
}

/* ---------- Problem section ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.repeat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.repeat-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.98rem;
}
.repeat-list li:last-child {
  border-bottom: 0;
}
.repeat-list .num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.repeat-list .repeat-last {
  color: var(--accent-strong);
  font-weight: 600;
  background: var(--accent-soft);
}
.repeat-list .repeat-last .num {
  background: #fff;
  color: var(--accent-strong);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.step__n {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 {
  margin-bottom: 0.35rem;
}
.step p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--muted);
}
.step code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.85em;
  color: var(--navy);
}
.callout {
  margin-top: 28px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid #cfead9;
  border-radius: 999px;
  padding: 12px 22px;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.callout-wrap {
  text-align: center;
}
.steps-note {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}
.steps-note + .callout-wrap {
  margin-top: 16px;
}

/* ---------- Personalization example ---------- */
.perso {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .perso {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
.msgcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.msgcard__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
}
.msgcard__head--tpl {
  color: var(--navy);
}
.msgcard__body {
  padding: 18px 18px;
  white-space: pre-wrap;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
}
.token {
  background: #fff4d6;
  border: 1px solid #f2dd9c;
  color: #8a6d16;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 600;
  white-space: nowrap;
}
.filled {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 5px;
  padding: 0 4px;
  font-weight: 600;
}
.results {
  display: grid;
  gap: 14px;
}
.results .msgcard__body {
  padding: 14px 16px;
  font-size: 0.96rem;
}
.results .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  vertical-align: middle;
}
.perso__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* ---------- Features ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.feature__ico {
  width: 40px;
  height: 40px;
  color: var(--accent-strong);
  margin-bottom: 14px;
}
.feature h3 {
  margin-bottom: 0.35rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Use cases ---------- */
.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usecase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.usecase h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.usecase p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.usecase__ico {
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  flex: none;
}

/* ---------- Showcase ---------- */
.showcase__main {
  max-width: 940px;
  margin: 0 auto;
}
.showcase__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
  max-width: 940px;
  margin-inline: auto;
}
.showcase__thumbs .appframe__body {
  aspect-ratio: 16 / 11;
  padding: 12px;
}
.caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ---------- Privacy/control strip ---------- */
.control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.control ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.control li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-2);
}
.check {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--accent-strong);
  margin-top: 1px;
}

/* ---------- Pricing ---------- */
.pricing {
  max-width: 460px;
  margin: 0 auto;
}
.pricecard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 30px 28px;
  text-align: center;
}
.pricecard__badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pricecard__price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.pricecard__region {
  font-size: 0.9rem;
  color: var(--accent-strong);
  font-weight: 600;
  margin: 0.25rem 0 0;
}
.pricecard__terms {
  color: var(--muted);
  margin: 0.4rem 0 1.2rem;
}
.pricecard ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 11px;
}
.pricecard li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink-2);
}
.pricecard li svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  margin-top: 2px;
}
.pricecard__secure {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
}

/* ---------- Early access ---------- */
.early {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Email form ---------- */
.signup {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.signup__form {
  display: flex;
  gap: 10px;
  margin: 1.4rem 0 0.8rem;
}
.signup__form input[type='email'] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}
.signup__form input:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--focus);
}
.signup__consent {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.form-note {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  min-height: 1.2em;
}
.form-note[data-state='ok'] {
  color: var(--accent-strong);
}
.form-note[data-state='err'] {
  color: #c0392b;
}

/* ---------- FAQ (native details) ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .chev {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq details[open] summary .chev {
  transform: rotate(180deg);
}
.faq summary:hover {
  color: var(--accent-strong);
}
.faq__a {
  padding: 0 20px 18px;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Final CTA ---------- */
.finalcta {
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: clamp(36px, 6vw, 64px) 24px;
}
.finalcta h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}
.finalcta p {
  color: #cdd8ee;
  max-width: 46ch;
  margin-inline: auto;
}
.finalcta .btn--primary {
  background: #fff;
  color: var(--navy);
}
.finalcta .btn--primary:hover {
  background: #eef2fb;
}
.finalcta__fine {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #aab8d6;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 48px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer__brand img {
  height: 30px;
  margin-bottom: 12px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34ch;
}
.footer__col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer__col a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
}
.footer__col a:hover {
  color: var(--accent-strong);
}
.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 24, 31, 0.5);
}
.modal[data-open='true'] {
  display: flex;
}
.modal__box {
  background: #fff;
  border-radius: 14px;
  max-width: 420px;
  width: 100%;
  padding: 26px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.modal__box h3 {
  margin-bottom: 0.4rem;
}
.modal__box p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

/* ---------- Scroll offset for sticky header ---------- */
[id] {
  scroll-margin-top: 84px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Simple header for legal / 404 pages ---------- */
.slim-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.slim-header .nav {
  justify-content: space-between;
}
.slim-header .btn {
  padding: 0.6rem 1rem;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 20px;
}
.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.4rem;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
}
.legal p,
.legal li {
  color: var(--ink-2);
}
.legal ul {
  padding-left: 1.2rem;
}
.legal li {
  margin-bottom: 0.4rem;
}
.legal .note {
  background: #fff7e6;
  border: 1px solid #f2dd9c;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #7a5c12;
}
.legal a {
  font-weight: 600;
}
.legal__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}
.notfound img {
  height: 40px;
  margin: 0 auto 24px;
}
.notfound h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}
.notfound p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__sub {
    max-width: none;
  }
  .hero__media {
    order: -1;
  }
  .problem__grid,
  .control {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .usecases {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  /* Mobile navigation */
  .nav__toggle {
    display: inline-flex;
  }
  .nav__links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 16px 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  .nav[data-open='true'] .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 0.75rem 0.6rem;
    font-size: 1rem;
  }
  .nav__cta {
    margin-left: 0;
    margin-top: 6px;
  }
  .nav__cta .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .steps,
  .grid-3,
  .usecases,
  .showcase__thumbs {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .signup__form {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .footer__bottom {
    flex-direction: column;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
