/* Northloop Commerce — sample VSL page by Mara Media */
:root {
  --bg: #f4efe6;
  --bg-alt: #ece4d6;
  --card: #fffdf8;
  --ink: #14201c;
  --ink-soft: #3d4a45;
  --muted: #6a736f;
  --line: #ddd4c5;
  --accent: #c43c14;
  --accent-hover: #a33010;
  --accent-soft: #f8e4dc;
  --dark: #101916;
  --dark-2: #1a2b25;
  --cream: #f6f0e6;
  --gold: #c6a46a;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(16, 25, 22, 0.16);
  --font: "Outfit", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --header-h: 4.25rem;
  --sticky-h: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 767px) {
  body.has-sticky { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }
  .header-cta { display: none; }
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}
.wrap.narrow { width: min(760px, calc(100% - 2rem)); }

.sample-bar {
  background: var(--dark);
  color: #efe7d8;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.15rem;
  flex: none;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  flex: none;
}

.header-cta {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
}
.header-cta:hover { color: var(--accent-hover); }

.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(198, 164, 106, 0.14), transparent 60%),
    var(--dark);
  color: var(--cream);
  padding: 3.5rem 0 4.25rem;
}

.hero-inner { width: min(860px, calc(100% - 2rem)); }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.65rem);
  color: #fffaf2;
}

.subhead,
.lead {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.subhead { color: #d7d0c4; max-width: 38rem; }

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #0a1411;
  outline: none;
}
.player:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold); }

.poster { position: absolute; inset: 0; }

.poster-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 17, 0.1), rgba(10, 20, 17, 0.45));
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  height: 5rem;
  margin: -2.5rem 0 0 -2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fffaf2;
  color: var(--dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.play-btn svg { margin-left: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .play-btn { animation: pulse 2.4s ease-out infinite; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 250, 242, 0.45), 0 10px 30px rgba(0, 0, 0, 0.35); }
  70% { box-shadow: 0 0 0 18px rgba(255, 250, 242, 0), 0 10px 30px rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(255, 250, 242, 0), 0 10px 30px rgba(0, 0, 0, 0.35); }
}

.poster-caption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.poster-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(16, 25, 22, 0.7);
  border: 1px solid rgba(232, 196, 138, 0.4);
  color: #f3e6ce;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(600px 300px at 50% 20%, rgba(198, 164, 106, 0.16), transparent 70%),
    #12211c;
}

.player-empty-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.player-empty-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 0.6rem;
  color: #fffaf2;
}

.player-empty-copy {
  margin: 0 auto 1.1rem;
  max-width: 32rem;
  color: #d7d0c4;
}

.text-reset {
  background: none;
  border: 0;
  color: #f3e6ce;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.hero-cta { margin-top: 1.75rem; text-align: center; }

.hero-note {
  margin: 0.85rem 0 0;
  color: #b7b0a4;
  font-size: 0.9375rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fffaf2;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--bg-alt); }

.btn-block { width: 100%; }

.btn:focus-visible,
.header-cta:focus-visible,
.text-reset:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.section { padding: 4.25rem 0; }
.section-alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  color: var(--ink);
}

.section h3 {
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.split {
  display: grid;
  gap: 1.75rem;
  margin-top: 0.5rem;
}
@media (min-width: 700px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

.stack {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}
.stack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

.offer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .offer-grid { grid-template-columns: repeat(6, 1fr); }
  .offer-grid li:nth-child(1) { grid-column: 1 / 3; }
  .offer-grid li:nth-child(2) { grid-column: 3 / 5; }
  .offer-grid li:nth-child(3) { grid-column: 5 / 7; }
  .offer-grid li:nth-child(4) { grid-column: 2 / 4; }
  .offer-grid li:nth-child(5) { grid-column: 4 / 6; }
}

.offer-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
}

.offer-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.offer-grid p,
.steps p,
.review-slot figcaption,
.faq p {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 1.75rem 3.5rem;
  border-left: 1px solid var(--line);
  margin-left: 0.85rem;
}
.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.reviews {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

.review-slot {
  margin: 0;
  background: var(--card);
  border: 1px dashed #c9b89a;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.2rem;
  min-height: 10.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-slot blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.25;
}

.review-slot figcaption {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}
details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.65rem; }

.section-book {
  background:
    linear-gradient(180deg, var(--bg) 0%, #e9e0d0 100%);
}

.lead-form,
.thanks {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(16, 25, 22, 0.06);
}

.field { margin-bottom: 0.95rem; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #d5cbba;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field input::placeholder { color: #9aa29d; }

.form-error {
  margin: 0 0 0.85rem;
  color: #9a1f0c;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.thanks h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 0.6rem;
}
.thanks p { color: var(--ink-soft); margin: 0 0 1.15rem; }

.site-footer {
  background: var(--dark);
  color: #cfc6b8;
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}

.footer-tag {
  margin: 0 0 0.45rem;
  color: #fffaf2;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer p:last-child { margin: 0; max-width: 36rem; }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(16, 25, 22, 0.96);
  color: var(--cream);
  border-top: 1px solid rgba(198, 164, 106, 0.3);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.sticky-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sticky-cta p {
  margin: 0;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.25;
}

.sticky-cta .btn {
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  flex: none;
}

@media (min-width: 768px) {
  .sticky-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-btn { animation: none; }
  .btn { transition: none; }
}
