:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --ink: #171a1d;
  --muted: #6f7478;
  --line: rgba(23, 26, 29, 0.14);
  --cyan: #26bfd3;
  --cyan-dark: #0f7887;
  --yellow: #f4c542;
  --shadow: 0 34px 90px rgba(24, 31, 35, 0.18);
  font-family: "Segoe UI Variable", "Yu Gothic UI", "Hiragino Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 680; letter-spacing: -0.03em; }
.brand img { display: block; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 13px; color: #494e51; }
.site-header nav a { transition: color 160ms ease; }
.site-header nav a:hover { color: var(--ink); }
.site-header .header-download { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.22fr);
  align-items: center;
  gap: clamp(34px, 5vw, 86px);
  padding: 106px clamp(24px, 5vw, 76px) 64px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.9) 0 36%, rgba(255,255,255,.22) 62%),
    radial-gradient(circle at 80% 22%, rgba(38,191,211,.18), transparent 31%),
    radial-gradient(circle at 64% 75%, rgba(244,197,66,.18), transparent 28%);
}

.hero-orbit {
  position: absolute;
  z-index: -2;
  width: 920px;
  height: 920px;
  right: -305px;
  top: -240px;
  border: 100px solid rgba(38,191,211,.12);
  border-left-color: rgba(244,197,66,.11);
  border-radius: 50%;
  transform: rotate(28deg);
}
.hero-copy { max-width: 570px; opacity: 0; transform: translateY(18px); animation: hero-in 700ms 100ms cubic-bezier(.22,.8,.26,1) forwards; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 720; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-dark); }
.hero h1 { margin: 0; font-size: clamp(64px, 8.5vw, 126px); font-weight: 690; line-height: .88; letter-spacing: -.075em; }
.hero-statement { margin: 34px 0 0; font-size: clamp(34px, 4vw, 62px); font-weight: 610; line-height: 1.08; letter-spacing: -.055em; }
.hero-description { max-width: 510px; margin: 25px 0 0; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.9; color: #565c60; }
.hero-actions { margin-top: 36px; }

.download-button {
  width: min(100%, 350px);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px 0 24px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 14px 38px rgba(23,26,29,.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.download-button:not([aria-disabled="true"]):hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(23,26,29,.25); background: #050607; }
.download-button[aria-disabled="true"] { cursor: not-allowed; background: #73777a; box-shadow: none; }
.download-arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); font-size: 18px; }
.release-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

.product-stage { min-width: 0; opacity: 0; translate: 30px 22px; rotate: .8deg; animation: stage-in 850ms 260ms cubic-bezier(.22,.8,.26,1) forwards; }
.product-window { overflow: hidden; min-height: min(67vh, 680px); border: 1px solid rgba(17,21,24,.16); border-radius: 12px; background: #f6f7f8; box-shadow: var(--shadow); }
.product-titlebar { height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid #dfe2e4; background: rgba(255,255,255,.94); font-size: 11px; color: #5d6266; }
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i { width: 8px; height: 8px; border-radius: 50%; background: #d6d9db; }
.traffic-lights i:first-child { background: var(--cyan); }
.traffic-lights i:nth-child(2) { background: var(--yellow); }
.product-account { justify-self: end; display: flex; align-items: center; gap: 8px; }
.product-account b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #202428; color: white; font-size: 10px; }
.product-body { min-height: calc(min(67vh, 680px) - 42px); display: grid; grid-template-columns: 48px 215px minmax(280px, 1fr); }
.product-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 13px 0; background: #1d2225; }
.product-rail img { width: 25px; height: 25px; margin-bottom: 9px; }
.rail-icon { width: 17px; height: 17px; border: 1px solid #747c80; border-radius: 4px; }
.rail-icon.short { height: 13px; border-radius: 50%; }
.rail-icon.active { border-color: var(--cyan); box-shadow: inset 3px 0 var(--cyan); }
.product-sidebar { padding: 18px 12px; border-right: 1px solid #d9dde0; background: #f1f3f4; color: #565c60; }
.sidebar-heading { display: flex; justify-content: space-between; margin: 0 4px 13px; font-size: 10px; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; color: #3f4549; }
.sidebar-heading b { letter-spacing: 0; }
.tree-row, .task-row { height: 34px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 5px; font-size: 11px; white-space: nowrap; }
.tree-row.active { background: white; color: #202528; box-shadow: 0 2px 9px rgba(31,40,45,.07); }
.tree-row.muted { color: #737a7e; }
.folder { width: 14px; height: 10px; border-radius: 2px; background: #c6a231; position: relative; }
.folder::before { content: ""; position: absolute; left: 1px; top: -3px; width: 7px; height: 4px; border-radius: 2px 2px 0 0; background: #c6a231; }
.file { width: 12px; height: 15px; border-radius: 2px; border: 1.5px solid #8d9498; }
.file.doc { border-color: var(--cyan-dark); }
.file.sheet { border-color: #438b62; }
.file.slide { border-color: #d09d25; }
.sidebar-rule { height: 1px; margin: 17px 4px; background: #d8dcde; }
.task-row i { width: 12px; height: 12px; border: 1px solid #9da3a6; border-radius: 50%; }
.task-row.done { text-decoration: line-through; color: #9a9fa2; }
.task-row.done i { background: var(--cyan); border-color: var(--cyan); }
.product-editor { min-width: 0; background: #fff; }
.editor-tabs { height: 38px; display: flex; align-items: end; border-bottom: 1px solid #e0e3e5; background: #f5f6f7; }
.editor-tabs span { min-width: 118px; height: 31px; display: flex; align-items: center; padding: 0 15px; border-right: 1px solid #e0e3e5; font-size: 10px; color: #71777a; }
.editor-tabs .selected { background: white; color: #2f3437; border-top: 2px solid var(--cyan); }
.editor-toolbar { height: 32px; display: flex; align-items: center; justify-content: flex-end; gap: 13px; padding: 0 14px; border-bottom: 1px solid #eceeef; font-size: 9px; color: #868c90; }
.editor-lines { padding: 28px 19px; font-family: "Cascadia Code", Consolas, monospace; font-size: 11px; line-height: 2.15; color: #374046; }
.editor-lines span { display: grid; grid-template-columns: 28px 1fr; }
.editor-lines b { font-weight: 400; color: #b2b7ba; text-align: right; padding-right: 10px; }
.editor-lines em { font-style: normal; }
.editor-lines .cyan { color: #087f90; font-weight: 700; }
.editor-lines .yellow { color: #9b7511; }
.stage-caption { margin: 13px 2px 0; text-align: right; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7b8083; }

.workflow { padding: clamp(100px, 13vw, 188px) clamp(24px, 7vw, 110px); border-top: 1px solid var(--line); }
.section-heading { max-width: 730px; }
.section-heading h2, .privacy h2, .download-section h2 { margin: 0; font-size: clamp(42px, 6vw, 82px); font-weight: 620; line-height: 1.06; letter-spacing: -.06em; }
.feature-lines { margin-top: clamp(65px, 9vw, 120px); border-top: 1px solid var(--line); }
.feature-lines article { display: grid; grid-template-columns: 80px minmax(180px, .7fr) 1fr; gap: 30px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
.feature-lines article > span { font: 600 11px/1 "Cascadia Code", monospace; color: var(--cyan-dark); }
.feature-lines h3 { margin: 0; font-size: clamp(22px, 2.6vw, 35px); font-weight: 590; letter-spacing: -.035em; }
.feature-lines p { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.privacy { min-height: 78svh; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(50px, 10vw, 170px); padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 126px); background: #171a1d; color: white; overflow: hidden; }
.privacy-mark { width: min(40vw, 450px); aspect-ratio: 1; display: grid; place-items: center; border: clamp(34px, 5.3vw, 74px) solid rgba(38,191,211,.9); border-left-color: rgba(244,197,66,.92); border-radius: 50%; transform: rotate(-28deg); color: transparent; }
.privacy-copy { max-width: 720px; }
.privacy-copy .eyebrow { color: #7bdcea; }
.privacy-copy p:not(.eyebrow) { max-width: 620px; margin: 30px 0 0; color: #b9bec1; font-size: 16px; line-height: 2; }
.privacy-copy a { display: inline-block; margin-top: 32px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.4); font-size: 13px; }

.download-section { min-height: 82svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px; text-align: center; }
.download-section > img { margin-bottom: 28px; }
.download-section .download-button { margin-top: 40px; text-align: left; }
.download-button.compact { width: min(100%, 330px); }

footer { min-height: 116px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 28px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); font-size: 12px; color: #676c70; }
.footer-links { display: flex; justify-content: center; gap: 24px; }
footer > p { justify-self: end; margin: 0; }
.footer-brand { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.8,.26,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.legal-page { max-width: 900px; margin: 0 auto; padding: 130px 28px 100px; }
.legal-page header { margin-bottom: 70px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-page h1 { margin: 22px 0 18px; font-size: clamp(42px, 7vw, 78px); letter-spacing: -.055em; }
.legal-page .updated { color: var(--muted); font-size: 13px; }
.legal-page section { margin: 48px 0; }
.legal-page h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: #50565a; font-size: 15px; line-height: 1.9; }
.legal-page ul { padding-left: 20px; }
.legal-nav { position: absolute; top: 28px; left: 28px; }
.legal-contact { color: var(--cyan-dark); border-bottom: 1px solid currentColor; }

@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }
@keyframes stage-in { to { opacity: 1; translate: 0 0; rotate: 0deg; } }

@media (max-width: 900px) {
  .site-header nav a:not(.header-download) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 125px; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(68px, 18vw, 112px); }
  .product-window { min-height: 540px; }
  .product-body { min-height: 498px; grid-template-columns: 44px 190px minmax(260px, 1fr); }
  .privacy { grid-template-columns: 1fr; }
  .privacy-mark { width: min(62vw, 360px); justify-self: center; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, footer > p { justify-self: center; }
}

@media (max-width: 620px) {
  .site-header { height: 66px; }
  .site-header nav { gap: 0; }
  .site-header .header-download { padding: 9px 13px; }
  .hero { padding: 104px 20px 64px; gap: 52px; }
  .hero-statement { margin-top: 26px; }
  .hero-description { line-height: 1.75; }
  .download-button { width: 100%; }
  .product-stage { width: 720px; transform-origin: left top; transform: scale(.48); margin-bottom: -295px; }
  .product-window { min-height: 620px; }
  .product-body { min-height: 578px; grid-template-columns: 48px 215px 1fr; }
  .workflow { padding-left: 20px; padding-right: 20px; }
  .feature-lines article { grid-template-columns: 38px 1fr; gap: 14px; }
  .feature-lines article p { grid-column: 2; }
  .privacy { padding-left: 20px; padding-right: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-copy, .reveal { opacity: 1; transform: none; }
  .product-stage { opacity: 1; translate: none; rotate: none; }
}
