/* Oceanside livestream checkout. Rebuilt faithfully from the design handoff.
   Tokens and per-breakpoint values match the design (mobile 390, tablet 768, desktop 1180). */
:root {
  --ink: #1E1A15;
  --sand: #DECDB9;
  --cream: #F8F3EA;
  --taupe: #A89472;
  --blue: #1A6FD0;
  --blue-hover: #135AB0;
  --blue-active: #0F4C97;
  --body: #6B6053;
  --line: #ECE3D5;
  --muted: #8A7E6E;
  --canvas: #E7E2D9;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Montserrat, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--canvas);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
@keyframes ocspin { to { transform: rotate(360deg); } }
@keyframes ocmarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Page shell */
.page { max-width: 1180px; margin: 0 auto; background: #fff; overflow: hidden; }
.page.narrow { max-width: 440px; }
@media (min-width: 860px) {
  body { padding: 32px 16px; }
  .page { border-radius: 6px; box-shadow: 0 6px 28px rgba(40, 30, 18, .16); }
}

/* Header */
.hdr {
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
}
.hdr-simple { justify-content: flex-start; }
.hdr .logo { height: 30px; width: auto; display: block; }
.hdr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.hdr-phone { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.secure-cue { display: inline-flex; align-items: center; gap: 5px; color: #C9BBA3; font-size: 10.5px; font-weight: 600; }
.secure-cue .by-stripe { display: none; }
@media (min-width: 768px) {
  .hdr { padding: 16px 32px; }
  .hdr .logo { height: 34px; }
  .hdr-right { flex-direction: row; align-items: center; gap: 20px; }
  .hdr-phone { font-size: 15px; }
  .secure-cue { font-size: 12px; order: -1; }
}
@media (min-width: 1180px) {
  .hdr { padding: 18px 56px; }
  .hdr .logo { height: 38px; }
  .hdr-right { gap: 26px; }
  .hdr-phone { font-size: 17px; }
  .secure-cue { font-size: 13px; }
  .secure-cue .by-stripe { display: inline; }
}

/* Marquee */
.marquee { background: var(--sand); overflow: hidden; white-space: nowrap; padding: 8px 0; }
.marquee-track { display: inline-flex; animation: ocmarquee 24s linear infinite; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; color: #5C5142; }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: #A8967C; }
@media (min-width: 1180px) {
  .marquee { padding: 10px 0; }
  .marquee-item { font-size: 13px; letter-spacing: .18em; gap: 18px; padding: 0 18px; }
  .marquee-dot { width: 5px; height: 5px; }
}

/* Hero */
.hero {
  position: relative;
  padding: 36px 22px;
  overflow: hidden;
  min-height: 380px;
  background-color: var(--cream);
  background-image:
    linear-gradient(to bottom, rgba(248, 243, 234, .94) 0%, rgba(248, 243, 234, .85) 42%, rgba(248, 243, 234, .42) 100%),
    url(/assets/hero.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E3D8C6; border-radius: 999px; padding: 6px 13px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: 33px; line-height: 1.1; letter-spacing: -.005em; margin: 16px 0 0; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--blue); }
.hero-sub { font-size: 13.5px; line-height: 1.6; color: var(--body); margin: 14px 0 0; max-width: 34ch; }
@media (min-width: 768px) {
  .hero {
    padding: 56px 40px;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-image:
      linear-gradient(to right, rgba(248, 243, 234, .97) 0%, rgba(248, 243, 234, .88) 32%, rgba(248, 243, 234, .30) 56%, rgba(248, 243, 234, 0) 78%),
      url(/assets/hero.jpg);
    background-position: center right;
  }
  .hero-inner { max-width: 520px; }
  .hero h1 { font-size: 44px; line-height: 1.07; letter-spacing: -.01em; }
  .hero-sub { font-size: 15px; max-width: 42ch; margin-top: 16px; }
  .badge { font-size: 11px; padding: 7px 14px; }
}
@media (min-width: 1180px) {
  .hero { padding: 88px 56px; min-height: 560px; }
  .hero-inner { max-width: 600px; }
  .hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -.015em; margin-top: 20px; }
  .hero-sub { font-size: 17px; max-width: 46ch; margin-top: 20px; }
  .badge { font-size: 12px; padding: 8px 16px; }
}

/* Intro / ZO kit */
.intro { padding: 28px 22px 4px; text-align: center; }
.intro h2 { font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 0; line-height: 1.12; }
.intro p { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 10px auto 0; max-width: 33ch; }
@media (min-width: 768px) {
  .intro { padding: 40px 40px 6px; }
  .intro h2 { font-size: 34px; }
  .intro p { font-size: 13.5px; max-width: 54ch; margin-top: 12px; }
}
@media (min-width: 1180px) {
  .intro { padding: 56px 56px 8px; }
  .intro h2 { font-size: 44px; }
  .intro p { font-size: 15px; max-width: 60ch; margin-top: 14px; }
}

/* Packages */
.packages { padding: 16px 18px 8px; }
.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .packages { padding: 22px 32px 8px; } .pkg-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1180px) { .packages { padding: 28px 56px 8px; } .pkg-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 3px 14px rgba(40, 30, 18, .05); display: flex; flex-direction: column; height: 100%; }
.card.featured { border-color: #D8C7AE; box-shadow: 0 8px 26px rgba(40, 30, 18, .12); }
.ribbon { display: inline-block; align-self: flex-start; background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--taupe); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 7px; }
.card-title { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0; line-height: 1.1; }
.price-wrap { text-align: right; white-space: nowrap; }
.price { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--ink); }
.reg { display: block; font-size: 11px; font-style: italic; color: var(--taupe); text-decoration: line-through; margin-top: 1px; }
.gst-note { display: block; font-size: 10px; color: var(--taupe); font-style: italic; margin-top: 1px; }
.card-desc { font-size: 13px; line-height: 1.55; color: var(--body); margin: 10px 0 16px; flex: 1; }
.sublabel { font-size: 11px; color: #A0937F; margin: 9px 0 0; text-align: center; }

.btn-buy { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 15px; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .02em; cursor: pointer; box-shadow: 0 6px 16px rgba(26, 111, 208, .22); transition: background .15s, transform .12s, box-shadow .15s; }
.btn-buy:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 9px 22px rgba(26, 111, 208, .3); }
.btn-buy:active { background: var(--blue-active); transform: translateY(1px); box-shadow: 0 3px 9px rgba(26, 111, 208, .25); }
.btn-loading { width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px; background: #EBF1FA; color: var(--blue); border: 1px solid #CADCF2; border-radius: 8px; padding: 15px; font-size: 13.5px; font-weight: 700; }
.spinner { width: 16px; height: 16px; border: 2px solid #B4CEEE; border-top-color: var(--blue); border-radius: 50%; display: inline-block; animation: ocspin .7s linear infinite; }
.btn-error { font-size: 12px; color: #B23B3B; margin: 8px 0 0; text-align: center; }

.results-note { font-size: 11px; color: var(--taupe); font-style: italic; text-align: center; margin: 16px 0 0; }
.secure-line { font-size: 11.5px; color: var(--body); text-align: center; margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; line-height: 1.4; flex-wrap: wrap; }
@media (min-width: 1180px) { .secure-line { font-size: 12.5px; margin-top: 22px; } }

/* What happens next */
.next { background: var(--sand); margin-top: 20px; padding: 28px 22px; }
.next h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 16px; }
.next-grid { display: grid; gap: 13px; }
.next-item { display: flex; gap: 12px; align-items: flex-start; }
.next-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #F1E8DA; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.next-item p { font-size: 13px; line-height: 1.5; color: #4A4136; margin: 0; }
.next-item strong { color: var(--ink); }
.reviews { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.reviews .stars { display: flex; gap: 2px; color: var(--blue); }
.reviews .rev-text { font-size: 12px; color: #4A4136; font-weight: 600; }
@media (min-width: 768px) {
  .next { margin-top: 24px; padding: 36px 40px; }
  .next h2 { font-size: 26px; text-align: center; margin-bottom: 22px; }
  .next-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .next-item { flex-direction: column; text-align: center; align-items: center; }
  .next-ic { width: 42px; height: 42px; margin-bottom: 10px; }
  .reviews { justify-content: center; margin-top: 24px; }
}
@media (min-width: 1180px) {
  .next { margin-top: 32px; padding: 48px 56px; }
  .next h2 { font-size: 32px; margin-bottom: 28px; }
  .next-grid { gap: 32px; max-width: 920px; margin: 0 auto; }
  .next-ic { width: 48px; height: 48px; margin-bottom: 12px; }
  .next-item p { font-size: 14px; line-height: 1.55; }
}

/* Footer */
.ftr { background: var(--ink); color: #fff; padding: 26px 22px 24px; }
.ftr .logo { height: 28px; width: auto; display: block; margin-bottom: 14px; }
.ftr-addr { font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.ftr-addr a { color: #C9BBA3; text-decoration: none; font-weight: 700; }
.ftr-addr a.ftr-site { color: #fff; }
.ftr-legal { font-size: 10.5px; color: rgba(255, 255, 255, .42); margin-top: 16px; line-height: 1.5; }
.ftr-social { display: flex; gap: 10px; margin-top: 16px; }
.ftr-social a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .26); display: flex; align-items: center; justify-content: center; color: #fff; }
@media (min-width: 768px) {
  .ftr { padding: 30px 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .ftr-social { margin-top: 0; }
}
@media (min-width: 1180px) { .ftr { padding: 36px 56px; } .ftr .logo { height: 34px; } .ftr-addr { font-size: 13px; } }

/* Confirmation pages (success / cancelled) */
.confirm-hero { position: relative; background: var(--cream); padding: 38px 22px 34px; text-align: center; overflow: hidden; }
.confirm-deco { position: absolute; top: -40px; right: -50px; width: 170px; height: 170px; opacity: .5; }
.check { position: relative; z-index: 2; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(26, 111, 208, .3); }
.confirm-hero h1 { position: relative; z-index: 2; font-family: var(--serif); font-weight: 600; font-size: 29px; margin: 18px 0 0; }
.confirm-hero p { position: relative; z-index: 2; font-size: 13.5px; line-height: 1.6; color: var(--body); margin: 10px auto 0; max-width: 30ch; }
.confirm-body { padding: 22px; }
.summary { background: #FAF6EF; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.summary-top { display: flex; justify-content: space-between; align-items: baseline; }
.summary-label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.summary-ref { font-size: 11px; color: var(--taupe); }
.summary-pkg { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 8px 0 0; }
.summary-rows { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EFE7D9; display: grid; gap: 6px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--body); }
.summary-row.total { font-weight: 700; color: var(--ink); font-size: 15px; padding-top: 8px; border-top: 1px solid #EFE7D9; margin-top: 4px; }
.summary-incl { font-size: 11.5px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid #EFE7D9; }
.confirm-note { font-size: 13px; line-height: 1.6; color: #4A4136; margin: 18px 0 0; text-align: center; }
.confirm-actions { margin-top: 20px; display: grid; gap: 10px; }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; border: none; border-radius: 8px; padding: 14px; font-family: var(--sans); font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { display: flex; align-items: center; justify-content: center; background: #fff; color: var(--blue); text-decoration: none; border: 1px solid #CADCF2; border-radius: 8px; padding: 14px; font-size: 13.5px; font-weight: 700; }

.declined-body { padding: 40px 24px 28px; text-align: center; }
.warn { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #F6ECDD; border: 1px solid #E6D2B6; display: flex; align-items: center; justify-content: center; }
.declined-body h1 { font-family: var(--serif); font-weight: 600; font-size: 27px; margin: 20px 0 0; }
.declined-lead { font-size: 13.5px; line-height: 1.6; color: var(--body); margin: 12px auto 0; max-width: 32ch; }
.declined-help { font-size: 13px; color: var(--body); margin: 4px 0 0; }
.declined-help a { color: var(--blue); font-weight: 700; text-decoration: none; }
