@font-face {
  font-family: Manrope;
  src: url(/checkout/Manrope.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: oklch(98.4% .003 100);
  --surface: #fff;
  --surface-subtle: #f0efea;
  --ink: oklch(25% .006 70);
  --muted: oklch(49% .01 70);
  --accent: oklch(58% .19 29);
  --accent-ink: #ac3b2f;
  --line: rgb(42 37 30 / .12);
  --card-shadow: 0 2px 4px #30241d09, 0 12px 32px #30241d06;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #191919;
  --surface: #222221;
  --surface-subtle: #272726;
  --ink: #f2f1ef;
  --muted: #a5a4a1;
  --accent: #ef5044;
  --accent-ink: #f2a498;
  --line: rgb(255 255 255 / .09);
  --card-shadow: 0 12px 36px #0004;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.65 Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .55; }
button, .button, .nav-get {
  transition: background-color .18s, color .18s, border-color .18s, opacity .18s, transform .18s var(--ease);
}
button:active:not(:disabled), .button:active, .nav-get:active { transform: scale(.97); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  background: var(--ink);
  color: var(--canvas);
  padding: 12px 20px;
  border-radius: 100px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1180px; width: calc(100% - 64px); margin-inline: auto; }

/* Shared marketing header */
.site-header {
  position: relative;
  z-index: 50;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header .brand img { width: 54px; height: 42px; object-fit: contain; }
.site-header .brand > span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}
.site-icon { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.site-header .primary-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 5px;
  border-radius: 100px;
  font-size: 14px;
  color: #393833;
  background: linear-gradient(180deg, #ffffffc9, #efefec99);
  border: 1px solid #ffffffb3;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #d6d5d040, 0 2px 3px #25201005, 0 8px 22px #25201006;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
html[data-theme="dark"] .site-header .primary-nav {
  color: #d2d0cc;
  background: linear-gradient(180deg, #ffffff12, #ffffff04);
  border-color: #ffffff16;
  box-shadow: inset 0 1px 0 #ffffff0c, inset 0 -1px 0 #0003, 0 5px 18px #0001;
}
.site-header .nav-link,
.site-header .nav-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 100px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: inherit;
  background: transparent;
}
.site-header .nav-trigger > .site-icon { width: 16px; height: 16px; color: #79776f; transition: transform .18s ease; }
html[data-theme="dark"] .site-header .nav-trigger > .site-icon { color: #a9a7a3; }
.site-header .nav-trigger[aria-expanded="true"] > .site-icon { transform: rotate(180deg); }
.nav-dropdown { position: relative; }

.site-header .nav-trigger[aria-expanded="true"],
.site-header .is-current > .nav-trigger,
.site-header .nav-link[aria-current="page"] {
  color: var(--ink);
  background: #26231c08;
  box-shadow: inset 0 1px 0 #ffffff80;
}
html[data-theme="dark"] .site-header .nav-trigger[aria-expanded="true"],
html[data-theme="dark"] .site-header .is-current > .nav-trigger,
html[data-theme="dark"] .site-header .nav-link[aria-current="page"] {
  background: #ffffff0c;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff09;
}

.nav-popover {
  position: absolute;
  top: calc(100% + 17px);
  left: -6px;
  width: 318px;
  padding: 10px;
  border-radius: 24px;
  border: 1px solid #e0dfdb;
  background: #fffffff5;
  color: #252522;
  box-shadow: 0 16px 40px #28221918, 0 3px 8px #28221908, inset 0 1px 0 #fff;
  animation: nav-reveal .16s ease-out;
}
html[data-theme="dark"] .nav-popover {
  border-color: #d8d8d6;
  background: #fbfbfa;
  color: #252522;
  box-shadow: 0 16px 40px #0004, 0 3px 9px #0002, inset 0 1px 0 #fff;
}
.nav-popover::before { content: ''; position: absolute; left: 0; right: 0; height: 20px; top: -20px; }
.nav-popover-right { left: auto; right: -6px; }
.site-header .nav-popover-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 13px;
  border-radius: 15px;
  color: #252522;
}
.nav-item-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #dadad7;
  border-radius: 13px;
  color: #e94e43;
  background: #fff;
  box-shadow: 0 2px 3px #00000008;
}
.nav-popover-link strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.5; }
.nav-popover-link small { display: block; font-size: 12px; color: #74746e; margin-top: 2px; }

.theme-toggle,
.site-header .nav-get,
.site-header .mobile-nav-toggle {
  color: #36352f;
  background: linear-gradient(180deg, #fff9, #eae9e47a);
  border: 1px solid #ffffffb3;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #3830250c, 0 3px 12px #38302507;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .site-header .nav-get,
html[data-theme="dark"] .site-header .mobile-nav-toggle {
  color: #f2f1ef;
  background: linear-gradient(180deg, #ffffff18, #ffffff08);
  border-color: #ffffff1a;
  box-shadow: inset 0 1px 0 #ffffff16, inset 0 -1px 0 #0003, 0 4px 15px #0001;
}
.theme-toggle {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}
.theme-toggle .site-icon { grid-area: 1 / 1; width: 19px; height: 19px; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }

.site-header .nav-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  min-height: 46px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.site-header .nav-get img { width: 17px; height: 17px; filter: none; }
html[data-theme="dark"] .site-header .nav-get img { filter: invert(1); opacity: .85; }
.mobile-nav-toggle { display: none; }

@keyframes nav-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Main content & marketing typography */
main { flex: 1; }
.page-shell {
  width: min(100% - 64px, 600px);
  margin: 0 auto;
  padding: 72px 0 96px;
}
.page-hero { text-align: center; margin-bottom: 40px; }
.page-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 20px;
}
.page-hero h1 {
  font-size: clamp(46px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
  margin: 0 0 22px;
}
.page-hero h1 > span { color: #77756e; }
html[data-theme="dark"] .page-hero h1 > span { color: #a6a5a2; }
.page-hero h1 em {
  font-style: normal;
  color: var(--ink);
  position: relative;
}
.page-hero h1 em::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 0;
  bottom: -4px;
  height: 5px;
  background: var(--accent);
  border-radius: 80% 30% 70% 20%;
  transform: rotate(-2deg);
}
.intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* Surface card (matches homepage waitlist & bento cards) */
.purchase {
  padding: 34px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--card-shadow);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.price-row h2, .purchase h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.price-row h2 { margin: 0; }
.purchase .price {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}
.price span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  margin-left: 4px;
}
.purchase p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 14px;
}
.purchase p a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.purchase-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
.purchase-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.purchase-highlights li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Forms & buttons (capsule style matching homepage) */
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 20px 0 10px;
}
input {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 100px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 12px 20px;
  color: var(--ink);
  font-size: 15px;
}
input::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.button,
.purchase button[type="submit"],
.purchase > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 22px;
  background: #292823;
  color: #faf9f5;
  box-shadow: inset 0 1px 0 #ffffff12, 0 3px 8px #29282312;
}
html[data-theme="dark"] .button,
html[data-theme="dark"] .purchase button[type="submit"],
html[data-theme="dark"] .purchase > button {
  background: #efeeeb;
  color: #252421;
  box-shadow: 0 1px 1px #fff5 inset;
}
.purchase button:disabled {
  background: var(--surface-subtle);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 1;
  cursor: default;
}
.purchase button:disabled:active { transform: none; }

.text-button {
  width: auto;
  min-height: 40px;
  background: transparent;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  margin: 0;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #ef504466;
}

#status {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.page-meta {
  text-align: center;
  margin-top: 24px;
  display: grid;
  gap: 8px;
}
.requirements,
.support {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}
.support a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  word-break: break-all;
  user-select: all;
}

/* Shared marketing footer */
footer.wrap {
  border-top: 1px solid var(--line);
  padding-block: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 25px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
footer.wrap nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.wrap > span:nth-child(2) { color: var(--muted); opacity: .8; }

@media (hover: hover) {
  .site-header .nav-link:hover,
  .site-header .nav-trigger:hover { background: #26231c08; color: #191914; }
  html[data-theme="dark"] .site-header .nav-link:hover,
  html[data-theme="dark"] .site-header .nav-trigger:hover { color: #fff; background: #ffffff0c; }
  .site-header .nav-popover-link:hover { background: #eeedeb; color: #111; }
  .site-header .nav-get:hover,
  .theme-toggle:hover { background: #eae8dfb3; }
  html[data-theme="dark"] .site-header .nav-get:hover { background: linear-gradient(180deg, #ffffff24, #ffffff10); }
  html[data-theme="dark"] .theme-toggle:hover { background: #ffffff14; }
  .button:hover:not(:disabled),
  .purchase button[type="submit"]:hover:not(:disabled),
  .purchase > button:hover:not(:disabled) { opacity: .9; }
  footer.wrap a:hover,
  .inline-link:hover,
  .support a:hover { color: var(--accent-ink); }
}

@media (max-width: 1000px) {
  .site-header { gap: 15px; }
  .site-header .nav-link,
  .site-header .nav-trigger { padding-inline: 12px; }
}

@media (max-width: 900px) {
  .site-header { height: 88px; }
  .site-header .brand { margin-right: auto; }
  .site-header .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 100px;
    font-size: 0;
  }
  .mobile-nav-toggle .site-icon { width: 17px; height: 17px; }
  .site-header .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    padding: 10px;
    border-radius: 22px;
    background: #fafaf8f5;
    box-shadow: 0 12px 30px #38302517, inset 0 1px 0 #fff, 0 0 0 1px #3830250c;
  }
  html[data-theme="dark"] .site-header .primary-nav {
    background: #252524f5;
    box-shadow: 0 16px 32px #0004, inset 0 1px 0 #ffffff12;
  }
  .site-header .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }
  .site-header .nav-link,
  .site-header .nav-trigger {
    display: flex;
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding-inline: 16px;
    border-radius: 12px;
  }
  .nav-popover {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    margin: 5px 0 9px;
    box-shadow: none;
    border-radius: 17px;
    padding: 6px;
  }
  .nav-popover::before { display: none; }
  .site-header .nav-popover-link { display: flex; padding: 12px; }
  .site-header .nav-get { min-height: 44px; padding: 10px 14px; }
}

@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  footer.wrap > span:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .page-shell { width: calc(100% - 36px); padding: 48px 0 72px; }
  .page-hero { margin-bottom: 32px; }
  .page-hero h1 { font-size: clamp(38px, 10vw, 52px); }
  .intro { font-size: 16px; }
  .purchase { padding: 24px; border-radius: 20px; }
  .price-row { align-items: flex-start; }
  .purchase .price { font-size: 32px; }
  footer.wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 26px; }
}

@media (max-width: 420px) {
  .site-header { gap: 9px; height: 80px; }
  .site-header .nav-get { padding-inline: 13px; }
  .site-header .nav-get img { display: none; }
  .site-header .brand img { width: 48px; height: 38px; }
  .site-header .brand > span { font-size: 16px; }
  .header-actions { gap: 7px; }
}
@media (max-width: 360px) { .site-header .nav-get { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  button:active:not(:disabled), .button:active, .nav-get:active { transform: none; }
}
