/*
 * Hari Tagalog - the website.
 * Hari charcoal with a Haribon amber sunset: a flat illustrated hero of Mayon over a lake that
 * drifts in layers as you scroll, wide bold type, and tall numbered cards. Built to stay light:
 * solid colors, no live blur, and motion only through transform and opacity.
 * Every page shares this file.
 */

:root {
  --navy: #141819;
  --navy-2: #191E1F;
  --indigo: #1F2526;
  --card: #2A3133;
  --card-2: #343C3E;
  --cream: #F1ECE2;
  --text: #F1ECE2;
  --text-2: rgba(241, 236, 226, 0.72);
  --text-3: rgba(241, 236, 226, 0.5);
  --line: rgba(241, 236, 226, 0.14);
  --orange: #E58B3A;
  --peach: #F4BA4F;
  --red: #B8572A;
  --fill: linear-gradient(100deg, #F4BA4F 0%, #E58B3A 55%, #C9632F 100%);
  --on-fill: #1B120A;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--navy); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

/* --------------------------------------------------------------- buttons */
.k-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: var(--fill);
  color: var(--on-fill);
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.k-btn:hover,
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.k-btn--line,
.btn--secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--cream);
}

.k-btn--line:hover,
.btn--secondary:hover { background: var(--cream); color: var(--navy); }

.k-btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; }

/* ---------------------------------------------------------------- header */
.k-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
  padding: 0 var(--gutter);
  transition: background-color 0.3s, height 0.3s;
}

.k-head.is-scrolled { background: var(--navy); height: 62px; box-shadow: 0 1px 0 var(--line); }

.k-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-size: 18px; font-weight: 800; font-stretch: 120%; letter-spacing: 0.02em; }
.k-brand img { width: 30px; height: 30px; border-radius: 8px; }

.k-nav { display: flex; gap: 4px; }
.k-nav a { padding: 8px 12px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.k-nav a:hover { color: var(--text); }

.k-menu { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; place-content: center; gap: 6px; }
.k-menu i { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.nav-open .k-menu i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .k-menu i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.k-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #141819;
}

.k-scene { position: absolute; inset: 0; }

/* each layer is a little larger than the hero, so its drift never shows an edge */
.k-layer {
  position: absolute;
  left: -5%;
  top: -6%;
  width: 110%;
  max-width: none;
  height: 112%;
  will-change: transform;
}

/* a soft shade behind the words, so the volcano never fights the title */
.k-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 24, 25, 0.82) 0%, rgba(20, 24, 25, 0.5) 32%, rgba(20, 24, 25, 0) 55%);
}

.k-hero-copy { z-index: 2; }

.k-hero-copy {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(560px, calc(100% - var(--gutter) * 2));
  translate: 0 -55%;
  will-change: transform;
}

.k-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 115%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peach);
}

.k-title {
  margin: 0;
  font-size: clamp(84px, 15vw, 220px);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--cream);
}

/* guides from the blog, linked from the homepage */
.k-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.k-guide { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--indigo); color: var(--text); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.k-guide b { font-size: 17px; font-weight: 800; font-stretch: 110%; line-height: 1.25; }
.k-guide span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.k-guide:hover { border-color: var(--peach); transform: translateY(-2px); }
.k-guide:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
@media (max-width: 900px) { .k-guides { grid-template-columns: minmax(0, 1fr); } }

/* the hero's heading: the small line and the big word are one h1, so it names the product */
.k-h1 { margin: 0; font: inherit; }
.k-h1 .k-kicker, .k-h1 .k-title { display: block; }
.k-title sup { font-size: 0.32em; font-weight: 700; vertical-align: 1.5em; color: var(--orange); }
.k-title--md { font-size: clamp(64px, 10vw, 150px); }

.k-lede { max-width: 470px; margin: 26px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

.k-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.k-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-2);
}

.k-scroll span { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.k-scroll span::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--peach); animation: k-drop 1.8s var(--ease) infinite; }
@keyframes k-drop { from { transform: translateY(-16px); } to { transform: translateY(46px); } }

/* the hero copy arrives in steps */
html.k-js .k-in { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.k-js .is-ready .k-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- sections */
.k-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--gutter) 0; }

/* Leaves growing in from the window edges beside some sections, like the extension's sign-in page.
   Drawn by Hari/tools/site_leaves.py; they sit behind the content and leave narrow screens alone. */
.k-leafy { position: relative; }
.k-leafy > :not(.k-side) { position: relative; z-index: 1; }

.k-side {
  position: absolute;
  top: clamp(40px, 6vw, 90px);
  z-index: 0;
  /* the empty margin beside the 1200px content, plus a little overlap, so they never sit under text */
  width: min(230px, calc((100vw - var(--wrap)) / 2 + var(--gutter) + 30px));
  aspect-ratio: 260 / 520;
  background: center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
  transform-origin: 0% 50%;
  animation: kSway 9s ease-in-out infinite;
}

.k-side--a { background-image: url("./assets/leaves-a.svg"); }
.k-side--b { background-image: url("./assets/leaves-b.svg"); animation-delay: -4s; }
.k-side--left { left: calc(50% - 50vw); }
/* the right side is the same art, mirrored in place (around its centre, so it stays at the edge) */
.k-side--right { right: calc(50% - 50vw); transform: scaleX(-1); transform-origin: 50% 50%; }

@keyframes kSway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: -2.5deg; }
}

@media (max-width: 1240px) {
  .k-side { display: none; }
}

.k-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  padding-left: 22px;
  border-left: 2px solid var(--orange);
}

.k-h {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.k-sec-note { max-width: 340px; margin: 0; font-size: 14px; color: var(--text-2); text-align: right; }
.k-sec-note a { color: var(--peach); }

/* reveal */
html.k-js [data-rv] { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--rv, 0s); }
html.k-js [data-rv].is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- carousel */
.k-carousel { position: relative; display: flex; align-items: center; gap: 18px; }
.k-track { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; }

.k-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border-radius: 6px;
  background: var(--card);
  text-align: center;
  transform: scale(0.92);
  opacity: 0.75;
  transition: transform 0.6s var(--ease), opacity 0.5s, background-color 0.5s, box-shadow 0.5s;
}

.k-card.is-on {
  transform: scale(1.02) translateY(-10px);
  opacity: 1;
  background: var(--card-2);
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.8);
}

.k-card-n { position: absolute; top: 16px; left: 18px; font-size: 13px; font-weight: 700; font-stretch: 115%; color: var(--text-2); }
.k-card-art { width: 100%; max-width: 230px; margin: 16px auto 4px; transition: transform 0.8s var(--ease); }
.k-card.is-on .k-card-art { transform: translateY(-6px) scale(1.04); }
.k-card h3 { margin: 6px 0 0; font-size: 22px; font-weight: 800; font-stretch: 118%; }
.k-card p { margin: 8px 0 20px; font-size: 14px; color: var(--text-2); }
.k-card .k-btn { align-self: center; margin-top: auto; }

.k-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: background-color 0.25s, box-shadow 0.25s;
}

.k-arrow:hover { background: var(--cream); }
.k-arrow:hover svg { stroke: var(--navy); }
.k-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--cream); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ Thea */
.k-thea-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 6px;
  background: var(--indigo);
}

.k-thea-art { position: relative; max-width: 360px; justify-self: center; width: 100%; }
.k-thea-rings { transform-origin: 160px 160px; animation: k-spin 30s linear infinite; }
.k-thea-rings circle { stroke-dasharray: 6 12; }
@keyframes k-spin { to { transform: rotate(360deg); } }

.k-thea-bars {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 5px;
  height: 46px;
  translate: -50% -50%;
}

.k-thea-bars i { width: 6px; height: 100%; border-radius: 6px; background: var(--navy); transform: scaleY(0.2); transition: transform 0.3s; }
.is-talking .k-thea-bars i { animation: k-bar 0.9s ease-in-out infinite; }
.k-thea-bars i:nth-child(2n) { animation-delay: -0.3s; }
.k-thea-bars i:nth-child(3n) { animation-delay: -0.6s; }
@keyframes k-bar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

.k-thea-card .k-h { display: flex; align-items: baseline; gap: 14px; }
.k-thea-time { font-size: 15px; font-weight: 600; font-stretch: 100%; color: var(--text-3); font-variant-numeric: tabular-nums; }

.k-caption { min-height: 112px; margin: 18px 0 18px; }

.g-caption-line { margin: 0; font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.4; }
.g-caption-line span { opacity: 0.35; transition: opacity 0.2s; }
.g-caption-line span.is-said { opacity: 1; }
.g-caption-line span.is-tl { color: var(--peach); }
.g-caption-tl { margin: 8px 0 0; min-height: 1.4em; font-size: 14px; color: var(--text-2); }
.g-caption-tl b { color: var(--peach); }

.k-topics { display: flex; flex-wrap: wrap; gap: 8px; }

.g-tile {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.g-tile.is-on { background: var(--orange); color: var(--navy); box-shadow: none; }

.k-thea-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; }

.k-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--fill);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.25s;
}

.k-play:hover { transform: scale(1.06); filter: brightness(1.08); }
.k-play svg { width: 24px; height: 24px; fill: var(--on-fill); }
.g-ico-pause,
.k-play.is-playing .g-ico-play { display: none; }
.k-play.is-playing .g-ico-pause { display: block; }
.g-thea-note { margin: 0; font-size: 13px; color: var(--text-3); }

/* ------------------------------------------------------------ day gallery */
.k-day-nav { display: flex; align-items: center; gap: 14px; }
.k-day-count { font-size: 14px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.k-day-count b { color: var(--text); }

.k-day-stage { position: relative; min-height: 380px; }

.k-scene-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  border-radius: 6px;
  overflow: hidden;
  background: var(--indigo);
  visibility: hidden;
}

.k-scene-card.is-on { position: relative; visibility: visible; }

/* the picture wipes in from the left, the words follow */
.k-scene-shot {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(160deg, #1F2526 0%, #6B3F22 70%, #E58B3A 120%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease);
}

.k-scene-card.is-on .k-scene-shot { clip-path: inset(0 0 0 0); }

.k-scene-copy {
  padding: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s 0.25s, transform 0.8s var(--ease) 0.25s;
}

.k-scene-card.is-on .k-scene-copy { opacity: 1; transform: none; }
.k-scene-time { margin: 0 0 14px; font-size: 12px; font-weight: 700; font-stretch: 115%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peach); }
.k-scene-time span { margin-left: 8px; color: var(--text-3); }
.k-scene-copy h3 { margin: 0; font-size: 26px; font-weight: 800; font-stretch: 115%; line-height: 1.15; }
.k-scene-copy p:last-child { margin: 14px 0 0; font-size: 15px; color: var(--text-2); }

.k-mock { width: 100%; max-width: 480px; border-radius: 6px; background: var(--cream); color: var(--navy); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.7); }
.k-mock-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid #E2DACB; font-size: 11px; color: #7A7368; }
.k-mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2DACB; }
.k-mock-bar i:first-child { background: var(--fill); }
.k-mock-bar i:nth-child(2) { background: var(--orange); }
.k-mock-bar span { margin-left: 10px; }
.k-mock-text { margin: 0; padding: 20px; font-size: 17px; line-height: 1.65; font-weight: 500; }

/* a swappable word: whichever language is showing sets the width */
.g-word { position: relative; display: inline-block; }
.g-word > span { display: inline-block; white-space: nowrap; transition: opacity 0.4s, transform 0.5s var(--ease); }
.g-word .g-tl,
.g-word.is-tl .g-en { position: absolute; left: 0; top: 0; }
.g-word.is-tl .g-tl { position: static; }
.g-word .g-tl { opacity: 0; transform: translateY(0.5em); color: var(--red); font-weight: 700; }
.g-word.is-tl .g-en { opacity: 0; transform: translateY(-0.5em); }
.g-word.is-tl .g-tl { opacity: 1; transform: none; }

.k-mock--video { padding: 10px; }
.k-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, #1F2526, #E58B3A 62%, #161A1B 63%); }
.k-video-sun { position: absolute; left: 50%; top: 46%; width: 22%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; background: #FFD9A6; }
.k-video-hill { position: absolute; left: -10%; bottom: 0; width: 70%; height: 44%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: #161A1B; }
.k-subs { position: relative; height: 64px; }
.k-subs p { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; text-align: center; font-size: 13px; color: #7A7368; opacity: 0; transition: opacity 0.5s; }
.k-subs p.is-on { opacity: 1; }
.k-subs b { font-size: 17px; color: var(--red); }

.k-mock--chat { display: grid; gap: 10px; padding: 18px; }
.k-bubble { justify-self: start; max-width: 85%; margin: 0; padding: 10px 14px; border-radius: 14px 14px 14px 4px; font-size: 14px; background: #E2DACB; }
.k-bubble b { display: block; color: var(--red); }
.k-bubble--me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--navy); color: var(--cream); }

/* --------------------------------------------------------------- creator */
.k-creator { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.k-portrait { margin: 0; padding: 10px; border-radius: 6px; background: var(--card); }
.k-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.k-portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 6px 4px; }
.k-portrait figcaption b { font-size: 17px; font-weight: 800; font-stretch: 112%; }
.k-portrait figcaption span { font-size: 13px; color: var(--text-2); }
/* one name, explained once: who calls him which */
.k-portrait figcaption { flex-wrap: wrap; row-gap: 4px; }
.k-portrait figcaption small { flex-basis: 100%; font-size: 12px; color: var(--text-3); }
.k-creator-copy .k-h { margin-bottom: 22px; }
.k-creator-copy p:not(.k-kicker):not(.k-sign) { margin: 0 0 16px; font-size: 16px; color: var(--text-2); }
.k-sign { margin: 22px 0 0; font-size: 22px; font-weight: 800; font-stretch: 112%; }
.k-sign span { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); }

/* ----------------------------------------------------------------- plans */
/* partners: a logo on a cream disc, the founding partner lit like the featured plan */
.k-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; }
.k-partner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px; border-radius: 6px; background: var(--indigo); }
.k-partner--lit { background: var(--card); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.8); }
.k-partner--lit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: var(--orange); }
.k-partner-badge { align-self: flex-end; margin-bottom: -18px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peach); }
.k-partner picture { display: block; width: 92px; height: 92px; margin-bottom: 12px; padding: 6px; border-radius: 50%; background: var(--cream); }
.k-partner img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.k-partner h3 { margin: 0; font-size: 22px; font-weight: 800; font-stretch: 115%; }
.k-partner p { margin: 0; font-size: 14px; color: var(--text-2); }
.k-partners-note { margin: 22px 0 0; font-size: 14px; color: var(--text-3); }

.k-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.k-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 26px 26px;
  border-radius: 6px;
  background: var(--indigo);
}

.k-plan--lit { background: var(--card); box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.8); }
.k-plan--lit::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: var(--orange); }
.k-plan h3 { margin: 0; font-size: 20px; font-weight: 800; font-stretch: 115%; }
.k-price { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 0; font-size: 48px; font-weight: 900; font-stretch: 120%; line-height: 1; letter-spacing: -0.02em; }
/* "?" next to Unlimited: what unlimited means (fair use), on hover or focus */
.k-tip { position: relative; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px;
  border: 1px solid var(--text-3); border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 1; color: var(--text-2);
  vertical-align: 1px; cursor: help; }
.k-tip-text { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: 240px; padding: 10px 12px;
  border-radius: 8px; background: var(--cream); color: var(--navy); font-size: 12px; font-weight: 500; line-height: 1.45;
  text-align: left; text-transform: none; letter-spacing: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.k-tip:hover .k-tip-text, .k-tip:focus .k-tip-text { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.k-tip:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }

/* the yearly option, under Premium's monthly price */
/* Premium's old price, crossed out before the new one */
/* right of the amount: the old price on top, "per month" under it, so nothing overlaps at any width */
.k-price .k-price-side { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: 4px; padding: 2px 0 4px; }
/* the old price stays readable: lighter type with a thin diagonal slash instead of a line through the digits */
.k-price .k-price-was { position: relative; align-self: flex-start; font-size: 17px; font-weight: 700; line-height: 1;
  letter-spacing: 0.01em; white-space: nowrap; text-decoration: none; color: var(--text-2); opacity: 0.85; }
.k-price .k-price-was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 2px;
  background: var(--peach); transform: rotate(-14deg); }
.k-price-num { font-weight: inherit; }
/* "per month" stays on the baseline, with or without the crossed-out price above it */
.k-price .k-price-side > span:last-child { margin-top: auto; }
.k-price-alt { margin: 8px 0 0; font-size: 13px; color: var(--text-2); }
/* the founding-member offer (hari.js removes it, and the crossed-out price, once it ends) */
.k-founding { margin: 12px 0 0; padding: 9px 12px; border-radius: 6px; background: rgba(244, 186, 79, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 186, 79, 0.32); font-size: 13px; line-height: 1.45; color: var(--text-2); }
.k-founding b { color: var(--peach); }
.k-price-alt b { color: var(--peach); font-weight: 700; }
.k-price span { font-size: 13px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--text-2); }
.k-plan ul { display: grid; gap: 10px; margin: 22px 0 26px; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14px; }
.k-plan li { display: flex; gap: 12px; align-items: flex-start; }
.k-plan li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.k-plan .k-btn { margin-top: auto; width: 100%; }

.k-compare { margin-top: 20px; padding: 24px; border-radius: 6px; background: var(--indigo); }
.k-compare-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.k-compare-head h3 { margin: 0; font-size: 20px; font-weight: 800; font-stretch: 115%; }
.g-tabs { display: inline-flex; gap: 4px; }
.g-tabs button { padding: 8px 14px; border: 0; border-radius: 4px; background: transparent; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 0.25s, color 0.25s; }
.g-tabs button[aria-selected="true"] { background: var(--cream); color: var(--navy); box-shadow: none; }

.g-table-wrap { overflow-x: auto; }
.g-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.g-table th,
.g-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.g-table tbody th,
.g-table thead th:first-child { text-align: left; }
.g-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.g-table .is-lit { background: rgba(229, 139, 58, 0.08); }
.g-table thead .is-lit { color: var(--peach); }
/* Pay As You Go: a soft clay, the deep end of the site's amber fill, set apart from Premium's amber */
.g-table .is-hot { background: rgba(201, 99, 47, 0.17); }
.g-table thead .is-hot { color: #E8916B; }
.g-table .is-hot .g-yes { color: #E8916B; }
.g-table .is-hot .k-btn--line { border-color: rgba(232, 145, 107, 0.75); color: var(--cream); }
.g-table .is-hot .k-btn--line:hover { background: #C9632F; border-color: #C9632F; color: var(--cream); }
.g-group th { padding-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.g-feat { display: block; font-weight: 600; }
.g-feat-desc { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.g-val { font-weight: 700; }
.g-val small { display: block; font-size: 11.5px; font-weight: 400; color: var(--text-3); }
.g-yes { width: 20px; height: 20px; margin: 0 auto; color: var(--peach); }
.g-no { display: block; width: 12px; height: 2px; margin: 0 auto; background: var(--text-3); }
.g-buy th { font-size: 13px; color: var(--text-2); font-weight: 500; }
.g-buy td,
.g-buy th { border-bottom: 0; padding-top: 18px; }
.g-table tr.is-hidden { display: none; }
.k-fine { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }

/* ------------------------------------------------------------------- faq */
.k-faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-question > span:not(.faq-n) { flex: 1; }
.faq-n { font-size: 13px; font-weight: 700; color: var(--orange); }
.faq-chevron { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform 0.4s var(--ease), background-color 0.25s, color 0.25s; }
.faq-item.is-open .faq-chevron { transform: rotate(45deg); background: var(--fill); color: var(--on-fill); box-shadow: none; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-answer > * { overflow: hidden; min-height: 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* the bottom padding only exists while open, so a closed answer folds to nothing */
.faq-answer p { margin: 0; padding: 0 4px 0 38px; color: var(--text-2); transition: padding 0.45s var(--ease); }
.faq-item.is-open .faq-answer p { padding-bottom: 20px; }

/* ----------------------------------------------------------------- final */
.k-final { position: relative; margin-top: clamp(100px, 12vw, 160px); padding: clamp(60px, 8vw, 100px) var(--gutter) calc(clamp(160px, 22vw, 320px) + clamp(48px, 6vw, 96px)); text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--navy) 0%, #1F2526 60%, #6B3F22 100%); }
.k-final-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(160px, 22vw, 320px); }
.k-final-copy { position: relative; display: grid; justify-items: center; }
.k-final .k-lede { margin-left: auto; margin-right: auto; }
.k-final .k-actions { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 70px var(--gutter) 36px; background: #0F1213; }
.footer-content { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-section h3 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand h3 { margin: 0; font-size: 18px; font-weight: 800; font-stretch: 120%; letter-spacing: 0.02em; text-transform: none; color: var(--text); }
.footer-logo-img { width: 32px; height: 32px; border-radius: 8px; }
.footer-section p { margin: 0 0 10px; max-width: 290px; font-size: 14px; color: var(--text-2); }
.footer-section a { display: block; margin-bottom: 9px; font-size: 14px; color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.footer-section a:hover { color: var(--peach); }
.footer-bottom { max-width: var(--wrap); margin: 44px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.footer-bottom p { margin: 0; }

.sticky-mobile-cta { display: none; }

/* ============================================ inner pages: shared header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); background: var(--navy); box-shadow: 0 1px 0 var(--line); }
.nav-container { position: relative; max-width: var(--wrap); height: 64px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.logo-icon { display: block; background: none !important; box-shadow: none !important; }
.logo-icon img { width: 30px; height: 30px; border-radius: 8px; }
.logo-text { font-size: 18px; font-weight: 800; font-stretch: 120%; color: var(--text); }
.logo-tag { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links li:has(.btn--nav-cta),
.nav-links li:has(.discord-link) { display: none; }
.discord-link { display: grid; place-items: center; width: 38px; height: 38px; color: var(--text-2); transition: color 0.2s; }
.discord-link:hover { color: var(--text); }
.btn--nav-cta { min-height: 38px; padding: 0 16px; font-size: 11px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; place-items: center; }
.menu-toggle .icon-close { display: none; }
.site-header.nav-open .menu-toggle .icon-menu { display: none; }
.site-header.nav-open .menu-toggle .icon-close { display: block; }

/* ============================================================ inner pages */
.blog-index-page,
.blog-post-page,
.legal-page {
  position: relative;
  padding: 120px var(--gutter) 90px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300 L0 200 L260 110 L420 180 L640 80 L800 200 L960 90 L1160 180 L1340 100 L1600 210 L1600 300 Z' fill='%23191E1F'/%3E%3C/svg%3E") bottom / 100% 300px no-repeat,
    linear-gradient(180deg, #191E1F 0%, var(--navy) 420px);
}

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 13px; color: var(--text-3); }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--peach); }

.blog-index-container { max-width: var(--wrap); margin: 0 auto; }
.blog-index-header { max-width: 820px; margin-bottom: 40px; padding-left: 22px; border-left: 2px solid var(--orange); }
.blog-index-eyebrow,
.founder-eyebrow { font-size: 12px; font-weight: 600; font-stretch: 115%; letter-spacing: 0.18em; text-transform: uppercase; color: var(--peach); }
.blog-index-title { margin: 12px 0 0; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; font-stretch: 115%; line-height: 1.06; }
.blog-index-subtitle { margin: 16px 0 0; max-width: 600px; font-size: 17px; color: var(--text-2); }

/* Latest post: a sunset card with Mayon glowing on the right, like the homepage hero. */
.blog-featured {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: start; gap: 26px;
  min-height: 360px;
  padding: clamp(28px, 3.6vw, 48px) 44% clamp(28px, 3.6vw, 48px) clamp(26px, 3.6vw, 48px);
  border-radius: 10px; text-decoration: none;
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(229, 139, 58, 0.34) 0%, rgba(201, 99, 47, 0.12) 38%, rgba(201, 99, 47, 0) 62%),
    linear-gradient(135deg, #262D2F 0%, #1B2022 70%);
  box-shadow: inset 0 0 0 1px rgba(244, 186, 79, 0.16), 0 34px 70px -36px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.blog-featured::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--fill); }
.blog-featured::after {
  content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 52%; height: 100%;
  background: url("assets/blog-featured-mayon.svg") right bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  transform-origin: 70% 100%; transition: transform 0.8s var(--ease);
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(244, 186, 79, 0.42), 0 40px 80px -36px rgba(229, 139, 58, 0.45); }
.blog-featured:hover::after { transform: scale(1.05); }
.blog-featured-leaves,
.blog-post-cta-leaves { display: none; }
.blog-featured-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(244, 186, 79, 0.1); box-shadow: inset 0 0 0 1px rgba(244, 186, 79, 0.28);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peach);
}
.blog-featured-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--peach);
  box-shadow: 0 0 0 4px rgba(244, 186, 79, 0.18); animation: blog-new-pulse 2.4s var(--ease) infinite;
}
@keyframes blog-new-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
.blog-featured-title { margin: 16px 0 0; max-width: 660px; font-size: clamp(26px, 3.3vw, 42px); font-weight: 800; font-stretch: 112%; line-height: 1.08; color: var(--text); text-wrap: balance; }
.blog-featured-excerpt { margin: 16px 0 0; max-width: 560px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.blog-featured-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.blog-featured-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 4px; background: var(--fill); color: var(--on-fill); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(229, 139, 58, 0.7); }
.blog-featured-cta span { transition: transform 0.4s var(--ease); }
.blog-featured:hover .blog-featured-cta span { transform: translateX(4px); }

.blog-index-divider { display: flex; align-items: center; gap: 14px; margin: 44px 0 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.blog-index-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.blog-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.blog-card { position: relative; display: flex; flex-direction: column; padding: 22px 20px 18px; border-radius: 6px; background: var(--indigo); transition: transform 0.4s var(--ease), background-color 0.3s; }
.blog-card:hover { transform: translateY(-4px); background: var(--card); }
.blog-card-category { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.blog-card-category--culture,
.blog-card-category--heritage { color: #F4BA4F; }
.blog-card-category--science { color: #B8B2A8; }
.blog-card-title { margin: 10px 0 0; font-size: 18px; font-weight: 700; font-stretch: 108%; line-height: 1.3; }
.blog-card-title a { text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card-excerpt { margin: 10px 0 18px; font-size: 14.5px; color: var(--text-2); }
.blog-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.blog-card-link { position: relative; z-index: 1; color: var(--peach); font-weight: 700; text-decoration: none; }

.blog-post-container { max-width: 760px; margin: 0 auto; }
.blog-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--text-3); }
.blog-post-meta a { color: var(--text-2); }
.blog-post-category { padding: 5px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--orange); color: var(--navy); }
.blog-post-title { margin: 18px 0 0; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; font-stretch: 112%; line-height: 1.08; }
.blog-post-excerpt { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--text-2); }
.blog-post-header { padding-bottom: 30px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }

.blog-post-body { font-size: 18px; line-height: 1.75; color: rgba(241, 236, 226, 0.88); }
.blog-post-body p { margin: 0; }
.blog-post-body p + p { margin-top: 1.1em; }
.blog-post-body ul,
.blog-post-body ol { margin: 1.1em 0; padding-left: 1.3em; }
.blog-post-body li { margin: 0.5em 0; }
.blog-post-body li::marker { color: var(--orange); }
.blog-post-body h2 { margin: 2em 0 0.6em; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; font-stretch: 110%; line-height: 1.2; color: var(--text); }
.blog-post-body h3 { margin: 1.6em 0 0.5em; font-size: 20px; font-weight: 700; color: var(--text); }
.blog-post-body strong { color: var(--text); }
.blog-post-body em { color: #F3E3CB; }
.blog-post-body a { color: var(--peach); text-underline-offset: 3px; }
.blog-post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange); font-size: 20px; color: var(--text); }

.blog-key-takeaways { margin: 0 0 36px; padding: 20px 22px; border-radius: 6px; background: var(--indigo); }
.blog-key-takeaways-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.blog-key-takeaways ul { margin: 0; padding-left: 1.2em; color: var(--text-2); }

.blog-table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 6px; background: var(--indigo); }
.blog-table,
.disclosure-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.blog-table th,
.blog-table td,
.disclosure-table th,
.disclosure-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.blog-table th,
.disclosure-table th { color: var(--text); font-weight: 700; background: rgba(241, 236, 226, 0.05); }

.blog-post-footer { margin-top: 52px; }
.blog-post-cta { padding: 30px 26px; border-radius: 6px; text-align: center; background: var(--card); }
.blog-post-cta p { margin: 0 0 18px; font-size: 21px; font-weight: 800; font-stretch: 110%; }

.blog-post-related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.blog-post-related-heading { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.blog-post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.blog-related-card { display: block; padding: 18px; border-radius: 6px; text-decoration: none; background: var(--indigo); transition: background-color 0.3s; }
.blog-related-card:hover { background: var(--card); }
.blog-related-card-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.blog-related-card-title { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); }
.blog-related-card-excerpt { margin-top: 6px; font-size: 14px; color: var(--text-2); }

.blog-post-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.blog-back-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--cream); transition: background-color 0.25s, color 0.25s; }
.blog-back-link:hover { background: var(--cream); color: var(--navy); }

.founder-inner { margin: 36px 0; }
.founder-layout { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.founder-avatar { padding: 8px; border-radius: 6px; background: var(--card); }
.founder-avatar img { width: 100%; height: auto; border-radius: 4px; }
.founder-meta { margin-top: 12px; display: grid; }
.founder-name { font-weight: 800; font-size: 17px; }
.founder-title { font-size: 13px; color: var(--text-2); }
.founder-section-title { margin: 10px 0 16px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; font-stretch: 110%; line-height: 1.15; }
.founder-text-content p { color: var(--text-2); }
.founder-signature-wrap { margin-top: 18px; }
.founder-sign-off { display: block; font-size: 13px; color: var(--text-3); }
.founder-signature { font-size: 22px; font-weight: 800; }

.legal-container { max-width: 820px; margin: 0 auto; color: var(--text-2); }
.legal-container h1 { margin: 0; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; font-stretch: 112%; line-height: 1.08; color: var(--text); }
.legal-container h2 { margin: 1.8em 0 0.6em; font-size: 22px; font-weight: 800; color: var(--text); }
.legal-container h3 { margin: 1.5em 0 0.4em; font-size: 18px; font-weight: 700; color: var(--text); }
.legal-container a { color: var(--peach); }
.legal-container li::marker { color: var(--orange); }
.last-updated { color: var(--text-3); font-size: 14px; }
.legal-toc,
.privacy-summary,
.limited-use,
.note { margin: 24px 0; padding: 20px 22px; border-radius: 6px; background: var(--indigo); }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--peach); }

.blog-post-body .faq-list { margin-top: 1.2em; border-top: 1px solid var(--line); }
.blog-post-body .faq-answer p { padding-left: 4px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .k-nav,
  .k-head .k-btn--sm { display: none; }
  .k-menu { display: grid; }
  .nav-open { background: var(--navy); }
  .nav-open .k-nav { position: fixed; top: 62px; left: 0; right: 0; display: grid; padding: 10px var(--gutter) 18px; background: var(--navy); box-shadow: 0 1px 0 var(--line); }
  .nav-open .k-nav a { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .footer-content { grid-template-columns: 1fr 1fr 1fr; }
  .footer-content .footer-section:first-child { grid-column: 1 / -1; }
  .blog-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .menu-toggle { display: grid; }
  .nav-cta-desktop,
  .discord-link--desktop { display: none; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; background: var(--navy); box-shadow: 0 1px 0 var(--line); display: none; }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links li:has(.btn--nav-cta),
  .nav-links li:has(.discord-link) { display: block; }
  .nav-links .discord-link { width: auto; height: auto; place-items: start; padding: 14px 0; }
  .nav-links .btn--nav-cta { margin-top: 10px; min-height: 48px; display: flex; }
}

@media (max-width: 860px) {
  .k-thea-wrap,
  .k-creator { grid-template-columns: minmax(0, 1fr); }
  .k-partners { grid-template-columns: minmax(0, 1fr); }
  .k-thea-art { max-width: 240px; }
  .k-portrait { max-width: 360px; }
  .k-plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
  .k-scene-card { grid-template-columns: minmax(0, 1fr); }
  .k-scene-copy { border-left: 0; border-top: 1px solid var(--line); }
  .k-sec-head { flex-direction: column; align-items: flex-start; }
  .k-sec-note { text-align: left; }
}

/* phones: the cards become a swipeable row */
@media (max-width: 700px) {
  .k-hero { min-height: 640px; }
  .k-hero-copy { top: auto; bottom: 130px; translate: none; }
  .k-title { font-size: 25vw; }
  .k-lede { font-size: 15.5px; }
  .k-scroll { display: none; }
  .k-carousel .k-arrow { display: none; }
  .k-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 14px 4px 20px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .k-track::-webkit-scrollbar { display: none; }
  .k-card { flex: 0 0 78%; scroll-snap-align: center; transform: none; opacity: 1; }
  .k-card.is-on { transform: none; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 26px; }
  .blog-index-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-featured { min-height: 0; padding: 26px 22px 200px; }
  .blog-featured::after { width: 100%; height: 230px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%); }
  .founder-layout { grid-template-columns: minmax(0, 1fr); }
  .founder-avatar-wrap { max-width: 200px; }
  .k-compare-head { flex-direction: column; align-items: flex-start; }
  .g-tabs { max-width: 100%; overflow-x: auto; }
  .site-footer { padding-bottom: 100px; }

  .sticky-mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: block; transform: translateY(130%); transition: transform 0.4s var(--ease); }
  .sticky-mobile-cta.is-visible { transform: none; }
  .sticky-mobile-btn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 4px; background: var(--fill); color: var(--on-fill); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.k-js [data-rv],
  html.k-js .k-in { opacity: 1 !important; transform: none !important; }
  .k-layer { transform: none !important; }
}

/* --------------------------------------------------------------- small phones */
@media (max-width: 640px) {
  .disclosure-table { display: block; overflow-x: auto; font-size: 14px; }
  .disclosure-table th,
  .disclosure-table td { min-width: 150px; }
}

@media (max-width: 420px) {
  .k-btn,
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding: 12px 20px; max-width: 100%; }
}
