:root {
  color-scheme: light;
  --bg: #f6eee4;
  --bg-low: #fff7ef;
  --bg-high: #efe1d1;
  --panel: rgba(255, 250, 244, 0.88);
  --panel-strong: #fff9f2;
  --panel-soft: rgba(255, 255, 255, 0.58);
  --ink: #171411;
  --muted: #6f6257;
  --line: rgba(33, 24, 18, 0.12);
  --line-strong: rgba(33, 24, 18, 0.18);
  --accent: #ff5a36;
  --accent-deep: #cf3c1d;
  --accent-soft: #f6dfd5;
  --success: #166534;
  --error: #a61b1b;
  --shadow: 0 18px 48px rgba(77, 46, 29, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1418;
    --bg-low: #162028;
    --bg-high: #0b1015;
    --panel: rgba(17, 23, 30, 0.9);
    --panel-strong: #18212a;
    --panel-soft: rgba(24, 34, 43, 0.86);
    --ink: #eef5fb;
    --muted: #b8c3cc;
    --line: rgba(153, 176, 197, 0.16);
    --line-strong: rgba(153, 176, 197, 0.24);
    --accent: #ff8b5e;
    --accent-deep: #ffb391;
    --accent-soft: rgba(255, 139, 94, 0.14);
    --success: #9de0b6;
    --error: #ffbec9;
    --shadow: 0 28px 64px rgba(0, 0, 0, 0.36);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1418;
  --bg-low: #162028;
  --bg-high: #0b1015;
  --panel: rgba(17, 23, 30, 0.9);
  --panel-strong: #18212a;
  --panel-soft: rgba(24, 34, 43, 0.86);
  --ink: #eef5fb;
  --muted: #b8c3cc;
  --line: rgba(153, 176, 197, 0.16);
  --line-strong: rgba(153, 176, 197, 0.24);
  --accent: #ff8b5e;
  --accent-deep: #ffb391;
  --accent-soft: rgba(255, 139, 94, 0.14);
  --success: #9de0b6;
  --error: #ffbec9;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(255, 130, 82, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg-low) 0%, var(--bg) 52%, var(--bg-high) 100%);
}

a {
  color: inherit;
}

.landing-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hidden {
  display: none !important;
}

.menu-toggle,
.menu-link,
.landing-theme-toggle,
.menu-theme-label {
  font-family: "Montserrat", sans-serif;
}

.menu-toggle,
.menu-link,
.landing-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 140ms ease, color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.hero,
.offer-card,
.compact-offer,
.signup-section,
.modal-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  padding: 76px 28px 28px;
  border-radius: var(--radius-xl);
}

.hero-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.menu-toggle {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  height: 36px;
  padding: 0;
  border-color: rgba(33, 24, 18, 0.08);
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  cursor: pointer;
}

.menu-toggle-lines {
  display: inline-grid;
  gap: 3px;
}

.menu-toggle-lines span {
  display: block;
  width: 14px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.menu-link {
  justify-content: flex-start;
  text-decoration: none;
}

.menu-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-theme-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-theme-toggle {
  box-shadow: none;
}

.menu-toggle:hover,
.menu-toggle:focus-visible,
.menu-link:hover,
.menu-link:focus-visible,
.landing-theme-toggle:hover,
.landing-theme-toggle:focus-visible {
  transform: translateY(-1px);
  color: var(--accent-deep);
  border-color: var(--line-strong);
}

.theme-toggle-icon {
  display: inline-block;
  transform: translateY(-1px);
}

.eyebrow,
.offer-badge,
.offer-slug,
.proof-heading {
  margin: 0;
  color: var(--accent-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.signup-copy h2,
.modal-panel h2,
.offer-card h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 11ch;
  margin-top: 14px;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
}

.hero-lede,
.section-heading p,
.offer-summary,
.compact-copy,
.signup-copy p,
.modal-copy,
.proof-empty,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.48;
}

.hero-lede {
  max-width: 38rem;
  margin-top: 14px;
}

.hero-actions,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff8f3;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--panel-strong);
  border-color: var(--line-strong);
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}

.share-feedback {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--success);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transition: opacity 140ms ease;
}

.share-feedback.is-visible {
  opacity: 1;
}

.compact-share-row {
  justify-content: flex-start;
}

.share-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.icon-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.share-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 1;
}

.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: inherit;
}

.share-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-share-link:hover,
.icon-share-link:focus-visible {
  transform: translateY(-1px);
  color: var(--accent-deep);
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.share-link.is-copied {
  color: var(--success);
  border-color: var(--success);
}

.offers-section {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 12px;
  padding: 0 4px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.section-heading p {
  margin-top: 8px;
  max-width: 34rem;
}

.featured-offer,
.compact-offer {
  border-radius: var(--radius-xl);
}

.featured-offer {
  padding: 28px;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.offer-badge,
.offer-slug {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
}

.offer-badge {
  background: var(--accent-soft);
}

.offer-slug {
  border: 1px solid var(--line);
  color: var(--muted);
}

.offer-card h3 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.media-frame {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-strong) 0%, var(--accent-soft) 100%);
  padding: 18px;
}

.offer-demo {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 14px;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.article-media-video {
  background: #000;
  box-shadow: 0 16px 36px rgba(28, 18, 12, 0.16);
}

.article-media-activate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.62) 100%);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 160ms ease;
}

.featured-media-frame:hover .article-media-activate,
.featured-media-frame:focus-within .article-media-activate,
.featured-media-frame.is-touched .article-media-activate {
  opacity: 1;
}

.featured-media-frame.is-active .article-media-activate {
  opacity: 0;
  pointer-events: none;
}

.article-media-activate-icon,
.article-media-activate-text {
  font-family: "Montserrat", sans-serif;
  pointer-events: none;
}

.article-media-activate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
}

.article-media-activate-text {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-media-frame.is-active .article-media-video {
  pointer-events: auto;
}

.offer-summary {
  margin-top: 18px;
  font-size: 1.15rem;
  line-height: 1.58;
}

.offer-points,
.proof-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 28px;
}

.offer-points li,
.proof-list li {
  font-size: 0.98rem;
  line-height: 1.55;
}

.proof-panel {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.offer-blog-links {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.compact-blog-links {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.compact-blog-links li {
  margin: 0;
}

.compact-blog-links a {
  color: var(--accent-deep);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.compact-blog-links a:hover,
.compact-blog-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.featured-offer .offer-actions {
  margin-top: 22px;
  justify-content: center;
}

.featured-offer .offer-actions .button {
  width: 100%;
  max-width: 100%;
}

.proof-heading {
  margin-bottom: 10px;
}

.more-offers {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.more-heading {
  margin-top: 6px;
  margin-bottom: 2px;
}

.compact-offer {
  padding: 20px 22px;
}

.compact-offer h3 {
  margin-top: 14px;
  font-size: 1.8rem;
}

.compact-copy {
  margin-top: 10px;
}

.compact-actions {
  margin-top: 16px;
}

.signup-section {
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.signup-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  max-width: 18ch;
  text-wrap: balance;
}

.signup-copy p {
  max-width: 42rem;
  margin-top: 10px;
  text-wrap: pretty;
}

.signup-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.signup-form input[type="email"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
  color: var(--ink);
  font: inherit;
}

.signup-form input[type="email"]::placeholder {
  color: var(--muted);
}

.signup-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-note {
  min-height: 1.4em;
  font-size: 0.95rem;
}

.form-note.is-success {
  color: var(--success);
}

.form-note.is-error {
  color: var(--error);
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 4, 0.56);
}

.modal-panel {
  position: relative;
  width: min(560px, calc(100% - 28px));
  margin: min(10vh, 72px) auto 0;
  padding: 28px 28px 30px;
  border-radius: var(--radius-xl);
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  float: right;
}

.modal-panel .eyebrow {
  margin-bottom: 10px;
}

.modal-panel h2 {
  max-width: 16ch;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.modal-copy {
  max-width: 30rem;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.62;
  text-wrap: pretty;
}

.modal-form {
  margin-top: 24px;
  gap: 16px;
}

.modal-form input[type="email"] {
  min-height: 60px;
  border-radius: 20px;
  padding: 0 20px;
  font-size: 1.05rem;
}

.modal-form .button {
  min-height: 58px;
  font-size: 1rem;
}

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

@media (min-width: 720px) {
  .landing-shell {
    width: min(1020px, calc(100% - 48px));
    padding-top: 30px;
  }

  .featured-offer,
  .signup-section {
    padding: 34px;
  }

  .more-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-offer .offer-actions .button {
    width: auto;
    min-width: 280px;
  }
}

@media (max-width: 719px) {
  .hero {
    padding: 72px 24px 24px;
  }

  .hero-menu {
    top: 16px;
    right: 16px;
  }

  .menu-panel {
    min-width: min(240px, calc(100vw - 64px));
  }
}
