/* Homepage. Lucide icons: assets/LUCIDE-LICENSE.txt. */
:root {
  color-scheme: dark;
  --background: #080808;
  --surface: #111;
  --text: #f5f5f5;
  --secondary: #b8b8b8;
  --line: #303030;
  --ease-enter: cubic-bezier(.25, 1, .5, 1);
  --ease-move: cubic-bezier(.76, 0, .24, 1);
  --ease-exit: cubic-bezier(.32, 0, .67, 0);
  --dur-2: 200ms;
  --dur-3: 350ms;
  --dur-4: 600ms;
  --dur-5: 1000ms;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 20px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
img { display: block; max-width: 100%; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; background: #fff; color: #000; padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 550; letter-spacing: -.4px; white-space: nowrap; }
.brand img { border-radius: 12px; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 17px; }
.nav-link { color: var(--secondary); }
.nav-link, .text-link, .site-footer a { transition: color var(--dur-2) var(--ease-enter); }
.nav-link { padding-block: 12px; }
.nav-link:hover, .text-link:hover { color: #fff; }
.nav-download { display: flex; align-items: center; gap: 18px; border: 1px solid #555; border-radius: 999px; padding: 10px 18px; transition: border-color var(--dur-2) var(--ease-enter), background var(--dur-2) var(--ease-enter); }
.nav-download:hover { border-color: #fff; }
.nav-download .icon { width: 20px; height: 20px; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; padding-top: 30px; padding-bottom: 90px; }
h1 { font-size: clamp(4rem, 6.7vw, 6.25rem); font-weight: 450; line-height: 1.05; letter-spacing: -.04em; }
h1 span { color: #b8b8b8; }
.hero-description { max-width: 370px; margin-top: 30px; color: #c4c4c4; font-size: 22px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 58px; padding: 12px 24px; border-radius: 999px; font-size: 17px; font-weight: 550; transition: background var(--dur-2) var(--ease-enter); }
.button-light { background: #f5f5f5; color: #080808; }
.button-light:hover { background: #d9d9d9; }
.button .icon { width: 21px; height: 21px; }
.button .icon, .text-link .icon { transition: transform var(--dur-3) var(--ease-enter); }
.hero .button { margin-top: 34px; }
.availability { margin-top: 25px; color: #aaa; font-size: 16px; line-height: 1.6; }
.hero-art { position: relative; height: 650px; overflow: hidden; border-radius: 32px; isolation: isolate; background: #191919; }
.computer-art { height: 100%; width: 100%; object-fit: cover; object-position: 50% 68%; }
.hero-art:after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #000c); z-index: 0; }
.voice-example { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 32px; border-top: 1px solid #ffffff60; padding-top: 18px; }
.voice-example>span { font-size: 16px; color: #ccc; }
.voice-example>div { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.voice-example p { font-size: 22px; line-height: 1.4; letter-spacing: -.5px; }
.voice-example .icon { width: 22px; height: 22px; }

h2 { font-size: clamp(44px, 4.8vw, 64px); font-weight: 450; line-height: 1.12; letter-spacing: -2.4px; }
h3 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; font-weight: 450; }
.workspace-section { padding-block: 78px 72px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.work-tabs { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 6px; padding: 6px; background: #171717; border: 1px solid #303030; border-radius: 999px; }
.work-tabs[hidden] { display: none; }
.work-tabs button { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; border: 0; border-radius: 999px; padding: 10px 20px; background: none; color: #b8b8b8; font-size: 18px; white-space: nowrap; transition: color var(--dur-2) var(--ease-enter), background var(--dur-2) var(--ease-enter); }
.work-tabs button[aria-selected="true"] { background: #f5f5f5; color: #080808; }
.work-tabs.has-indicator button[aria-selected="true"] { background: transparent; }
.tab-indicator { position: absolute; z-index: 0; left: 0; top: 6px; bottom: 6px; border-radius: 999px; background: #f5f5f5; pointer-events: none; }
.work-tabs.is-ready .tab-indicator { transition: transform var(--dur-4) var(--ease-move), width var(--dur-4) var(--ease-move); }
.work-tabs button:not([aria-selected="true"]):hover { color: #fff; background: #252525; }
.work-tabs .icon { width: 22px; height: 22px; }
.work-views.is-enhanced { display: grid; }
.work-view { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.work-views:not(.is-enhanced) .work-view + .work-view { margin-top: 64px; }
.work-view[inert] { pointer-events: none; }
.work-view[hidden] { display: none; }
.work-description { padding-left: 30px; }
.work-description h3 { font-size: 40px; letter-spacing: -1.4px; }
.work-description p, .feature-copy>p { font-size: 20px; line-height: 1.6; color: var(--secondary); margin-top: 24px; max-width: 390px; }
.screen-stage { display: flex; justify-content: center; align-items: center; }
.screen-button { cursor: zoom-in; border-radius: 28px; display: block; padding: 0; border: 0; background: transparent; width: 100%; max-width: 390px; }
.app-screen { display: block; width: 100%; height: auto; border: 1px solid #ffffff40; border-radius: 28px; background: #fff; transition: border-color var(--dur-2) var(--ease-enter); }
.screen-caption { margin-top: 22px; text-align: right; color: #aaa; font-size: 16px; }
.feature-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 72px; border-top: 1px solid var(--line); }
.feature-copy>p.secondary-copy { font-size: 18px; color: #aaa; margin-top: 24px; }
.actions-section .feature-copy { padding-left: 30px; }

.control-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 90px; border-top: 1px solid var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 18px; color: #bbb; }
.text-link .icon { width: 20px; height: 20px; }
.control-rows article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.control-rows article:first-child { padding-top: 0; }
.control-rows article:last-child { padding-bottom: 0; border-bottom: 0; }
.control-rows h3 { font-size: 26px; letter-spacing: -.6px; }
.control-rows p { font-size: 18px; line-height: 1.7; color: var(--secondary); margin-top: 14px; }
.faq-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 70px 90px; border-top: 1px solid var(--line); }
.faq-section h2 { font-size: 42px; letter-spacing: -1.5px; }
.faq-list details { border-bottom: 1px solid var(--line); overflow-anchor: none; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list details.is-animating { overflow: hidden; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 24px 0; font-size: 20px; line-height: 1.4; list-style: none; cursor: pointer; transition: color var(--dur-2) var(--ease-enter); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { box-sizing: content-box; width: 20px; height: 20px; padding: 10px; border: 1px solid #444; border-radius: 50%; transition: transform var(--dur-3) var(--ease-enter), background var(--dur-2) var(--ease-enter), border-color var(--dur-2) var(--ease-enter); }
.faq-list details[open] summary:not([aria-expanded]) .icon, .faq-list summary[aria-expanded="true"] .icon { transform: rotate(45deg); background: #242424; border-color: #777; }
.faq-answer { padding: 0 60px 28px 0; }
.faq-list details p { color: var(--secondary); font-size: 18px; line-height: 1.7; }
.faq-list a { text-decoration: underline; text-underline-offset: 4px; }
.download-section { text-align: center; padding-block: 70px 90px; border-top: 1px solid var(--line); }
.download-section>img { margin: 0 auto 24px; border-radius: 24px; }
.download-section h2 { font-size: 68px; letter-spacing: -3px; }
.download-section .button { margin-top: 32px; }
.download-section p { font-size: 18px; line-height: 1.7; color: var(--secondary); margin-top: 26px; }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 28px; }
.site-footer nav { display: flex; gap: 26px; font-size: 16px; color: #bbb; flex-wrap: wrap; }
.copyright { width: 100%; color: #999; font-size: 16px; }

/* Screens open directly into an image lightbox. */
.screen-dialog { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; padding: 38px 72px; border: 0; background: transparent; color: #fff; overflow: hidden; }
.screen-dialog::backdrop { background: #000e; animation: lightbox-backdrop-in var(--dur-3) var(--ease-enter) both; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; height: 100%; cursor: zoom-out; }
#screen-full { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid #ffffff40; border-radius: 28px; box-shadow: 0 24px 90px #0009; cursor: default; animation: lightbox-image-in var(--dur-4) var(--ease-enter) both; }
#screen-close { position: absolute; z-index: 1; top: 20px; right: 22px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff45; border-radius: 50%; background: #242424; color: #fff; animation: lightbox-backdrop-in 220ms ease-out both; }
#screen-close:hover { background: #3a3a3a; }
#screen-close .icon { width: 22px; height: 22px; }
.screen-dialog.is-closing::backdrop { animation: lightbox-backdrop-out var(--dur-3) var(--ease-exit) both; }
.screen-dialog.is-closing #screen-full { animation: lightbox-image-out var(--dur-3) var(--ease-exit) both; }
.screen-dialog.is-closing #screen-close { animation: lightbox-backdrop-out var(--dur-2) var(--ease-exit) both; }
@keyframes lightbox-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lightbox-backdrop-out { to { opacity: 0; } }
@keyframes lightbox-image-in { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes lightbox-image-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 44px; }
  h1 { font-size: clamp(3.5rem, 6.7vw, 4.875rem); }
  .hero-art { height: 620px; }
  .hero-description { font-size: 21px; }
  .voice-example { left: 24px; right: 24px; }
  .voice-example p { font-size: 20px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .work-tabs { margin-top: 30px; gap: 6px; }
  .work-view, .feature-section, .control-section, .faq-section { gap: 50px; }
  .work-description, .actions-section .feature-copy { padding-left: 0; }
  .work-description h3 { font-size: 36px; }
  .screen-button { max-width: 370px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 90px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 40px; height: 40px; }
  .site-header nav { gap: 22px; font-size: 16px; }
  .site-header nav .nav-link { display: none; }
  .hero { gap: 30px; padding-top: 22px; padding-bottom: 65px; }
  h1 { font-size: 3.5rem; }
  .hero-description { font-size: 20px; }
  .hero-art { height: 590px; }
  .voice-example { left: 20px; right: 20px; }
  .voice-example>div { gap: 12px; }
  .voice-example p { font-size: 19px; }
  .voice-example .icon { display: none; }
  h2 { font-size: 44px; letter-spacing: -1.8px; }
  .work-view, .feature-section, .control-section, .faq-section { gap: 32px; }
  .work-description h3 { font-size: 30px; }
  .work-description p, .feature-copy>p { font-size: 18px; }
  .feature-copy>p.secondary-copy { font-size: 17px; }
  .control-rows p, .faq-list details p { font-size: 18px; }
  .faq-section h2 { font-size: 36px; }
  .faq-list summary { font-size: 18px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .nav-download { gap: 10px; padding: 10px 12px; font-size: 16px; }
  .nav-download .icon { width: 18px; height: 18px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 30px; padding-bottom: 56px; }
  h1 { font-size: clamp(3.5rem, 16vw, 5rem); line-height: 1.04; }
  .hero-description { max-width: 330px; margin-top: 24px; font-size: 21px; }
  .hero .button { margin-top: 26px; }
  .availability { margin-top: 22px; font-size: 16px; }
  .hero-art { height: 480px; }
  .computer-art { object-position: 50% 72%; }
  .voice-example { bottom: 26px; left: 24px; right: 24px; }
  .voice-example>div { gap: 12px; }
  .voice-example .icon { display: block; width: 21px; height: 21px; }
  .voice-example p { font-size: 21px; }
  h2 { font-size: 40px; letter-spacing: -1.8px; }
  .workspace-section { padding-block: 52px 50px; }
  .section-heading { margin-bottom: 28px; }
  .work-tabs { width: 100%; justify-content: space-between; gap: 2px; margin-top: 26px; padding: 5px; }
  .work-tabs button { font-size: 17px; gap: 8px; min-height: 48px; padding: 9px 12px; justify-content: center; flex: 1; }
  .work-tabs .icon { width: 20px; height: 20px; }
  .work-view { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .work-description h3 { font-size: 29px; letter-spacing: -.8px; }
  .work-description p { font-size: 19px; margin-top: 14px; line-height: 1.6; }
  .screen-button { max-width: 360px; }
  .app-screen { border-radius: 24px; }
  .tab-indicator { top: 5px; bottom: 5px; }
  .screen-caption { text-align: left; margin-top: 22px; font-size: 16px; }
  .feature-section { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-block: 50px; }
  .saved-section { flex-direction: column-reverse; }
  .feature-copy>p { font-size: 19px; margin-top: 20px; }
  .feature-copy>p.secondary-copy { font-size: 17px; margin-top: 18px; }
  .control-section { display: block; padding-block: 52px; }
  .text-link { font-size: 17px; margin-top: 24px; }
  .control-rows { margin-top: 34px; }
  .control-rows article { padding-block: 26px; }
  .control-rows article:first-child { padding-top: 26px; border-top: 1px solid var(--line); }
  .control-rows h3 { font-size: 25px; }
  .control-rows p { font-size: 18px; line-height: 1.65; }
  .faq-section { display: block; padding-block: 50px; }
  .faq-section h2 { font-size: 36px; }
  .faq-list { margin-top: 26px; }
  .faq-list summary { font-size: 19px; padding-block: 23px; gap: 15px; }
  .faq-answer { padding-right: 0; }
  .faq-list details p { font-size: 18px; }
  .download-section { padding-block: 48px 58px; }
  .download-section h2 { font-size: 48px; letter-spacing: -2px; }
  .download-section>img { width: 78px; height: 78px; }
  .download-section p { font-size: 17px; }
  .site-footer { gap: 24px; padding-block: 26px; }
  .site-footer nav { gap: 18px 24px; font-size: 16px; }
  .copyright { font-size: 16px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 16px; gap: 4px; }
  .brand img { width: 30px; height: 30px; }
  .nav-download { padding: 9px; gap: 6px; }
  .work-tabs { gap: 2px; }
  .work-tabs .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover .icon { transform: translateY(3px); }
  .download-section .button:hover .icon, .text-link:hover .icon { transform: translate(2px, -2px); }
  .nav-download:hover, .faq-list summary:hover .icon { background: #242424; border-color: #888; }
  .screen-button:hover .app-screen { border-color: #ffffff90; }
  .site-footer a:hover { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .button .icon, .text-link .icon { transform: none !important; }
}

.play-mark { width: 24px; height: 24px; flex-shrink: 0; }
.nav-download .play-mark { width: 22px; height: 22px; }
@media (max-width: 600px) { .button { gap: 14px; } .nav-download { gap: 8px; } }
@media (max-width: 600px) {
  .screen-dialog { padding: 78px 18px 24px; }
  #screen-close { top: 16px; right: 16px; }
  #screen-full { border-radius: 24px; }
}
