/* Zettace website: white, calm, with Zettace's own colours as accents. */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --ink: #0e1220;
  --ink-2: #3b4254;
  --muted: #6b7286;
  --line: #e7e9f0;
  --line-2: #eef0f5;
  --blue: #3f6fd1;
  --blue-d: #2f56ab;
  --green: #59c48a;
  --amber: #f2b84b;
  --coral: #e0654f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 18, 32, .04), 0 8px 24px rgba(14, 18, 32, .06);
  --shadow-lg: 0 2px 4px rgba(14, 18, 32, .04), 0 24px 60px rgba(14, 18, 32, .10);
  --head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font: 600 14px/1 var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s; white-space: nowrap; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222838; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(63, 111, 209, .32), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(63, 111, 209, .38); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cfd4e0; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(14, 18, 32, .04); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--head); letter-spacing: -.02em; }
.dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 180deg, var(--blue), var(--green), var(--amber), var(--coral), var(--blue)); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-2); transition: transform .6s var(--ease); }
.brand:hover .dot { transform: rotate(180deg); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.link { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.link:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 8px; font-weight: 500; border-radius: 10px; }
.mobile-menu .btn { margin-top: 8px; height: 46px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; animation: float 14s ease-in-out infinite; }
.g1 { width: 520px; height: 420px; left: -120px; top: 80px; background: radial-gradient(circle, rgba(63, 111, 209, .55), transparent 70%); }
.g2 { width: 520px; height: 420px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(242, 184, 75, .45), rgba(224, 101, 79, .25) 50%, transparent 70%); animation-delay: -7s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, 24px); } }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: 13.5px; color: var(--ink-2); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.pill:hover { border-color: #cfd4e0; box-shadow: var(--shadow); transform: translateY(-1px); }
.pill-tag { background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
h1 { margin-top: 28px; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; max-width: 19ch; }
.grad { background: linear-gradient(90deg, var(--blue) 0%, #5a63d8 30%, var(--coral) 70%, var(--amber) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { margin-top: 24px; max-width: 620px; font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .85); width: min(820px, 100%); text-align: left; }
.stats div { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font: 700 30px/1.1 var(--head); letter-spacing: -.03em; }
.stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- Product window ---------- */
.showcase { margin-top: 64px; perspective: 1600px; }
.window { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotateX(var(--tilt, 10deg)) scale(var(--scale, .96)); transform-origin: 50% 0; transition: transform .1s linear; will-change: transform; }
.win-bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #fcfcfe; }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #e5e7ee; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.tabs { position: relative; display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line-2); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 18px; border-radius: 9px; font: 600 13px/1 var(--body); color: var(--muted); cursor: pointer; transition: color .25s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(14, 18, 32, .1); transition: transform .4s var(--ease), width .4s var(--ease); }
.win-user { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1f6f4f; color: #fff; font-size: 11px; font-weight: 600; }
.panes { position: relative; height: 470px; }
.pane { position: absolute; inset: 0; display: grid; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.pane.is-on { opacity: 1; visibility: visible; transform: none; }
.av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c, #888); color: #fff; font-size: 11px; font-weight: 600; }
.av.gh { background: #0e1220; }

/* Mail */
.pane[data-pane="mail"] { grid-template-columns: 190px 320px 1fr; }
.m-side { padding: 16px 12px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; background: #fcfcfe; }
.m-compose { background: var(--blue); color: #fff; font-weight: 600; font-size: 13px; padding: 10px 14px; border-radius: 10px; text-align: center; margin-bottom: 10px; }
.m-folder { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); }
.m-folder.on { background: #eef3fd; color: var(--blue-d); font-weight: 600; }
.m-folder em { font-style: normal; font-size: 12px; }
.m-folder.small { font-size: 12.5px; }
.m-sep { height: 1px; background: var(--line-2); margin: 8px 4px; }
.m-list { border-right: 1px solid var(--line-2); overflow: hidden; }
.m-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.m-row b { font-weight: 500; }
.m-row.unread b, .m-row.unread span { font-weight: 600; }
.m-row span { grid-column: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row small { grid-row: 1; grid-column: 2; color: var(--muted); font-size: 12px; }
.m-row.on { background: #eef3fd; box-shadow: inset 3px 0 0 var(--blue); }
.m-read { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); }
.m-read h4 { font-size: 20px; color: var(--ink); }
.m-from { display: flex; gap: 10px; align-items: center; }
.m-from b { display: block; color: var(--ink); font-size: 13.5px; }
.m-from small { color: var(--muted); font-size: 12px; }
.m-attach { align-self: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.m-react { display: flex; gap: 6px; }
.m-react span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; background: var(--bg-soft); }

/* Chat */
.pane[data-pane="chat"] { grid-template-columns: 280px 1fr; }
.c-side { border-right: 1px solid var(--line-2); padding: 8px; background: #fcfcfe; }
.c-item { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; }
.c-item.on { background: #eef3fd; }
.c-item b { display: block; font-size: 13.5px; }
.c-item small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.c-thread { display: flex; flex-direction: column; gap: 10px; padding: 0 24px 20px; background: linear-gradient(#fff, #f9fafc); overflow: hidden; }
.c-head { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.c-head small { color: var(--muted); font-size: 12px; }
.bub { max-width: 62%; padding: 9px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 2px; }
.bub .who { font-size: 11.5px; font-weight: 600; color: var(--blue); }
.bub.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bub.out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; flex-direction: row; align-items: flex-end; gap: 8px; }
.ticks { font-size: 10px; opacity: .85; }
.voice { display: inline-flex; align-items: center; gap: 2px; height: 20px; vertical-align: middle; margin-right: 4px; }
.voice i { width: 3px; border-radius: 2px; background: var(--blue); height: 40%; }
.voice i:nth-child(3n) { height: 90%; } .voice i:nth-child(4n+1) { height: 65%; } .voice i:nth-child(5n) { height: 30%; }
.bub.in:has(.voice) { flex-direction: row; flex-wrap: wrap; align-items: center; }
.bub.in:has(.voice) .who { width: 100%; }
.gh-card { align-self: flex-start; background: #f2fbf5; border: 1px solid #c9ecd6; border-left: 3px solid #1f9d55; border-radius: 12px; }
.gh-card .who { color: #1f7a4d; }
.gh-card small { color: var(--muted); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 6px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #b8bdcb; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.pane[data-pane="chat"].is-on .bub, .pane[data-pane="chat"].is-on .typing { animation: pop .5s var(--ease) both; animation-delay: calc(var(--d) * .35s + .15s); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Docs */
.pane[data-pane="docs"] { grid-template-columns: 1fr 280px; background: var(--bg-soft); }
.d-page { margin: 20px 0 0 28px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 18px 32px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--ink-2); overflow: hidden; }
.d-tool { display: flex; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin: 0 -16px 6px; padding-left: 16px; padding-right: 16px; }
.d-tool span { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; font-size: 13px; color: var(--ink-2); }
.d-tool .d-share { margin-left: auto; background: var(--blue); color: #fff; padding: 0 12px; font-weight: 600; }
.d-page h4 { font-size: 26px; color: var(--ink); }
.d-line { height: 9px; border-radius: 5px; background: var(--line-2); }
.w90 { width: 90%; } .w75 { width: 75%; } .w85 { width: 85%; } .w60 { width: 60%; }
mark { background: #fff1cc; box-shadow: 0 2px 0 var(--amber); color: inherit; padding: 0 2px; border-radius: 2px; }
.d-table { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; overflow: hidden; }
.d-table span { padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.d-table span:nth-child(-n+3) { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.d-table .ok { color: #1f7a4d; } .d-table .wait { color: #b26b00; }
.d-comments { padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.d-comment { display: flex; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; box-shadow: var(--shadow); }
.d-comment.reply { margin-left: 18px; }
.d-comment b { font-size: 12.5px; }
.d-comment p { color: var(--ink-2); }
.at { color: var(--blue); font-weight: 600; }
.pane[data-pane="docs"].is-on .d-comment { animation: pop .5s var(--ease) both .25s; }
.pane[data-pane="docs"].is-on .d-comment.reply { animation-delay: .6s; }

/* Send */
.pane[data-pane="send"] { padding: 24px 28px; }
.s-panel { display: flex; flex-direction: column; gap: 16px; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.s-cards > div { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.s-cards small { color: var(--muted); font-size: 12.5px; }
.s-cards b { font: 700 26px/1.1 var(--head); }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6b8be0); border-radius: 3px; }
.s-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.s-chart i { flex: 1; height: var(--h); background: linear-gradient(180deg, #7d9be6, var(--blue)); border-radius: 6px 6px 2px 2px; transform-origin: bottom; }
.pane[data-pane="send"].is-on .s-chart i { animation: grow .8s var(--ease) both; }
.s-chart i:nth-child(n) { animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }
.s-log { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.s-log div { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.s-log div:last-child { border: 0; }
.s-log small { color: var(--muted); }
.s-log em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
em.ok { background: #e7f6ec; color: #05603a; } em.wait { background: #eff8ff; color: #175cd3; }

/* ---------- Strip ---------- */
.strip { padding: 56px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::after { content: ''; width: 22px; height: 1.5px; background: currentColor; }
.marquee { margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: #fff; white-space: nowrap; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.tint { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
h2 { margin-top: 16px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; max-width: 20ch; }
h2.center { margin-left: auto; margin-right: auto; }
.sub { margin-top: 18px; max-width: 620px; font-size: 18px; color: var(--ink-2); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 111, 209, .09), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dde1ea; }
.card:hover::before { opacity: 1; }
.span-2 { grid-column: span 2; }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--bg-soft); border: 1px solid var(--line-2); margin-bottom: 18px; transition: transform .35s var(--ease); }
.card:hover .card-ico { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.ticks-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ticks-list li { position: relative; padding-left: 28px; }
.ticks-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e8effc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.5' fill='none' stroke='%233f6fd1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks-list b { color: var(--ink); font-weight: 600; }

/* Send feature */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 56px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(600px 300px at 0% 0%, rgba(63, 111, 209, .07), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(242, 184, 75, .1), transparent 70%), #fff; }
.feature-copy p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.feature-copy h2 { font-size: clamp(30px, 3.8vw, 44px); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.code-card { border-radius: 18px; background: #0e1220; color: #d7dcea; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1deg); transition: transform .5s var(--ease); }
.feature:hover .code-card { transform: rotate(0) translateY(-4px); }
.code-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #1d2335; font: 500 12px var(--mono); color: #8a93ad; }
.code-card pre { margin: 0; padding: 20px; min-height: 290px; font: 13px/1.7 var(--mono); white-space: pre-wrap; word-break: break-word; }
.code-card .k { color: #8ab4ff; } .code-card .s { color: #a5e3b6; } .code-card .p { color: #f2c27b; } .code-card .c { color: #69728c; }
.caret { display: inline-block; width: 8px; height: 16px; background: #8ab4ff; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.code-result { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid #1d2335; font: 500 12.5px var(--mono); color: #a5e3b6; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.code-result.show { opacity: 1; transform: none; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, .18); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-top: 1px solid var(--line); }
.steps li::before { content: ''; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--coral)); transition: width 1.2s var(--ease); }
.steps li.in::before { width: 100%; }
.steps li:nth-child(2)::before { transition-delay: .25s; } .steps li:nth-child(3)::before { transition-delay: .5s; }
.step-n { font: 600 13px var(--mono); color: var(--blue); }
.steps h3 { margin-top: 14px; font-size: 22px; font-weight: 600; }
.steps p { margin-top: 10px; color: var(--ink-2); }

/* Security */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.mini { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini > span { font-size: 26px; }
.mini h3 { margin-top: 14px; font-size: 18px; font-weight: 600; }
.mini p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* FAQ */
.faq { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #d5dbe8; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 600 17px/1.4 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' stroke='%230e1220' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 80px 32px; border-radius: 28px; text-align: center; border: 1px solid var(--line); background: radial-gradient(600px 260px at 50% 0%, rgba(63, 111, 209, .12), transparent 70%), radial-gradient(500px 240px at 50% 100%, rgba(242, 184, 75, .12), transparent 70%), #fff; }
.cta .grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%); }
.cta h2 { position: relative; margin: 0 auto; }
.cta p { position: relative; margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.cta .hero-actions { position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-in .muted { margin-top: 12px; font-size: 14.5px; }
.foot-links { display: flex; gap: 64px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.foot-links b { font-family: var(--head); font-size: 14px; }
.foot-links a { color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
  .pane[data-pane="mail"] { grid-template-columns: 0 280px 1fr; }
  .m-side { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-in { height: 60px; }
  .hero { padding-top: 44px; }
  h1 { margin-top: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .showcase { margin-top: 44px; }
  .panes { height: 420px; }
  .tabs button { padding: 7px 11px; }
  .win-user, .lights { display: none; }
  .pane[data-pane="mail"] { grid-template-columns: 1fr; }
  .m-read { display: none; }
  .m-list { border-right: 0; }
  .pane[data-pane="chat"] { grid-template-columns: 1fr; }
  .c-side { display: none; }
  .c-thread { padding: 0 14px 16px; }
  .bub { max-width: 85%; }
  .pane[data-pane="docs"] { grid-template-columns: 1fr; }
  .d-comments { display: none; }
  .d-page { margin: 14px 14px 0; padding: 16px 18px; }
  .pane[data-pane="send"] { padding: 16px; }
  .s-cards { grid-template-columns: 1fr 1fr; }
  .s-cards > div:last-child { display: none; }
  .s-log div { grid-template-columns: 1fr auto; }
  .s-log small { display: none; }
  .section { padding: 76px 0; }
  .bento, .grid-4, .steps { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .feature { padding: 24px; border-radius: 22px; }
  .code-card pre { min-height: 250px; font-size: 12px; }
  .cta { padding: 56px 20px; }
  .foot-links { gap: 40px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
}
