:root {
  color-scheme: dark;
  --background: #11161b;
  --surface: #181e25;
  --line: #2d3940;
  --text: #f7f9fb;
  --muted: #aab7bf;
  --accent: #d3f776;
  --accent-ink: #18210e;
  --radius: 16px;
  --mono: ui-monospace, 'Cascadia Mono', 'Liberation Mono', monospace;
  font-family: 'Geist', 'Segoe UI', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.shell { width: min(100% - 64px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: #11161b; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 75px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 10px; font-size: 1.7rem; font-weight: 760; letter-spacing: -.075em; }
.brand-period { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a, .footer-inner > a:last-child { color: var(--muted); font-size: .94rem; font-weight: 600; }
.site-header nav a:hover, .footer-inner > a:last-child:hover { color: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 51px; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; font-weight: 720; font-size: .98rem; line-height: 1.25; transition: background .15s, border-color .15s; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .92rem; }
.button-primary { color: var(--accent-ink); background: var(--accent); }
.button-primary:hover { background: #e1ffa5; }
.button-outline { background: #20282e; border-color: #3d4a4e; }
.button-outline:hover { background: #2a3539; border-color: #65767a; }
.download-icon { width: 17px; height: 16px; position: relative; border-bottom: 1.7px solid currentColor; }
.download-icon::before { content: ''; position: absolute; left: 7px; top: 0; width: 1.7px; height: 10px; background: currentColor; }
.download-icon::after { content: ''; position: absolute; top: 4px; left: 4px; width: 8px; height: 8px; border-right: 1.7px solid; border-bottom: 1.7px solid; transform: rotate(45deg); }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 75% 45%, #232e2e 0%, #171e24 35%, #11161b 73%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 644px; }
.hero-copy { position: relative; z-index: 2; padding-block: 60px 75px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font: 700 .81rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.signal-icon { display: inline-flex; align-items: end; gap: 3px; height: 15px; }
.signal-icon i { width: 3px; height: 5px; border-radius: 1px; background: currentColor; }
.signal-icon i:nth-child(2) { height: 9px; }
.signal-icon i:nth-child(3) { height: 13px; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-top: 23px; font-size: clamp(3.7rem, 6.15vw, 6rem); line-height: .99; letter-spacing: -.085em; font-weight: 790; }
h1 > span { color: var(--accent); }
.hero-description { max-width: 455px; margin-top: 25px; font-size: 1.15rem; line-height: 1.62; color: #bdc8ce; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-meta { margin-top: 18px; font-size: .86rem; font-weight: 550; color: var(--muted); }
.hero-meta span { display: inline-block; padding-inline: 6px; color: #8c9c94; }

.hero-visual { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; isolation: isolate; place-items: center; min-height: 578px; margin-inline: 2px -14px; padding-block: 22px 10px; }
.mesh-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; mask-image: radial-gradient(ellipse at 55% 48%, #000 34%, #000c 62%, transparent 84%); }
.hero-visual::before { content: ''; position: absolute; z-index: -2; width: 77%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #92b45422, #65805009 53%, transparent 73%); }
.visual-label, .visual-note { display: flex; align-items: center; gap: 8px; color: #becac6; font: 650 .74rem/1.25 var(--mono); letter-spacing: .09em; }
.visual-label { justify-self: end; margin-right: 15px; }
.visual-label > span { width: 14px; height: 1px; background: var(--accent); }
.visual-note { color: #a3b1b4; }
.mini-wave { width: 36px; height: 15px; background: var(--accent); clip-path: polygon(0 44%, 20% 44%, 25% 30%, 33% 62%, 41% 10%, 46% 94%, 54% 25%, 63% 68%, 72% 44%, 100% 44%, 100% 53%, 74% 53%, 63% 82%, 55% 42%, 45% 100%, 40% 44%, 35% 74%, 24% 44%, 22% 53%, 0 53%); }

.section { padding-block: 92px; scroll-margin-top: 24px; }
.section-intro { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; margin-bottom: 31px; }
h2 { margin-top: 10px; font-size: clamp(2.6rem, 4.5vw, 4.1rem); font-weight: 760; line-height: 1.01; letter-spacing: -.073em; }
.section-intro > p, .app-showcase-copy > p:last-child, .download-card > p:not(.eyebrow) { max-width: 425px; color: var(--muted); line-height: 1.58; font-size: 1.08rem; }
.section-intro > p { margin-bottom: 3px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.field-card { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; overflow: hidden; min-width: 0; padding: 18px; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field-media, .app-showcase-media { position: relative; isolation: isolate; overflow: hidden; }
.field-media { aspect-ratio: 3 / 2; border-radius: 10px; background: #26322b; }
.field-media .media-top { inset: 7px 7px auto; }
.field-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-top { position: absolute; inset: 14px 14px auto; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.media-label, .motion-button { border: 1px solid #d8e5e448; background: #11161be8; color: #f7f9fb; }
.media-label { display: inline-flex; align-items: center; padding: 7px 9px; border-radius: 5px; font: 600 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.motion-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; cursor: pointer; }
.motion-button:hover { background: #313c42; }
.motion-button::before { content: ''; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-button[data-state="paused"]::before { width: 0; height: 0; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; margin-left: 2px; }
.message-sequence { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; }
.demo-message { width: fit-content; max-width: 100%; padding: 7px 11px; border: 1px solid #ffffff32; border-radius: 6px; color: #f9faf9; background: #11171b; font-size: .9rem; }
.demo-message strong { margin-right: 5px; color: var(--accent); font-weight: 720; }
.demo-reply { margin-left: 17px; }
.is-playing .field-photo { animation: flash-photo 9s ease-in-out infinite; }
.is-playing .demo-reply { animation: sample-reply 9s ease-in-out infinite; }
@keyframes flash-photo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.055); } }
@keyframes sample-reply { 0%, 15% { opacity: 0; transform: translateY(5px); } 25%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(5px); } }
.field-card figcaption { display: grid; gap: 5px; min-width: 0; }
h3 { font-size: 1.24rem; line-height: 1.2; letter-spacing: -.035em; font-weight: 740; }
.field-card figcaption p, .setup-steps p, .faq details p { color: var(--muted); line-height: 1.58; }
.app-showcase { display: grid; grid-template-columns: .78fr 1.22fr; align-items: stretch; min-width: 0; overflow: hidden; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.app-showcase-copy { align-self: center; padding: clamp(24px, 5vw, 68px); }
.app-showcase-copy > p:last-child { margin-top: 20px; }
.app-showcase-media { display: grid; place-items: center; min-width: 0; background: #181f26; border-left: 1px solid var(--line); }
.app-showcase-media video { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }

.setup-section { background: #151c22; border-block: 1px solid var(--line); }
.setup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 31px 0 0; padding: 0; list-style: none; }
.setup-steps li { display: grid; grid-template-rows: auto auto 1fr; gap: 11px; padding: 23px; border-top: 1px solid #45554d; background: linear-gradient(#222d2e, #181f25); }
.step-glyph { position: relative; display: block; width: 36px; height: 36px; margin-bottom: 4px; color: var(--accent); }
.step-glyph::before, .step-glyph::after { position: absolute; content: ''; }
.glyph-phone::before { inset: 1px 11px 1px 5px; border: 2px solid; border-radius: 5px; }
.glyph-phone::after { inset: auto 17px 6px 11px; height: 2px; background: currentColor; }
.glyph-radio::before { inset: 10px 9px 1px 4px; border: 2px solid; border-radius: 5px; background: radial-gradient(circle at 50% 70%, currentColor 2px, transparent 3px); }
.glyph-radio::after { top: 0; left: 10px; width: 2px; height: 12px; background: currentColor; }
.glyph-post::before { inset: 4px 3px 7px 2px; border: 2px solid; border-radius: 5px; background: radial-gradient(circle at 24% 50%, currentColor 1.6px, transparent 2px), radial-gradient(circle at 50% 50%, currentColor 1.6px, transparent 2px), radial-gradient(circle at 76% 50%, currentColor 1.6px, transparent 2px); }
.glyph-post::after { bottom: 4px; left: 9px; width: 8px; height: 8px; border-left: 2px solid; border-bottom: 2px solid; background: #212c2d; transform: skewY(-36deg); }

.download-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(26px, 5vw, 72px); }
.download-card { padding: clamp(24px, 4vw, 50px); background: radial-gradient(ellipse at 0 0, #2b392e, #1b2228 64%); border: 1px solid #48574d; border-radius: var(--radius); }
.download-mark { margin-bottom: 20px; }
.download-card > p:not(.eyebrow) { margin-top: 16px; }
.download-card .button, .release-pending { margin-top: 22px; }
.release-pending { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid #657253; border-radius: 7px; background: #2c392c; color: #e3f3ca; font-weight: 700; }
.release-pending span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.download-card > p.download-requirement { font-size: .88rem; }
.release-checksum { margin-top: 17px; overflow-wrap: anywhere; }
.release-checksum summary { width: fit-content; cursor: pointer; }
.release-checksum p { margin: 8px 0 2px; color: var(--muted); }
.faq h2 { font-size: clamp(2.2rem, 3vw, 3rem); margin: 0 0 20px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 60px; padding: 10px 2px; list-style: none; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--accent); font-size: 1.25rem; font-weight: 500; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 2px 15px; max-width: 470px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 86px; }
.footer-inner .brand { font-size: 1.44rem; }
.footer-inner p { color: var(--muted); font: .82rem/1.4 var(--mono); }

@media (max-width: 980px) {
  .hero-inner { min-height: 566px; }
  .hero-visual { min-height: 523px; }
  .hero-copy { padding-block: 48px 60px; }
  .visual-label { margin-right: 0; }
  .section { padding-block: 70px; }
  .field-card { grid-template-columns: 1fr; }
  .field-media { max-width: 260px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; gap: 16px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: .84rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 60px 27px; }
  h1 { font-size: clamp(3.35rem, 10.8vw, 5.4rem); }
  .hero-description { margin-top: 21px; }
  .hero-visual { margin-inline: 0; min-height: 520px; padding-block: 11px; }
  .section-intro, .app-showcase, .download-layout { grid-template-columns: 1fr; }
  .section-intro { gap: 15px; }
  .field-grid { gap: 13px; }
  .app-showcase-media { border-left: 0; border-top: 1px solid var(--line); }
  .setup-steps { gap: 12px; }
  .setup-steps li { padding: 17px; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 32px); }
  .site-header nav { display: none; }
  .hero-copy { padding-top: 48px; }
  .hero-visual { min-height: 494px; }
  .visual-label { font-size: .68rem; }
  .hero-description { font-size: 1.05rem; }
  .hero-actions { margin-top: 23px; }
  .hero-actions .button { padding-inline: 15px; }
  .section { padding-block: 55px; }
  .field-grid, .setup-steps { grid-template-columns: 1fr; }
  .field-card { padding: 14px; }
  .field-card figcaption p { font-size: .97rem; }
  .setup-steps li { grid-template-columns: 37px 1fr; grid-template-rows: auto 1fr; gap: 5px 11px; }
  .step-glyph { grid-row: span 2; }
  .footer-inner { gap: 9px; min-height: 70px; }
  .footer-inner p { font-size: .72rem; }
  .footer-inner > a:last-child { font-size: .8rem; }
}

@media (max-width: 350px) {
  .hero-meta { font-size: .8rem; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { font-size: .91rem; padding-inline: 12px; }
  .hero-visual { min-height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .field-card:not(.motion-requested) .field-photo, .field-card:not(.motion-requested) .demo-reply { animation: none; }
}
