/* SmartBooks funnel — long-form direct-response style. Mobile first. */

:root {
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --green: #133A29;
  --green-mid: #1D5139;
  --green-bright: #1F8A4C;
  --navy: #070328;
  --orange: #FFA41B;
  --orange-hover: #F59400;
  --beige: #EECE9C;
  --beige-soft: #FAEBD7;
  --red: #E93D3D;
  --red-box: #D33A3A;
  --paper: #F9F9F9;
  --white: #FFFFFF;
  --text: #111111;
  --muted: #4B5563;
  --line: #DADDE1;

  --font-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: 16px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container.narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus { top: 12px; }

.preview-bar {
  padding: 8px var(--gutter);
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  text-align: center;
}

/* ---------- Top bar ---------- */

.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--green);
}
.logo strong { font-weight: 700; color: var(--orange); }
.logo-mark { width: 28px; height: 26px; fill: var(--green); }
.logo-mark rect:last-child { fill: var(--orange); }

.topbar-help {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: right;
}
.topbar-help strong { font-weight: 700; }
.topbar-help a { color: var(--green); font-weight: 600; }

/* ---------- Shared type ---------- */

.headline {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw + 0.9rem, 3rem);
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  text-wrap: balance;
}
.headline.small { font-size: clamp(1.7rem, 3vw + 0.9rem, 2.5rem); }
.headline .hl {
  color: var(--beige);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.headline:focus { outline: none; }

.pre-headline {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.3rem);
  font-weight: 500;
  color: var(--white);
  text-align: center;
}
.pre-headline u { text-underline-offset: 4px; }

/* Keeps a figure like «50-100 €» on one line. */
.nowrap { white-space: nowrap; }

/* Small honest note under the hero promise (brief 7.1). */
.hero-note {
  max-width: 60ch;
  margin: 10px auto 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--white);
  opacity: 0.8;
  text-align: center;
  text-wrap: balance;
}

.sub-headline {
  margin-top: 14px;
  font-size: clamp(1rem, 0.8vw + 0.85rem, 1.3rem);
  font-weight: 500;
  color: var(--white);
  text-align: center;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.btn-order,
.btn-green,
.btn-outline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 18px;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s var(--ease-out);
}
.btn-order:active,
.btn-green:active,
.btn-outline:active { transform: scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  .btn-order, .btn-green, .btn-outline { transition: none; }
}

.btn-order {
  background: var(--orange);
  color: var(--text);
  border-radius: 5px;
  box-shadow: 0 4px 0 #C97A00;
}
@media (hover: hover) and (pointer: fine) {
  .btn-order:hover { background: var(--orange-hover); }
}
.btn-order:disabled { cursor: progress; opacity: 0.8; }

.btn-main {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}
.btn-sub {
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-radius: 3px;
}
.btn-green:hover { background: var(--green-mid); }
.btn-green .btn-main { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }

.btn-outline {
  flex-direction: row;
  gap: 10px;
  min-height: 52px;
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 5px;
  font-weight: 600;
}
.btn-outline svg { width: 22px; height: 22px; fill: currentColor; }

.link-cta {
  padding: 0;
  border: 0;
  background: none;
  font: 700 1.0625rem/1.5 var(--font-body);
  color: var(--green);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.back-link {
  display: block;
  margin: 20px auto 0;
  padding: 10px;
  border: 0;
  background: none;
  font: 500 0.9375rem var(--font-body);
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--green);
  padding-block: 28px 40px;
}
/* Green-graded photo behind the top of the hero, fading into the brand green below. */
.hero {
  --hero-bg: url('img/hero-bg-4-1000.webp');
  --hero-bg-wide: url('img/hero-bg-4-2000.webp');
  --hero-bg-pos: 14% center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 760px);
  z-index: -1;
  /* On phones the text sits over the photo, so it gets a dark tint. */
  background:
    linear-gradient(rgba(6, 24, 15, 0.6), rgba(6, 24, 15, 0.6)),
    var(--hero-bg) var(--hero-bg-pos) / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: #0B2419;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.video.is-vertical { aspect-ratio: 9 / 16; max-width: 340px; margin-inline: auto; }
.video video,
.video iframe { width: 100%; height: 100%; border: 0; background: #000; }

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0B2419;
  color: var(--white);
  cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; }

.play,
.video-placeholder .play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
}
.play svg { width: 40px; height: 40px; fill: var(--white); margin-left: 5px; }
.video-facade .video-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-weight: 600;
  text-align: left;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, #24533E, #0B2419 70%);
  color: #D7E4DC;
}
.video-placeholder p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding-inline: 16px;
  font-size: 0.9375rem;
  text-align: center;
}

.video-caption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  text-align: center;
}

.hero-mobile-cta { margin-top: 18px; }

.hero-copy {
  display: grid;
  gap: 18px;
  color: var(--white);
  font-size: 1.0625rem;
}
.hero-copy u { text-underline-offset: 3px; }

/* Offer box */

.offer-box {
  display: grid;
  gap: 12px;
  padding: 20px 16px 24px;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.offer-title {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}
.offer-strip {
  padding: 6px 10px;
  background: var(--beige-soft);
  font-size: 0.9375rem;
  text-align: center;
}
.offer-price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--green);
}
.offer-text { font-size: 0.875rem; line-height: 1.55; }
.offer-ready {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--green);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 6px 0 0;
  padding: 10px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.trust-list li { display: flex; align-items: center; gap: 6px; }
.trust-list svg { width: 16px; height: 16px; fill: var(--text); flex: none; }

/* Product images (Higgsfield mockups with transparent backgrounds) */

.offer-visual {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-inline: auto;
}
.guide-offer .offer-visual { max-width: 460px; }

/* ---------- Sales letter ---------- */

.letter-layout {
  display: grid;
  gap: 32px;
  padding-block: 0 48px;
}

.letter {
  display: grid;
  gap: 20px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 36px var(--gutter);
  background: var(--paper);
  min-width: 0;
}
.letter strong { font-weight: 700; }
.letter strong.green { color: var(--green); }
.letter u { text-underline-offset: 3px; }

.letter-h2 {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.6vw + 0.9rem, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  text-align: center;
  text-wrap: balance;
}
.letter-h2:first-child { margin-top: 0; }
.letter-h2.red { color: var(--red); }

.quote-line {
  font-weight: 700;
  color: var(--green);
}

/* Old way vs SmartBooks way */

.compare {
  display: grid;
  gap: 32px;
  margin-block: 8px;
}
.compare-col { text-align: center; }
.compare-tag {
  font-weight: 600;
  font-size: 1rem;
}
.old .compare-tag { color: var(--red); }
.new .compare-tag { color: var(--green-bright); }
.compare-title {
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--navy);
}
.compare-steps {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The connecting line behind the boxes. */
.compare-steps::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -18px;
  width: 4px;
  margin-left: -2px;
  background: var(--text);
}
.compare-steps li {
  position: relative;
  padding: 12px 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}
.old .compare-steps li { background: var(--red-box); }
.new .compare-steps li { background: var(--green-bright); }
.compare-end {
  position: relative;
  margin-top: 18px;
  padding: 12px 16px;
  border: 3px solid currentColor;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  background: var(--white);
}
.old .compare-end { color: var(--red-box); }
.new .compare-end { color: var(--green-bright); }

/* False beliefs */

.myth {
  display: grid;
  gap: 12px;
  padding: 20px 18px;
  background: var(--white);
  border-left: 5px solid var(--red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.myth-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}
.myth-title span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.case-slot:empty { display: none; }
.case-slot .case { margin-top: 4px; }

/* Stack in the offer box */

.stack {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.45;
}
.stack li {
  position: relative;
  padding-left: 26px;
}
.stack li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #2EB85C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Checklist */

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 36px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #2EB85C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.check-list em {
  font-weight: 600;
  color: var(--red);
}

.inline-cta { text-align: center; }
.inline-cta .link-cta { text-align: center; font-size: 1.125rem; }

/* Proof band under the hero */

.proof-band {
  padding-block: 28px;
  background: var(--navy);
  color: var(--white);
}
.proof-band .container { display: grid; gap: 24px; }
.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.proof-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw + 1rem, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--orange);
}
.proof-stats span { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.4; }
.proof-media {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
}
.proof-media img { width: 100%; height: auto; border-radius: 3px; }
.proof-media u { color: var(--orange); text-underline-offset: 3px; }
.proof-media:hover u { color: var(--white); }

/* Video stories */

.stories { display: grid; gap: 18px; }
.story { margin: 0; min-width: 0; }
.story-play,
.story-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 3px solid var(--green);
  background: #000;
}
.story-play { aspect-ratio: 16 / 9; padding: 0; cursor: pointer; }
.story-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-play .play {
  position: absolute;
  top: auto; /* bottom-right corner: over the shoulder, clear of the face and of the title */
  left: auto;
  right: 14px;
  bottom: 14px;
  margin: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.story-play .play svg { width: 28px; height: 28px; margin-left: 3px; fill: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .story-play:hover .play { transform: scale(1.04); }
}
.story-play:active .play { transform: scale(0.96); }
.story-play:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.story-frame { aspect-ratio: 16 / 9; }
.story-frame iframe { width: 100%; height: 100%; border: 0; }
/* Motion: the thumbnail stays behind the player while it loads; extra cards come in one after the other. */
@keyframes sb-fade { from { opacity: 0; } }
@keyframes sb-rise { from { opacity: 0; transform: translateY(8px); } }
.story-frame { background-position: center; background-size: cover; }
.story-frame iframe { animation: sb-fade 0.2s var(--ease-out) 0.2s both; }
.story.is-new { animation: sb-rise 0.2s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) {
  .story-play .play { transition: none; }
  .story-frame iframe, .story.is-new { animation: none; }
}
.story figcaption { margin-top: 8px; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.story figcaption strong { display: block; color: var(--text); font-size: 1.0625rem; }
.story-amb { display: block; margin: 2px 0 4px; font-size: 0.8125rem; font-weight: 600; color: var(--green); }
.story-result {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--green);
}
.stories-more { margin-top: 4px; font: inherit; font-weight: 600; }
.story.is-playing { grid-column: 1 / -1; }
.stories-note { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

.team-list { display: grid; gap: 10px; margin: 0; padding-left: 20px; }

/* Customer cases (only when authorised cases are configured) */

.cases { display: grid; gap: 16px; }
#cases-list { display: grid; gap: 16px; }
.case {
  margin: 0;
  padding: 18px;
  background: var(--white);
  border: 3px solid var(--green);
}
.case blockquote { margin: 0; }
.case-image {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}
.case blockquote p { font-size: 1rem; }
.case figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }
.case figcaption strong { display: block; color: var(--text); }

/* FAQ */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
}
.faq summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--green);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 16px 16px; }

/* Sidebar */

.sidebar { min-width: 0; }
.sidebar-inner {
  display: grid;
  gap: 18px;
  padding: 16px;
  background: var(--green);
  color: var(--white);
}
.bar-title {
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.bonus-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bonus-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: start;
}
.bonus-list h3 { font-size: 1.125rem; font-weight: 500; }
.bonus-list p { font-size: 0.8125rem; line-height: 1.5; color: #DCE7E0; }
.bonus-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 56px;
  border-radius: 4px;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.3);
}
.bonus-thumb svg { width: 26px; height: 26px; fill: var(--white); }
.thumb-video { background: #0B2419; border: 2px solid var(--beige); }
.thumb-check { background: #2EB85C; }
.thumb-call { background: var(--orange); }
.thumb-call svg { fill: var(--text); }

.how-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}
.how-list li {
  position: relative;
  padding-left: 44px;
  font-size: 0.9375rem;
  counter-increment: how;
}
.how-list li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--text);
  font: 600 1.05rem/30px var(--font-head);
  text-align: center;
}

/* Final call to action */

.final-cta {
  padding-block: 48px;
  background: var(--green);
}
.final-cta .container { display: grid; gap: 8px; justify-items: center; }
.final-cta .btn-order { max-width: 460px; margin-top: 18px; }

/* Sticky bar */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--beige);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
}
.sticky-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}
.sticky-inner .btn-green { min-height: 56px; }
.sticky-book,
.sticky-price { display: none; }

/* ---------- Funnel steps (quiz, contact, done) ---------- */

.step-hero {
  padding-block: 28px 36px;
  background: var(--green);
}
.step-hero .container { display: grid; gap: 12px; }
.step-kicker {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--beige);
  text-align: center;
}
.progress {
  height: 14px;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(45deg, var(--orange) 0 12px, #FFB84D 12px 24px);
  border-radius: inherit;
  transition: width 0.35s ease;
}
.step-headline { font-size: clamp(1.75rem, 3.4vw + 0.9rem, 2.6rem); }

.step-body { padding-block: 28px 48px; }

/* ---------- €27 sales page (manuale.html) ---------- */

.pack-visual {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
}
.pack-specs {
  margin-top: 10px;
  color: var(--beige);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.order-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--green);
  text-align: center;
}
.order-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.order-form { display: grid; gap: 14px; }
.order-step {
  padding: 6px 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.myth.reason { border-left-color: var(--green-bright); }
.myth.reason .myth-title span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--white);
  font: 600 1rem/1 var(--font-head);
  vertical-align: 3px;
}

.conto-sample {
  padding: 12px 16px;
  background: #EEF4EF;
  border-left: 5px solid var(--green);
}
.conto-sample-title {
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green);
}
.conto-sample ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 0.9375rem; }

.sample-page {
  overflow-x: auto;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.sample-page table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 0.9rem; }
.sample-page th { padding: 7px 9px; background: var(--beige); text-align: left; border: 1px solid var(--line); }
.sample-page td { padding: 7px 9px; border: 1px solid var(--line); }
.sample-note { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }

.parts { display: grid; gap: 12px; }
.part { padding: 14px 16px; background: var(--white); border-top: 4px solid var(--orange); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.part h3 { margin-bottom: 4px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: var(--navy); }
.part h3 span { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; }
.part p { font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Step-2 offers (funnel 1 contact step, funnel 2 order page) ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* €27 add-on above the form: a dashed "order bump" box */
.bump {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  background: #FFFBE6;
  border: 3px dashed var(--orange);
  border-radius: 6px;
}
.bump-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--beige);
  border-radius: 4px;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
}
.bump-check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  accent-color: var(--green-bright);
}
.bump-arrow {
  flex: none;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1;
}
.bump-body { display: grid; gap: 12px; align-items: center; font-size: 0.9375rem; line-height: 1.55; }
.bump-body img { width: 100%; max-width: 260px; height: auto; margin-inline: auto; }
.bump-note { font-size: 0.8125rem; color: var(--muted); }

/* €697 Corso SmartBooks below the form */
.course-box {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 22px 18px 24px;
  background: var(--white);
  border: 2px solid var(--green);
  border-top: 8px solid var(--green);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.course-kicker,
.upgrade-kicker {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.course-title,
.upgrade-title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.course-price { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--green); }
.course-price small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.course-terms { display: grid; gap: 4px; font-size: 0.875rem; color: var(--muted); }
.course-alt { font-size: 0.9375rem; }
.course-alt a { color: var(--green); font-weight: 600; }

/* Funnel 2 order page */
.order-wrap { padding-block: 20px 48px; }
.order-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 0 20px;
  padding: 12px 16px;
  list-style: none;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
}
.order-trust li { display: flex; align-items: center; gap: 8px; }
.order-trust svg { width: 18px; height: 18px; fill: var(--orange); }
.order-grid { display: grid; gap: 24px; }
.order-main { display: grid; gap: 22px; min-width: 0; }
.upgrade {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #FFFBE6;
  border: 3px dashed var(--orange);
  border-radius: 6px;
}
.upgrade.is-chosen { border-style: solid; border-color: var(--green-bright); background: #EEF7F0; }
.order-h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
}
.order-items { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.order-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.order-item:has(input:checked) { border-color: var(--green-bright); background: #F3FAF5; }
.order-item input { width: 20px; height: 20px; accent-color: var(--green-bright); }
.order-item-name { display: grid; gap: 2px; }
.order-item-name small { color: var(--muted); font-size: 0.8125rem; }
.order-item-price { font-weight: 700; white-space: nowrap; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 2px solid var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}
.order-total small { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.order-total strong { font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; color: var(--green); }
.order-side {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px 18px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.order-side img { width: 100%; height: auto; }
.order-side-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--navy); text-align: center; }

/* €27 guide offer on the thank-you step */
.guide-offer { margin-top: 28px; border-top: 5px solid var(--orange); }
.guide-offer-kicker {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--red);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.guide-offer .offer-price { margin: 4px 0 0; text-align: center; font-size: 2.2rem; }

.options { display: grid; gap: 12px; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 2px 0 var(--line);
  font: 600 1.0625rem/1.35 var(--font-body);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.option::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #9AA1AB;
  background: var(--white);
}
.option:hover { border-color: var(--orange); }
.option[aria-pressed='true'] {
  border-color: var(--orange);
  background: var(--beige-soft);
}
.option[aria-pressed='true']::before {
  border-color: var(--green-bright);
  background: var(--green-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 20px 16px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}
.form-strip { margin: -4px 0 0; font-weight: 600; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
input[type='text'],
input[type='tel'],
select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font: 1.0625rem var(--font-body);
  appearance: none;
}
input:focus-visible,
select:focus-visible { border-color: var(--orange); outline-offset: 1px; }
input[aria-invalid='true'] { border-color: var(--red); }

select {
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: right 16px center, right 11px center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.phone-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}
/* Country picker: only the flag shows; the real select sits on top, invisible, so the native list still opens. */
.phone-cc {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 12px 0 13px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 4px;
}
.phone-cc img { display: block; width: 28px; height: 21px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); }
.phone-cc::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  opacity: 0.7;
}
.phone-cc select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0;
  cursor: pointer;
}
.phone-cc:focus-within { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 1px; }
.field-error {
  margin-top: 6px;
  color: var(--red);
  font-size: 0.9375rem;
  font-weight: 500;
}

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9375rem;
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  border: 2px solid #6B7280;
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}
.check input:checked {
  border-color: var(--green-bright);
  background: var(--green-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.fine-print { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.fine-print.center { text-align: center; }

.form-alert {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #FDECEC;
  border: 2px solid var(--red);
  font-size: 0.9375rem;
}

/* Confirmation */

.done-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: #2EB85C;
}
.done-check svg { width: 38px; height: 38px; fill: var(--white); }
.done-obstacle { font-weight: 500; }
.done-links {
  display: grid;
  gap: 10px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}

/* Optional profile questions on the confirmation step */
.profile { margin-top: 28px; }
.profile-questions { display: grid; gap: 22px; }
.profile-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.profile-q legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 5px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.chip:hover span { border-color: var(--orange); }
.chip input:checked + span { border-color: var(--orange); background: var(--beige-soft); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-green:disabled { cursor: progress; opacity: 0.8; }

/* ---------- Booking page ---------- */

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: call;
}
.steps-list li {
  position: relative;
  padding-left: 44px;
  counter-increment: call;
}
.steps-list li::before {
  content: counter(call);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  font: 600 1.05rem/30px var(--font-head);
  text-align: center;
}
.notice {
  padding: 12px 14px;
  background: var(--beige-soft);
  border-left: 4px solid var(--orange);
  font-weight: 500;
}
.calendar {
  overflow: hidden;
  border: 1px solid var(--line);
}
.calendar iframe { width: 100%; height: 720px; border: 0; }
.alt-booking { display: grid; gap: 12px; }
.alt-booking p { color: var(--muted); }

.answers-note {
  padding: 10px 14px;
  background: #E8F6EE;
  border-left: 4px solid #2EB85C;
  font-size: 0.9375rem;
  font-weight: 500;
}
.host-line { font-weight: 500; }

.fit-grid { display: grid; gap: 14px; }
.fit { padding: 16px; border: 2px solid; }
.fit h3 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 500;
}
.fit ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.45; }
.fit li { position: relative; padding-left: 24px; }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.fit-yes { border-color: #2EB85C; }
.fit-yes h3, .fit-yes li::before { color: var(--green-bright); }
.fit-yes li::before { content: '✓'; }
.fit-no { border-color: var(--red); }
.fit-no h3, .fit-no li::before { color: var(--red); }
.fit-no li::before { content: '✕'; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 28px 40px;
  background: var(--navy);
  color: #B9BCCB;
  font-size: 0.8125rem;
  text-align: center;
}
.site-footer .container { display: grid; gap: 8px; max-width: 760px; }
.site-footer a { color: #E2E4EE; }

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  .proof-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-media { grid-template-columns: 180px minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sticky-inner { grid-template-columns: 1fr 1.2fr; }
  .sticky-price { display: block; }
  .sticky-price { padding: 8px 12px; background: var(--navy); color: var(--white); font-size: 0.75rem; line-height: 1.4; }
  .sticky-price-title { font-family: var(--font-head); font-size: 1.3rem; text-align: center; }
  .form-card { padding: 28px 32px 32px; }
  .fit-grid { grid-template-columns: 1fr 1fr; }
  .parts { grid-template-columns: 1fr 1fr; }
  .bump-body { grid-template-columns: 200px minmax(0, 1fr); }
  .course-box { padding: 26px 30px 28px; }
}

@media (min-width: 960px) {
  :root { --gutter: 24px; }

  .hero { padding-block: 36px 56px; }
  .hero::before { height: max(56.25vw, 640px); background: var(--hero-bg-wide) center top / cover no-repeat; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      'video offer'
      'copy  offer';
    column-gap: 32px;
    row-gap: 28px;
    align-items: start;
  }
  .hero-video { grid-area: video; }
  .hero-copy { grid-area: copy; font-size: 1.125rem; }
  .offer-box { grid-area: offer; }
  .hero-mobile-cta { display: none; }

  .letter-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 32px;
    align-items: start;
    padding-top: 0;
  }
  .letter {
    margin-inline: 0;
    padding: 48px 36px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.06);
  }
  .sidebar { position: sticky; top: 16px; padding-top: 40px; }

  .order-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
  .order-side { position: sticky; top: 16px; }

  .sticky-inner { grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .sticky-book {
    display: grid;
    place-items: center;
    height: 64px;
    width: 52px;
    justify-self: end;
    padding: 4px;
    background: linear-gradient(100deg, #0E2D20 0 8%, var(--green) 8% 100%);
    box-shadow: 3px 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.5rem;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
