/* Glow – glowbooking.no. Same palette as the app: warm evening dark, honey gold, cream. */
:root {
  --kveld: #161109;      /* page background */
  --kveld-2: #211a10;    /* raised surfaces */
  --kveld-3: #2c2317;    /* bubbles, borders */
  --honning: #f7b54a;
  --rav: #dd7d18;
  --lys: #ffe7b0;
  --krem: #fbf6ec;
  --blekk: #18150f;
  --mute-d: #b3a58a;     /* muted text on dark (7:1) */
  --mute-l: #6e6555;     /* muted text on cream (5.3:1) */
  --line-d: rgba(251, 246, 236, 0.12);
  --line-l: rgba(24, 21, 15, 0.12);
  --gold: linear-gradient(135deg, var(--lys) 0%, var(--honning) 48%, var(--rav) 100%);
  --round: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kveld);
  color: var(--krem);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--round); font-weight: 800; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0; }
.h-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--mute-d); max-width: 34em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(72px, 10vw, 128px) 0; }

:focus-visible { outline: 3px solid var(--honning); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--krem); color: var(--blekk); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--gold); color: var(--blekk);
  font: 700 1rem/1 var(--round); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px -12px rgba(247, 181, 74, 0.7);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(247, 181, 74, 0.85); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--krem); box-shadow: inset 0 0 0 1.5px var(--line-d); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--honning); }
.btn-dark { background: var(--blekk); color: var(--krem); box-shadow: none; }
.btn-dark:hover { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }
.link { color: var(--honning); font-weight: 600; text-underline-offset: 4px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(22, 17, 9, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.45rem/1 var(--round); letter-spacing: -0.02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--mute-d); font-weight: 500; }
.nav a:hover { color: var(--krem); }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy h1 { max-width: 11em; }
.hero-copy .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.soon { margin-top: 18px; color: var(--mute-d); font-size: 0.95rem; }

.stage { position: relative; display: grid; place-items: center; min-height: 640px; padding-bottom: 44px; }
.halo { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 181, 74, 0.32), rgba(247, 181, 74, 0)); pointer-events: none; }
.phone {
  position: relative; width: 300px; height: 612px; border-radius: 48px; padding: 14px;
  background: #0c0905; box-shadow: 0 0 0 2px #3a2e1e, 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.notch { position: absolute; top: 14px; left: 50%; width: 96px; height: 26px; margin-left: -48px; border-radius: 0 0 16px 16px; background: #0c0905; z-index: 3; }
.screen { position: absolute; inset: 14px; border-radius: 36px; padding: 52px 16px 16px; transition: opacity 0.5s ease, transform 0.5s ease; }
.screen-dm { background: #1d1710; }
.screen-glow { background: var(--krem); color: var(--blekk); opacity: 0; transform: translateX(30px); }
.phone.is-glow .screen-dm { opacity: 0; transform: translateX(-30px); }
.phone.is-glow .screen-glow { opacity: 1; transform: none; }
.scr-title { font: 800 1.35rem/1 var(--round); margin-bottom: 18px; }
.dm { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.dm .av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--kveld-3); color: var(--lys); font: 700 0.95rem/1 var(--round); }
.dm b { display: block; font-size: 0.78rem; color: var(--mute-d); font-weight: 600; margin-bottom: 4px; }
.dm p { background: var(--kveld-3); padding: 10px 14px; border-radius: 4px 18px 18px 18px; font-size: 0.9rem; line-height: 1.35; }
.dm-seen p { background: transparent; box-shadow: inset 0 0 0 1px var(--kveld-3); color: var(--mute-d); font-style: italic; }
.scr-head { display: flex; align-items: center; gap: 8px; font: 800 1.15rem/1.2 var(--round); margin-bottom: 16px; }
.slot { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 10px; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px -10px rgba(24, 21, 15, 0.4); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.slot img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.slot div { flex: 1; min-width: 0; }
.slot b { font: 700 0.95rem/1.2 var(--round); }
.slot p { font-size: 0.8rem; color: var(--mute-l); }
.slot .time { padding: 8px 12px; border-radius: 999px; background: #f3ead8; font: 700 0.9rem/1 var(--round); transition: background 0.3s ease; }
.slot.is-picked { box-shadow: 0 0 0 2px var(--honning), 0 10px 24px -12px rgba(221, 125, 24, 0.6); transform: scale(1.02); }
.slot.is-picked .time { background: var(--gold); }
.toast { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px; background: var(--blekk); color: var(--krem); font-weight: 600; font-size: 0.92rem; }
.tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--blekk); font-weight: 800; }
/* Steps of the sequence start hidden only when JS runs the animation */
.js-anim [data-step] { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.js-anim [data-step].is-on { opacity: 1; transform: none; }
.replay { position: absolute; bottom: 0; background: none; border: 0; color: var(--mute-d); font: 600 0.95rem/1 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px; }
.replay:hover { color: var(--krem); }

/* Categories */
.cats { padding-top: 32px; }
.cat-row { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-row li { position: relative; }
.cat-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; }
.cat-row span { display: block; margin-top: 12px; font: 700 1.1rem/1 var(--round); }

/* Steps (a real sequence, so numbered) */
.step-list { list-style: none; counter-reset: s; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-list li { counter-increment: s; border-top: 1px solid var(--line-d); padding-top: 24px; }
.step-list li::before { content: counter(s); display: block; font: 800 3.5rem/1 var(--round); color: var(--honning); margin-bottom: 18px; }
.step-list p { margin-top: 10px; color: var(--mute-d); max-width: 28em; }

/* More features */
.more { background: var(--kveld-2); }
.more-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.more-side { position: sticky; top: 110px; }
.more-side p { margin-top: 16px; color: var(--mute-d); max-width: 26em; }
.feat { margin: 0; }
.feat div { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-d); }
.feat div:first-child { padding-top: 0; }
.feat dt { font: 700 1.1rem/1.4 var(--round); }
.feat dd { margin: 0; color: var(--mute-d); }

/* Salons: light section, a deliberate switch of audience */
.salon { background: var(--krem); color: var(--blekk); }
.salon .lead { color: var(--mute-l); margin-top: 18px; }
.promises { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.promises li { color: var(--mute-l); }
.promises b { display: block; color: var(--blekk); font: 700 1.1rem/1.35 var(--round); margin-bottom: 4px; }
.beta { margin-top: 56px; padding: 24px 28px; border-radius: 24px; background: #fff1d2; border: 1px solid rgba(221, 125, 24, 0.28); }
.beta p { margin-top: 6px; color: var(--mute-l); max-width: 40em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; align-items: stretch; }
.founder { margin-top: 6px; font-size: 0.9rem; line-height: 1.45; color: var(--mute-l); }
.plan-pro .founder { color: var(--mute-d); }
.plan { display: flex; flex-direction: column; padding: 28px; border-radius: 28px; border: 1px solid var(--line-l); background: #fff; }
.plan-pro { background: var(--blekk); color: var(--krem); border-color: var(--blekk); }
.price { margin-top: 10px; color: var(--mute-l); }
.price span { font: 800 2.2rem/1.1 var(--round); color: var(--blekk); letter-spacing: -0.02em; margin-right: 4px; }
.plan-pro .price, .plan-pro li { color: var(--mute-d); }
.plan-pro .price span { color: var(--honning); }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; }
.plan li { padding: 9px 0 9px 26px; position: relative; color: var(--mute-l); border-top: 1px solid var(--line-l); }
.plan-pro li { border-color: var(--line-d); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--honning); }
.trial { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--rav); }
.plan-pro .trial { color: var(--honning); }
.salon-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.salon-cta p { color: var(--mute-l); }

/* Reviews */
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.review-list:empty { display: none; }
.review { margin: 0; padding: 28px; border-radius: 28px; background: var(--kveld-2); border: 1px solid var(--line-d); }
.review .stars { color: var(--honning); letter-spacing: 2px; }
.review blockquote { margin: 12px 0 0; font-size: 1.1rem; line-height: 1.5; }
.review figcaption { margin-top: 16px; color: var(--mute-d); font-size: 0.95rem; }
.review-empty { margin-top: 28px; padding: 36px; border-radius: 28px; border: 1.5px dashed var(--line-d); max-width: 640px; }
.review-empty p { color: var(--mute-d); margin-bottom: 14px; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
.faq-list details { border-bottom: 1px solid var(--line-d); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 700 1.15rem/1.4 var(--round); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem/1 var(--body); color: var(--honning); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--mute-d); max-width: 38em; }

/* Signup */
.signup { position: relative; overflow: hidden; text-align: center; }
.halo-low { left: 50%; top: 40%; transform: translate(-50%, -50%); width: 900px; height: 700px; }
.signup-in { position: relative; }
.signup .lead { margin: 18px auto 0; }
.form { max-width: 560px; margin: 40px auto 0; text-align: left; }
.hp { position: absolute; left: -9999px; }
.roles { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.roles legend { font-weight: 600; margin-bottom: 10px; }
.roles label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--kveld-2); box-shadow: inset 0 0 0 1px var(--line-d); cursor: pointer; }
.roles label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--honning); }
.roles input { accent-color: var(--honning); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field input { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line-d); background: var(--kveld-2); color: var(--krem); font: 400 1rem/1 var(--body); }
.field input:focus { outline: none; border-color: var(--honning); box-shadow: 0 0 0 3px rgba(247, 181, 74, 0.25); }
.field input[aria-invalid="true"] { border-color: #ff8a73; }
.row { display: flex; gap: 10px; }
.row input { flex: 1; }
.form-msg { min-height: 1.6em; font-weight: 600; }
.form-msg.ok { color: var(--honning); }
.form-msg.err { color: #ff9f8a; }
.fine { color: var(--mute-d); font-size: 0.9rem; }
.form.is-done .roles, .form.is-done .field, .form.is-done .fine { display: none; }
.form.is-done .form-msg { text-align: center; font-size: 1.2rem; }

/* Footer */
.foot { border-top: 1px solid var(--line-d); padding: 40px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.foot nav a { color: var(--mute-d); text-decoration: none; }
.foot nav a:hover { color: var(--krem); }
.small { flex-basis: 100%; color: var(--mute-d); font-size: 0.85rem; }

/* Legal pages */
.legal { padding-top: 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.4rem; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--mute-d); }
.legal p + p { margin-top: 12px; }
.legal .updated { margin-top: 12px; font-size: 0.95rem; }
.legal .nf { margin-top: 48px; }
.legal .btn { margin-top: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .stage { min-height: 660px; }
  .more-in, .faq-in { grid-template-columns: 1fr; gap: 32px; }
  .more-side { position: static; }
  .promises { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .cat-row { scrollbar-width: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -24px; padding-right: 24px; }
  .cat-row li { flex: 0 0 62%; scroll-snap-align: start; }
  .step-list { grid-template-columns: 1fr; gap: 28px; }
  .feat div { grid-template-columns: 1fr; gap: 4px; }
  .promises { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .halo { width: 440px; height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
