/* oran. site v1 (preview). Visual system (oran-visual): wordmark A, Inter 300 display, one warm light #F2A65A; one warm light = amber. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2-variations"), url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night-950: #071014;
  --night-900: #0a1519;
  --night-850: #0d1b21;
  --night-800: #112229;
  --line: #22383f;
  --line-soft: rgba(233, 239, 236, 0.14);
  --text: #e9efec;
  --mute: #a3b4b0;
  --faint: #7d918c;
  --amber: #f2a65a;
  --amber-ink: #17130a;
  --cream: #eee8dd;
  --radius: 18px;
  --wrap: 1140px;
  --gutter: 16px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- WORDMARK A ("lampa", oran-visual brand/wordmark, cream variant for the dark site) ------
     Artwork: /brand/wordmark.svg, viewBox 439.8 x 103.2 -> ratio 4.2616. Markup: <a class="wordmark wordmark--img"
     aria-label="oran. home">. Change the artwork here only. */
  --wordmark-text: "oran";
  --wordmark-image: url("/brand/wordmark.svg");
  --wordmark-ratio: 4.2616;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night-900);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(242, 166, 90, 0.7); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.dot { color: var(--amber); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- wordmark component ---- */
.wordmark {
  display: inline-flex; align-items: baseline; text-decoration: none; color: var(--cream);
  font-weight: 300; font-size: 2rem; line-height: 1; letter-spacing: -0.03em;
}
.wordmark::before { content: var(--wordmark-text); }
.wordmark::after { content: "."; color: var(--amber); }
.wordmark--img { width: calc(1em * var(--wordmark-ratio)); height: 1em; flex: none; background: var(--wordmark-image) left center / contain no-repeat; }
.wordmark--img::before, .wordmark--img::after { content: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(233, 239, 236, 0.3); background: transparent; color: var(--text);
  font: 500 0.98rem/1 var(--font); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.btn:hover { border-color: var(--amber); }
.btn--primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: #f3c46d; border-color: #f3c46d; }
.btn[hidden] { display: none; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 0.9rem; vertical-align: middle; }
.btn .arrow { font-weight: 400; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 21, 25, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 10px 10px; font-size: 0.98rem; color: var(--mute); text-decoration: none; border-radius: 999px; }
.top nav a:hover { color: var(--text); }
@media (max-width: 520px) { .top nav a.opt { display: none; } }

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; padding: 28px 0 56px; overflow: hidden; }
.hero::before { /* the one warm light, low on the horizon */
  content: ""; position: absolute; left: 50%; bottom: -320px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 166, 90, 0.10), rgba(242, 166, 90, 0) 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 20% 0%, #13303a 0%, rgba(19, 48, 58, 0) 60%), var(--night-900);
}
.hero__in { position: relative; display: grid; gap: 32px; align-items: center; }
.eyebrow { color: var(--mute); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.eyebrow b { color: var(--text); font-weight: 600; }
h1 { font-size: clamp(2.6rem, 9.6vw, 4.6rem); }
.lede { color: var(--mute); font-size: 1.125rem; max-width: 34em; margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
}

/* ---- player (YouTube facade) ---- */
.player { position: relative; margin: 0; }
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night-800); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-soft); }
.player__frame img, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 16, 20, 0) 45%, rgba(7, 16, 20, 0.75) 100%); pointer-events: none; }
.player.is-playing .player__frame::after { display: none; }
.player__play {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--cream); text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit;
}
.player__btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--amber-ink); box-shadow: 0 0 0 10px rgba(242, 166, 90, 0.16), 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform .2s; }
.player__play:hover .player__btn { transform: scale(1.05); }
@media (max-width: 520px) {
  .player__play { padding-bottom: 44px; }
  .player__btn { width: 56px; height: 56px; box-shadow: 0 0 0 7px rgba(242, 166, 90, 0.16), 0 8px 24px rgba(0, 0, 0, 0.45); }
  .player__btn svg { width: 20px; height: 20px; }
  .player__label { left: 14px; bottom: 10px; font-size: 0.95rem; }
}
.player__label { position: absolute; left: 18px; right: 18px; bottom: 14px; text-align: left; font-weight: 600; font-size: 1rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.player__label small { display: block; font-weight: 400; color: rgba(238, 232, 221, 0.78); font-size: 0.875rem; margin-top: 2px; }
.player figcaption { color: var(--faint); font-size: 0.85rem; margin-top: 12px; }
.player figcaption a { color: var(--mute); }

/* ---- sections ---- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
h2 { font-size: clamp(2.1rem, 6vw, 3.3rem); }
.section-head p { color: var(--mute); max-width: 34em; margin-top: 10px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mute); font: 500 0.9rem/1 var(--font); cursor: pointer; }
.motion-toggle:hover { color: var(--text); border-color: rgba(233, 239, 236, 0.3); }
.motion-toggle svg { width: 14px; height: 14px; }

/* ---- lanes ---- */
.lanes { border-top: 1px solid var(--line-soft); }
.lanes__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .lanes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.lane { position: relative; display: flex; flex-direction: column; background: var(--night-850); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.lane__media { position: relative; aspect-ratio: 4 / 3; background: var(--night-800); overflow: hidden; }
.lane__media video, .lane__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lane__media video { opacity: 0; transition: opacity .9s ease; }
.lane__media video.is-on { opacity: 1; }
.lane__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 33, 0) 50%, rgba(13, 27, 33, 0.65) 80%, var(--night-850) 100%); }
.lane--focus video, .lane--focus img { object-position: 62% 50%; }
.lane--sleep video, .lane--sleep img { object-position: 70% 50%; }
.lane--dream video, .lane--dream img { object-position: 50% 60%; }
.lane__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 0 22px 24px; margin-top: -34px; }
.lane__title { font-size: clamp(3rem, 12vw, 4rem); color: var(--cream); text-shadow: 0 2px 24px rgba(7, 16, 20, 0.6); }
@media (min-width: 900px) { .lane__title { font-size: 3.6rem; } }
.lane__world { color: var(--mute); font-size: 0.9rem; letter-spacing: 0.04em; margin-top: -4px; }
.lane__desc { color: var(--text); }
.lane__meta { color: var(--faint); font-size: 0.9rem; }
.lane__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }

/* ---- letter ---- */
.letter { border-top: 1px solid var(--line-soft); background: radial-gradient(80% 120% at 100% 100%, rgba(242, 166, 90, 0.07), rgba(242, 166, 90, 0) 60%), var(--night-950); }
.letter__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .letter__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } }
.letter p.sub { color: var(--mute); margin-top: 14px; max-width: 30em; }
.signup label[for] { display: block; font-weight: 600; margin-bottom: 8px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup input[type=email] {
  flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid #3a555d; background: var(--night-850); color: var(--text); font: 400 1.05rem/1.2 var(--font);
}
.signup input[type=email]::placeholder { color: #6c827d; }
.signup input[type=email]:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-color: var(--amber); }
.signup input[aria-invalid=true] { border-color: #e08a8a; }
.signup .btn { min-height: 50px; flex: 0 0 auto; }
.signup__note { color: var(--faint); font-size: 0.9rem; margin-top: 14px; max-width: 36em; }
.signup__note a { color: var(--mute); }
.signup__status { min-height: 1.6em; margin-top: 12px; font-weight: 500; }
.signup__status.ok { color: #9fd8b8; }
.signup__status.err { color: #f0a3a3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- how it's made ---- */
.made { border-top: 1px solid var(--line-soft); }
.made__grid { display: grid; gap: 14px; margin-top: 8px; }
@media (min-width: 700px) { .made__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.made__grid article { padding: 22px; border-radius: var(--radius); background: var(--night-850); border: 1px solid var(--line-soft); }
.made__grid h3 { font-size: 1.45rem; margin-bottom: 10px; color: var(--cream); }
.made__grid p { color: var(--mute); }
.faq { margin-top: 14px; border-radius: var(--radius); border: 1px solid var(--line-soft); padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style-position: outside; }
.faq p { color: var(--mute); padding: 0 0 18px; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line-soft); padding: 40px 0 48px; background: var(--night-950); }
.foot__in { display: grid; gap: 16px; }
.foot p { color: var(--faint); font-size: 0.95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a, .foot nav button { color: var(--mute); font: 400 0.95rem/1 var(--font); background: none; border: 0; padding: 10px 0; cursor: pointer; text-decoration: none; }
.foot nav a:hover, .foot nav button:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); }
@media (min-width: 900px) { .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; } }

/* ---- legal pages ---- */
.legal { padding: 40px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--mute); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; }
.legal li + li { margin-top: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; margin: 16px 0 0; }
.legal dt { color: var(--faint); font-size: 0.9rem; margin-top: 10px; }
.legal dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 200px minmax(0, 1fr); } .legal dt { margin-top: 0; } }
.legal .updated { color: var(--faint); font-size: 0.9rem; }
.todo { background: rgba(242, 166, 90, 0.16); color: var(--amber); border: 1px dashed rgba(242, 166, 90, 0.6); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.preview-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(242, 166, 90, 0.5); color: var(--mute); font-size: 0.95rem; }

/* ---- consent banner ---- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 12px 12px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__in { pointer-events: auto; max-width: 860px; margin: 0 auto; background: var(--night-800); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 0.92rem; line-height: 1.5; max-height: calc(100vh - 24px); overflow: auto; }
.consent__in p { color: var(--mute); }
.consent__in p b { color: var(--text); font-weight: 600; }
.consent__opts { display: grid; gap: 8px; margin-top: 12px; }
.consent__opts[hidden] { display: none; }
.consent__opts label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--mute); }
.consent__opts input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--amber); }
.consent__opts b { color: var(--text); font-weight: 600; display: block; }
.consent__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.consent__btns button { min-height: 44px; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(233, 239, 236, 0.3); background: transparent; color: var(--text); font: 500 0.92rem/1 var(--font); cursor: pointer; }
.consent__btns button:hover { border-color: var(--amber); }
.consent__btns button[hidden] { display: none; }
@media (max-width: 560px) { .consent { padding: 0 8px 8px; } .consent__btns { grid-template-columns: 1fr 1fr; } .consent__btns [data-c=settings], .consent__btns [data-c=save] { grid-column: 1 / -1; order: 3; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
