@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --bg: #0B1426; --bg2: #101C34; --card: rgba(255,255,255,0.045); --line: rgba(255,255,255,0.09);
  --text: #EAF0FA; --muted: #A7B4CB; --gold: #F2C14E; --gold2: #E3A92C; --red: #D9363F; --green: #2F8A57;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); }
img, video { max-width: 100%; display: block; }
#snow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
header.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: rgba(11,20,38,0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 12px 22px; font: 600 16px var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: linear-gradient(180deg, #F7CF63, var(--gold2)); color: #2A1A05; box-shadow: 0 8px 24px rgba(227,169,44,0.28); }
.btn.ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); }
/* buttons shared by every page */
.btn.yellow { background: linear-gradient(180deg, #FFD255, #F0A500); color: #1A1204; box-shadow: 0 8px 24px rgba(240,165,0,0.28); font-weight: 700; }
.btn.line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn.line:hover { border-color: #fff; }
.btn.white { background: #fff; color: #111; font-weight: 700; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.btn.small { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.hero { padding: 72px 0 40px; text-align: center; }
.badge { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); background: rgba(242,193,78,0.09); border: 1px solid rgba(242,193,78,0.25); padding: 6px 12px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); margin: 22px auto 18px; max-width: 900px; }
h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 16px; color: var(--muted); font-size: 14px; }
.mac { margin: 54px auto 0; max-width: 1040px; border-radius: 18px; padding: 10px; background: linear-gradient(180deg, #2A3448, #161D2C); box-shadow: 0 40px 120px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06) inset; }
.mac video, .mac img { border-radius: 10px; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #0B1426; }
section { padding: 88px 0; }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 12px 0 16px; }
.sub { color: var(--muted); max-width: 680px; font-size: 18px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card .n { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(242,193,78,0.12); color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.card h3 { font-size: 23px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px 18px; margin-top: 34px; scrollbar-width: thin; }
.day { flex: 0 0 auto; min-width: 140px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.day b { display: block; color: var(--gold); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.day span { font-size: 15px; }
.day.big { background: linear-gradient(180deg, rgba(217,54,63,0.25), rgba(217,54,63,0.08)); border-color: rgba(217,54,63,0.45); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.feature .ic { font-size: 26px; margin-bottom: 12px; }
.feature h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery figcaption { padding: 14px 18px; color: var(--muted); font-size: 15px; }
.price { max-width: 520px; margin: 44px auto 0; text-align: left; position: relative; overflow: hidden; }
.price::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(242,193,78,0.22), transparent 65%); }
.price .amt { font-family: var(--serif); font-size: 64px; font-weight: 700; line-height: 1; margin: 14px 0 4px; }
.price .amt small { font-family: var(--sans); font-size: 16px; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.price li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: 16px; }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--gold); font-weight: 700; }
.price .btn { width: 100%; padding: 15px; font-size: 17px; }
.price .fine { color: var(--muted); font-size: 13.5px; margin-top: 12px; text-align: center; }
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--muted); font-size: 14px; position: relative; z-index: 1; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--text); }
/* text pages (help, privacy, terms) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 90px; position: relative; z-index: 1; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin: 8px 0 14px; text-align: left; }
.doc h2 { font-size: 30px; margin: 48px 0 12px; }
.doc h3 { font-family: var(--sans); font-size: 18px; letter-spacing: 0; margin: 28px 0 6px; }
.doc p, .doc li { color: #C9D3E4; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); }
.doc .note { background: rgba(242,193,78,0.08); border: 1px solid rgba(242,193,78,0.25); border-radius: 12px; padding: 14px 16px; color: #EADBB3; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 14px; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
@media (max-width: 900px) {
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
}
@media (max-width: 600px) {
  .steps, .features, .gallery { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { #snow { display: none; } .btn { transition: none; } }
.pnote { color: var(--muted); }
.left { text-align: left; }

/* ---------------------------------------------------------------- install steps for macOS 15+ (thanks, start, help) */
.gate { margin: 26px 0; background: #111A2E; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.gate h3 { font-family: var(--serif); font-size: 24px; letter-spacing: -0.01em; margin: 0 0 4px; color: #fff; }
.gate > p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.gate-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gstep { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.gstep .gn { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #2A1A05; display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.gstep h4 { margin: 0 0 4px; font-size: 15.5px; color: #fff; }
.gstep p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.45; flex: 1; }
.macui { background: #ECECEE; color: #1D1D1F; border-radius: 10px; padding: 10px; font: 12px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.macui .t { font-weight: 700; text-align: center; margin-bottom: 6px; }
.macui .s { color: #555; text-align: center; font-size: 11px; margin-bottom: 8px; }
.macui .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border-radius: 6px; padding: 6px 8px; margin-top: 5px; }
.macui .row.hl { outline: 2px solid #0A84FF; }
.macui .b { display: inline-block; background: #0A84FF; color: #fff; border-radius: 5px; padding: 3px 9px; font-weight: 600; font-size: 11.5px; }
.macui .b.grey { background: #D9D9DE; color: #1D1D1F; }
.macui .pw { background: #fff; border-radius: 5px; padding: 4px 8px; letter-spacing: 3px; margin: 2px 0 8px; text-align: center; }
.macui .c { text-align: center; }
.gate .older { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.gate .older b { color: #fff; }
@media (max-width: 760px) { .gate-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .gate-steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- keys on the thank-you page */
.keys { margin: 22px 0; display: grid; gap: 10px; }
.keybox { background: rgba(242,193,78,0.07); border: 1px solid rgba(242,193,78,0.3); border-radius: 14px; padding: 14px 16px; }
.keybox .who { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.keybox code { display: block; margin: 6px 0 10px; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; overflow-wrap: anywhere; }
.keybox .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.dl { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl small { color: var(--muted); }
.callout { margin: 26px 0; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px dashed rgba(242,193,78,0.45); }
.callout b { color: #fff; }

/* ---------------------------------------------------------------- gift page */
.left-cta { justify-content: flex-start; margin: 22px 0 6px; }
.cardmaker { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: start; margin-top: 16px; }
.cm-form label { display: block; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.cm-form input, .cm-form textarea { display: block; width: 100%; margin-top: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #fff; border-radius: 10px; padding: 11px 12px; font: 15px var(--sans); resize: vertical; }
.cm-form input:focus, .cm-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.cm-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.cm-preview canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); background: #0B1426; }
.note.small { font-size: 13px; padding: 10px 12px; }
.giftpage { max-width: 1040px; }
@media (max-width: 860px) { .cardmaker { grid-template-columns: 1fr; } .cm-preview { order: -1; } }
@media print {
  body * { visibility: hidden !important; }
  .cm-preview, .cm-preview * { visibility: visible !important; }
  .cm-preview { position: fixed; inset: 0; display: grid; place-items: center; }
  .cm-preview canvas { width: 100%; box-shadow: none; border-radius: 0; }
  #snow, header, footer { display: none !important; }
  @page { size: landscape; margin: 10mm; }
}

/* ---------------------------------------------------------------- private stats page */
.statspage { max-width: 1100px; }
.statspage .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.statspage .tile { background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.statspage .tile b { display: block; font-size: 30px; color: #fff; font-family: var(--serif); }
.statspage .tile span { color: var(--muted); font-size: 13px; }
.statspage table td:not(:first-child), .statspage table th:not(:first-child) { text-align: right; }
@media (max-width: 700px) { .statspage .grid4 { grid-template-columns: 1fr 1fr; } }
