* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 650; margin-bottom: 24px; }
h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.025em; }
.container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.public-brand { align-items: center; flex-wrap: nowrap; gap: 10px; font-size: 1.25rem; letter-spacing: -0.035em; }
.public-brand .app-brand-icon { width: 40px; height: 40px; }
.brand-ai { font-weight: 450; color: var(--muted); }
.header-inner > nav { display: flex; gap: 32px; font-size: .875rem; font-weight: 550; }
.header-inner > nav a:hover, .text-link:hover { color: var(--accent); }
.hero { padding-block: 86px 88px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 24px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
h1 { font-size: clamp(2.8rem, 4.6vw, 4.05rem); margin-bottom: 28px; font-weight: 650; line-height: 1.12; }
h1 > span { color: var(--accent); }
.hero-description { color: var(--muted); max-width: 490px; font-size: 1.04rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 13px 22px; border-radius: 8px; font-size: .9rem; font-weight: 600; transition: box-shadow .2s, background-color .2s; }
.button-primary { background: var(--accent); color: var(--surface); }
.button-primary:hover { box-shadow: 0 5px 16px rgba(8, 126, 107, .22); background: #066b5b; }
.text-link { font-size: .875rem; font-weight: 550; }
.access-hint { color: var(--muted); font-size: .76rem; max-width: 375px; margin: 16px 0 0; }
.knowledge-preview { margin: 0; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-soft); box-shadow: var(--shadow); transform: rotate(1deg); }
.preview-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; margin-bottom: 24px; }
.preview-mark { color: var(--accent); font-weight: 800; font-size: .73rem; }
.preview-dots { margin-left: auto; letter-spacing: .16em; }
.recording-card { display: flex; align-items: center; gap: 11px; }
.recording-card strong { font-size: .88rem; }
.recording-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 10px; font-size: .75rem; }
.small-text { display: block; font-size: .72rem; color: var(--muted); }
.pill { margin-left: auto; color: var(--accent); background: var(--accent-soft); border-radius: 20px; padding: 4px 10px; font-size: .66rem; }
.waveform { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 64px; padding: 10px 2px; margin: 15px 0; }
.waveform i { width: 5px; height: 15px; border-radius: 3px; background: var(--accent); opacity: .35; }
.waveform i:nth-child(3n) { height: 32px; opacity: .7; }
.waveform i:nth-child(4n) { height: 24px; }
.waveform i:nth-child(5n) { height: 44px; opacity: .9; }
.preview-content { border-top: 1px solid var(--border); padding-top: 20px; }
.preview-label { font-size: .62rem; letter-spacing: .12em; color: var(--muted); margin-bottom: 9px; }
.preview-question { font-size: 1.12rem; font-weight: 550; letter-spacing: -.025em; margin-bottom: 15px; }
.answer-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 19px; font-size: .8rem; }
.answer-label { color: var(--accent); font-weight: 650; font-size: .72rem; }
.answer-card p { margin: 10px 0 6px; }
.answer-card ul { margin: 0 0 16px; padding-left: 18px; }
.answer-card li + li { margin-top: 6px; }
.source-reference { padding-top: 12px; border-top: 1px solid var(--border); color: var(--accent); font-size: .7rem; }
figcaption { text-align: center; color: var(--muted); font-size: .65rem; margin-top: 16px; }
.possibilities { border-top: 1px solid var(--border); padding-block: 65px 76px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 355px; margin-bottom: 5px; color: var(--muted); font-size: .95rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature { padding: 20px 28px 20px 0; }
.feature + .feature { border-left: 1px solid var(--border); padding-left: 28px; }
.feature-number { display: block; font-size: .65rem; color: var(--accent); letter-spacing: .1em; margin-bottom: 25px; font-weight: 650; }
.feature h3 { margin-bottom: 15px; }
.feature p { color: var(--muted); font-size: .9rem; }
.feature-footnote { font-size: .71rem; color: var(--muted); }
.privacy-note { display: flex; gap: 18px; margin-top: 35px; padding: 22px 26px; background: var(--surface-soft); border-radius: 10px; font-size: .85rem; }
.privacy-symbol { color: var(--accent); font-size: 1.5rem; }
.privacy-note p { margin: 4px 0 0; color: var(--muted); }
.access-section { background: var(--app-bg); padding-block: 76px; border-block: 1px solid var(--border); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.access-copy > p:not(.eyebrow) { color: var(--muted); font-size: .94rem; }
.access-steps { list-style: none; counter-reset: steps; padding: 0; margin: 32px 0; }
.access-steps li { counter-increment: steps; position: relative; padding: 0 0 22px 43px; }
.access-steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--accent); font-size: .75rem; font-weight: 650; }
.access-steps strong { font-size: .95rem; font-weight: 650; }
.access-steps p { margin: 5px 0 0; font-size: .86rem; color: var(--muted); }
.download-panel { background: var(--surface); border: 1px solid var(--border); padding: 28px; border-radius: 14px; box-shadow: var(--shadow); }
.download-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.download-heading h3 { margin: 0 0 4px; }
.download-heading p { font-size: .73rem; color: var(--muted); margin: 0; }
.tailscale-mark { color: var(--accent); font-size: 2.8rem; line-height: 1; }
.os-hint { font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.os-selector { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.os-selector button { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; font-size: .72rem; color: var(--text); }
.os-selector button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.download-option { padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; margin-top: 8px; }
.download-option a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .88rem; min-height: 26px; }
.download-option a:hover { color: var(--accent); }
.download-option p { font-size: .78rem; color: var(--muted); margin: 9px 0 4px; }
.download-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.download-note { border-top: 1px solid var(--border); padding-top: 18px; margin: 22px 0 0; color: var(--muted); font-size: .75rem; }
.faq { padding-block: 75px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); padding: 19px 0; }
summary { cursor: pointer; font-weight: 550; font-size: .93rem; }
details p { color: var(--muted); font-size: .87rem; margin: 15px 0 0; }
.site-footer { border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 28px; color: var(--muted); font-size: .7rem; }
.site-footer .public-brand { color: var(--text); font-size: .95rem; }
.site-footer .app-brand-icon { width: 30px; height: 30px; }
.site-footer p { margin: 0; }
@media (max-width: 1000px) {
  .hero { gap: 30px; }
  .access-grid { gap: 36px; }
  .knowledge-preview { padding: 17px; transform: none; }
  .pill { display: none; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .public-brand { font-size: 1.08rem; }
  .header-inner > nav { gap: 14px; font-size: .75rem; }
  .header-inner > nav a:first-child { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px; gap: 40px; }
  h1 { font-size: clamp(2.6rem, 8.5vw, 3.6rem); }
  .hero-description { max-width: none; }
  .knowledge-preview { width: min(100%, 480px); justify-self: center; padding: 22px; }
  .pill { display: inline-block; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; max-width: none; }
  .possibilities { padding-block: 44px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature + .feature { padding: 25px 0; border-left: 0; border-top: 1px solid var(--border); }
  .feature-number { margin-bottom: 15px; }
  .feature p { max-width: 500px; }
  .privacy-note { margin-top: 15px; padding: 20px; }
  .access-section { padding-block: 45px; }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .download-panel { padding: 22px; }
  .faq { grid-template-columns: minmax(0, 1fr); padding-block: 45px; gap: 12px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px 30px; }
  .site-footer p { flex-basis: 100%; order: 3; }
}
@media (max-width: 380px) {
  .header-inner > nav a { max-width: 96px; }
  .header-inner .app-brand-icon { width: 32px; height: 32px; }
  .header-inner .public-brand { font-size: 1rem; gap: 7px; }
  h1 { font-size: 2.25rem; }
  h2 { overflow-wrap: anywhere; }
  .hero-actions { gap: 15px; }
  .knowledge-preview { padding: 15px; }
  .pill { display: none; }
  .download-panel { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.header-inner > nav { margin-left: auto; }
.header-inner .language-switcher { margin: 0; flex-shrink: 0; }
.language-options a { text-decoration: none; line-height: 1.65; }
.language-options a:focus-visible { outline-offset: -3px; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; gap: 12px; }
  .header-inner > nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .header-inner > nav a:first-child { display: inline; }
  .header-inner > nav a { max-width: none; }
  .header-inner .language-switcher { margin-left: auto; }
}
