/* Skimra — skimra.app
   Palette: Nordic night + aurora shimmer.
   Type: Schibsted Grotesk (display/body), Newsreader italic (dictionary voice),
         Spline Sans Mono (spec labels). */

:root {
  --night: #0a1024;
  --dusk: #121a31;
  --hairline: #232d4a;
  --ice: #eaf0f9;
  --haze: #93a0bc;
  --gold: #f3e3a5;
  --mint: #a8e6c7;
  --sky: #9cc8f6;
  --aurora: linear-gradient(110deg, var(--gold), var(--mint) 45%, var(--sky));
  --max: 1080px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--ice);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

/* ---------- nav ---------- */

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
}
.wordmark {
  font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em;
  color: var(--ice);
}
.wordmark:hover { text-decoration: none; }
nav .links { display: flex; align-items: center; gap: 28px; }
nav .links a { color: var(--haze); font-size: 0.95rem; }
nav .links a:hover { color: var(--ice); text-decoration: none; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ice); color: var(--night);
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(156, 200, 246, 0.25);
}
.btn.quiet {
  background: transparent; color: var(--ice);
  border: 1px solid var(--hairline);
}
.btn.quiet:hover { border-color: var(--haze); box-shadow: none; }
.btn .glyph { font-size: 1.15em; line-height: 1; }

/* ---------- hero: the dictionary entry ---------- */

.hero { padding: 72px 0 40px; text-align: center; }

.dict {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  color: var(--haze);
  font-size: 1.05rem;
}
.dict .term {
  font-family: "Schibsted Grotesk", sans-serif;
  font-style: normal; font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  letter-spacing: -0.035em;
  display: block;
  line-height: 1.05;
  margin-bottom: 14px;
  /* the shimmer */
  background: linear-gradient(
    110deg,
    var(--ice) 0%, var(--ice) 38%,
    var(--gold) 46%, var(--mint) 52%, var(--sky) 58%,
    var(--ice) 66%, var(--ice) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 20% { background-position: 100% 0; }
  60%, 100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dict .term { animation: none; background-position: 55% 0; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.hero h1 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  margin: 34px auto 16px; max-width: 620px;
}
.hero .sub {
  color: var(--haze); max-width: 560px; margin: 0 auto 36px;
}
.hero .cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero .fineprint {
  margin-top: 18px; color: var(--haze); font-size: 0.85rem;
}

/* ---------- product shot ---------- */

.shot { padding: 48px 0 24px; }
.shot-frame {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dusk);
}
.shot-frame::before {
  /* faint aurora bloom behind the artwork */
  content: "";
  position: absolute; inset: -40%;
  background:
    radial-gradient(40% 35% at 30% 20%, rgba(243, 227, 165, 0.07), transparent),
    radial-gradient(45% 40% at 70% 80%, rgba(156, 200, 246, 0.08), transparent);
  pointer-events: none;
}
.shot-frame img, .shot-frame video {
  display: block; width: 100%; height: auto; position: relative;
}
.shot-caption {
  text-align: center; color: var(--haze); font-size: 0.85rem; margin-top: 14px;
  font-family: "Spline Sans Mono", ui-monospace, monospace;
}

/* ---------- sections ---------- */

section { padding: 72px 0; }
.eyebrow {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub { color: var(--haze); max-width: 560px; }

/* steps — a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step {
  border-top: 1px solid var(--hairline); padding-top: 20px;
}
.step .n {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  color: var(--haze); font-size: 0.85rem;
}
.step h3 { font-size: 1.15rem; margin: 8px 0 6px; letter-spacing: -0.01em; }
.step p { color: var(--haze); font-size: 0.95rem; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card {
  background: var(--dusk);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { color: var(--haze); font-size: 0.93rem; margin-bottom: 14px; }
.card .spec {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  font-size: 0.75rem; color: var(--sky); letter-spacing: 0.03em;
}

/* video */
.video-slot video, .video-slot img { width: 100%; display: block; }

/* ---------- pricing ---------- */

.pricing-card {
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 6px);
  background: var(--dusk);
  padding: 48px 40px;
  max-width: 620px; margin: 44px auto 0;
  text-align: center;
}
.pricing-card .big {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px;
}
.pricing-card .amt {
  display: block;
  font-size: clamp(2.6rem, 7vw, 3.2rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 2px;
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pricing-card .price { color: var(--ice); font-size: 1.05rem; margin-bottom: 18px; }
.pricing-card p { color: var(--haze); margin-bottom: 12px; }
.pricing-card .btn { margin-top: 18px; }
.tick-list {
  list-style: none; margin: 22px 0 6px; text-align: left;
  display: inline-block;
}
.tick-list li {
  padding-left: 28px; position: relative; color: var(--ice);
  margin-bottom: 8px; font-size: 0.97rem;
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--mint);
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px; margin-top: 40px;
  color: var(--haze); font-size: 0.9rem;
}
footer .row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
}
footer .echo {
  font-family: "Newsreader", Georgia, serif; font-style: italic;
}
footer nav.foot { padding: 0; display: flex; gap: 22px; }
footer a { color: var(--haze); }
footer a:hover { color: var(--ice); }

/* ---------- legal / prose pages ---------- */

.prose { max-width: 720px; margin: 0 auto; padding: 40px 0 80px; }
.prose h1 { font-size: 2.1rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.prose .updated {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
  color: var(--haze); font-size: 0.8rem; margin-bottom: 36px; display: block;
}
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--haze); margin-bottom: 12px; }
.prose strong { color: var(--ice); font-weight: 600; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .steps, .features { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 48px 0 24px; }
  nav .links { gap: 18px; }
}
