/* Star Of The City: the public website (starofthecity.com). Night sky over a city: every lit window is a person's website. */
:root {
  --night: #0A0F2C; --night-2: #151B4D; --night-3: #232C73;
  --brand: #4338CA; --brand-2: #6366F1; --brand-soft: #EEF0FF;
  --gold: #FBBF24; --gold-2: #F59E0B; --gold-soft: #FFF7E0;
  --ink: #0F172A; --body: #334155; --muted: #64748B; --line: #E5E8F0; --bg: #F7F8FC; --white: #fff;
  --ok: #15803D; --bad: #B91C1C;
  --r: 18px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 80px -30px rgba(10, 15, 44, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--body); background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.hdr.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; color: #fff; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: -2px; }
.hdr.solid .brand { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.nav a[aria-current=page] { color: #fff; background: rgba(255, 255, 255, .14); }
.hdr.solid .nav a { color: var(--body); }
.hdr.solid .nav a:hover, .hdr.solid .nav a[aria-current=page] { color: var(--brand); background: var(--brand-soft); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.hdr.solid .menu-btn { background: var(--brand-soft); color: var(--brand); }
.menu-btn svg { margin: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-family: inherit; font-weight: 700; font-size: .98rem; line-height: 1; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3B2300; box-shadow: 0 10px 30px -10px rgba(245, 158, 11, .7); }
.btn-gold:hover { box-shadow: 0 16px 36px -12px rgba(245, 158, 11, .8); color: #3B2300; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 26px -12px rgba(67, 56, 202, .8); }
.btn-brand:hover { background: #3730A3; color: #fff; }
.btn-line { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px #C7CBF5; }
.btn-line:hover { color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .92rem; }
.hdr:not(.solid) .nav .btn-brand { background: #fff; color: var(--brand); box-shadow: none; }

/* ---------- Night sky (hero, page heads, call to action) ---------- */
.sky { position: relative; overflow: hidden; color: rgba(255, 255, 255, .82); background:
  radial-gradient(1200px 600px at 80% -10%, rgba(99, 102, 241, .45), transparent 60%),
  radial-gradient(900px 500px at 0% 20%, rgba(67, 56, 202, .35), transparent 60%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%); isolation: isolate; }
.sky h1, .sky h2, .sky h3 { color: #fff; }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .2; animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite; }
.star.big { width: 3px; height: 3px; box-shadow: 0 0 8px 1px rgba(255, 255, 255, .6); }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
/* Shooting stars (home.js makes them): a glowing head with a fading tail, crossing at an angle */
.meteor { position: absolute; width: 0; height: 0; transform: rotate(var(--ang, 24deg)); pointer-events: none; z-index: -1; }
.meteor i { position: absolute; left: 0; top: 0; opacity: 0; animation: meteor-move var(--dur, 1.2s) cubic-bezier(.25, .1, .5, 1) forwards; }
.meteor i::before { content: ''; position: absolute; right: 0; top: -1px; width: var(--len, 180px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(165, 180, 252, .35) 45%, rgba(255, 247, 224, .95)); transform-origin: right center; animation: meteor-tail var(--dur, 1.2s) ease-out forwards; }
.meteor i::after { content: ''; position: absolute; right: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 2px #fff, 0 0 16px 5px rgba(253, 230, 138, .85), 0 0 34px 10px rgba(251, 191, 36, .35); }
@keyframes meteor-move { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateX(var(--dist, 600px)); opacity: 0; } }
@keyframes meteor-tail { 0% { transform: scaleX(.08); } 55% { transform: scaleX(1); } 100% { transform: scaleX(.45); } }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; min-height: clamp(680px, 100vh, 960px); display: flex; flex-direction: column; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; flex: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); font-size: .86rem; font-weight: 600; color: #E0E7FF; margin-bottom: 26px; }
.eyebrow b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #3B2300; font-size: .8rem; }
.hero h1 { margin-bottom: 22px; }
.glow { background: linear-gradient(90deg, #FDE68A, var(--gold) 45%, #FFD9A0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #C7D2FE; max-width: 34em; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .9rem; color: #A5B4FC; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--gold); }

/* The browser card: a person's website, the address types itself */
.stage { position: relative; perspective: 1400px; }
.browser { position: relative; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; transform: rotateY(-9deg) rotateX(4deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotateY(-9deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-14px); } }
.b-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #F1F3F9; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #FCA5A5; } .dots i:nth-child(2) { background: #FCD34D; } .dots i:nth-child(3) { background: #86EFAC; }
.url { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: .86rem; color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.url svg { color: var(--ok); flex: none; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--brand); margin-left: 1px; animation: blink 1s steps(1) infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }
.b-body { padding: 22px; transition: opacity .35s; }
.b-body.swap { opacity: 0; }
.p-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.p-ava { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.2rem; background: linear-gradient(135deg, var(--c1, #6366F1), var(--c2, #4338CA)); flex: none; }
.p-head b { display: block; color: var(--ink); font-size: 1.05rem; }
.p-head small { color: var(--muted); font-size: .84rem; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.p-tags span { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.p-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-post { border-radius: 14px; background: var(--bg); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.p-post i { display: block; height: 64px; border-radius: 10px; margin-bottom: 10px; background: linear-gradient(135deg, var(--c1, #C7D2FE), var(--c3, #FDE68A)); opacity: .55; }
.p-post b { display: block; font-size: .82rem; color: var(--ink); line-height: 1.3; }
.p-post small { font-size: .72rem; color: var(--muted); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: .84rem; font-weight: 700; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.chip span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.chip-a { left: -34px; bottom: 86px; animation-delay: -2s; } .chip-a span { background: #DCFCE7; color: var(--ok); }
.chip-b { right: -24px; top: 70px; } .chip-b span { background: var(--gold-soft); color: var(--gold-2); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* The skyline: every window is somebody's website */
.city { position: relative; height: 210px; margin-top: 70px; }
.city svg { position: absolute; inset: auto 0 0; width: 100%; height: 100%; }
.city .b { fill: #0D1340; } .city .b2 { fill: #121A55; } .city .b3 { fill: #182168; }
.city .w { fill: #FDE68A; opacity: .1; animation: light var(--d, 6s) ease-in-out var(--delay, 0s) infinite; }
@keyframes light { 0%, 100% { opacity: .08; } 45%, 70% { opacity: .95; } }
/* STAR OF THE CITY in lit windows: dark windows around it, the letters switch on one by one and glow */
.city .sign { filter: drop-shadow(0 0 4px rgba(253, 230, 138, .55)); }
.city .sd { fill: #FDE68A; opacity: .07; }
/* Over and over: the letters switch on one by one, the sign glitters, the lights go off in the same order, again */
.city .sw { fill: #FDE68A; opacity: .07; animation: sign-cycle 10s ease-out var(--delay, 0s) infinite both, glitter var(--g, 3s) linear var(--gd, 0s) infinite; }
@keyframes sign-cycle { 0% { opacity: .07; } 2% { opacity: .9; } 3% { opacity: .3; } 5%, 74% { opacity: 1; } 80%, 100% { opacity: .07; } }
@keyframes glitter { 0%, 100% { fill: #FDE68A; } 6% { fill: #FFFFFF; } 12% { fill: #FCD34D; } 18% { fill: #FDE68A; } }
/* Sparkles over the letters */
.city .sparks { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 6px rgba(253, 230, 138, .9)); }
.city .spk { fill: #fff; transform-box: fill-box; transform-origin: center; scale: 0; opacity: 0; animation: spk var(--d, 3s) ease-in-out var(--delay, 2s) infinite; }
@keyframes spk { 0%, 100% { scale: 0; opacity: 0; rotate: 0deg; } 12% { scale: 1; opacity: 1; rotate: 45deg; } 24%, 99% { scale: 0; opacity: 0; rotate: 90deg; } }
.ground { height: 18px; background: var(--white); position: relative; margin-top: -1px; border-radius: 40px 40px 0 0; }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; }
.sec-soft { background: var(--bg); }
.sec-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sky .kicker { color: var(--gold); }
.sec-head p { font-size: 1.1rem; color: var(--muted); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); }
.card .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px; background: var(--brand-soft); color: var(--brand); }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 26px; margin: 8px 0; font-size: .95rem; }
.card li::before { content: ''; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.who .card:nth-child(2) .ic { background: var(--gold-soft); color: var(--gold-2); }
.who .card:nth-child(3) .ic { background: #E0F2FE; color: #0369A1; }
.card .tag { position: absolute; top: 26px; right: 26px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Steps on the home page */
/* Cards that light up one after another (home.js moves .on); a bar along the bottom shows how far along it is */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; padding-bottom: 34px; }
.steps::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 4px; width: var(--fill, 0%); background: linear-gradient(90deg, var(--brand), #8B5CF6, var(--gold)); box-shadow: 0 0 14px rgba(var(--brand-rgb, 67, 56, 202), .45); transition: width .9s var(--ease); }
.steps::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: #E3E5FB; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: -14px; right: 10px; font-size: 5.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, rgba(99, 102, 241, .16), rgba(99, 102, 241, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: background .5s; }
.step::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--brand), #8B5CF6, var(--gold)); opacity: 0; transition: opacity .5s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.step .num { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); transition: all .5s var(--ease); }
.step-no { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step.on { transform: translateY(-10px); box-shadow: 0 30px 60px -28px rgba(67, 56, 202, .45); }
.step.on::after { opacity: 1; }
.step.on::before { background: linear-gradient(180deg, rgba(139, 92, 246, .35), rgba(251, 191, 36, 0)); -webkit-background-clip: text; background-clip: text; }
.step.on .num { background: linear-gradient(135deg, var(--brand), #8B5CF6); color: #fff; box-shadow: 0 12px 26px -8px rgba(99, 102, 241, .7); animation: step-ping 1.6s ease-out; }
@keyframes step-ping { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .55); } 100% { box-shadow: 0 0 0 18px rgba(139, 92, 246, 0), 0 12px 26px -8px rgba(99, 102, 241, .7); } }

/* Feature rows */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--line); gap: 1px; }
.feat { background: #fff; padding: 34px; transition: background .3s; }
.feat:hover { background: #FBFBFF; }
.feat .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.feat p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Split: text + visual */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.rev .split-vis { order: -1; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #DCFCE7; color: var(--ok); margin-top: 1px; }
.checks b { color: var(--ink); display: block; }
.checks small { color: var(--muted); font-size: .94rem; }
.sky .checks b { color: #fff; } .sky .checks small { color: #C7D2FE; } .sky .checks li > span { background: rgba(251, 191, 36, .15); color: var(--gold); }

/* Safety shield visual */
.shield { position: relative; aspect-ratio: 1; max-width: 430px; margin: auto; display: grid; place-items: center; }
.shield .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(251, 191, 36, .35); animation: spin 40s linear infinite; }
.shield .ring.r2 { inset: 13%; border-color: rgba(165, 180, 252, .35); animation-duration: 28s; animation-direction: reverse; }
.shield .ring.r3 { inset: 26%; border-style: solid; border-color: rgba(255, 255, 255, .08); background: radial-gradient(circle, rgba(99, 102, 241, .35), transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.shield .core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3B2300; box-shadow: 0 0 60px rgba(251, 191, 36, .45); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 90px rgba(251, 191, 36, .7); } }
.orbit { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); font-size: .8rem; font-weight: 700; color: #fff; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.orbit svg { color: var(--gold); }
.o1 { top: 6%; left: 2%; } .o2 { top: 18%; right: -2%; animation-delay: -1.5s; } .o3 { bottom: 14%; left: -4%; animation-delay: -3s; } .o4 { bottom: 4%; right: 6%; animation-delay: -4.5s; }

/* Domain journey visual */
.journey { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.j-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; transition: background .4s; }
.j-row + .j-row { margin-top: 6px; }
.j-row .dot { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 2px var(--line); transition: all .4s var(--ease); }
.j-row b { display: block; color: var(--ink); font-size: .98rem; }
.j-row small { color: var(--muted); font-size: .86rem; }
.j-row.on { background: var(--brand-soft); }
.j-row.on .dot { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(99, 102, 241, .18); }
.j-row.done .dot { background: #DCFCE7; color: var(--ok); box-shadow: none; }

/* Call to action band */
.cta { border-radius: var(--r-lg); padding: 70px 60px; text-align: center; }
.cta h2 { max-width: 16em; margin-inline: auto; }
.cta p { max-width: 36em; margin: 0 auto 32px; color: #C7D2FE; font-size: 1.1rem; }
.cta .cta-row { justify-content: center; }

/* ---------- Inner pages ---------- */
.page-head { padding: 170px 0 110px; text-align: center; }
.page-head p { max-width: 40em; margin: 0 auto; font-size: 1.15rem; color: #C7D2FE; }
.page-head + .sec, .page-head + .ground + .sec { padding-top: 90px; }
/* Inner pages: text on the left, the website being booked on the right, the city underneath (like the home page) */
.page-head.has-stage { padding: 150px 0 0; text-align: left; }
.page-head.has-stage .hero-grid { padding-bottom: 20px; }
.page-head.has-stage h1 { margin-bottom: 22px; }
.page-head.has-stage p { margin: 0; max-width: 34em; }
.page-head.has-stage .city { margin-top: 60px; }
/* Sign in: the card on the left, the website on the right */
.signin-page.has-stage > .wrap { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 70px; justify-content: center; }

/* Timeline (how it works) */
/* Zigzag: the steps sit left and right of a centre line that fills as you scroll (home.js sets --fill and .reached) */
.timeline { position: relative; max-width: 1080px; margin: 0 auto; counter-reset: tl; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 50%; top: 10px; width: 4px; margin-left: -2px; border-radius: 4px; }
.timeline::before { bottom: 10px; background: #E3E5FB; }
.timeline::after { height: var(--fill, 0px); max-height: calc(100% - 20px); background: linear-gradient(var(--brand), #8B5CF6, var(--gold)); box-shadow: 0 0 16px rgba(139, 92, 246, .5); transition: height .25s linear; }
.tl { position: relative; display: grid; grid-template-columns: 1fr 84px 1fr; column-gap: 34px; padding-bottom: 46px; counter-increment: tl; }
.tl:last-child { padding-bottom: 0; }
.tl .num { grid-column: 2; grid-row: 1; align-self: start; justify-self: center; position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--brand);
  box-shadow: var(--shadow), 0 0 0 6px var(--bg-page, #fff), inset 0 0 0 2px var(--brand-soft); transition: all .6s var(--ease); }
.tl .num b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #3B2300; font-size: .78rem; box-shadow: 0 0 0 3px #fff; }
.tl-body { grid-column: 1; grid-row: 1; }
.tl:nth-child(even) .tl-body { grid-column: 3; }
.tl-who { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.tl h3 { font-size: 1.35rem; }
.tl-body { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px 32px; box-shadow: var(--shadow); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
/* The big step number on the other side of the line */
.tl::after { content: '0' counter(tl); grid-row: 1; grid-column: 3; justify-self: start; align-self: start; margin-top: -6px; font-size: 5.2rem; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  color: transparent; background: linear-gradient(135deg, #C7CBF5, #E9E5FF); -webkit-background-clip: text; background-clip: text; transition: all .8s var(--ease); }
.tl:nth-child(even)::after { grid-column: 1; justify-self: end; }
.tl.reached::after { background-image: linear-gradient(135deg, var(--brand), #8B5CF6 55%, var(--gold)); }
.tl-body::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(var(--brand), #8B5CF6); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease) .15s; }
.tl:nth-child(odd) .tl-body::after { left: auto; right: 0; }
.tl.reached .num { background: linear-gradient(135deg, var(--brand), #8B5CF6); color: #fff; box-shadow: 0 14px 30px -10px rgba(99, 102, 241, .75), 0 0 0 6px #fff; animation: step-ping 1.6s ease-out; }
.tl.reached .tl-body::after { transform: none; }
.tl.reached .tl-body:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(67, 56, 202, .4); }
.tl-body p { color: var(--muted); }
.tl-body ul { margin: 0; padding-left: 20px; } .tl-body li { margin: 6px 0; }
.note { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--gold-soft); color: #7A4B00; font-size: .93rem; }
.note svg { flex: none; margin-top: 2px; }

/* Roles table */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.role h3 { display: flex; align-items: center; gap: 10px; }
.role h3 span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); letter-spacing: .04em; }
.role p { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; transition: transform .3s var(--ease);
  /* the plus is drawn (two bars), so it sits exactly in the middle whatever the font */
  background: linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat, var(--brand-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* About */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value { display: flex; gap: 20px; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.value .ic { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-2); }
.value p { color: var(--muted); margin: 0; }
.quote { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 700; color: #fff; letter-spacing: -.01em; max-width: 26em; margin: 0 auto; text-align: center; }
.quote .glow { font-weight: 800; }
.big-star { width: 64px; height: 64px; margin: 0 auto 28px; color: var(--gold); filter: drop-shadow(0 0 22px rgba(251, 191, 36, .6)); animation: pulse-star 4s ease-in-out infinite; }
@keyframes pulse-star { 50% { transform: scale(1.08) rotate(8deg); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field > span em { color: var(--bad); font-style: normal; }
.input, select.input, textarea.input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.field.bad .input { border-color: var(--bad); }
.field .err { display: block; color: var(--bad); font-size: .85rem; margin-top: 6px; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.types label { position: relative; cursor: pointer; }
.types input { position: absolute; opacity: 0; }
.types span { display: block; text-align: center; padding: 12px 6px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--body); transition: all .2s; }
.types input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.types input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.cap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cap-img { height: 50px; min-width: 150px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.cap-img svg { height: 46px; width: auto; }
.cap .input { width: 140px; letter-spacing: .3em; font-weight: 700; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--brand-soft); color: var(--brand); cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.form-msg.bad { display: block; background: #FEE2E2; color: var(--bad); }
.sent-ok { display: none; text-align: center; padding: 30px 10px; }
.sent-ok .tick { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #DCFCE7; color: var(--ok); animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.form-card.sent form { display: none; } .form-card.sent .sent-ok { display: block; }
.side { display: grid; gap: 20px; }
.side-card { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.side-card h3 { display: flex; align-items: center; gap: 10px; }
.side-card h3 svg { color: var(--brand); }
.side-card p { color: var(--muted); font-size: .95rem; }
.find { display: flex; align-items: center; border-radius: 14px; border: 1.5px solid var(--line); overflow: hidden; background: #fff; }
.find:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.find input { flex: 1; min-width: 0; border: 0; height: 48px; padding: 0 0 0 14px; font: inherit; font-size: .96rem; outline: none; }
.find span { padding: 0 14px 0 2px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.find-go { display: flex; gap: 8px; margin-top: 12px; }
.find-go .btn { flex: 1; }

/* ---------- Footer ---------- */
.ftr { position: relative; overflow: hidden; isolation: isolate; color: #A5B4FC; padding: 70px 0 34px; background: radial-gradient(800px 300px at 85% 0%, rgba(99, 102, 241, .28), transparent 70%), var(--night); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ftr p { font-size: .95rem; max-width: 26em; margin-top: 16px; }
.ftr h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a { color: #C7D2FE; } .ftr a:hover { color: #fff; }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .86rem; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Icons come alive (home.js marks them .aic): lines draw themselves in, filled ones pop, then they float;
   hovering the card redraws them ---------- */
.aic { overflow: visible; }
.aic .ln { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.aic.drawn .ln { animation: ic-draw var(--dur, 1.1s) cubic-bezier(.65, 0, .35, 1) calc(.15s + var(--k, 0) * .14s) both; }
@keyframes ic-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.aic.solid { transform: scale(0); }
.aic.solid.drawn { animation: ic-pop .8s cubic-bezier(.34, 1.56, .64, 1) .15s both; }
@keyframes ic-pop { from { transform: scale(0) rotate(-120deg); } to { transform: none; } }
.aic-box { animation: ic-float 4.5s ease-in-out var(--fd, 0s) infinite; }
@keyframes ic-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.aic-box { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s; }
/* Hover: the tile lifts a little and glows; nothing turns or tilts */
.card:hover .aic-box, .feat:hover .aic-box, .value:hover .aic-box, .step:hover .aic-box, .tl:hover .aic-box, .checks li:hover > .aic-box {
  transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 22px -8px rgba(99, 102, 241, .55), 0 0 0 4px rgba(99, 102, 241, .1); }
.tl:hover .num.aic-box { box-shadow: 0 14px 30px -10px rgba(99, 102, 241, .75), 0 0 0 6px #fff; }
.card .ic.aic-box::after, .feat .ic.aic-box::after, .value .ic.aic-box::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: ic-shine 6s ease-in-out var(--fd, 0s) infinite; }
.card .ic, .feat .ic, .value .ic { position: relative; overflow: hidden; }
@keyframes ic-shine { 0%, 70% { background-position: -150% 0; } 90%, 100% { background-position: 150% 0; } }

/* ---------- Small screens ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.rev .split-vis { order: 0; }
  .hero { padding-top: 130px; }
  .stage { max-width: 520px; margin: 10px auto 0; }
  .page-head.has-stage { padding-top: 130px; }
  .signin-page.has-stage > .wrap { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .signin-page.has-stage .stage { width: min(520px, 100%); }
  .cards3, .feats, .roles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 76px 12px auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); transform-origin: top; transform: scaleY(.9); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { color: var(--body) !important; background: none; padding: 13px 16px; }
  .nav a[aria-current=page] { background: var(--brand-soft) !important; color: var(--brand) !important; }
  .nav .btn { margin: 6px 0 0; } .hdr .nav .btn-brand { background: var(--brand); color: #fff !important; }
  .sec { padding: 80px 0; }
  .cards3, .feats, .roles, .values, .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .types { grid-template-columns: 1fr 1fr; }
  .chip-a { left: -6px; bottom: -22px; } .chip-b { right: -6px; top: -24px; }
  .chip { padding: 8px 12px; font-size: .78rem; } .chip span { width: 26px; height: 26px; }
  .cta { padding: 50px 24px; }
  .form-card { padding: 26px; }
  .tl { grid-template-columns: 52px 1fr; column-gap: 16px; } .tl .num { grid-column: 1; width: 52px; height: 52px; }
  .tl-body, .tl:nth-child(even) .tl-body { grid-column: 2; }
  .tl:nth-child(odd) .tl-body::after { left: 0; right: auto; }
  .tl::after { display: none; }
  .timeline::before, .timeline::after { left: 26px; }
  .tl-body { padding: 24px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .city { height: 140px; margin-top: 50px; }
  .orbit { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .star { opacity: .7; } .city .w:nth-child(3n) { opacity: .8; } .city .sw { opacity: 1; } .aic .ln { stroke-dashoffset: 0; } .aic.solid { transform: none; }
}

/* ---------- Header sign-in button: readable on the night sky and on the white header ---------- */
.hdr .nav a.btn-brand, .hdr .nav a.btn-brand:hover { color: var(--brand); background: #fff; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.hdr.solid .nav a.btn-brand { color: #fff; background: var(--brand); box-shadow: 0 8px 20px -10px rgba(67, 56, 202, .8); }
.hdr.solid .nav a.btn-brand:hover { color: #fff; background: #3730A3; }
.hdr .nav a.btn-brand[aria-current=page] { color: #3B2300; background: var(--gold); }
[id] { scroll-margin-top: 100px; }

/* ---------- Sign-in page ---------- */
.signin-page { min-height: 100vh; padding: 130px 0 0; display: flex; flex-direction: column; }
.signin-page > .wrap { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-bottom: 20px; }
.signin-card { position: relative; width: min(560px, 100%); background: #fff; border-radius: 32px; padding: 46px 44px 34px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); color: var(--body); }
.signin-card h1 { color: var(--ink); font-size: 2.3rem; text-align: center; margin-bottom: 8px; }
.signin-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: -78px auto 18px; border-radius: 20px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #3B2300; box-shadow: 0 14px 34px -10px rgba(245, 158, 11, .7); }
.signin-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 28em; }
.signin-card .field { margin-bottom: 8px; }
.org-input { display: flex; align-items: center; height: 56px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s; overflow: hidden; }
.org-input:focus-within { border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.org-input.bad { border-color: var(--bad); }
.org-input input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 1.08rem; font-weight: 700; color: var(--ink); outline: none; padding: 0 2px; }
.org-input input::placeholder { color: #A3AAC0; font-weight: 600; }
.org-input .pfx, .org-input .sfx { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.org-input .pfx { padding-left: 16px; } .org-input .sfx { padding-right: 16px; }
.signin-card .hint { display: block; color: var(--muted); font-size: .86rem; margin-top: 8px; }
.err-line { display: block; min-height: 0; color: var(--bad); font-size: .88rem; font-weight: 600; margin-top: 4px; }
.err-line:empty { display: none; }
.who-pick { border: 0; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.who-pick legend { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
.who-pick label { position: relative; cursor: pointer; }
.who-pick input { position: absolute; opacity: 0; }
.who-pick label > span { display: grid; grid-template-columns: 46px 1fr 22px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--line); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.who-pick label > span::after { content: ''; grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #CBD0E0; transition: all .2s; }
.who-pick i { grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bg); color: var(--muted); transition: all .2s; }
.who-pick b { color: var(--ink); font-size: 1rem; line-height: 1.25; }
.who-pick small { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.who-pick label:hover > span { border-color: #C7CBF5; }
.who-pick input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.who-pick input:checked + span i { background: var(--brand); color: #fff; }
.who-pick input:checked + span::after { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }
.who-pick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.opens { margin: 22px 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--bg); font-size: .88rem; color: var(--muted); overflow-wrap: anywhere; }
.opens b { color: var(--brand); font-weight: 700; }
.signin-go { width: 100%; height: 56px; font-size: 1.05rem; }
.signin-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: .9rem; color: var(--muted); }
.signin-foot p { margin: 4px 0; }
.signin-page .city { margin-top: 30px; height: 170px; }
.side-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
@media (max-width: 780px) {
  .signin-page { padding-top: 120px; }
  .signin-card { padding: 40px 22px 26px; border-radius: 26px; }
  .signin-card h1 { font-size: 1.9rem; }
  .org-input .pfx { display: none; } .org-input input { padding-left: 14px; }
  .org-input .sfx { font-size: .82rem; }
}

/* ---------- Sign-up page (the contact page's form, plus the address check) ---------- */
.types.types3 { grid-template-columns: repeat(3, 1fr); }
.field .hint { display: block; color: var(--muted); font-size: .86rem; margin-top: 8px; }
.su-step { font-size: 1.15rem; margin: 30px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.addr-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .86rem; margin-top: 8px; }
.addr-state.ok { color: var(--ok); font-weight: 700; }
.addr-state.no { color: var(--bad); font-weight: 600; }
.addr-state.ok::before { content: '✓'; }
.field.bad .org-input { border-color: var(--bad); }

/* ---------- The logo: the star turns a point and glows, a glint crosses the badge, sparkles twinkle ---------- */
.brand-mark { overflow: visible; filter: drop-shadow(0 6px 14px rgba(67, 56, 202, .35)); }
/* The star: a spin with a springy overshoot every 4s (wrapper), and a constant breathing glow (the star itself) */
.brand-mark .bm-spin { transform-box: fill-box; transform-origin: 50% 54%; animation: bm-in 1s var(--ease) both, bm-spin 4s cubic-bezier(.5, 0, .3, 1) 1s infinite; }
@keyframes bm-spin {
  0%, 50% { transform: rotate(0) scale(1); }
  70% { transform: rotate(400deg) scale(1.28); }
  80% { transform: rotate(345deg) scale(.9); }
  90% { transform: rotate(366deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes bm-in { from { transform: scale(0) rotate(-200deg); opacity: 0; } to { transform: none; opacity: 1; } }
.brand-mark .bm-star { transform-box: fill-box; transform-origin: center; animation: bm-breathe 2s ease-in-out infinite; }
@keyframes bm-breathe {
  0%, 100% { transform: scale(1); fill: #FBBF24; filter: drop-shadow(0 0 1px rgba(251, 191, 36, .5)); }
  50% { transform: scale(1.12); fill: #FDE047; filter: drop-shadow(0 0 4px rgba(253, 224, 71, 1)) drop-shadow(0 0 9px rgba(251, 191, 36, .7)); }
}
.brand-mark .bm-glint { opacity: .32; animation: bm-glint 6s ease-in-out infinite; }
@keyframes bm-glint { 0%, 58% { transform: translateX(-26px); } 74%, 100% { transform: translateX(58px); } }
.brand-mark .bm-spark { transform-box: fill-box; transform-origin: center; opacity: 0; animation: bm-spark 3s ease-in-out infinite; }
.brand-mark .s2 { animation-delay: 1.5s; }
@keyframes bm-spark { 0%, 100% { opacity: 0; transform: scale(.3); } 40%, 60% { opacity: 1; transform: scale(1); } }
.brand:hover .bm-spin { animation: bm-whirl .9s var(--ease); }
@keyframes bm-whirl { from { transform: rotate(0) scale(1); } 50% { transform: rotate(360deg) scale(1.3); } to { transform: rotate(720deg) scale(1); } }

/* ---------- Bigu, the help assistant for visitors (shared/help.js; the same character and styles as the admin panel) ---------- */
.bigu, .bigu-fab { --line-2: var(--line); --line-3: #D5D9E6; --card: #fff; --text: var(--body); --brand-ink: #3730A3; --brand-tint: #C7CBF5; --muted-2: #94A3B8; --spring: cubic-bezier(.34, 1.56, .64, 1); font-size: 15px; }
.bigu .btn-primary { background: var(--brand); color: #fff; } .bigu .btn-primary:hover { background: #3730A3; }
.bigu .btn-sm { height: 38px; padding: 0 14px; font-size: .88rem; }
.bigu .btn:not(.btn-primary) { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1.5px #C7CBF5; height: 34px; padding: 0 14px; font-size: .86rem; }
.bigu-head .icon-btn { width: 36px; height: 36px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bw-buddy { display: block; flex-shrink: 0; overflow: visible; }
.bw-buddy * { stroke: none; }
/* Ears flap from where they join the head: a double flap, then a rest */
.bw-buddy-ear { fill: #818CF8; transform-box: fill-box; }
.bw-buddy-ear.left { transform-origin: right 40%; animation: bw-buddy-flap-l 3s ease-in-out infinite; }
.bw-buddy-ear.right { transform-origin: left 40%; animation: bw-buddy-flap-r 3s ease-in-out infinite; }
.bw-buddy-ear-in { fill: #F5B8D6; opacity: .9; }
.bw-buddy-head { fill: #4F46E5; }
.bw-buddy-brow { fill: #fff; opacity: .12; }
/* The trunk: a thick curve with a darker outline (so it shows even in front of the face) and ring folds across it.
   Its shape is animated in help.js (swing right and left, lift to each side, up high to trumpet). */
.bw-buddy-trunk path { fill: none; stroke-linecap: round; }
.bw-buddy-trunk .bw-buddy-trunk-line { stroke: #3730A3 !important; stroke-width: 7.4; }
.bw-buddy-trunk .bw-buddy-trunk-skin { stroke: #4F46E5 !important; stroke-width: 6.2; }
.bw-buddy-root { fill: #4F46E5; }
.bw-buddy-trunk .bw-buddy-trunk-rings { stroke: #312E81 !important; stroke-width: 4.4; stroke-linecap: butt; opacity: .35;
  stroke-dasharray: 0 11 .55 3.4 .55 3.4 .55 3.4 .55 60; }
.bw-buddy-eyes { fill: #0A0F2C; transform-box: fill-box; transform-origin: center; animation: bw-buddy-blink 4.2s infinite; }
.bw-buddy-shine { fill: #fff; }
.bw-buddy-cheek { fill: #FBBF24; opacity: .75; }
.bw-buddy-body { transform-box: fill-box; transform-origin: center bottom; animation: bw-buddy-bob 3s ease-in-out infinite; }
.bw-buddy.busy .bw-buddy-body, .bw-buddy.busy .bw-buddy-ear { animation-duration: .9s; }
@keyframes bw-buddy-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes bw-buddy-flap-l { 0%, 45%, 100% { transform: rotate(0) scaleX(1); } 12% { transform: rotate(-16deg) scaleX(.82); } 24% { transform: rotate(2deg) scaleX(1.02); } 34% { transform: rotate(-9deg) scaleX(.9); } }
@keyframes bw-buddy-flap-r { 0%, 45%, 100% { transform: rotate(0) scaleX(1); } 12% { transform: rotate(16deg) scaleX(.82); } 24% { transform: rotate(-2deg) scaleX(1.02); } 34% { transform: rotate(9deg) scaleX(.9); } }
@keyframes bw-buddy-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
/* Every 10 seconds (help.js adds .shout and raises the trunk): it trumpets, sound waves burst out, the ears flap fast,
   and Bigu grows a little for a moment */
.bw-buddy-toot { opacity: 0; }
.bw-buddy-toot path { fill: none; stroke: #F59E0B !important; stroke-width: 2.2; stroke-linecap: round; }
.bw-buddy-toot path { transform-box: fill-box; transform-origin: left center; opacity: 0; }
.bw-buddy { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.bw-buddy.shout { transform: scale(1.18); }
/* Trumpeting like a real elephant: ears spread wide and stay open, the head lifts back, the mouth opens under the raised trunk */
.bw-buddy-mouth { fill: #9D174D; transform-box: fill-box; transform-origin: center top; transform: scale(.2, 0); }
.bw-buddy.shout .bw-buddy-mouth { animation: bw-buddy-mouth 2.4s ease-in-out; }
.bw-buddy.shout .bw-buddy-ear.left { animation: bw-buddy-spread-l 2.4s ease-in-out; }
.bw-buddy.shout .bw-buddy-ear.right { animation: bw-buddy-spread-r 2.4s ease-in-out; }
.bw-buddy.shout .bw-buddy-body { animation: bw-buddy-lift 2.4s ease-in-out; }
.bw-buddy-nose { opacity: 0; }
.bw-buddy-nose-end { fill: #3730A3; }
.bw-buddy-nostril { fill: #1E1B4B; }
.bw-buddy.shout .bw-buddy-nose { animation: bw-buddy-nose 2.4s ease-in-out; }
@keyframes bw-buddy-nose { 0%, 12%, 90%, 100% { opacity: 0; } 18%, 84% { opacity: 1; } }
@keyframes bw-buddy-mouth { 0%, 22%, 90%, 100% { transform: scale(.2, 0); } 36%, 80% { transform: scale(1.1, 1.2); } 50%, 66% { transform: scale(1.2, 1.35); } }
@keyframes bw-buddy-spread-l { 0%, 100% { transform: rotate(0) scaleX(1); } 20%, 80% { transform: rotate(-24deg) scale(1.12, 1.06); } 35%, 65% { transform: rotate(-20deg) scale(1.08, 1.04); } 50% { transform: rotate(-25deg) scale(1.13, 1.06); } }
@keyframes bw-buddy-spread-r { 0%, 100% { transform: rotate(0) scaleX(1); } 20%, 80% { transform: rotate(24deg) scale(1.12, 1.06); } 35%, 65% { transform: rotate(20deg) scale(1.08, 1.04); } 50% { transform: rotate(25deg) scale(1.13, 1.06); } }
@keyframes bw-buddy-lift { 0%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-3px) rotate(-2deg); } 36% { transform: translateY(-3.5px) rotate(2deg); } 52% { transform: translateY(-3px) rotate(-2deg); } 68% { transform: translateY(-3.5px) rotate(1.5deg); } 84% { transform: translateY(-1px) rotate(0); } }
.bw-buddy.shout .bw-buddy-toot { opacity: 1; }
.bw-buddy.shout .bw-buddy-toot path { animation: bw-buddy-toot .5s ease-out .95s 3; }
.bw-buddy.shout .bw-buddy-toot path:nth-child(2) { animation-delay: 1.05s; }
.bw-buddy.shout .bw-buddy-toot path:nth-child(3) { animation-delay: 1.15s; }
@keyframes bw-buddy-toot { 0% { opacity: 0; transform: translateX(-3px) scale(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(3px) scale(1.15); } }
/* Pointer on Bigu (help.js adds .hold and raises the trunk): it holds the trumpet pose until the pointer leaves */
.bw-buddy.hold { transform: scale(1.18); }
.bw-buddy.hold .bw-buddy-mouth { animation: none; transform: scale(1.1, 1.2); transition: transform .3s; }
.bw-buddy.hold .bw-buddy-ear.left { animation: none; transform: rotate(-22deg) scale(1.1, 1.05); transition: transform .35s; }
.bw-buddy.hold .bw-buddy-ear.right { animation: none; transform: rotate(22deg) scale(1.1, 1.05); transition: transform .35s; }
.bw-buddy.hold .bw-buddy-body { animation: none; transform: translateY(-3px); transition: transform .35s; }
.bw-buddy.hold .bw-buddy-nose { animation: none; opacity: 1; transition: opacity .2s .45s; }
.bw-buddy.hold .bw-buddy-toot { opacity: 1; }
.bw-buddy.hold .bw-buddy-toot path { animation: bw-buddy-toot 1.1s ease-out .7s infinite; }
.bw-buddy.hold .bw-buddy-toot path:nth-child(2) { animation-delay: .85s; }
.bw-buddy.hold .bw-buddy-toot path:nth-child(3) { animation-delay: 1s; }
.bigu-badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); flex: none; }
.bigu-thinking { display: inline-flex; align-items: center; gap: 8px; }
/* The button is the whole character; on hover it raises its trunk and "Ask Bigu" curves under it */
.bigu-fab {
  position: fixed; right: 18px; bottom: 14px; z-index: 70; display: block; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 10px 16px rgba(72, 0, 120, .35)); transition: transform .25s var(--ease);
}
.bigu-fab:hover { transform: translateY(-4px) scale(1.06); }
.bigu-fab:hover .bw-buddy-ear { animation-duration: 1.6s; }
.bigu-fab:focus-visible { outline: 3px solid var(--brand-tint); outline-offset: 4px; border-radius: 50%; }
.bigu-fab-tip {
  position: absolute; right: 78px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: #fff; color: #480078; font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
.bigu-fab:focus-visible:not(.asking) .bigu-fab-tip { opacity: 1; transform: translateY(-50%); }
/* "I am Bigu!" while it trumpets: small letters curved like a U under Bigu (an SVG textPath on a half circle round its chin) */
.bigu-fab-say {
  position: absolute; left: calc(50% - 50px); top: calc(50% - 57px); width: 100px; height: 100px; max-width: none; overflow: visible; pointer-events: none;
  opacity: 0; transform: scale(.7); transform-origin: 50% 50%;
}
.bigu-fab-say text {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; fill: #4338CA;
  stroke: #fff; stroke-width: 3px; stroke-linejoin: round; paint-order: stroke;
}
.bigu-fab.shouting .bigu-fab-say { animation: bigu-say 2.5s cubic-bezier(.34, 1.56, .64, 1) both; }
.bigu-fab.asking .bigu-fab-say { animation: bigu-ask .45s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes bigu-ask { 0% { opacity: 0; transform: scale(.7) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
.bigu-fab.shouting .bigu-fab-tip { opacity: 0; }
@keyframes bigu-say {
  0% { opacity: 0; transform: scale(.7) rotate(-12deg); }
  16% { opacity: 1; transform: scale(1.06) rotate(0); }
  24%, 84% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(1.1) rotate(0); }
}
.has-bigu #toasts { bottom: 96px; }
.bigu {
  position: fixed; right: 20px; bottom: 96px; z-index: 75; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: var(--card); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow), 0 2px 8px rgba(11, 18, 32, .1); border: 1px solid var(--line); animation: modalIn .25s var(--ease);
}
.bigu[hidden] { display: none; }
.bigu-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line-2); }
.bigu-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bigu-head b { color: var(--ink); font-size: 15px; }
.bigu-head small { color: var(--muted); font-size: 12px; }
.bigu-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.bigu-msg { max-width: 92%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: var(--text); animation: rise .25s var(--ease); }
.bigu-msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line-2); border-top-left-radius: 4px; }
.bigu-msg.me { align-self: flex-end; background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.bigu-msg p { margin: 0 0 6px; }
.bigu-msg p:last-child { margin-bottom: 0; }
.bigu-msg ul, .bigu-msg ol { margin: 4px 0 8px; padding-left: 20px; }
.bigu-msg li { margin: 2px 0; }
.bigu-msg b { color: var(--ink); }
.bigu-msg.me b { color: #fff; }
.bigu-msg-title { display: block; margin-bottom: 4px; }
.bigu-acts { margin-top: 8px; }
.bigu-chips-label { display: block; margin: 10px 0 4px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bigu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bigu-chip { border: 1px solid var(--brand-tint); background: var(--brand-soft); color: var(--brand-ink); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
.bigu-chip:hover { background: #fff; border-color: var(--brand); }
.bigu-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.bigu-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); animation: pulse 1s infinite; }
.bigu-typing i:nth-child(2) { animation-delay: .15s; }
.bigu-typing i:nth-child(3) { animation-delay: .3s; }
.bigu-ask { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-2); background: var(--card); }
.bigu-ask input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; color: var(--ink); }
.bigu-ask input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.bigu-ask .btn { height: 38px; }
@media (max-width: 640px) {
  .bigu-fab { right: 10px; bottom: 8px; }
  .bigu-fab .bw-buddy { width: 60px; height: 60px; }
  .bigu-fab-say { left: calc(50% - 42px); top: calc(50% - 51px); width: 84px; height: 84px; }
  .bigu { right: 8px; left: 8px; bottom: 80px; width: auto; height: calc(100vh - 150px); }
  .has-bigu #toasts { bottom: 84px; }
}

/* Bigu on the night sky: a soft light glow keeps the indigo elephant easy to spot */
.bigu-fab .bw-buddy { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .55)) drop-shadow(0 6px 14px rgba(10, 15, 44, .45)); }

/* Hero labels follow the address: Booking domain → Setting up https → Website live, then the person's own note */
.chip { transition: opacity .35s var(--ease); }
.chip .chip-txt b { display: block; font-weight: 700; }
.chip .chip-txt, .chip .chip-ic { transition: opacity .2s ease, transform .25s var(--ease), background .3s, color .3s; }
.chip.swap .chip-txt { opacity: 0; transform: translateY(5px); }
.chip.hide { opacity: 0; }
.chip.hide > * { transform: scale(.85); }
.chip-a.busy .chip-ic { background: var(--gold-soft); color: var(--gold-2); }
.chip-a.busy .chip-ic svg { animation: chip-spin .9s linear infinite; }
@keyframes chip-spin { to { transform: rotate(360deg); } }
.chip .chip-ic.ic-ok { background: #DCFCE7; color: var(--ok); }
.chip .chip-ic.ic-brand { background: var(--brand-soft); color: var(--brand); }
.chip .chip-ic.ic-gold { background: var(--gold-soft); color: var(--gold-2); }
