@font-face {
  font-family: Geist;
  src: url('/Geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --ink: #111111;
  /* Small and body text. */
  --muted: #626262;
  /* Large text only (the gray second headline line). */
  --muted-large: #8a8a8a;
  --line: #ececec;
  --soft: #f6f6f4;
  --soft-hover: #efefec;
  --accent: #2563eb;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1080px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font:
    400 15px/1.6 'Geist',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
/* Footer stays at the bottom of short pages such as the 404. */
body > main {
  flex: 1 0 auto;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.muted {
  color: var(--muted-large);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.logo {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo .mark {
  width: 19px;
  height: 19px;
}
.site-header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  opacity: 0.8;
}
.site-header nav a:hover {
  opacity: 1;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  padding: 10px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s;
}
.site-header.open .menu-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.site-header.open .menu-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.eyebrow {
  font:
    400 12px/1 'Geist Mono',
    monospace;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
}
h1 {
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
}
h2 {
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}
h3 {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 470px;
  margin: 0 0 36px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
/* Primary button: one per view. .secondary for everything else. */
.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 600;
  transition:
    background-color 300ms var(--ease),
    transform 300ms var(--ease);
}
.btn:hover {
  background: #000000;
}
.btn:active {
  transform: scale(0.98);
}
.btn.secondary {
  background: var(--soft);
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--soft-hover);
}
@media (max-width: 760px) {
  .btn {
    min-height: 44px;
    padding: 14px 24px;
  }
}
.link {
  font-size: 14px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

/* sections */
.section {
  padding-top: 120px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.num {
  font:
    400 12px/1 'Geist Mono',
    monospace;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.steps p,
.grid p,
.security-copy p,
.faq p {
  color: var(--muted);
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.grid article {
  padding: 28px 28px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.grid article:hover {
  background: var(--soft);
}

.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.security-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 44px;
}
.security-copy .link {
  align-self: flex-start;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.compare > div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
}
.compare .good {
  background: var(--soft);
}
.compare-title {
  font:
    400 12px/1 'Geist Mono',
    monospace;
  color: var(--muted);
  margin: 0 0 18px;
}
.compare .good .compare-title {
  color: var(--accent);
}
.compare ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare li {
  padding-left: 20px;
  position: relative;
}
.compare li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.compare .good li::before {
  content: '✓';
  color: var(--accent);
}
@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* pricing */
.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.toggle button {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.toggle button.on {
  background: var(--accent);
  color: #ffffff;
}
.save {
  font-size: 11px;
  color: var(--accent);
  margin-left: 4px;
}
.toggle button.on .save {
  color: inherit;
}
/* plans: one row per size (size · per month · per year), like the app's Plan page */
.plan-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.plan-list li {
  display: grid;
  grid-template-columns: 1fr 10em 13em;
  align-items: baseline;
  gap: 4px 32px;
  text-align: right;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.legal .plan-list li {
  color: var(--ink);
}
.plan-list .tb {
  text-align: left;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan-list .per {
  color: var(--muted);
}
.plan-list s {
  color: var(--muted);
  margin-right: 4px;
}
@media (max-width: 560px) {
  .plan-list li {
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
  }
  .plan-list .tb {
    grid-row: span 2;
  }
}
.page-cta {
  margin: 32px 0 0;
}
.fine {
  font-size: 12px;
  color: var(--muted);
  max-width: 720px;
  margin: 20px 0 0;
}

/* faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--muted);
  font-family: 'Geist Mono', monospace;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding-top: 12px;
  max-width: 640px;
}

/* cta */
.cta {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 60px;
}
.cta-link {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}
.cta p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

/* footer */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding-bottom: 32px;
  overflow: hidden;
}
.site-footer canvas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
}
.footer-top,
.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-top {
  padding-top: 40px;
  padding-bottom: 110px;
}
.footer-top nav,
.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-top nav a,
.footer-bottom nav a {
  text-decoration: none;
  opacity: 0.75;
}
.footer-top nav a:hover {
  opacity: 1;
}
.footer-mail {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.footer-mail a {
  color: var(--ink);
  text-underline-offset: 4px;
}
.footer-bottom {
  font-size: 12px;
  color: var(--muted);
}

/* legal pages */
.legal {
  max-width: 720px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.legal h3 {
  margin-top: 28px;
}
.legal p,
.legal li {
  color: color-mix(in srgb, var(--ink) 78%, var(--bg));
}
.legal blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}
.legal blockquote p {
  margin: 0;
}
.legal .compat {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line);
}
.legal .compat li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.legal .compat strong {
  color: var(--ink);
  font-weight: 500;
}

/* responsive */
@media (max-width: 760px) {
  .site-header nav a:not(.nav-cta) {
    display: none;
  }
  .site-header nav {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    margin-left: 16px;
  }
  .site-header.open nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-header.open nav a,
  .site-header.open nav a:not(.nav-cta) {
    display: block;
    padding: 12px 0;
    font-size: 17px;
  }
  .steps,
  .grid,
  .security {
    grid-template-columns: 1fr;
  }
  .security-copy {
    padding-top: 0;
  }
  .section {
    padding-top: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* statements (simplified layout) */
.statement {
  padding-top: 96px;
}
.statement h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 24px 0 0;
}
.see-plans {
  font-size: 18px;
  margin: 32px 0 0;
}
.see-plans a {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.pricing-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.pricing-foot .fine {
  margin: 0;
}
@media (max-width: 760px) {
  .statement {
    padding-top: 64px;
  }
  .hero + .statement {
    padding-top: 64px;
  }
}

/* product clips */
.media {
  margin: 56px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
}
.showcase .media {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .media video {
    animation: none;
  }
}

.media.bare {
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* hero: laptop | copy | display */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px) 1fr;
  align-items: center;
  gap: 8px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 72px clamp(24px, 4vw, 64px) 40px;
  min-height: auto;
}
.hero-copy {
  text-align: center;
  max-width: none;
}
.hero-copy .eyebrow,
.hero-copy .actions {
  justify-content: center;
}
.hero-copy .lede {
  margin-left: auto;
  margin-right: auto;
}
.hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
}
.device {
  margin: 0;
}
.device img,
.device video {
  display: block;
  width: 100%;
  height: auto;
}
.device-left img,
.device-left video {
  aspect-ratio: 1000 / 680;
}
.device-right img,
.device-right video {
  aspect-ratio: 1000 / 800;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 48px;
  }
  .hero-copy {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 24px;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-bottom: 0;
  }
}
@media (max-width: 560px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* larger nav, same 68px height so the hero does not move */
.site-header .logo {
  font-size: 24px;
  gap: 11px;
}
.site-header .logo .mark {
  width: 23px;
  height: 23px;
}
.site-header nav {
  gap: 34px;
  font-size: 15px;
}
.site-header nav .nav-cta {
  font-weight: 500;
  white-space: nowrap;
}

/* slightly larger billing toggle */
.toggle {
  padding: 5px;
}
.toggle button {
  font-size: 15px;
  padding: 10px 18px;
}
.toggle .save {
  font-size: 13px;
  margin-left: 6px;
}

/* section photos */
.media.photo {
  border: 0;
  background: transparent;
}
.media.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

/* Small phones: the header bar keeps the logo and the menu button; Join the waitlist lives in the menu. */
@media (max-width: 420px) {
  .site-header:not(.open) nav .nav-cta {
    display: none;
  }
}

/* Visually hidden helper for accessible labels and table captions */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-eyebrow {
  justify-content: center;
  margin-bottom: 18px;
}
.hero-sublink {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Mobile-first onboarding card ("Email me the Mac link") */
.mobile-onboarding {
  padding-top: 40px;
}
.mobile-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.mobile-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.sub-compact {
  color: var(--muted);
  margin: 12px 0 20px;
  max-width: 480px;
}
.email-link-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 480px;
}
.email-link-form input[type='email'] {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d4d4d0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.email-link-form button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.email-link-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-status {
  margin: 10px 0 0;
  font-size: 14px;
  min-height: 22px;
  color: var(--muted);
}
.form-status[data-state='ok'] {
  color: #166534;
}
.form-status[data-state='error'] {
  color: #9c2819;
}
.mobile-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.mobile-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.mobile-steps .num {
  grid-row: span 2;
  margin: 3px 0 0;
}
.mobile-steps strong {
  font-weight: 600;
  font-size: 15px;
}
.mobile-steps li > span:last-child {
  font-size: 13px;
  color: var(--muted);
}
.download-actions {
  margin: 24px 0 0;
}

/* Streaming highlights */
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}
.pill-list li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}

/* Accessible responsive comparison table */
.table-scroll {
  margin-top: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}
.compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table thead th {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  background: var(--soft);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--ink);
}
.compare-table td {
  color: var(--muted);
}
.compare-table .col-storelight {
  background: #eff6ff;
  color: var(--ink);
}
.compare-table thead .col-storelight {
  color: var(--accent);
}

/* Volume discount badges on plans */
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.home-plans {
  max-width: 760px;
}

#faq .faq {
  margin-top: 32px;
}

@media (max-width: 860px) {
  .mobile-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .email-link-form {
    flex-direction: column;
  }
  .email-link-form .btn {
    width: 100%;
  }
  .hero .actions {
    flex-direction: column;
    gap: 14px;
  }
  .hero .actions .btn {
    width: 100%;
  }
}
