/* Mirrors ThemeKit Light/Dark surfaces and readable feature roles.
   Logo-derived solid fills are accents; text uses Theme+Accents ink values. */
:root {
  color-scheme: light dark;
  --canvas: #f1f3f6;
  --paper: #fff;
  --elevated: #ebeef3;
  --ink: #161b26;
  --muted: #566071;
  --line: #d6dce5;
  --browser: #0b6ca8;
  --downloads: #08727c;
  --files: #7048b8;
  --tools: #925600;
  --browser-fill: #089ef4;
  --downloads-fill: #1bc7d0;
  --files-fill: #9566f3;
  --tools-fill: #ffa530;
  --browser-tint: #e6f4fc;
  --downloads-tint: #e6f6f7;
  --files-tint: #f1ecf9;
  --tools-tint: #fff3e1;
  --folder: #786100;
  --image: #16734d;
  --pdf: #be3c52;
  --shadow: 0 16px 48px -32px #161b2640;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(3.4rem, 6.7vw, 6.15rem); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); text-wrap: balance; }
h3 { font-size: 1.6rem; line-height: 1.23; letter-spacing: -.035em; }
p { color: var(--muted); }
a { color: inherit; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--browser); outline-offset: 5px; border-radius: 4px; }
main:focus { outline: none; }
::selection { color: var(--ink); background: var(--downloads-tint); }
img, svg { display: block; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.25rem; font-weight: 800; letter-spacing: .035em; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { display: flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--browser); }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.eyebrow { font-size: .7rem; font-weight: 750; letter-spacing: .13em; color: var(--browser); line-height: 1.6; }
.eyebrow-line { width: 28px; height: 3px; display: inline-block; vertical-align: middle; margin-right: 10px; background: var(--browser-fill); border-radius: 3px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 7%; align-items: center; padding-block: 70px 56px; }
.hero h1 { margin-block: 24px; }
.intro { max-width: 45ch; font-size: 1.1rem; line-height: 1.8; }
.hero .intro { max-width: 40ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 12px 22px; border: 1px solid transparent; border-radius: 13px; background: var(--browser); color: var(--paper); font-size: .92rem; font-weight: 650; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button .icon { width: 19px; height: 19px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: var(--browser); font-size: .92rem; font-weight: 600; }
.text-link .icon { width: 18px; height: 18px; }
.compatibility { display: flex; align-items: center; gap: 7px; font-size: .77rem; margin-top: 22px; }
.compatibility .icon { width: 16px; height: 16px; }
/* Matches OnboardingPreviewView: separate 58:29 tiles/symbols, soft washes,
   alternating 13px drift and small rotation. Controls stay still. */
.hero-art { display: grid; grid-template-columns: 1fr; align-items: center; gap: 14px; }
.floating-stage { position: relative; grid-column: 1 / -1; height: clamp(260px, 27vw, 360px); overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.preview-wash { position: absolute; top: 50%; width: 340px; height: 340px; margin: -170px; border-radius: 50%; pointer-events: none; animation: wash-drift 4.8s ease-in-out 1; }
.wash-blue { left: 15%; margin-top: -195px; background: radial-gradient(circle, #089ef424, #089ef400 70%); }
.wash-purple { left: 50%; margin-top: -145px; background: radial-gradient(circle, #9566f324, #9566f300 70%); animation-duration: 4.4s; animation-direction: reverse; }
.wash-teal { left: 85%; margin-top: -195px; background: radial-gradient(circle, #1bc7d024, #1bc7d000 70%); animation-duration: 4s; }
.floating-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px; padding-bottom: 45px; }
.floating-tile { display: grid; place-items: center; width: clamp(50px, 6vw, 84px); aspect-ratio: 1; flex-shrink: 0; border-radius: 31%; background: var(--role-fill); color: #fff; box-shadow: 0 14px 26px -20px #161b2666; animation: tile-float 4s ease-in-out 1; }
.floating-tile .icon { width: 50%; height: 50%; }
.floating-tile.downloads { animation-duration: 4.2s; animation-direction: reverse; }
.floating-tile.files { animation-duration: 4.4s; }
.floating-tile.tools { animation-duration: 4.6s; animation-direction: reverse; }
.preview-labels { position: absolute; bottom: 30px; inset-inline: 28px; display: flex; justify-content: space-between; gap: 12px; font-size: .68rem; font-weight: 550; color: var(--muted); }
.preview-labels span { width: clamp(50px, 6vw, 84px); text-align: center; }
@keyframes tile-float {
  0%, 50%, 100% { transform: translateY(0) rotate(0); }
  25% { transform: translateY(-13px) rotate(-2deg); }
  75% { transform: translateY(13px) rotate(2deg); }
}
@keyframes wash-drift {
  0%, 50%, 100% { transform: translateX(0); }
  25% { transform: translateX(36px); }
  75% { transform: translateX(-36px); }
}
.browser { --role: var(--browser); --role-tint: var(--browser-tint); --role-fill: var(--browser-fill); }
.downloads { --role: var(--downloads); --role-tint: var(--downloads-tint); --role-fill: var(--downloads-fill); }
.files { --role: var(--files); --role-tint: var(--files-tint); --role-fill: var(--files-fill); }
.tools { --role: var(--tools); --role-tint: var(--tools-tint); --role-fill: var(--tools-fill); }
.features-section { padding-block: 38px 42px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.feature { padding-block: 22px 8px; border-top: 3px solid var(--role-fill); }
.feature-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--role); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; color: var(--role, var(--browser)); background: var(--role-tint, var(--browser-tint)); }
.feature h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.feature p { font-size: .9rem; line-height: 1.8; }
.availability { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .77rem; }
.personal-section { display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; gap: 12%; padding-block: 42px 64px; border-top: 1px solid var(--line); }
.personal-section h2 { margin-bottom: 16px; font-size: 1.6rem; }
.personal-copy > p:not(.eyebrow) { max-width: 47ch; font-size: .98rem; }
.theme-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.theme-swatch { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--swatch); box-shadow: inset 0 0 0 5px var(--swatch-bg); }
.theme-light { --swatch-bg: #fff; --swatch: #7048b8; }
.theme-dark { --swatch-bg: #1b2029; --swatch: #ac8bf6; }
.theme-ocean { --swatch-bg: #172431; --swatch: #72c4ee; }
.theme-forest { --swatch-bg: #e8f0ea; --swatch: #247653; }
.theme-sunset { --swatch-bg: #251b17; --swatch: #f3aa77; }
.theme-midnight { --swatch-bg: #1d1927; --swatch: #b49af9; }
.theme-rose { --swatch-bg: #f5e9ee; --swatch: #a83c68; }
.theme-monochrome { --swatch-bg: #1c1c1f; --swatch: #cfcfd7; }
.privacy-card { border-left: 1px solid var(--line); padding-left: 40px; }
.privacy-card p { font-size: .9rem; }
.privacy-card .text-link { margin-top: 16px; font-size: .83rem; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding-block: 32px 40px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 1rem; gap: 9px; }
.site-footer p { font-size: .78rem; margin-top: 10px; }
.footer-end { text-align: right; }
.footer-links { display: flex; justify-content: flex-end; gap: 25px; margin-bottom: 3px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .81rem; }
.footer-links a:hover { color: var(--browser); text-decoration: underline; }
.site-footer small { color: var(--muted); font-size: .7rem; }
.page-intro { padding-block: 66px 46px; }
.page-intro h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); margin-block: 18px 22px; }
.page-intro .intro { max-width: 66ch; }
.updated { margin-top: 22px; font-size: .78rem; }
.support-layout { display: grid; grid-template-columns: 1.6fr 1fr; align-items: start; gap: 64px; padding-bottom: 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; font-size: 1rem; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--browser); width: 19px; height: 19px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 25px 26px 0; font-size: .92rem; line-height: 1.9; }
.contact-panel { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.contact-panel h2 { font-size: 1.65rem; margin-block: 24px 15px; }
.contact-panel p { font-size: .91rem; overflow-wrap: anywhere; }
.contact-panel .button { margin-block: 24px 4px; }
.contact-panel .small-text { font-size: .78rem; margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; align-items: start; padding-bottom: 80px; }
.contents { position: sticky; top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.contents nav { display: flex; flex-direction: column; margin-top: 12px; }
.contents a { display: flex; align-items: center; min-height: 44px; padding-block: 9px; font-size: .79rem; line-height: 1.6; color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--browser); text-decoration: underline; }
.legal-copy { padding: 34px 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.legal-copy section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-copy h2 { font-size: 1.3rem; line-height: 1.5; letter-spacing: -.025em; margin-bottom: 16px; }
.legal-copy p { font-size: .94rem; line-height: 1.9; overflow-wrap: anywhere; }
.legal-copy p + p { margin-top: 16px; }
.legal-copy .text-link { margin-top: 10px; }
.missing-page { min-height: 60vh; padding-block: 85px; }
.missing-page h1 { font-size: clamp(2.75rem, 6vw, 5rem); margin-block: 20px; }
.missing-page p { max-width: 55ch; }
.missing-page .button { margin-top: 28px; }
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #101218; --paper: #1b2029; --elevated: #272e3a;
    --ink: #f5f7fa; --muted: #b0bac8; --line: #3b4350;
    --browser: #14a8f4; --downloads: #1bc7d0; --files: #ac8bf6; --tools: #ffa530;
    --browser-tint: #1a3649; --downloads-tint: #1b3b44; --files-tint: #323144; --tools-tint: #3f352a;
    --folder: #e6c75a; --image: #67d5a1; --pdf: #ff91a1;
    --shadow: 0 16px 48px -32px #0009;
  }
  .button { color: #101218; }
  .wash-blue { background: radial-gradient(circle, #089ef438, #089ef400 70%); }
  .wash-purple { background: radial-gradient(circle, #9566f338, #9566f300 70%); }
  .wash-teal { background: radial-gradient(circle, #1bc7d038, #1bc7d000 70%); }
}
@media (min-width: 1500px) { .hero { padding-block: 88px 66px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 5%; padding-top: 55px; }
  .hero h1 { font-size: clamp(3.4rem, 7.1vw, 5.5rem); }
  .hero .intro { font-size: 1rem; }
  .floating-row { padding-inline: 18px; gap: 8px; }
  .preview-labels { inset-inline: 18px; gap: 8px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .personal-section { gap: 7%; }
  .support-layout { gap: 36px; }
  .legal-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 32px; }
  .legal-copy { padding: 28px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 18px 10px; min-height: 0; align-items: flex-start; flex-direction: column; gap: 10px; }
  .brand { font-size: 1.13rem; }
  .site-header nav { gap: 24px; width: 100%; justify-content: space-between; }
  .site-header nav a { font-size: .8rem; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 42px 32px; }
  .hero h1 { font-size: clamp(3.5rem, 12vw, 5.5rem); margin-block: 19px; }
  .hero .intro { max-width: 45ch; }
  .hero-actions { margin-top: 25px; gap: 22px; }
  .hero-art { width: min(100%, 430px); justify-self: center; }
  .floating-stage { height: 230px; border-radius: 22px; }
  .floating-row { padding-inline: 18px; gap: 10px; }
  .floating-tile { width: clamp(50px, 16vw, 66px); }
  .preview-labels { inset-inline: 18px; bottom: 26px; gap: 10px; }
  .preview-labels span { width: clamp(50px, 16vw, 66px); }
  .hero-art { gap: 6px 12px; }
  .features-section { padding-block: 30px 36px; }
  .feature-grid { gap: 28px 24px; }
  .feature p { font-size: .87rem; }
  .feature-top { gap: 8px; }
  .feature-top .icon-tile { width: 37px; height: 37px; border-radius: 11px; }
  .feature-top .icon { width: 21px; height: 21px; }
  .personal-section { grid-template-columns: 1fr; gap: 36px; padding-block: 52px; }
  .privacy-card { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 28px 34px; }
  .footer-end { text-align: left; }
  .footer-links { justify-content: flex-start; gap: 28px; }
  .page-intro { padding-block: 44px 32px; }
  .page-intro .intro { font-size: 1rem; }
  .support-layout, .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .contact-panel { padding: 28px; }
  .contents { position: static; }
  .contents nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .legal-copy { padding: 26px; border-radius: 18px; }
  .legal-copy .text-link { font-size: .83rem; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; }
  .hero .eyebrow { font-size: .62rem; }
  .hero h1 { font-size: 3.4rem; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 17px; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature p { font-size: .93rem; }
  .contents nav { grid-template-columns: 1fr; }
  .legal-copy { padding: 22px; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .feature p { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:hover { transform: none; }
}
@media (forced-colors: active) {
  .button, .icon-tile, .theme-swatch, .floating-tile { border: 1px solid ButtonText; }
}
