:root {
  color-scheme: dark;
  --ink: #111514;
  --ink-soft: #171c1a;
  --surface: #202624;
  --mint: #75e0cf;
  --mint-bright: #9cebd3;
  --paper: #f7f3e8;
  --paper-deep: #eee7d8;
  --text: #f4f6f5;
  --muted: #aeb7b3;
  --paper-text: #171a18;
  --paper-muted: #58615d;
  --border: rgba(255, 255, 255, 0.12);
  --content: 1240px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 24px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--text); font-size: 17px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-140%); background: var(--mint); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin: auto;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border);
}

.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--mint); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 760; line-height: 1; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.button[href]:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; }
.button-primary { background: linear-gradient(110deg, var(--mint), var(--mint-bright)); color: #071412; }
.button-outline { border-color: rgba(117, 224, 207, 0.75); color: var(--mint); }
.button-outline-dark { border-color: rgba(20, 82, 72, 0.45); color: #15584d; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); text-decoration: none; font-weight: 720; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }

.dark-section { background: var(--ink); }
.paper-section { background: var(--paper); color: var(--paper-text); }

.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding: 142px max(var(--gutter), calc((100vw - var(--content)) / 2)) 70px;
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 3; max-width: 590px; }
.hero h1, .story-intro h2, .install-copy h2, .purchase-section h2, .faq-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero h1 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: clamp(58px, 6.5vw, 94px); font-weight: 760; }
.hero h1 span, .story-intro h2 span, .install-copy h2 span, .purchase-section h2 span, .faq-section h2 span { color: var(--mint); }
.hero-copy > p { max-width: 570px; margin: 28px 0 0; color: #d0d5d3; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.hero .platform-line { color: #88928e; font-size: 13px; letter-spacing: 0.01em; }

.hero-media { position: relative; min-height: 600px; transform: translateX(2vw); }
.hero-dashboard, .hero-popover { position: absolute; border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; box-shadow: var(--shadow); }
.hero-dashboard { width: 94%; top: 32px; right: -14%; }
.hero-popover { width: 44%; left: 0; top: 118px; z-index: 2; }
.hero-mascot { position: absolute; z-index: 4; width: 43%; left: -17%; bottom: -40px; filter: drop-shadow(0 28px 32px rgba(0,0,0,0.34)); }

.story-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  max-width: var(--content);
  min-height: 780px;
  margin: auto;
  padding: 100px var(--gutter);
}
.story-intro h2, .install-copy h2, .purchase-section h2, .faq-section h2 { font-size: clamp(48px, 5.8vw, 78px); }
.story-intro > p { max-width: 410px; margin: 28px 0 56px; color: var(--muted); font-size: 19px; }
.feature-copy { display: grid; grid-template-columns: auto 1fr; gap: 18px; max-width: 490px; }
.feature-number { color: var(--mint); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.feature-copy > div { padding-left: 20px; border-left: 1px solid var(--mint); }
.feature-copy h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 27px; line-height: 1.12; }
.feature-copy p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.popover-stage { margin: 0; display: flex; justify-content: center; }
.popover-stage img { width: min(100%, 560px); border-radius: 22px; box-shadow: var(--shadow); }

.product-story { padding: 44px max(var(--gutter), calc((100vw - var(--content)) / 2)) 110px; }
.product-row { display: grid; align-items: center; gap: clamp(36px, 6vw, 92px); }
.goals-row { grid-template-columns: 1.35fr 0.65fr; }
.history-row { grid-template-columns: 0.68fr 1.32fr; margin-top: 80px; }
.product-shot { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 24px 52px rgba(53, 48, 39, 0.18); }
.product-shot img { width: 100%; }
.paper-copy .feature-number { color: #43a997; }
.paper-copy > div { border-left-color: #6cc7b8; }
.paper-copy h3 { font-size: clamp(28px, 3vw, 42px); }
.paper-copy p { color: var(--paper-muted); font-size: 17px; }

.install-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: 650px;
  padding: 98px max(var(--gutter), calc((100vw - var(--content)) / 2));
}
.install-steps { list-style: none; margin: 38px 0 30px; padding: 0; display: grid; gap: 20px; }
.install-steps li { display: flex; align-items: center; gap: 16px; color: #e6eae8; font-size: 18px; }
.install-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--mint); color: var(--ink); font-weight: 800; }
.signed-line { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.signed-line svg { width: 21px; fill: none; stroke: var(--mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dmg-window { overflow: hidden; border: 1px solid rgba(255,255,255,0.2); border-radius: 18px; background: #1d2421; box-shadow: var(--shadow); }
.window-bar { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; background: rgba(255,255,255,0.035); border-bottom: 1px solid var(--border); }
.window-bar i { width: 13px; height: 13px; border-radius: 50%; background: #ff625a; }
.window-bar i:nth-child(2) { background: #ffc043; }
.window-bar i:nth-child(3) { background: #32c653; }
.window-bar span { position: absolute; inset: 0; display: grid; place-items: center; color: #cbd1ce; font-size: 14px; pointer-events: none; }
.dmg-content { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; min-height: 360px; padding: 32px; }
.dmg-item { display: grid; justify-items: center; gap: 12px; font-size: 16px; }
.dmg-item img, .folder-icon { width: 132px; height: 132px; object-fit: contain; }
.folder-icon path:first-child { fill: #58aee8; stroke: #8cccf6; stroke-width: 3; }
.folder-icon path:last-child { fill: none; stroke: rgba(255,255,255,0.75); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.drag-arrow { width: 100%; fill: none; stroke: var(--mint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.purchase-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  padding: 88px max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: linear-gradient(100deg, var(--paper), var(--paper-deep));
}
.price-column { padding-right: clamp(30px, 6vw, 90px); border-right: 1px solid rgba(29, 76, 67, 0.22); }
.purchase-section h2 span { color: #268776; }
.purchase-section p { color: #35403b; font-size: 18px; }
.purchase-actions { display: grid; max-width: 330px; gap: 12px; margin-top: 28px; }
.privacy-column { position: relative; display: grid; grid-template-columns: 1fr 190px; align-items: start; gap: 30px; padding-left: clamp(30px, 6vw, 90px); }
.privacy-column > img { width: 190px; filter: drop-shadow(0 18px 24px rgba(55,50,40,0.18)); }
.privacy-points { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin: 12px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(29, 76, 67, 0.2); list-style: none; color: #24584e; font-size: 14px; font-weight: 700; }
.privacy-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border: 1px solid #329b89; border-radius: 50%; }

.faq-section { display: grid; grid-template-columns: 0.68fr 1.32fr; gap: 70px; padding: 90px max(var(--gutter), calc((100vw - var(--content)) / 2)); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 22px 42px 22px 0; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; color: var(--mint); font-size: 24px; font-weight: 300; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 50px 24px 0; color: var(--muted); font-size: 15px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 28px max(var(--gutter), calc((100vw - var(--content)) / 2)); border-top: 1px solid var(--border); background: #101312; }
.footer-brand { font-size: 15px; }
.footer-brand small { color: var(--mint); font-size: inherit; font-weight: inherit; }
.site-footer p { justify-self: end; margin: 0; color: #7e8984; font-size: 13px; }

.legal-shell { min-height: 100vh; background: var(--paper); color: var(--paper-text); }
.legal-header { position: static; width: 100%; background: var(--ink); color: var(--text); }
.legal-main { max-width: 840px; margin: auto; padding: 80px var(--gutter) 110px; }
.legal-main h1 { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 76px); letter-spacing: -0.05em; line-height: 0.98; }
.legal-main h2 { margin: 48px 0 12px; font-family: Georgia, serif; font-size: 30px; letter-spacing: -0.025em; }
.legal-main p, .legal-main li { color: #3e4944; }
.legal-main a { color: #166f61; }
.legal-main .lead { max-width: 690px; font-size: 21px; color: #2b3732; }
.legal-main pre { overflow-x: auto; white-space: pre-wrap; padding: 24px; border: 1px solid #d8d2c4; border-radius: 16px; background: #ebe6dc; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.support-callout { margin: 36px 0; padding: 24px; border-left: 4px solid #35a893; background: #e9f3ed; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 680px; }
  .hero-media { min-height: 600px; transform: none; }
  .hero-dashboard { right: -8%; }
  .story-section, .install-section { grid-template-columns: 1fr; }
  .story-section { padding-top: 70px; }
  .popover-stage { justify-content: flex-end; }
  .popover-stage img { width: min(75%, 560px); }
  .goals-row, .history-row { grid-template-columns: 1fr; }
  .history-row .paper-copy { order: 2; }
  .purchase-section { grid-template-columns: 1fr; gap: 62px; }
  .price-column { padding: 0 0 58px; border-right: 0; border-bottom: 1px solid rgba(29, 76, 67, 0.22); }
  .privacy-column { padding: 0; }
  .faq-section { grid-template-columns: 1fr; gap: 40px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; }
  .site-footer p { justify-self: auto; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .site-header { padding: 14px 18px; }
  .site-header > .button { display: none; }
  .hero { padding: 120px 22px 56px; }
  .hero h1 { font-size: clamp(54px, 17vw, 72px); }
  .hero-copy > p { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-media { min-height: 390px; margin-top: 10px; }
  .hero-dashboard { width: 105%; right: -38%; top: 25px; }
  .hero-popover { width: 62%; left: 0; top: 72px; }
  .hero-mascot { width: 42%; left: -8%; bottom: -10px; }
  .story-section, .product-story, .install-section, .purchase-section, .faq-section { padding-left: 22px; padding-right: 22px; }
  .story-section { min-height: auto; padding-top: 70px; padding-bottom: 70px; }
  .story-intro > p { margin-bottom: 38px; }
  .popover-stage img { width: 100%; }
  .product-story { padding-top: 24px; }
  .history-row { margin-top: 56px; }
  .feature-copy { gap: 12px; }
  .feature-copy > div { padding-left: 14px; }
  .dmg-content { grid-template-columns: 1fr 58px 1fr; min-height: 270px; padding: 20px 12px; }
  .dmg-item img, .folder-icon { width: 88px; height: 88px; }
  .dmg-item strong { font-size: 13px; }
  .window-bar span { font-size: 12px; }
  .privacy-column { grid-template-columns: 1fr 110px; }
  .privacy-column > img { width: 110px; }
  .privacy-points { display: grid; }
  .site-footer nav { flex-wrap: wrap; justify-content: center; gap: 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
