/* ==========================================================================
   Colours, type and spacing. Change the accent here if you ever rebrand.
   ========================================================================== */
:root {
  --paper: #F7F7F8;
  --white: #FFFFFF;
  --ink: #021A49;          /* logo navy: text and dark sections */
  --ink-2: #4A5368;
  --ink-3: #737B8C;
  --line: #E3E5EA;
  --accent: #F26B1D;       /* warm orange: ticks, numbers, highlights */
  --accent-btn: #E2580F;   /* slightly deeper so white button text stays readable */
  --accent-dark: #C24A0A;  /* hover, and orange text on light backgrounds */
  --accent-tint: #FDEDE2;
  --stage-light: #E9EEF6;  /* soft blue-grey behind template previews */

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 20px;
  --section: clamp(80px, 12vw, 144px);
  --nav-h: 68px;
  --radius: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Placeholders still to fill in (see config.js) */
.ph, .is-placeholder {
  background: #FFF1B8;
  color: #5C4A00;
  border-radius: 3px;
  padding: 0 .2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent-btn); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); box-shadow: 0 8px 20px -10px rgba(194, 74, 10, .55); }
.btn--ghost { border-color: #C8CCD5; color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--accent-dark); }
.btn--light:hover { background: var(--accent-tint); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn__icon { width: 22px; height: 22px; flex: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 247, 248, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.brand { display: flex; align-items: center; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; min-width: 0; }
.brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { height: 46px; width: auto; }
@media (min-width: 960px) { .brand img { height: 50px; } }
.nav__links { display: none; }
.nav__cta { display: none; }

.nav__toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-right: -8px;
  background: none; border: 0; border-radius: 10px; cursor: pointer; color: var(--ink);
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(2, 26, 73, .25);
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
.mobile-menu a:not(.btn) {
  display: block; padding: 16px 0;
  font-size: 1.25rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; }
.js .mobile-menu { opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease); }
.js .mobile-menu.is-open { opacity: 1; transform: none; }

@media (min-width: 960px) {
  .nav__inner { gap: 36px; }
  .nav__links { display: flex; gap: 30px; }
  .nav__links a {
    font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
    padding: 6px 0; position: relative; transition: color .2s;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { transform: scaleX(1); }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 32px 0 80px; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; }
.hero__text { min-width: 0; }
.hero__title {
  font-size: clamp(2.75rem, 11.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .95;
  max-width: 11ch;
}
.hero__lede { margin-top: 24px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30em; }

.hero__offer {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.hero__amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hero__amount small { font-size: 1.0625rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-left: 8px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.hero__points li { position: relative; padding-left: 22px; }
.hero__points li::before {
  content: ""; position: absolute; left: 2px; top: .5em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hero__actions { margin-top: 32px; display: grid; gap: 12px; }

/* Live previews: an iMac with a phone stood in front, on the plain page */
.hero__visual { min-width: 0; }
.hero__stage { position: relative; padding-bottom: 2%; }

.imac { width: 90%; margin-left: auto; }

/* Glass front with a thin aluminium rim, camera and a soft reflection */
.imac__display {
  position: relative;
  padding: 2.6% 2.6% 2.2%;
  background: #0A0B0E;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1.5px #BCC1C8, 0 30px 60px -34px rgba(2, 26, 73, .45);
}
.imac__display::before {
  content: ""; position: absolute; top: 1.05%; left: 50%;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3A4250, #14171C 65%);
}
.imac__display::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .03) 34%, transparent 34.2%);
}
.imac__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #EEF0F3;
}

/* Aluminium chin */
.imac__chin {
  position: relative; z-index: 1;
  padding-top: 8.5%;
  background: linear-gradient(180deg, #F1F2F4 0%, #DEE1E5 55%, #CDD1D7 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 0 0 1.5px #BCC1C8, inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 16px -10px rgba(2, 26, 73, .35);
}

/* Stand, in shadow just below the chin, and its curved foot */
.imac__stand {
  width: 21%; margin: 0 auto; padding-top: 11%;
  background:
    linear-gradient(180deg, rgba(20, 28, 45, .28), rgba(20, 28, 45, 0) 28%),
    linear-gradient(90deg, #BFC4CB 0%, #E2E5E9 5%, #EBEDF0 50%, #E0E3E7 95%, #BCC1C8 100%);
}
.imac__base {
  position: relative;
  width: 21%; margin: 0 auto; padding-top: 1.3%;
  background: linear-gradient(180deg, #F7F8F9, #B9BEC6);
  border-radius: 0 0 6px 6px;
}
.imac__base::after {
  content: ""; position: absolute; z-index: -1;
  left: -45%; right: -45%; top: 40%; height: 18px;
  background: radial-gradient(ellipse at center, rgba(2, 26, 73, .26) 0%, rgba(2, 26, 73, 0) 70%);
}

.phone.phone--hero {
  position: absolute; z-index: 3; left: 0; bottom: 0;
  width: 23%; max-width: 168px;
  background: #0A0B0E;
  box-shadow: 0 0 0 1.5px #BCC1C8, 0 0 0 3px #E4E6EA, 0 34px 50px -20px rgba(2, 26, 73, .55);
}
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 17px; overflow: hidden; background: #EEF0F3; }
.phone__screen img { border-radius: 0; }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; }
.browser--hero .hero-slide img { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .browser--hero .hero-slide.is-active img { animation: hero-scroll 22s cubic-bezier(.45, 0, .55, 1) 1.4s infinite; }
}
@keyframes hero-scroll {
  0%, 12% { transform: translateY(0); }
  48%, 60% { transform: translateY(var(--scroll, 0px)); }
  96%, 100% { transform: translateY(0); }
}

.hero__switch {
  display: flex; justify-content: center; gap: 4px;
  width: fit-content; margin: 16px auto 0; padding: 4px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.hero__switch button {
  min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font: 600 .9375rem/1 var(--font); cursor: pointer;
  transition: background-color .25s, color .25s;
}
.hero__switch button:hover { color: var(--ink); }
.hero__switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

@media (min-width: 520px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 56px; }
  .hero__switch { margin: 28px auto 0; }
}

/* Hero load sequence: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > * { animation: rise .8s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: .08s; }
  .js .hero__text > :nth-child(3) { animation-delay: .16s; }
  .js .hero__text > :nth-child(4) { animation-delay: .24s; }
  .js .hero__stage { animation: rise 1s .15s var(--ease) both; }
  .js .browser--hero { animation: slide-in 1.1s .35s var(--ease) both; }
  .js .phone--hero { animation: rise 1s .55s var(--ease) both; }
  .js .hero__switch { animation: rise .8s .7s var(--ease) both; }
}
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Device frames
   ========================================================================== */
.browser {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #D9DCE3;
  box-shadow: 0 1px 2px rgba(2, 26, 73, .04), 0 30px 60px -30px rgba(2, 26, 73, .35);
  overflow: hidden;
}
.browser__bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px;
  background: #F1F2F5; border-bottom: 1px solid #E3E5EA;
}
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D2D6DE; flex: none; }
.browser__url {
  flex: 1; margin: 0 8% 0 14px; height: 20px; border-radius: 6px; background: #fff;
  font-size: 11px; line-height: 20px; color: var(--ink-3); text-align: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #EEF0F3; }
.browser__screen img { width: 100%; }
.browser--scroll .browser__screen img { transition: transform 5s cubic-bezier(.45, .05, .35, 1); will-change: transform; }

.phone {
  border-radius: 22px;
  padding: 5px;
  background: var(--ink);
  box-shadow: 0 30px 50px -24px rgba(2, 26, 73, .5);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 17px; background: #EEF0F3; }

/* Missing screenshot fallback */
.img-missing {
  display: grid; place-items: center; text-align: center;
  width: 100%; height: 100%; min-height: 100%; aspect-ratio: inherit;
  background: repeating-linear-gradient(-45deg, #EEF0F3 0 12px, #E6E9EE 12px 24px);
  color: var(--ink-3); font-size: .8125rem; font-weight: 600; padding: 12px;
}
.browser__screen .img-missing { position: absolute; inset: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); }

/* ---------- Templates ---------- */
.templates { background: var(--white); border-top: 1px solid var(--line); }
.templates .section-head { margin-bottom: 48px; }
.templates__hint { display: none; margin-top: 12px; font-size: .9375rem !important; color: var(--ink-3) !important; }

.showcase + .showcase { margin-top: 88px; }

/* The coloured "stage" each design sits on */
.stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 28px 16px 0;
  isolation: isolate;
}
.stage--light { background: var(--stage-light); }
.stage--dark { background: var(--ink); }
/* faint road centre line behind the devices */
.stage::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px;
  background: repeating-linear-gradient(to bottom, currentColor 0 28px, transparent 28px 56px);
  opacity: .07;
}
.stage--light::before { color: var(--ink); }
.stage--dark::before { color: #fff; opacity: .08; }

.stage .browser {
  position: relative;
  max-width: 980px; margin: 0 auto;
  border-radius: 12px 12px 0 0; border-bottom: 0;
  box-shadow: 0 30px 70px -30px rgba(2, 26, 73, .45);
}
.stage--dark .browser { border-color: rgba(255, 255, 255, .14); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.stage .browser__screen { aspect-ratio: 16 / 10.5; }
.browser__url svg { width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; opacity: .7; }

.phone--stage {
  position: absolute; z-index: 2;
  right: 10px; bottom: 12px; width: 25%;
  max-width: 230px;
}
@media (max-width: 759px) {
  .stage .browser__screen { aspect-ratio: 16 / 11.5; }
  .stage .browser { margin-right: 8%; }
}
.stage--dark .phone--stage { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 0, 0, .7); }

.showcase__meta { display: grid; gap: 20px; margin-top: 28px; }
.showcase__num { font-size: .9375rem; font-weight: 600; color: var(--accent-dark); }
.showcase__name { margin-top: 6px; font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.showcase__desc { color: var(--ink-2); font-size: 1.125rem; max-width: 30em; }
.showcase__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.showcase__tags li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: .875rem; font-weight: 500; color: var(--ink-2);
}
.showcase__actions { margin-top: 28px; display: grid; gap: 12px; }

@media (min-width: 520px) {
  .showcase__actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 760px) {
  .stage { padding: 56px 56px 0; border-radius: 28px; }
  .phone--stage { right: 40px; bottom: 32px; width: 19%; }
}
@media (min-width: 960px) {
  .showcase + .showcase { margin-top: 128px; }
  .stage { padding: 72px 96px 0; }
  .phone--stage { right: 48px; bottom: 40px; width: 17%; }
  .showcase__meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; margin-top: 40px; align-items: start; }
}
@media (hover: hover) and (min-width: 960px) {
  .templates__hint { display: block; }
  .stage { cursor: ns-resize; }
}

/* ---------- What's included ---------- */
.included__grid { display: grid; gap: 48px; }
.included__head p { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 28em; }
.included__groups { display: grid; gap: 40px; }
.group h3 { padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.ticks li {
  position: relative;
  padding: 13px 0 13px 32px;
  border-bottom: 1px solid var(--line);
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 1.15em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
@media (min-width: 720px) {
  .included__groups { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 48px; }
  .included__groups .group:first-child { grid-column: 1 / -1; }
  .included__groups .group:first-child .ticks { columns: 2; column-gap: 40px; }
  .included__groups .group:first-child .ticks li { break-inside: avoid; }
}
@media (min-width: 960px) {
  .included__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; }
  .included__head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}

/* ---------- How it works ---------- */
.steps-section { background: var(--white); border-block: 1px solid var(--line); }
.steps { display: grid; gap: 0; counter-reset: none; }
.step { position: relative; padding: 0 0 44px 76px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: absolute; left: 0; top: -4px;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-btn); color: #fff;
  font-size: 1.375rem; font-weight: 700;
}
/* dashed centre line between the steps, like road markings */
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 25px; top: 60px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, #C8CCD5 0 10px, transparent 10px 20px);
}
.step h3 { font-size: 1.375rem; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 24em; }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .step { padding: 84px 0 0 0; }
  .step__num { top: 0; width: 56px; height: 56px; }
  .step:not(:last-child)::before {
    left: 76px; right: -36px; top: 27px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, #C8CCD5 0 14px, transparent 14px 26px);
  }
}

/* ---------- Pricing: styled like UK road signs ---------- */
.plans { display: grid; gap: 24px; }
.plans > * { min-width: 0; }
.sign {
  background: var(--ink);
  border-radius: 18px;
  padding: 8px;
  color: #fff;
  box-shadow: 0 40px 70px -40px rgba(2, 26, 73, .6);
  display: flex;
}
.sign__inner {
  flex: 1;
  display: flex; flex-direction: column;
  border: 3px solid #fff;
  border-radius: 12px;
  padding: 32px 20px 24px;
}
/* second plan: the same sign, inverted */
.sign--light { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(2, 26, 73, .35); }
.sign--light .sign__inner { border-color: var(--ink); }
.sign__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.sign__price { font-size: clamp(2.9rem, 15vw, 5.25rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.sign__price small { font-size: 1.25rem; font-weight: 600; letter-spacing: 0; opacity: .85; margin-left: 10px; }
.sign__fee { margin-top: 12px; font-weight: 500; opacity: .9; }
.sign__fee .is-placeholder { color: #5C4A00; }
.sign__plus { margin-top: 24px; font-weight: 600; }
.sign__list { margin: 28px 0 32px; border-top: 1px solid rgba(255, 255, 255, .28); }
.sign__plus + .sign__list { margin-top: 12px; }
.sign__list li {
  position: relative; padding: 12px 0 12px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.sign__list li::before {
  content: ""; position: absolute; left: 2px; top: 1.1em;
  width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.sign--light .sign__list, .sign--light .sign__list li { border-color: var(--line); }
.sign--light .sign__list li::before { border-color: var(--accent); }
.sign .btn { min-height: 56px; font-size: 1.0625rem; margin-top: auto; }
@media (min-width: 520px) {
  .sign__inner { padding: 40px 36px 32px; }
}
@media (min-width: 860px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1000px; }
}

/* ---------- Why have a website ---------- */
.why { background: var(--white); border-top: 1px solid var(--line); }
.why__grid { display: grid; gap: 32px; }
.why__grid + .why__grid { margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.why__body { max-width: 36em; }
.why__body p { font-size: 1.1875rem; color: var(--ink-2); }
.why__body p + p { margin-top: 0; }
.why__body a { color: var(--accent-dark); font-weight: 600; text-underline-offset: 3px; }
.why__list { margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.why__list li {
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-dark);
  font-weight: 600; font-size: 1rem;
}
@media (min-width: 960px) {
  .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
.faq__head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.faq__head a { color: var(--accent-dark); font-weight: 600; text-underline-offset: 3px; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__list summary:hover { color: var(--accent-dark); }
.faq__answer { padding: 0 32px 24px 0; color: var(--ink-2); max-width: 40em; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; }
}

/* ---------- Final CTA + contact ---------- */
.cta {
  background: var(--ink); color: #fff;
  padding: var(--section) 0 calc(var(--section) * .7);
}
.cta__main { max-width: 760px; }
.cta h2 { font-size: clamp(2.25rem, 7.5vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.cta__main p { margin-top: 24px; font-size: 1.1875rem; color: #B3BED6; max-width: 30em; }
.cta__main .btn { margin-top: 36px; }
.cta .btn--primary { background: var(--accent-btn); }
.cta .btn--primary:hover { background: var(--accent); box-shadow: none; }

.contact { margin-top: 80px; display: grid; border-top: 1px solid #1F3466; }
.contact li { display: grid; gap: 2px; padding: 22px 0; border-bottom: 1px solid #1F3466; }
.contact__label { font-size: .875rem; color: #8E9AB8; }
.contact__value { font-size: 1.25rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; width: fit-content; }
.contact__value:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__note { font-size: .875rem; color: #FFA066; }
.cta .is-placeholder { background: #4A4220; color: #FFE48A; }
@media (min-width: 860px) {
  .contact { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
  .contact li { border-top: 1px solid #1F3466; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8E9AB8; border-top: 1px solid #15295A; font-size: .9375rem; }
.footer__inner { display: grid; gap: 14px; padding-top: 32px; padding-bottom: 40px; }
.footer__brand { color: #fff; font-weight: 700; }
.footer__brand img { height: 44px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; padding: 4px 0; }
.footer__links a:hover { color: #fff; }
.footer .is-placeholder { background: transparent; color: inherit; padding: 0; }
@media (min-width: 860px) {
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

/* ---------- Billing notes, secure checkout, CTA buttons ---------- */
.hero__billing { flex-basis: 100%; font-size: .9375rem; color: var(--ink-3); }
.sign__billing { margin-top: 6px; font-size: .9375rem; opacity: .8; }
.pricing__secure {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 28px; max-width: 1000px;
  font-size: .9375rem; color: var(--ink-3);
}
.pricing__secure svg { width: 14px; height: 14px; flex: none; margin-top: .3em; color: var(--ink-2); }
.cta__actions { display: grid; gap: 12px; margin-top: 36px; }
.cta__main .cta__actions .btn { margin-top: 0; }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; }
@media (min-width: 520px) {
  .cta__actions { display: flex; flex-wrap: wrap; }
}

/* ==========================================================================
   Scroll reveal (gentle; off when reduced motion is on)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding: 64px 0 120px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.25rem, 7vw, 3.25rem); letter-spacing: -0.035em; }
.legal h2 { font-size: 1.375rem; margin-top: 40px; }
.legal p { margin-top: 14px; color: var(--ink-2); }
.legal .back { display: inline-block; margin-bottom: 32px; color: var(--accent-dark); font-weight: 600; text-underline-offset: 3px; }

/* ==========================================================================
   Onboarding page (/get-started/)
   ========================================================================== */
.onb-help {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.onb-help svg { width: 20px; height: 20px; color: var(--accent-dark); flex: none; }
.onb-help__num { display: none; }
@media (min-width: 560px) { .onb-help__num { display: inline; } }

.onb-intro { padding: 48px 0 32px; }
.onb-title {
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: .98;
  max-width: 13ch;
}
.onb-lede { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 36em; }

.onb-grid { display: grid; gap: 40px; padding-bottom: 96px; }
.onb-grid > * { min-width: 0; }

/* What happens next */
.onb-next {
  background: var(--ink); color: #fff;
  border-radius: 20px; padding: 28px 24px;
}
.onb-next h2 { font-size: 1.375rem; letter-spacing: -0.02em; }
.next-steps { margin-top: 20px; display: grid; }
.next-steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 20px; }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .3) 0 6px, transparent 6px 12px);
}
.next-steps__num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .35); color: #fff;
  font-weight: 700; font-size: 1rem;
}
.next-steps .is-current .next-steps__num { background: var(--accent-btn); border-color: var(--accent-btn); }
.next-steps .is-done .next-steps__num { background: #fff; border-color: #fff; color: var(--ink); }
.next-steps h3 { font-size: 1rem; line-height: 1.3; padding-top: 6px; }
.next-steps p { margin-top: 4px; font-size: .9375rem; color: #B3BED6; }

/* Form */
.onb-form, .onb-done {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px 32px;
}
.onb-required-note { font-size: .875rem; color: var(--ink-3); }
.onb-required-note span, .req { color: var(--accent-dark); }
.onb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.onb-section { border: 0; margin: 0; padding: 0; min-width: 0; }
.onb-section + .onb-section, .onb-required-note + .onb-section { margin-top: 36px; }
.onb-section > legend { padding: 0; width: 100%; }
.onb-section__title {
  display: block; width: 100%;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em;
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 1.5px solid var(--ink);
}
.onb-fields { display: grid; gap: 20px; }
.onb-fields > * { min-width: 0; }
@media (min-width: 640px) {
  .onb-fields--2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field .label, .field legend { font-weight: 600; font-size: 1rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-3); }
.hint { font-size: .875rem; color: var(--ink-3); margin-top: -2px; }
.field input:not([type="radio"]):not([type="file"]), .field textarea {
  width: 100%; min-height: 52px;
  padding: 13px 14px;
  border: 1.5px solid #C8CCD5; border-radius: 10px;
  background: var(--white); color: var(--ink);
  font: 400 1rem/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1B0; }
.field input:not([type="radio"]):not([type="file"]):focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 107, 29, .25);
}
.field.is-invalid input:not([type="radio"]), .field.is-invalid textarea { border-color: #C42B1C; }
.field__error { font-size: .875rem; font-weight: 500; color: #C42B1C; }

/* Radio pills */
.choice-group legend { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border: 1.5px solid #C8CCD5; border-radius: 999px; font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.is-invalid .pill span { border-color: #C42B1C; }

/* Template choice cards */
.tpl-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; }
.tpl-choice { position: relative; display: grid; gap: 10px; cursor: pointer; }
.tpl-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tpl-choice__img {
  display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 14px; border: 2px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.tpl-choice__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl-choice__text { font-size: .9375rem; color: var(--ink-2); line-height: 1.3; }
.tpl-choice__text strong { display: block; color: var(--ink); font-size: 1rem; }
.tpl-choice input:checked ~ .tpl-choice__img { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.tpl-choice input:checked ~ .tpl-choice__text strong::after {
  content: ""; display: inline-block; width: 10px; height: 5px; margin-left: 8px; vertical-align: 3px;
  border-left: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(-45deg);
}
.tpl-choice input:focus-visible ~ .tpl-choice__img { outline: 3px solid var(--accent); outline-offset: 3px; }
.field.is-invalid .tpl-choice__img { border-color: #C42B1C; }

/* File pickers */
.drop {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 16px;
  border: 1.5px dashed #B9BFCC; border-radius: 12px; background: var(--paper);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop:focus-within { border-color: var(--ink); background: var(--white); }
.drop.has-files { border-style: solid; }
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.drop svg { width: 24px; height: 24px; color: var(--ink-2); flex: none; }
.drop__text { font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.drop__text strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.drop__files { display: grid; gap: 4px; font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.drop__files:empty { display: none; }
.drop__error { color: #C42B1C; font-weight: 500; }
.onb-files-note { margin-top: -6px; }

/* Submit + done */
.onb-submit { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.onb-submit__btn { width: 100%; }
.onb-submit__btn:disabled { opacity: .7; cursor: progress; transform: none; }
.onb-error {
  padding: 12px 14px; border-radius: 10px;
  background: #FDECEA; color: #8A1C12; font-weight: 500; font-size: .9375rem;
}
.onb-privacy { font-size: .875rem; color: var(--ink-3); }
.onb-privacy a, .onb-done a { color: var(--accent-dark); font-weight: 600; text-underline-offset: 3px; }

.onb-done { padding: 40px 24px; }
.onb-done:focus { outline: none; }
.onb-done__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-btn); color: #fff;
}
.onb-done__icon svg { width: 28px; height: 28px; }
.onb-done h2 { margin-top: 20px; font-size: clamp(1.75rem, 6vw, 2.5rem); letter-spacing: -0.03em; }
.onb-done p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; max-width: 34em; }

@media (min-width: 640px) {
  .onb-form { padding: 36px 36px 40px; }
  .onb-done { padding: 56px 48px; }
  .onb-submit__btn { width: auto; justify-self: start; }
}
@media (min-width: 960px) {
  .onb-intro { padding: 72px 0 48px; }
  .onb-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .onb-next { order: 2; position: sticky; top: calc(var(--nav-h) + 24px); padding: 32px 28px; }
  .onb-main { order: 1; }
}

/* Single plan */
.plans--single { max-width: 520px; margin-inline: auto; }
@media (min-width: 860px) { .plans.plans--single { grid-template-columns: 1fr; max-width: 520px; } }
/* hide the 1px light edge baked into the right of the desktop screenshots */
.imac__screen .hero-slide img { width: calc(100% + 3px); max-width: none; }

/* ==========================================================================
   WhatsApp pop-up: a bubble in the corner, with a card that pops up once
   ========================================================================== */
.wa-pop {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none;
}
.wa-pop > * { pointer-events: auto; }
.wa-pop__bubble {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(2, 26, 73, .45);
  transition: transform .2s var(--ease);
}
.wa-pop__bubble svg { width: 30px; height: 30px; }
.wa-pop__bubble:hover { transform: scale(1.06); }

.wa-pop__card {
  position: relative;
  width: min(320px, calc(100vw - 32px));
  padding: 22px 22px 20px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -18px rgba(2, 26, 73, .35);
}
.wa-pop__card[hidden] { display: none; }
.wa-pop__title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; padding-right: 28px; }
.wa-pop__text { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.wa-pop__btn {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border-radius: 999px;
  background: #25D366; color: #fff;
  font: 600 .9375rem/1 var(--font); text-decoration: none;
  transition: background-color .2s;
}
.wa-pop__btn:hover { background: #1EBE5A; }
.wa-pop__btn svg { width: 20px; height: 20px; }
.wa-pop__close {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer;
}
.wa-pop__close:hover { background: var(--paper); color: var(--ink); }
.wa-pop__close svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .wa-pop__card.is-in { animation: wa-pop-in .45s var(--ease) both; }
  .wa-pop__bubble { animation: rise .6s 1s var(--ease) both; }
}
@keyframes wa-pop-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
