/* ---------- palette: Forest. Change colours here. ---------- */
/* (Previous palette, Night desk: bg #14111A, surface #1D1925, text #EFE9F4, body #C9C1D3, muted #978EA5, line #2F2939, accent #FF8FC0, on-accent #1A1020, second #B9A3FF) */
:root {
  --bg: #0F1A15;
  --surface: #17251E;
  --text: #EDF2E8;
  --body: #C2CDBF;
  --muted: #8A9A8C;
  --line: #27382E;
  --accent: #9BDDA6;
  --on-accent: #0F1A15;
  --accent-soft: rgba(155, 221, 166, .12);
  --second: #E3C98F;
  --second-soft: rgba(227, 201, 143, .14);
  --banner-bg: #1A2B22;
  --banner-text: #EDF2E8;
  --good: #9BDDA6;
  --good-soft: rgba(155, 221, 166, .14);
  --shadow: rgba(0, 0, 0, .55);
}
:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
a { color: inherit; }
em { font-style: normal; color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hp { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: var(--nav-h); display: flex; align-items: center; gap: 36px; }
.brand { padding: 10px 0; font-weight: 700; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.links { display: flex; gap: 22px; flex: 1; }
.links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; white-space: nowrap; }
.links a:hover, .links a.active { color: var(--accent); }
.socials { display: flex; gap: 10px; align-items: center; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--text); transition: color .15s, background .15s, transform .15s; }
.socials a:hover { color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--text); margin: 6px 0; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: max(calc(100svh - var(--nav-h) - 115px), 500px); padding: 48px 0; gap: 56px; }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 300px 1fr; gap: 96px; align-items: center; width: 100%; }
.portrait { position: relative; justify-self: start; width: min(300px, 60vw); aspect-ratio: 1; container-type: inline-size; }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
/* verdict stamps */
.stamp {
  position: absolute; z-index: 1; font: 800 11px var(--sans); letter-spacing: .12em; white-space: nowrap;
  padding: .45em .8em; border: 1.5px solid currentColor; border-radius: 6px;
  background: var(--bg); color: var(--accent); box-shadow: 0 10px 20px -12px var(--shadow);
  transform: rotate(var(--r)); animation: stamp .45s cubic-bezier(.3,1.6,.5,1) var(--d) both, bob 4s ease-in-out calc(var(--d) + .6s) infinite alternate;
}
/* verdict row under the socials intro, stamps in when scrolled into view */
.verdicts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 0 0 40px; }
.verdicts .stamp { position: relative; }
.v1 { --r: 0deg; --d: 0s; }
.v2 { --r: 0deg; --d: .2s; color: var(--text); }
.v3 { --r: 0deg; --d: .4s; color: var(--second); }
.verdict-note { color: var(--muted); font-size: 15px; }
.verdicts:not(.stamped) .stamp { animation-play-state: paused; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(var(--r)) scale(1.9); } 60% { opacity: 1; transform: rotate(var(--r)) scale(.92); } 100% { opacity: 1; transform: rotate(var(--r)) scale(1); } }
@keyframes bob { to { translate: 0 -4px; } }

/* proof strip: big words, small caps labels, alternating colour */
.proof { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 24px; }
.proof li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proof b { font-size: clamp(22px, 2.3vw, 32px); white-space: nowrap; font-weight: 600; letter-spacing: -.02em; line-height: 1; text-transform: none; color: var(--text); }
.proof li:nth-child(odd) b { color: var(--accent); }


@keyframes wiggle { 0% { transform: rotate(-4deg); } 20% { transform: rotate(5deg); } 40% { transform: rotate(-4deg); } 60% { transform: rotate(3deg); } 80% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }
h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.1; margin: 0 0 20px; font-weight: 500; letter-spacing: -.02em; min-height: 1.05em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--second); margin: 0 0 16px; }
.lede { font-size: 18px; color: var(--muted); max-width: 500px; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px var(--sans); padding: 13px 22px; border-radius: 8px;
  border: 1.5px solid var(--accent); color: var(--accent); background: transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-soft); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); background: var(--accent); }

/* sections */
section:not(.hero) { padding: 84px 0; }
.hero + section { padding-top: 48px; }
.sec { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.015em; line-height: 1.1; margin: 0 0 32px; font-weight: 600; }
.sec { display: flex; align-items: center; gap: 22px; }
.sec::before { content: "/"; color: var(--accent); font-weight: 400; margin-right: -8px; }
.sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.page-title::after { display: none; }
.intro { color: var(--muted); max-width: 640px; margin: -14px 0 30px; }
h3 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; line-height: 1.3; }
.sub { font-size: 26px; margin: 56px 0 22px; }
.meta { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 0 0 14px; }
.textlink { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent); cursor: pointer; }
.textlink::after { content: " →"; }
.textlink.plain::after { content: none; }
.textlink:hover { border-bottom-color: var(--accent); }

/* about */
.prose { max-width: 680px; }
.prose p { margin: 0 0 16px; color: var(--body); }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; max-width: 560px; font-size: 15.5px; color: var(--body); }
.ticks li::before { content: "▹"; color: var(--accent); margin-right: 10px; }
.prose .textlink { display: inline; margin: 0; }
.contact-line { margin-top: 26px !important; }

.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.intro .textlink { display: inline; margin: 0; }
.about-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.caret { display: inline-block; width: 3px; height: .85em; background: var(--accent); margin-left: 6px; vertical-align: -.06em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* about: words light up as you scroll, list and photo arrive in turn */
.scroll-read .w { opacity: .18; transition: opacity .25s ease; }
.scroll-read .w.lit { opacity: 1; }
.about-grid.anim .ticks li { opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .4s ease; }
.about-grid.anim .ticks.in li { opacity: 1; transform: none; }
.about-grid.anim .about-photo { opacity: 0; transform: translateY(40px) scale(.94) rotate(2deg); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.about-grid.anim .about-photo.in { opacity: 1; transform: none; }

/* experience cards */
.xp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.xp { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 22px; transition: transform .2s, border-color .2s; }
.xp:hover { transform: translateY(-4px); border-color: var(--accent); }
.xp .meta { margin-bottom: 10px; }
.xp h3 { font-size: 19px; margin-bottom: 16px; }
.xp ul { list-style: none; padding: 0; margin: 0; }
.xp li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--body); font-size: 15px; line-height: 1.55; }
.xp li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }

/* tabs */
.tabs { display: grid; grid-template-columns: 180px 1fr; gap: 48px; min-height: 250px; align-items: start; }
.tablist { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.tablist button {
  font: 500 15px var(--sans); text-align: left; padding: 13px 22px; margin-left: -1px; background: none; border: 0;
  border-left: 2px solid transparent; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; white-space: nowrap;
}
.tablist button:hover { color: var(--accent); }
.tablist button[aria-selected="true"] { color: var(--accent); border-left-color: var(--accent); }
.panels h3 { font-size: 24px; margin-bottom: 6px; }
.panels ul { list-style: none; padding: 0; margin: 0; max-width: 640px; }
.panels li { position: relative; padding-left: 28px; margin-bottom: 14px; color: var(--body); }
.panels li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
[role="tabpanel"]:not([hidden]) { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button {
  font: 600 13.5px var(--sans); padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; transition: all .15s;
}
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* tools */
.tool-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.tool { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tool-top { display: flex; align-items: baseline; gap: 10px; }
.tool h3 { font-size: 16.5px; margin: 0; transition: color .15s; }
.tool:hover h3 { color: var(--accent); }
.tool-meta { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.arrow { color: var(--muted); opacity: .6; transition: color .15s, transform .15s, opacity .15s; }
.tool:hover .arrow { color: var(--accent); opacity: 1; transform: translate(2px, -2px); }
.tool p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.btn.more { margin-top: 26px; }
.btn.more[hidden], .card-grid > [hidden] { display: none; }

/* cards */
.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.tag.free { background: var(--good-soft); color: var(--good); }
.tag.ai { background: var(--second-soft); color: var(--second); margin-left: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; text-decoration: none; font: inherit; color: inherit; padding: 0; cursor: pointer;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 34px -24px var(--shadow); }
.card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: linear-gradient(135deg, var(--accent-soft), var(--second-soft)); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 17px; margin: 0; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; flex: 1; }
.card .go-link { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent); }
.card .go-link::after { content: " →"; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* methods */
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; align-items: start; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
details[open] { border-color: var(--accent); }
summary { cursor: pointer; font-weight: 600; padding: 15px 0; list-style: none; display: flex; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-left: auto; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
details strong { color: var(--text); }

/* signup + forms */
.signup {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background: var(--banner-bg); color: var(--banner-text); border-radius: 18px; padding: 38px 40px;
}
.signup h3 { font-size: 30px; }
.signup p { margin: 0; opacity: .75; font-size: 15.5px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type="email"] { flex: 1 1 200px; }
input, select, textarea {
  font: 400 16px var(--sans); color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; min-height: 1.3em; opacity: 1 !important; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: var(--accent); }
.gate { margin-top: 22px; padding: 22px 24px; border: 1px dashed var(--line); border-radius: 14px; background: var(--surface); max-width: 560px; }
.gate[hidden], details[hidden] { display: none; }
.gate-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; color: var(--text); }
.gate-title svg { width: 17px; height: 17px; color: var(--accent); }
.gate-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.gate .inline-form .btn { flex: 0 0 auto; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.offers article { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.offers p { margin: 0; color: var(--muted); font-size: 15.5px; }
.offers .worked { margin-top: 10px; color: var(--body); font-size: 14px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 16px; }
.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact .btn { justify-self: start; }
textarea { resize: vertical; }

/* nav CTA + inner pages */
.links .nav-cta { margin-left: auto; color: var(--accent); border: 1.5px solid var(--accent); border-radius: 999px; padding: 5px 14px; margin-top: -6px; margin-bottom: -6px; align-self: center; }
.links .nav-cta:hover { background: var(--accent-soft); }
main.page section:first-child { padding-top: 56px; }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }
.center .sec { text-align: center; font-size: clamp(32px, 4.6vw, 48px); }
.center .sec { justify-content: center; }
.center .sec::after, .center .sec::before { display: none; }
.center .reach { justify-content: center; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--second); margin: 0 0 10px; }
.big { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 22px; font-weight: 600; }

/* phones */
.phones { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(16px, 4vw, 48px); padding: 30px 0 10px; }
.phone {
  position: relative; display: block; width: clamp(150px, 22vw, 230px); aspect-ratio: 9 / 19; flex: none;
  border-radius: 34px; padding: 9px; background: #0B090F; border: 1px solid var(--line);
  box-shadow: 0 40px 70px -30px var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset; text-decoration: none;
  transition: transform .35s ease;
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 16px; translate: -50% 0; border-radius: 99px; background: #0B090F; z-index: 2; }
.phone:hover { transform: translateY(-6px); }
.dot { display: none; }
.phones { justify-content: flex-start; }
.screen { display: block; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--surface); }
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.views {
  position: absolute; left: 50%; bottom: -16px; translate: -50% 0; z-index: 3; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 13px; box-shadow: 0 12px 24px -12px var(--shadow);
}
.views svg { width: 15px; height: 15px; color: var(--accent); }
.views b::after { content: " views"; font-weight: 400; color: var(--muted); }
.dot { position: absolute; border-radius: 50%; opacity: .7; animation: float 7s ease-in-out infinite alternate; pointer-events: none; }
.d1 { width: 14px; height: 14px; background: var(--accent); top: 6%; left: 10%; }
.d2 { width: 9px; height: 9px; background: var(--second); top: 22%; right: 8%; animation-delay: -2s; }
.d3 { width: 20px; height: 20px; background: var(--second); bottom: 12%; left: 4%; opacity: .45; animation-delay: -4s; }
.d4 { width: 8px; height: 8px; background: var(--accent); bottom: 4%; right: 16%; animation-delay: -1s; }
.d5 { width: 11px; height: 11px; background: #FFD27F; top: 0; right: 30%; opacity: .55; animation-delay: -3s; }
.d6 { width: 7px; height: 7px; background: var(--good); top: 48%; left: 22%; animation-delay: -5s; }
@keyframes float { to { transform: translate(10px, -18px); } }

/* free-stuff hub */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hub-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-decoration: none; transition: transform .2s, border-color .2s; }
.hub-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.hub-card p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; flex: 1; }
.hub-n { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--second); margin-bottom: 10px; }
.go-link { font-weight: 600; color: var(--accent); font-size: 15px; }
.go-link::after { content: " →"; }

/* brands: one quiet line of names */
.brands-label { margin: 56px 0 14px; color: var(--muted); }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 18px; font-weight: 600; color: var(--body); }
.links .nav-cta { border: 0; padding: 0; margin: 0 0 0 auto; border-radius: 0; }
.links .nav-cta:hover { background: none; }
.kicker, .hub-n { color: var(--muted); }
.marquee { position: relative; display: flex; overflow: hidden; max-width: 1080px; margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 64px; padding-right: 64px; align-items: center; animation: scroll 28s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee-row li:nth-child(3n+2) { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: 0; }
.marquee-row li:hover { color: var(--accent); }
.marquee-row img { height: 32px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .75; }
@keyframes scroll { to { transform: translateX(-100%); } }
.pill { border-radius: 999px; }

.noscript { padding-top: 24px; color: var(--muted); }

/* legal pages */
.legal-doc { max-width: 720px; }
.legal-doc h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -.015em; }
.legal-doc p, .legal-doc li { color: var(--body); }
.legal-doc a { color: var(--accent); }
.todo { background: rgba(255, 210, 127, .16); color: #FFD27F; padding: 1px 6px; border-radius: 4px; }

/* footer */
footer { text-align: center; padding: 48px 24px 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
footer .socials { justify-content: center; margin-bottom: 14px; }
footer p { margin: 4px 0; }
footer .legal { margin-top: 10px; font-size: 12px; opacity: .5; }
footer .legal a { color: inherit; text-decoration: none; }
footer .legal a:hover { text-decoration: underline; opacity: 1; }
.small { font-size: 13px; }
.legal { margin-top: 12px !important; }
.legal a { color: var(--muted); }
.legal a:hover, .gate-note a:hover { color: var(--accent); }
.gate-note a { color: var(--muted); }

/* prompt dialog */
dialog {
  border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(680px, calc(100vw - 32px)); max-height: 86vh;
  background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -30px var(--shadow);
}
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgba(10, 8, 14, .6); backdrop-filter: blur(3px); }
.pd-head { display: flex; justify-content: space-between; gap: 16px; padding: 24px 26px 16px; border-bottom: 1px solid var(--line); }
.pd-head h3 { font-size: 24px; margin: 0; }
.pd-head .meta { margin-bottom: 6px; color: var(--accent); }
.x { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); flex: none; }
.x:hover { background: var(--accent-soft); color: var(--accent); }
dialog pre { margin: 0; padding: 22px 26px; overflow: auto; white-space: pre-wrap; font: 400 15px/1.7 var(--sans); color: var(--body); flex: 1; }
.pd-foot { padding: 16px 26px 22px; border-top: 1px solid var(--line); }
.pd-foot .btn { width: 100%; }

/* game mode */
.game-toggle, .game-hud {
  z-index: 40; font: 700 11px var(--sans); letter-spacing: .14em;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
.game-toggle { position: absolute; top: 16px; right: 40px; display: flex; align-items: center; gap: 8px; transition: color .15s, border-color .15s; }
.game-toggle i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); transition: background .15s, box-shadow .15s; }
.game-toggle:hover, .game-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.game-toggle[aria-pressed="true"] { position: fixed; top: calc(var(--nav-h) + 16px); background: var(--bg); }
.game-toggle[aria-pressed="true"] i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.game-hud { position: fixed; top: calc(var(--nav-h) + 60px); right: 40px; background: var(--bg); color: var(--accent); border-color: var(--accent); letter-spacing: .1em; }
.game-hud[hidden] { display: none; }
#gameCanvas { position: fixed; top: 0; left: 0; z-index: 30; pointer-events: none; }
/* Touch screens: the canvas takes the finger so dragging steers the cloud instead of scrolling the page. */
@media (pointer: coarse) {
  html.gaming, html.gaming body { overflow: hidden; overscroll-behavior: none; }
  #gameCanvas { pointer-events: auto; touch-action: none; }
  .game-toggle, .game-hud { touch-action: manipulation; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.rise { transform: translateY(48px) scale(.96); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.rise.in { transform: none; }
.sec.reveal::before { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; }
.sec.reveal::after { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.8,.2,1) .15s; }
.sec.reveal.in::before, .sec.reveal.in::after { opacity: 1; transform: none; }
.xp.reveal li { opacity: 0; transform: translateX(-10px); transition: opacity .4s ease, transform .4s ease; }
.xp.reveal.in li { opacity: 1; transform: none; }
.xp.reveal.in li:nth-child(1) { transition-delay: .45s; }
.xp.reveal.in li:nth-child(2) { transition-delay: .55s; }
.xp.reveal.in li:nth-child(3) { transition-delay: .65s; }
.xp.reveal.in li:nth-child(4) { transition-delay: .75s; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 260px 1fr; gap: 64px; }
  .portrait { width: 260px; }
  .menu-btn { display: block; }
  .nav-inner .socials { display: none; }
  .links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 11px 0; font-size: 16px; }
  .links .nav-cta { margin: 0; align-self: flex-start; padding: 11px 0; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap, .nav-inner { padding: 0 16px; }
  .links { padding: 8px 16px 16px; }
  .game-toggle { right: 16px; top: 10px; }
  .game-hud { right: 16px; }
  .hero { padding: 36px 0 40px; min-height: calc(100svh - var(--nav-h) - 90px); gap: 40px; }
  .hero-grid, .offers { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; text-align: center; }
  .proof li { align-items: center; font-size: 11px; }
  .proof b { font-size: 18px; }
  .proof li:nth-child(n+3) { display: none; }
  .hero + section { padding-top: 20px; }
  .about-photo { aspect-ratio: 4 / 3; object-position: 50% 35%; }
  .xp-grid { grid-template-columns: 1fr; gap: 12px; }
  .offers { gap: 12px; }
  .hero-grid { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .portrait { width: min(200px, 52vw); justify-self: center; margin-bottom: 8px; }
  section:not(.hero) { padding: 52px 0; }
  .tabs { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .tablist { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-left: 0; border-bottom: 1px solid var(--line); }
  .tablist button { margin: 0 0 -1px; padding: 12px 16px; border-left: 0; border-bottom: 2px solid transparent; }
  .tablist button[aria-selected="true"] { border-bottom-color: var(--accent); }
  .brands { gap: 8px 22px; font-size: 16px; }
  .methods, .tool-list { grid-template-columns: 1fr; }
  .signup { padding: 28px 22px; }
  .ticks { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; }
  .phones { gap: 10px; }
  .phone { width: 27vw; border-radius: 22px; padding: 6px; }
  .phone::before { top: 10px; height: 10px; }
  .screen { border-radius: 17px; }
  .views { font-size: 11px; padding: 5px 9px; gap: 5px; }
  .views b::after { content: none; }
  .marquee-row { gap: 40px; padding-right: 40px; }
  .marquee-row li { font-size: 20px; }
  .marquee-row li:nth-child(3n+2) { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-row { animation: none; flex-wrap: wrap; justify-content: center; flex: 1; gap: 16px 40px; padding: 0; }
  .marquee-row[aria-hidden] { display: none; }
  .reveal, .reveal::before, .reveal::after, .xp.reveal li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-read .w, .about-grid.anim .ticks li, .about-grid.anim .about-photo { opacity: 1 !important; transform: none !important; transition: none; }
  .caret { animation: none; }
  .stamp { animation: none; }
}

