/* The Creator Society theme for the webinar registration template.
   Loaded after the template's own <style>, so it only restyles colours, fonts
   and shapes. Markup, copy, form, webhook and UTM capture are untouched.
   Palette: #FFFEFC light beige, #FFF8F1 beige, #B59B91 light brown,
   #4C2E23 dark brown, #1B100C brown black, #FADADD light pink,
   #E2A8A5 accent pink, #D25E69 main pink. */

:root {
  --bg:          #FFF8F1;
  --bg-2:        #F6ECE2;
  --white:       #FFFEFC;
  --off:         #FFF8F1;
  --dark:        #1B100C;
  --dark-2:      #4C2E23;
  --brown:       #4C2E23;
  --brown-light: #B59B91;
  --text:        #1B100C;
  --muted:       #6E5A52;
  --gray:        #B59B91;
  --border:      #E8DCD3;
  --accent-rgb:  210, 94, 105;
  --accent:      #D25E69;
  --accent-soft: #FADADD;
  --radius:      6px;
  --serif:       'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:        'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
}

body { font-family: var(--sans); background: var(--dark); }

/* Headings: Figtree. "Finally" is italic at the same weight; the main
   highlight ("Landing Deals with Tech Brands") is main pink at full size. */
h1, .sec-title, .about-name, .modal-title, .who-label, .learn-item h3, .cd-num {
  font-family: var(--serif);
}
h1 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--dark);
  max-width: none;
}
h1 em { font-style: italic; font-weight: inherit; font-size: 1em; color: inherit; }
h1 strong { font-style: normal; font-weight: 600; font-size: 1em; color: var(--accent); }
/* Hand-set line breaks: 3 lines on desktop, 4 on mobile */
h1 .br-m { display: none; }
@media (max-width: 759px) {
  h1 { font-size: clamp(24px, 6.5vw, 30px); }
}
.hero-sub { font-family: var(--sans); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.sec-title { font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: var(--dark); }
.sec-sub { color: var(--muted); }

/* Hero: beige, placeholder in light brown tones */
.hero, .hero-photo, .photo-card { background: var(--off); }
.photo-card::after { background: linear-gradient(180deg, rgba(255,248,241,0) 0%, rgba(255,248,241,.32) 30%, rgba(255,248,241,.82) 65%, var(--off) 100%); }
.img-placeholder { border-color: var(--border); color: var(--brown-light); font-family: var(--sans); }

/* Date line: small caps label with hairline border instead of a pink pill */
.date-module {
  background: transparent;
  border: 1px solid var(--brown-light);
  border-radius: 2px;
  padding: 5px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brown);
}
.date-module svg, .event-date svg { color: var(--brown); }

/* Event card + countdown */
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.event-date { color: var(--dark); font-weight: 700; }
.cd-num {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--brown);
  font-weight: 500;
}
.cd-label { color: var(--brown-light); letter-spacing: 0.12em; }

/* Buttons: dark brown, squarer, no glow */
.btn-main {
  background: var(--brown);
  color: var(--white);
  border-radius: 4px;
  box-shadow: none;
  font-family: var(--sans);
  letter-spacing: 0.04em;
}
.btn-main:hover { background: var(--dark); transform: none; box-shadow: none; }
.btn-title { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.btn-sub { font-size: 12px; letter-spacing: 0.02em; text-transform: none; opacity: 0.8; }

/* Stat strip */
.stat-strip { color: var(--muted); font-size: 12px; }
.stat-strip strong { color: var(--brown); }
.stat-strip .dot { background: var(--brown-light); }

/* What you'll learn */
.learn-sec { background: var(--white); }
.learn-item {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 12px;
  padding: 16px 18px;
}
.learn-content { flex: 1; min-width: 0; }
.learn-num {
  background: transparent;
  border: 1px solid var(--brown);
  border-radius: 2px;
  color: var(--brown);
  font-family: var(--serif);
  font-weight: 500;
}
.learn-title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--brown); line-height: 1.25; margin-bottom: 6px; }
.learn-copy { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* About host: light section, photo stacked above the bio */
.about-sec { background: var(--off); }
.about-card {
  grid-template-columns: 1fr !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: none;
}
.about-photo-wrap { background: var(--off); min-height: 0 !important; aspect-ratio: 4 / 3; }
.about-name { font-weight: 600; color: var(--dark); letter-spacing: -0.02em; }
.about-body p { color: var(--muted); }

/* Proof: screenshots stacked vertically instead of a sideways marquee */
.proof-sec { background: var(--white); }
.proof-marquee { overflow: visible; cursor: auto; mask-image: none; -webkit-mask-image: none; }
.proof-track { flex-direction: column; width: auto; animation: none; }
.proof-group { flex-direction: column; gap: 20px; padding-right: 0; width: 100%; }
.proof-group[aria-hidden="true"] { display: none; }
.review-shot {
  height: auto;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.review-shot img { width: 100%; height: auto; border-radius: 0; }

/* Who it's for */
.who-sec { background: var(--off); }
.who-row.yes .who-check { background: var(--accent-soft); }
.who-row.no .who-check { background: #F1E7E0; }
.who-row p { color: var(--dark); }
.who-label { font-weight: 600; font-size: 19px; color: var(--brown); }
.who-divider { border-top-color: var(--border); }

/* Footer + sticky bar */
footer { background: var(--dark); border-top: none; }
footer p { color: var(--brown-light); }
.sticky-cta { background: #ffffff; border-top: 1px solid var(--border); }

/* Registration modal */
.modal-overlay { background: rgba(27,16,12,0.7); }
.modal-box { background: var(--white); border-radius: var(--radius); box-shadow: none; }
.modal-close { border-radius: 2px; color: var(--brown); background: #F3EAE3; }
.modal-date-badge {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--dark);
}
.modal-title { font-weight: 600; color: var(--dark); letter-spacing: -0.02em; }
.modal-sub, .modal-date-badge span { color: var(--muted); }
.modal-fields input {
  border-radius: 4px;
  border: 1px solid #D9CCC4;
  background: #FFFEFC;
  color: var(--dark);
  font-family: var(--sans);
}
.modal-fields input::placeholder { color: #A8968E; }
.modal-fields input:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(76,46,35,0.12); }
.modal-privacy { color: #A8968E; }

/* Seat-reserved timer in the modal title */
.reserve-timer { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Phone country selector (intl-tel-input) */
.modal-fields .iti { width: 100%; display: block; }
.modal-fields .iti input[type="tel"] { width: 100%; }
.iti__selected-country { border-radius: 4px 0 0 4px; }
.iti__selected-dial-code { color: var(--dark); font-family: var(--sans); }
.iti__dropdown-content { z-index: 300; border-radius: 4px; border-color: var(--border); font-family: var(--sans); color: var(--dark); }
.iti--fullscreen-popup.iti--container { z-index: 300; }
.iti__country.iti__highlight { background: #F3EAE3; }
.field-error { margin: -4px 0 0; font-size: 13px; color: #B3261E; text-align: left; }
.field-error[hidden] { display: none; }

/* Hero actions: button, then social proof, then countdown beneath */
.hero-actions { display: flex; flex-direction: column; align-items: center; }
.hero-actions .btn-main { order: 1; }
.hero-actions .trust-pill { order: 2; flex-wrap: nowrap; margin-top: 16px; }
.hero-actions .event-card { order: 3; align-self: center; margin: 18px auto 0; max-width: 420px; width: 100%; }

.cd-label-top {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* Mobile: heading wider and larger, trust pill on one line */
@media (max-width: 759px) {
  .hero-inner { padding: 16px 14px 0; row-gap: 14px; }
  h1 { margin-bottom: 13px; }
  .event-card { padding: 10px 16px 12px; }
  .cd-num { padding: 8px 4px; }
  .cd-label-top { margin-bottom: 7px; }
  .trust-pill { flex-wrap: nowrap; }
  .avatar { width: 20px; height: 20px; }
  .trust-text { font-size: 11px; }
}

/* About host: "Hey, I'm Sofia" heading above the photo, bold lead line beneath it */
.about-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--dark);
  text-align: left;
  margin-bottom: 20px;
}
.about-photo-large { object-position: 45% 30%; }
.about-lead {
  font-family: var(--serif);
  font-size: clamp(19px, 4.4vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--dark);
  margin-bottom: 16px;
}
.about-lead .hl-main { color: var(--accent); }
.about-body p { font-size: 15.5px; line-height: 1.65; }
.hl-mark {
  background: var(--accent-soft);
  color: var(--dark);
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
