/* Trái tim cho em — tokens and layout from the approved design handoff. */

:root {
  --bg: oklch(0.99 0.008 80);
  --surface: oklch(1 0 0);
  --fg: oklch(0.24 0.03 20);
  --muted: oklch(0.43 0.03 20);
  --border: oklch(0.9 0.014 40);
  --accent: oklch(0.52 0.18 25);        /* coral đậm: nút, chữ nhấn (AA với chữ trắng) */
  --accent-deco: oklch(0.72 0.15 25);   /* coral sáng: trang trí */
  --accent-tint: oklch(0.96 0.025 25);
  --teal: oklch(0.42 0.07 195);         /* phụ: chữ/biểu tượng */
  --teal-deco: oklch(0.76 0.08 190);
  --teal-tint: oklch(0.955 0.03 190);
  --ink-band: oklch(0.27 0.06 20);      /* nền đậm cho khu ứng dụng */

  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  --r-sm: 10px; --r-md: 16px; --r-lg: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 2px oklch(0.3 0.05 20 / .06), 0 6px 18px oklch(0.3 0.05 20 / .06);
  --shadow-2: 0 2px 4px oklch(0.3 0.05 20 / .06), 0 24px 60px oklch(0.3 0.05 20 / .16);
  --content: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.modal-open { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--fs-body)/1.7 var(--font-body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
.wrap { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
section[id] { scroll-margin-top: 84px; }
.section { padding-block: clamp(72px, 10vw, 132px); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 110; padding: 12px 20px; border-radius: var(--r-sm); background: var(--surface); color: var(--fg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.no-script { margin: 24px var(--gutter); padding: 20px; background: var(--accent-tint); border-radius: var(--r-md); }

/* focus */
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--surface); }
.on-dark :focus-visible { outline-color: var(--surface); box-shadow: 0 0 0 6px var(--ink-band); }

/* Button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 2px solid transparent; font: 600 1.0625rem/1 var(--font-body); cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--surface); box-shadow: 0 8px 20px oklch(0.52 0.18 25 / .28); }
.btn-primary:hover { background: oklch(0.44 0.17 25); transform: translateY(-2px); }
.btn-primary:active { background: oklch(0.38 0.15 25); transform: translateY(0); box-shadow: none; }
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--fg); }
.btn-secondary:hover { background: var(--fg); color: var(--surface); }
.btn-secondary:active { background: oklch(0.15 0.02 20); color: var(--surface); transform: scale(.98); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 1rem; }
.btn-light { background: var(--surface); color: var(--ink-band); }
.btn-light:hover { background: var(--accent-tint); transform: translateY(-2px); }
.btn-light:active { background: oklch(0.9 0.05 25); transform: none; }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); font-size: .875rem; font-weight: 600; line-height: 1.3; background: var(--teal-tint); color: var(--teal); border: 1px solid oklch(0.85 0.04 190); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-dev { background: oklch(0.97 0.04 85); color: oklch(0.38 0.07 70); border-color: oklch(0.86 0.07 85); }
.badge-dev::before { border-radius: 2px; transform: rotate(45deg); } /* hình dạng khác màu: không chỉ dựa vào màu */
.badge-plain::before { display: none; }

/* Header / nav */
.header { position: sticky; top: 0; z-index: 50; background: oklch(0.99 0.008 80 / .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.25rem/1 var(--font-display); letter-spacing: -.01em; }
.logo svg { width: 38px; height: 38px; }
.header .logo, .menu-btn, .btn-nav { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; transition: background .2s; }
.nav a:hover { background: var(--accent-tint); }
.nav a:active { background: oklch(0.92 0.04 25); }
.nav a[aria-current="true"] { background: var(--accent-tint); font-weight: 700; box-shadow: inset 0 -3px 0 var(--accent); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--r-md); border: 2px solid var(--fg); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--accent-tint); }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2.5px; background: var(--fg); border-radius: 2px; transition: transform .25s var(--ease), background .2s; content: ""; position: relative; }
.menu-btn .bars::before { position: absolute; top: -7px; }
.menu-btn .bars::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > *, .app-grid > * { min-width: 0; }
.hero h1 { margin-block: 22px 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.platform-row { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.hero-art .blob { position: absolute; inset: 4% 2% 4% 6%; background: var(--accent-tint); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.pulse-line { position: absolute; left: -4%; right: -4%; top: 52%; width: 108%; height: 80px; color: var(--accent-deco); opacity: .55; }
.pulse-line path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Phone mockup */
.phone { position: relative; width: 262px; aspect-ratio: 262 / 540; border-radius: 40px; background: var(--fg); padding: 9px; box-shadow: var(--shadow-2); flex: none; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: var(--fg); border-radius: 12px; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 32px; background: var(--bg); overflow: hidden; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: .78rem; line-height: 1.4; position: relative; }
.screen .hi { font: 700 1.05rem/1.2 var(--font-display); }
.screen .sub { color: var(--muted); font-size: .72rem; }
.s-card { display: flex; gap: 10px; align-items: center; padding: 11px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow-1); }
.s-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); flex: none; }
.s-card .ic.t { background: var(--teal-tint); color: var(--teal); }
.s-card .ic svg { width: 18px; height: 18px; }
.s-card small { display: block; font-weight: 400; color: var(--muted); font-size: .68rem; }
.s-bar { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--border); color: var(--muted); }
.s-bar span { display: grid; place-items: center; gap: 2px; font-size: .62rem; }
.s-bar svg { width: 18px; height: 18px; }
.s-bar .on { color: var(--accent); font-weight: 700; }
.s-ph { height: 70px; border-radius: 12px; background: repeating-linear-gradient(135deg, var(--teal-tint) 0 8px, var(--surface) 8px 16px); border: 1px dashed oklch(0.8 0.05 190); display: grid; place-items: center; color: var(--teal); font-weight: 600; font-size: .7rem; text-align: center; padding: 6px; }
.hero-phone { z-index: 2; transform: rotate(-3deg); }
.caption-badge { position: absolute; z-index: 3; bottom: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); padding: 6px 14px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; color: var(--muted); }

/* connection nodes around phone */
.node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--surface); border-radius: var(--r-pill); box-shadow: var(--shadow-1); border: 1px solid var(--border); font-weight: 600; font-size: .9375rem; animation: float 6s ease-in-out infinite; }
.node .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--surface); }
.node.t .ic { background: var(--teal); }
.node svg { width: 20px; height: 20px; }
.node.n1 { top: 5%; left: -8%; }
.node.n2 { top: 40%; right: -4%; animation-delay: -2s; }
.node.n3 { bottom: 16%; left: -9%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.links { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; color: var(--accent-deco); }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.mission { margin-top: 28px; font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.45 var(--font-display); letter-spacing: -.01em; color: var(--fg); }
.mission-note { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }
.needs { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.needs li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 30px; border-top: 1px solid var(--border); }
.needs li:last-child { border-bottom: 1px solid var(--border); }
.needs li::before { content: "0" counter(n); font: 800 2.75rem/1 var(--font-display); color: var(--accent-deco); }
.needs h3 { margin-bottom: 8px; }
.needs p { color: var(--muted); }

/* Pillars */
.pillars { background: var(--teal-tint); position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { margin-block: 16px 18px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pillar { background: var(--surface); border-radius: var(--r-lg); padding: 36px 32px 40px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
.pillar:nth-child(2) { margin-top: 48px; }
.pillar:nth-child(3) { margin-top: 96px; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.pillar-ic { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); margin-bottom: 28px; }
.pillar:nth-child(2) .pillar-ic { background: var(--teal-tint); color: var(--teal); }
.pillar-ic svg { width: 40px; height: 40px; }
.pillar .n { font-size: var(--fs-small); font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--muted); }

/* Features */
.features-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 6vw, 88px); }
.feat { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 28px; border-top: 1px solid var(--border); }
.feat-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent); }
.feat:nth-child(4n+2) .feat-ic, .feat:nth-child(4n+3) .feat-ic { background: var(--teal-tint); color: var(--teal); }
.feat-ic svg { width: 28px; height: 28px; }
.feat h3 { margin-bottom: 6px; font-size: 1.25rem; }
.feat p { color: var(--muted); font-size: 1rem; }
.feat .badge { margin-top: 12px; font-size: .8125rem; padding: 3px 10px; }
.disclaimer { margin-top: 40px; padding: 22px 26px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; color: var(--muted); font-size: var(--fs-small); }
.disclaimer svg { width: 24px; height: 24px; flex: none; color: var(--teal); margin-top: 2px; }
.disclaimer strong { color: var(--fg); }

/* Journey */
.journey { background: var(--surface); border-block: 1px solid var(--border); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; border-top: 3px dashed var(--accent-deco); }
.step { position: relative; counter-increment: s; }
.step-dot { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--surface); font: 800 1.5rem/1 var(--font-display); border: 6px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); margin-bottom: 24px; }
.step:nth-child(even) .step-dot { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 1rem; padding-right: 8px; }

/* App band */
.app { background: var(--ink-band); color: var(--surface); position: relative; overflow: hidden; }
.app .lead { color: oklch(0.88 0.02 30); }
.app .eyebrow { color: var(--accent-deco); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.app h2 { margin-block: 18px 22px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 18px; border-radius: var(--r-pill); background: oklch(0.34 0.06 20); border: 1px solid oklch(0.5 0.07 20); font-weight: 600; margin-bottom: 32px; }
.status-pill i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 2px; background: var(--accent-deco); transform: rotate(45deg); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.app-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 520px; }
.app-phones .phone { width: 236px; }
.app-phones .phone:first-child { transform: translateX(26px) rotate(-6deg); margin-top: 50px; }
.app-phones .phone:last-child { transform: translateX(-26px) rotate(5deg); }
.app-phones .phone { background: oklch(0.12 0.02 20); box-shadow: 0 30px 70px oklch(0.1 0.04 20 / .5); }
.app .screen { color: var(--fg); }
.app-phones .caption-badge { bottom: -34px; background: oklch(0.34 0.06 20); color: var(--surface); border-color: oklch(0.5 0.07 20); }
.app-note { margin-top: 20px; font-size: var(--fs-small); color: oklch(0.82 0.02 30); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { margin: 0; position: sticky; top: 110px; }
.acc { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; min-height: 72px; padding: 20px 8px 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: 0; text-align: left; font: 700 clamp(1.0625rem, 1rem + .4vw, 1.25rem)/1.4 var(--font-display); color: var(--fg); cursor: pointer; border-radius: var(--r-sm); transition: background .2s; }
.acc-btn:hover { background: var(--accent-tint); }
.acc-btn:active { background: oklch(0.92 0.04 25); }
.acc-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--fg); display: grid; place-items: center; transition: background .2s, color .2s; }
.acc-ico svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--fg); color: var(--surface); }
.acc-btn[aria-expanded="true"] .acc-ico svg { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease), visibility .3s; }
.acc-panel > div { overflow: hidden; }
.acc-panel[data-open="true"] { grid-template-rows: 1fr; visibility: visible; }
.acc-panel p { padding: 0 64px 28px 4px; color: var(--muted); max-width: 62ch; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: 72px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.foot-grid p { color: var(--muted); max-width: 40ch; margin-top: 16px; }
.foot-grid h3 { font: 700 .9375rem/1.3 var(--font-body); letter-spacing: 0; margin-bottom: 14px; text-transform: none; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 5px; }
.foot-links a:hover { text-decoration-color: var(--accent); color: var(--accent); }
.contact-slot { border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; color: var(--muted); font-size: var(--fs-small); }
.contact-slot b { color: var(--fg); display: block; margin-bottom: 4px; }
.contact-slot .contact-label { margin-top: 16px; }
.contact-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--fg); text-decoration-thickness: 2px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; font-size: var(--fs-small); color: var(--muted); }

/* Modal */
.overlay { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; place-items: center; padding: 20px; color: var(--fg); background: transparent; overscroll-behavior: contain; }
.overlay:not([open]) { display: none; }
.overlay[open] { display: grid; }
.overlay::backdrop { background: oklch(0.2 0.04 20 / .55); backdrop-filter: blur(3px); }
.modal { position: relative; width: min(100%, 520px); background: var(--surface); border-radius: var(--r-lg); padding: 44px 40px 36px; box-shadow: var(--shadow-2); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; }
.overlay[open] .modal { animation: modal-enter .25s var(--ease); }
@keyframes modal-enter { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: 24px; }
.modal-ic svg { width: 34px; height: 34px; }
.modal h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin-bottom: 14px; }
.modal p { color: var(--muted); margin-bottom: 30px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--fg); transition: background .2s; }
.modal-close:hover { background: var(--accent-tint); }
.modal-close:active { background: oklch(0.92 0.04 25); }
.modal-close svg { width: 22px; height: 22px; }
.modal .btn { width: 100%; }

/* Tablet 600–1023 */
@media (max-width: 1023px) {
  .nav a { padding: 0 11px; }
  .hero-grid, .app-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 540px; max-width: 560px; margin-inline: auto; width: 100%; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }
  .pillar-grid { grid-template-columns: 1fr; gap: 20px; }
  .pillar, .pillar:nth-child(2), .pillar:nth-child(3) { margin-top: 0; display: grid; grid-template-columns: 76px 1fr; gap: 0 28px; }
  .pillar-ic { grid-row: span 3; margin-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
/* Mobile */
@media (max-width: 1100px) {
  .nav, .header .btn-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); padding: 12px var(--gutter) 24px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 56px; padding: 0 4px; border-bottom: 1px solid var(--border); font: 600 1.125rem/1 var(--font-body); text-decoration: none; }
  .mobile-menu a:not(.btn):active { background: var(--accent-tint); }
  .mobile-menu .btn { width: 100%; margin-top: 20px; }
}
@media (max-width: 860px) {
  .feat-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-actions .btn, .platform-row .btn { width: 100%; }
  .hero-art { min-height: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 8px 0 8px; }
  .hero-art .hero-phone { order: 1; flex: none; margin: 0 calc(50% - 116px) 8px; }
  .hero-art .node { position: static; order: 2; animation: none; }
  .hero-art .caption-badge { position: static; order: 3; transform: none; flex-basis: auto; }
  .hero-art .pulse-line { top: 30%; }
  .phone { width: 232px; }
  .node { font-size: .8125rem; padding: 8px 12px 8px 8px; }
  .node .ic { width: 32px; height: 32px; }

  .needs li { grid-template-columns: 1fr; gap: 8px; }
  .pillar, .pillar:nth-child(2), .pillar:nth-child(3) { display: block; padding: 28px 24px 32px; }
  .pillar-ic { margin-bottom: 22px; }
  .feat { grid-template-columns: 48px 1fr; gap: 16px; }
  .feat-ic { width: 48px; height: 48px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding-bottom: 36px; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; border-left: 3px dashed var(--accent-deco); }
  .step-dot { grid-row: span 2; margin: 0; }
  .app-phones { min-height: 440px; }
  .app-phones .phone { width: clamp(140px, calc(50vw - 15px), 180px); padding: 7px; border-radius: 32px; }
  .app-phones .phone .screen { border-radius: 26px; padding: 40px 10px 10px; font-size: .66rem; }
  .app-phones .phone .s-ph, .app-phones .phone .s-card small { display: none; }
  .app-phones .phone .s-card { padding: 9px; gap: 8px; }
  .app-phones .phone:first-child { transform: translateX(14px) rotate(-5deg); }
  .app-phones .phone:last-child { transform: translateX(-14px) rotate(4deg); }
  .acc-panel p { padding-right: 8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal { padding: 40px 24px 28px; }
  .overlay { align-items: end; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .pulse-line path { stroke-dashoffset: 0; }
}
