/* norwood.fyi — landing */
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/SpaceGrotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/fonts/IBMPlexMono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #07090d; --bg2: #0c0f15; --panel: #10141c; --line: #1d222d; --line2: #2a3140;
  --text: #e8ebf1; --muted: #9aa3b5; --dim: #667089;
  --accent: #5ef0c8; --accent-2: #35c9a3; --warn: #ff8a5b; --skin: #c99e86;
  --font: 'Space Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 14px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.dim { color: var(--dim); }
.tiny { font-size: .72rem; }
.tag { color: var(--accent); margin-bottom: .6rem; font-weight: 500; }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .25; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.bg-glow { position: absolute; width: 80vw; height: 60vh; left: 50%; top: -20vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(94,240,200,.16), transparent 70%); filter: blur(40px); }

.top { max-width: var(--max); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 28px; }
.brand { color: var(--text); font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--accent), #2b7f6b); box-shadow: 0 0 16px rgba(94,240,200,.5); }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--muted); font-size: .95rem; }
.topnav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .topnav { display: none; } .top .btn-sm { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid var(--line2); padding: 12px 22px; font: inherit; font-weight: 700; color: var(--text); background: var(--panel); cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04110d; border-color: transparent; box-shadow: 0 8px 30px rgba(94,240,200,.25); }
.btn-primary:hover { background: #7df5d5; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.price { font-family: var(--mono); font-weight: 500; background: rgba(4,17,13,.18); padding: 2px 8px; border-radius: 999px; font-size: .85em; }

main { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 28px; } }
.kicker { color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 500; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.lede.strong { color: var(--text); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.pay-note { color: var(--dim); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wallets { display: inline-flex; gap: 6px; }
.w { border: 1px solid var(--line2); border-radius: 6px; padding: 2px 8px; font-size: .7rem; color: var(--muted); }

.hero-visual { margin: 0; }
.device { background: linear-gradient(180deg, #11151d, #0b0e14); border: 1px solid var(--line2); border-radius: 22px; padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04); }
.device-bar { display: flex; justify-content: space-between; color: var(--dim); padding: 2px 6px 10px; }
.stage-label { color: var(--accent); font-weight: 500; }
.head { width: 100%; height: auto; display: block; }
.svg-mono { font-family: var(--mono); font-size: 9px; fill: #5ef0c8; letter-spacing: .15em; }
.hs { opacity: 0; animation: hairstage 24s infinite; animation-delay: calc(var(--i) * 3s); }
@keyframes hairstage { 0% { opacity: 0 } 1.5% { opacity: 1 } 11.5% { opacity: 1 } 13% { opacity: 0 } 100% { opacity: 0 } }
.scan { animation: scan 3s linear infinite; }
@keyframes scan { 0% { transform: translateY(24px); opacity: 0 } 12% { opacity: .85 } 88% { opacity: .85 } 100% { transform: translateY(226px); opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .hs { animation-duration: 48s; }
  .scan { animation: none; opacity: 0; }
  .led { animation: none; }
}
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 12px 4px 0; }
.readout div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; color: var(--dim); }
.readout dd { margin: 0; color: var(--text); font-weight: 500; }
figcaption { margin-top: 10px; text-align: center; }

.strip { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--dim); padding: 18px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0 30px; }
.strip span::before { content: '▸ '; color: var(--accent); }

.section { padding: 54px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step-n { color: var(--accent); display: block; margin-bottom: 12px; }
.steps p, .card p { color: var(--muted); margin: 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
@media (max-width: 900px) { .steps, .grid4, .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .grid4, .grid3 { grid-template-columns: 1fr; } }
.privacy .two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .privacy .two-col { grid-template-columns: 1fr; } }
.privacy p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(94,240,200,.15); border: 1px solid var(--accent); }
.checks li::after { content: ''; position: absolute; left: 5px; top: .58em; width: 6px; height: 3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.disclaimer { color: var(--dim); font-size: .9rem; margin-top: 22px; max-width: 80ch; }

.pricing { display: flex; justify-content: center; }
.price-card { background: linear-gradient(180deg, #11161f, #0c1016); border: 1px solid var(--line2); border-radius: 22px; padding: 30px; width: min(440px, 100%); display: grid; gap: 14px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.price-card .checks { text-align: left; }
.big-price { font-size: 4rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.big-price span { font-size: 1.1rem; letter-spacing: 0; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--accent); font-family: var(--mono); }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot { max-width: var(--max); margin: 40px auto 0; padding: 24px 20px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); }

/* checkout modal */
.checkout { border: 1px solid var(--line2); background: var(--bg2); color: var(--text); border-radius: 20px; padding: 0; width: min(460px, calc(100vw - 24px)); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.checkout::backdrop { background: rgba(3,5,8,.75); backdrop-filter: blur(6px); }
.checkout form { padding: 22px; display: grid; gap: 14px; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; }
.checkout-head h2 { font-size: 1.3rem; margin: 0; }
.icon-btn { background: transparent; border: 1px solid var(--line2); color: var(--muted); border-radius: 50%; width: 34px; height: 34px; font-size: 1.2rem; cursor: pointer; }
.checkout-row { display: flex; justify-content: space-between; color: var(--muted); border: 1px dashed var(--line2); border-radius: 10px; padding: 10px 12px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); margin: 6px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
#pe { min-height: 40px; }
.msg { min-height: 1.2em; color: var(--warn); margin: 0; font-size: .92rem; }
.msg.ok { color: var(--accent); }
