:root {
  --bg: #121211;
  --bg-panel: #161615;
  --fg: #E8E4DA;
  --fg-strong: #ffffff;
  --muted: #a8a49b;
  --muted-2: #7d7a72;
  --muted-3: #9a968c;
  --muted-4: #6b6a64;
  --border: #2a2a27;
  --border-strong: #4a4944;
  --font-display: "Archivo", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--fg-strong); }
::selection { background: var(--fg); color: var(--bg); }

@keyframes vftFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(18, 18, 17, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .22em;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 16px 34px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.btn-solid {
  background: var(--fg);
  color: var(--bg);
}
.btn-solid:hover { background: var(--fg-strong); color: var(--bg); }

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: transparent;
}
.btn-outline:hover { border-color: var(--fg); color: var(--fg); }

/* Hero */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 6vw, 80px);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 17, .55) 0%, rgba(18, 18, 17, .15) 40%, rgba(18, 18, 17, .94) 100%);
}

.hero-content {
  position: relative;
  max-width: 1100px;
  animation: vftFade .7s ease both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin: 0 0 18px;
}

.eyebrow--muted { color: var(--muted-2); margin: 0 0 14px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 10.5vw, 132px);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 52ch;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  margin: 28px 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */

.section {
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.section--panel { background: var(--bg-panel); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.section-title--narrow { max-width: 16ch; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head .section-title { margin: 0; }

.text-link {
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 6px;
}

/* Controls */

.controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.segmented {
  display: flex;
  border: 1px solid var(--border);
}

.segmented button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 10px 18px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.segmented button.is-active {
  background: var(--fg);
  color: var(--bg);
}

.save-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Plans grid */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.plan-card {
  background: var(--bg-panel);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-media {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(115deg, #1f1f1d 0 16px, #1b1b19 16px 32px);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.plan-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
}

.plan-per {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.plan-features li {
  display: flex;
  gap: 10px;
}

.plan-features li::before {
  content: "—";
  color: var(--fg);
}

/* Latest / Instagram */

.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

.latest-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.latest-card .instagram-media {
  margin: 0;
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 0;
}

.ig-fallback {
  display: block;
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted-2);
}

/* Checkout */

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  max-width: 1100px;
}

.checkout-plans {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.checkout-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-panel);
  border: 0;
  border-left: 3px solid transparent;
  color: var(--fg);
  padding: 26px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
}

.checkout-plan-row:hover { background: #1d1d1b; }

.checkout-plan-row.is-selected {
  background: #1d1d1b;
  border-left-color: var(--fg);
}

.checkout-plan-row .row-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.checkout-plan-row .row-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: -.01em;
}

.checkout-plan-row .row-per {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.checkout-plan-row .row-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
}

.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.summary-row--total {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.summary-row .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.summary-row .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}

.summary-row .value--big {
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -.02em;
}

.mc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mc-input {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
}

.mc-input:focus {
  outline: none;
  border-color: var(--fg);
}

.mc-visually-hidden {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-pay { width: 100%; }

.fine-print {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-4);
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 32px clamp(20px, 5vw, 64px) 48px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted-4);
  text-transform: uppercase;
}
