/* ============ TOKENS ============ */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 660px;
  --content-default: 980px;
  --content-wide: 1180px;

  --font-display: 'Chillax', 'Trebuchet MS', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
}

:root,
[data-theme='light'] {
  --color-bg: #fdf7ea;
  --color-surface: #fffdf7;
  --color-surface-2: #fbf3e2;
  --color-surface-offset: #f5ead4;
  --color-divider: #e8dcc2;
  --color-border: #ddcfb2;

  --color-text: #23342f;
  --color-text-muted: #5f7169;
  --color-text-faint: #97a49c;
  --color-text-inverse: #fdf7ea;

  --color-primary: #0e5c67;
  --color-primary-hover: #0a464f;
  --color-accent: #f7c53e;
  --color-sage: #a8cdb0;

  --shadow-sm: 0 1px 2px rgba(35, 52, 47, 0.07);
  --shadow-md: 0 6px 18px rgba(35, 52, 47, 0.09);
  --shadow-lg: 0 18px 44px rgba(35, 52, 47, 0.14);
}

[data-theme='dark'] {
  --color-bg: #12211f;
  --color-surface: #182b28;
  --color-surface-2: #1d3330;
  --color-surface-offset: #213935;
  --color-divider: #26403c;
  --color-border: #315049;

  --color-text: #e6ede8;
  --color-text-muted: #9fb3ab;
  --color-text-faint: #6f8580;
  --color-text-inverse: #12211f;

  --color-primary: #7fc9cf;
  --color-primary-hover: #a6dee2;
  --color-accent: #f7c53e;
  --color-sage: #a8cdb0;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #12211f;
    --color-surface: #182b28;
    --color-surface-2: #1d3330;
    --color-surface-offset: #213935;
    --color-divider: #26403c;
    --color-border: #315049;
    --color-text: #e6ede8;
    --color-text-muted: #9fb3ab;
    --color-text-faint: #6f8580;
    --color-text-inverse: #12211f;
    --color-primary: #7fc9cf;
    --color-primary-hover: #a6dee2;
  }
}

/* ============ BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

ul[role='list'] {
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.14;
  font-family: var(--font-display);
  font-weight: 600;
}

p,
li {
  text-wrap: pretty;
  max-width: 68ch;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

::selection {
  background: rgba(247, 197, 62, 0.4);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a,
button,
input,
textarea {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ============ LAYOUT ============ */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-head {
  margin-bottom: var(--space-10);
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand svg {
  color: var(--color-primary);
  flex: none;
}
.brand-name {
  white-space: nowrap;
}
@media (max-width: 560px) {
  .brand {
    font-size: var(--text-base);
  }
  .brand-word {
    display: none;
  }
  .site-header .bar {
    gap: var(--space-3);
  }
  .site-header .btn {
    white-space: nowrap;
    padding: var(--space-3) var(--space-4);
  }
  .nav {
    gap: var(--space-3);
  }
}
@media (max-width: 400px) {
  .site-header .btn {
    display: none;
  }
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--color-primary);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.icon-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 70vh;
  background: radial-gradient(circle at 50% 50%, rgba(168, 205, 176, 0.32), transparent 68%);
  pointer-events: none;
}
.hero .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero h1 {
  font-size: var(--text-2xl);
  letter-spacing: -0.02em;
}
.hero .lede {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero .meta {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.hero-art img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-divider);
  object-fit: cover;
  aspect-ratio: 9 / 16;
}
.hero-art img:nth-child(1) {
  transform: translateY(var(--space-6));
}
.hero-art img:nth-child(4) {
  transform: translateY(var(--space-6));
}
@media (max-width: 860px) {
  .hero .grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-art img:nth-child(1),
  .hero-art img:nth-child(4) {
    transform: none;
  }
}

/* ============ STRIP ============ */
.strip {
  border-block: 1px solid var(--color-divider);
  background: var(--color-surface-2);
  padding-block: var(--space-8);
}
.strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  list-style: none;
}
.strip .n {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 600;
}
.strip .l {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}
@media (max-width: 720px) {
  .strip ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ WORK ============ */
.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.reel {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.reel .frame {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-offset);
}
.reel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.reel h3 {
  font-size: var(--text-base);
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-weight: 600;
}
.reel p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}
.long {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.long .frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.long iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.long h3 {
  font-size: var(--text-lg);
}
.long p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
@media (max-width: 860px) {
  .reels {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .long {
    grid-template-columns: 1fr;
  }
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.card h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.card .num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-3);
}

/* ============ INCLUDED LIST ============ */
.included {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.checklist {
  list-style: none;
  display: grid;
  gap: var(--space-4);
}
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
  max-width: none;
}
.checklist svg {
  color: var(--color-primary);
  margin-top: 3px;
}
.checklist b {
  color: var(--color-text);
  font-weight: 600;
}
.checklist span {
  color: var(--color-text-muted);
}
@media (max-width: 860px) {
  .included {
    grid-template-columns: 1fr;
  }
}

/* ============ PRICING ============ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.tier {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}
.tier--feature {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tier__tag {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-6);
  background: var(--color-accent);
  color: #23342f;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.tier h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
}
.tier .price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}
.tier .price small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
}
.tier ul {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.tier ul li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: var(--space-2);
  max-width: none;
}
.tier ul svg {
  color: var(--color-sage);
  margin-top: 4px;
}
.tier .btn {
  margin-top: auto;
  justify-content: center;
}
.addons {
  margin-top: var(--space-8);
  background: var(--color-surface-2);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}
.addons h3 {
  grid-column: 1 / -1;
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
}
.addon .t {
  font-size: var(--text-sm);
  font-weight: 600;
}
.addon .d {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* ============ CTA ============ */
.cta {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-10);
  align-items: center;
}
[data-theme='dark'] .cta {
  color: #0d1c1a;
}
.cta h2 {
  font-size: var(--text-xl);
  color: inherit;
}
.cta p {
  margin-top: var(--space-4);
  opacity: 0.88;
  font-size: var(--text-sm);
}
.cta .btn--primary {
  background: var(--color-accent);
  color: #23342f;
}
.cta .btn--primary:hover {
  background: #ffd668;
}
.cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.cta .btn--ghost {
  border-color: rgba(253, 247, 234, 0.5);
  color: inherit;
}
[data-theme='dark'] .cta .btn--ghost {
  border-color: rgba(13, 28, 26, 0.4);
}
.cta .btn--ghost:hover {
  border-color: currentColor;
  color: inherit;
}
.cta img {
  width: 100%;
  max-width: 240px;
  margin-inline: auto;
  border-radius: var(--radius-full);
  border: 4px solid rgba(253, 247, 234, 0.35);
}
@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta img {
    display: none;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.site-footer .bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
