/* ==========================================================================
   Site Ready Websites — site styles
   Brand colours and fonts are at the top. Change --accent to re-colour the site.
   ========================================================================== */

/* Fonts are served from our own site (assets/fonts, SIL Open Font License), so the page
   doesn't wait on Google before it can show anything. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2"); }

:root {
  --accent: #ffcb05;
  --ink: #1a1d21;
  --ink-deep: #111316;
  --ink-line: #3a4048;
  --ink-border: #5a626b;
  --text: #1a1d21;
  --text-2: #3f464e;
  --muted: #4a525b;
  --on-dark: #ffffff;
  --on-dark-2: #c9cfd6;
  --on-dark-3: #a3abb5;
  --line: #e3e6ea;
  --line-2: #dde1e6;
  --bg: #ffffff;
  --bg-alt: #f2f3f5;
  --focus: #4c9aff;
  --todo-bg: #ffe0ec;
  --todo-text: #7a0030;

  --container: 1160px;
  --gutter: 24px;
  --radius: 10px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-hero: "Alfa Slab One", "Rockwell", Georgia, serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .88; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Icons from /assets/img/icons.svg */
.i { width: 24px; height: 24px; flex: 0 0 auto; stroke-width: 2.2; }
.i--lg { width: 28px; height: 28px; }
.brand-mark .i { width: 22px; height: 22px; stroke-width: 3; color: var(--ink); }

/* Tick and cross bullets, drawn in CSS so lists stay plain text */
:root {
  --tick-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1d21' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --tick-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --cross-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9cfd6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.ticks > li::before {
  content: ""; flex: 0 0 26px; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--accent) var(--tick-dark) center / 14px no-repeat;
}
.plan--accent .ticks > li::before { background-color: var(--ink); background-image: var(--tick-light); }
.crosses > li::before {
  content: ""; flex: 0 0 26px; width: 26px; height: 26px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--ink-border); background: var(--cross-light) center / 14px no-repeat;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--alt { background: var(--bg-alt); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Details still to come from the business. Search for "todo" to find them all. */
.todo {
  background: var(--todo-bg); color: var(--todo-text);
  outline: 1px dashed currentColor; outline-offset: 1px; border-radius: 3px; padding: 0 4px;
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 14px; font-weight: 700; font-size: 15px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--accent); }
.h2 { font-weight: 800; font-size: clamp(40px, 5.5vw, 64px); line-height: 1; max-width: 760px; }
.lead { margin-top: 20px; font-size: 20px; color: var(--text-2); max-width: 640px; }
.section--dark .lead { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: 19px; text-decoration: none; line-height: 1.1;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--ghost { border-color: var(--ink-border); color: var(--on-dark); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Brand mark ---------- */
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--on-dark); }
.brand-mark {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: var(--on-dark); position: sticky; top: 0; z-index: 10; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--ink-line), 0 10px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.site-nav { display: flex; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 17px; }
.site-nav a:not(.btn) { color: #d5dae0; text-decoration: none; padding: 12px 0; }
.site-nav a:not(.btn):hover { color: var(--on-dark); opacity: 1; }
.site-nav a[aria-current="true"] { color: var(--on-dark); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius);
  background: transparent; border: 2px solid var(--ink-line); color: var(--on-dark);
  align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-cta { display: none; }

@media (max-width: 760px) {
  .brand-name { font-size: 26px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-top: 1px solid var(--ink-line);
    padding: 8px var(--gutter) 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
  .site-nav a[aria-current="true"] { box-shadow: none; color: var(--accent); }
  .site-nav .btn { margin-top: 16px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .brand-mark .i { width: 19px; height: 19px; }
  .brand-name { font-size: 23px; }
  .header-cta { padding: 0 14px; font-size: 16px; }
  .nav-toggle { width: 46px; height: 46px; }
}
@media (max-width: 350px) { .header-cta { display: none; } }

/* ==========================================================================
   Header details: brand line, hazard edge, sliding underlines, glass on scroll.
   Animations play once on load; reduced-motion visitors get the finished header.
   ========================================================================== */
.site-header { animation: header-in .6s var(--ease-out) both; transition: box-shadow .25s ease, background-color .25s ease; }
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--ink) 10px 20px);
  animation: clip-in 1.1s var(--ease-out) .2s both;
}
.header-inner { transition: padding .25s ease; }
.site-header.is-scrolled { background-color: rgba(26, 29, 33, .84); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }

/* Brand: mark pops in and the tick draws itself; small Brisbane line under the name */
.brand-mark { animation: pop .55s var(--ease-out) .15s backwards; box-shadow: 0 0 0 0 rgba(255, 203, 5, .5); transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.brand-mark .i { stroke-dasharray: 22; animation: draw .45s ease-out .55s both; }
.brand:hover { opacity: 1; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 6px rgba(255, 203, 5, .18); }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--accent);
  animation: fade .6s ease .6s both;
}

/* Menu: a yellow underline slides in on hover and marks the section on screen */
.site-nav a:not(.btn) { position: relative; transition: color .2s ease; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease-out);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left center; }
.site-nav > a:not(.btn) { animation: fade-down .5s var(--ease-out) both; }
.site-nav > a:nth-child(1) { animation-delay: .25s; }
.site-nav > a:nth-child(2) { animation-delay: .32s; }
.site-nav > a:nth-child(3) { animation-delay: .39s; }
.site-nav > a:nth-child(4) { animation-delay: .46s; }

/* Get started: arrow nudges on hover, and one sheen passes over once the opening has played */
.site-header .btn--accent { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.site-header .btn--accent::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); animation: sheen 1s ease-in-out 2.9s both;
}
.site-header .btn--accent:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 203, 5, .25); }
.i--arrow { width: 18px; height: 18px; stroke-width: 2.6; transition: transform .25s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(3px); }

@media (max-width: 760px) {
  .site-nav > a:not(.btn) { animation: none; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav.is-open { animation: menu-open .3s var(--ease-out) both; }
  .site-nav.is-open > * { animation: fade-up .35s var(--ease-out) both; }
  .site-nav.is-open > :nth-child(2) { animation-delay: .04s; }
  .site-nav.is-open > :nth-child(3) { animation-delay: .08s; }
  .site-nav.is-open > :nth-child(4) { animation-delay: .12s; }
  .site-nav.is-open > :nth-child(5) { animation-delay: .16s; }
  .site-header.is-scrolled .site-nav { background: rgba(26, 29, 33, .97); }
}
@media (max-width: 420px) {
  .brand-tag, .header-cta .i--arrow { display: none; }
}

@keyframes header-in { from { transform: translateY(-100%); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } }
@keyframes sheen { from { left: -60%; } to { left: 130%; } }
@keyframes menu-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; padding-top: 56px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(54px, 8vw, 96px); line-height: .95; letter-spacing: .005em; }
.hero h1 span { color: var(--accent); }
.hero-lead { margin-top: 28px; font-size: 21px; color: var(--on-dark-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points {
  list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px;
  color: var(--on-dark-2); font-size: 16px; font-weight: 600;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }

/* Phone mock-up (decorative) */
.phone-wrap { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: 292px; height: 560px; border-radius: 46px; background: #0e1013; padding: 12px;
  border: 2px solid var(--ink-line);
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column; }
.phone-bar { padding: 16px 18px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.phone-bar b { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; }
.phone-burger { width: 20px; height: 2px; background: #fff; box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff; }
.phone-hero { background: var(--accent); padding: 26px 18px 24px; }
.phone-title { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: .95; text-transform: uppercase; }
.phone-sub { margin-top: 10px; font-size: 14px; font-weight: 600; }
.phone-btns { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.phone-btn { height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; }
.phone-btn--dark { background: var(--ink); color: #fff; }
.phone-btn .i { width: 16px; height: 16px; stroke-width: 2.4; }
.phone-btn--line { border: 2px solid var(--ink); }
.phone-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.phone-h { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.phone-h--gap { margin-top: 8px; }
.phone-line { height: 10px; background: var(--line); border-radius: 5px; }
.phone-line.w90 { width: 90%; } .phone-line.w84 { width: 84%; } .phone-line.w78 { width: 78%; }
.phone-line.w72 { width: 72%; } .phone-line.w60 { width: 60%; }
.phone-caption { font-size: 14px; font-weight: 600; color: var(--on-dark-3); letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 560px) {
  .hero-inner { padding-top: 36px; padding-bottom: 64px; gap: 44px; }
  .hero-lead { font-size: 19px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { grid-template-columns: 1fr; }
  .phone-wrap { zoom: .78; }
}

.stripe { height: 18px; background: repeating-linear-gradient(-45deg, var(--accent) 0 16px, var(--ink) 16px 32px); }

.hero-price { margin-top: 18px; font-size: 19px; font-weight: 600; color: var(--on-dark-2); }
.hero-price strong { color: var(--on-dark); font-weight: 700; }

/* ==========================================================================
   Hero: headline, faint blueprint grid, and the opening animation.
   Everything plays once (about 2.5s), then the page is still. Visitors who've
   asked their device for less motion get the finished page straight away.
   ========================================================================== */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at 80% 45%, rgba(255, 203, 5, .13), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 80% at 70% 45%, #000 30%, transparent 85%);
  animation: fade 1.6s ease .2s both;
}
.hero-inner { position: relative; }

.hero .hero-title {
  font-family: var(--font-hero); font-weight: 400; font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02; letter-spacing: .005em; max-width: 12ch;
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .word > span { display: inline-block; color: var(--on-dark); animation: rise .9s var(--ease-out) both; }
.hero-title .word:nth-child(1) > span { animation-delay: .15s; }
.hero-title .word:nth-child(2) > span { animation-delay: .23s; }
.hero-title .word:nth-child(3) > span { animation-delay: .31s; }
.hero-title .word:nth-child(4) > span { animation-delay: .39s; }
.hero-title .word:nth-child(5) > span { animation-delay: .47s; }
/* Highlighter swipe across "impressive" */
.hero-title .word > .hl {
  position: relative; isolation: isolate; padding: 0 .1em; color: var(--ink);
  color: var(--ink);
  animation: rise .9s var(--ease-out) .23s both, ink .25s ease 1.32s both;
}
.hero-title .hl::before {
  content: ""; position: absolute; inset: .06em 0 .02em; z-index: -1; border-radius: .06em;
  background: var(--accent); transform-origin: left center; transform: skewX(-6deg);
  animation: wipe .55s var(--ease-out) .95s both;
}
.hero-hook { display: block; margin-bottom: 6px; color: var(--on-dark); font-weight: 700; }

.hero-copy > .eyebrow { animation: fade-up .7s var(--ease-out) .05s both; }
.hero-lead { animation: fade-up .8s var(--ease-out) .6s both; }
.hero-price { animation: fade-up .8s var(--ease-out) .72s both; }
.hero-actions { animation: fade-up .8s var(--ease-out) .84s both; }
.hero-points { animation: fade-up .8s var(--ease-out) .96s both; }

/* The phone builds a sample site, piece by piece */
.phone-wrap { position: relative; animation: phone-in 1.1s var(--ease-out) .3s both; }
.phone {
  --rx: 3deg; --ry: -9deg;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out);
  box-shadow: 30px 40px 80px rgba(0, 0, 0, .45);
}
.phone-bar { animation: drop .5s var(--ease-out) .95s both; }
.phone-hero { animation: clip-in .6s var(--ease-out) 1.1s both; }
.phone-title { animation: fade-up .5s var(--ease-out) 1.3s both; }
.phone-sub { animation: fade-up .5s var(--ease-out) 1.4s both; }
.phone-btn { animation: pop .5s var(--ease-out) both; }
.phone-btn:nth-child(1) { animation-delay: 1.5s; }
.phone-btn:nth-child(2) { animation-delay: 1.6s; }
.phone-body > * { transform-origin: left center; animation: grow .5s var(--ease-out) both; }
.phone-body > :nth-child(1) { animation-delay: 1.65s; }
.phone-body > :nth-child(2) { animation-delay: 1.72s; }
.phone-body > :nth-child(3) { animation-delay: 1.79s; }
.phone-body > :nth-child(4) { animation-delay: 1.86s; }
.phone-body > :nth-child(5) { animation-delay: 1.93s; }
.phone-body > :nth-child(6) { animation-delay: 2s; }
.phone-body > :nth-child(7) { animation-delay: 2.07s; }
.phone-btn--dark { position: relative; }
.phone-btn--dark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--ink);
  opacity: 0; animation: ring .9s ease-out 2.6s both;
}
.phone-caption { animation: fade .6s ease 2.1s both; }

/* "Ready" tick that lands once the sample site is built */
.phone-badge {
  position: absolute; bottom: 96px; right: -34px; z-index: 2; width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px var(--ink), 0 16px 32px rgba(0, 0, 0, .45);
  animation: badge .7s var(--ease-out) 2.2s both;
}
.phone-badge .i { width: 40px; height: 40px; stroke-width: 3.2; stroke-dasharray: 22; animation: draw .45s ease-out 2.5s both; }
@media (max-width: 560px) { .phone-badge { right: -18px; } }
/* Phones: the mock-up phone takes a whole screen and adds little, so leave it out */
@media (max-width: 600px) { .phone-wrap { display: none; } }

.hero + .stripe { animation: clip-in 1s var(--ease-out) .5s both; }

@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { transform: translateY(110%) rotate(3deg); } }
@keyframes ink { from { color: var(--on-dark); } }
@keyframes wipe { from { transform: skewX(-6deg) scaleX(0); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotate(-5deg) scale(.94); } }
@keyframes drop { from { transform: translateY(-100%); } }
@keyframes clip-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.05); } }
@keyframes grow { from { opacity: 0; transform: scaleX(0); } }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes badge { 0% { opacity: 0; transform: scale(0) rotate(-60deg); } 65% { opacity: 1; transform: scale(1.14) rotate(8deg); } }
@keyframes draw { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }

.section-cta { margin-top: 56px; }

/* ---------- Cards / grids ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.grid > * { flex: 1 1 320px; min-width: 0; }

.feature { background: var(--bg-alt); border-radius: 16px; padding: 30px; }
.section--alt .feature { background: var(--bg); box-shadow: 0 1px 2px rgba(26, 29, 33, .06); }
.icon-tile {
  width: 54px; height: 54px; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.feature h3 { margin: 22px 0 8px; font-weight: 700; font-size: 30px; line-height: 1; }
.feature p { font-size: 18px; line-height: 1.55; color: var(--text-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: .9; color: var(--accent); }
.step h3 { margin: 18px 0 10px; font-weight: 700; font-size: 32px; line-height: 1; }
.step p { font-size: 18px; line-height: 1.55; color: var(--on-dark-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step-num { font-size: 72px; } }

/* ---------- Pricing ---------- */
.plans { align-items: stretch; margin-top: 52px; }
.plan {
  background: #fff; border: 2px solid var(--line-2); border-radius: 20px; padding: 34px;
  display: flex; flex-direction: column; gap: 22px;
}
.plan--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.plan--accent { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1; text-transform: uppercase; }
.plan-for { margin-top: 6px; font-size: 18px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan-price strong { font-family: var(--font-display); font-weight: 800; font-size: 80px; line-height: .9; }
.plan-price span { font-size: 19px; font-weight: 600; }
.plan-fee { font-size: 18px; font-weight: 700; }
.plan hr { width: 100%; height: 2px; border: 0; margin: 0; background: var(--line); }
.plan--dark .plan-for { color: var(--on-dark-2); }
.plan--dark .plan-price strong { color: var(--accent); }
.plan--dark hr { background: var(--ink-line); }
.plan--accent .plan-for { color: var(--ink); }
.plan--accent hr { background: var(--ink); }
.plan { position: relative; }
.plan-badge {
  position: absolute; top: -16px; left: 34px; margin: 0; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
}
/* On the yellow card a yellow badge would vanish, so it flips to dark */
.plan--accent .plan-badge { background: var(--ink); color: var(--accent); }
.plan-includes { margin: 0 0 -6px; font-weight: 700; font-size: 18px; }

/* Add-on: a slim band under the plans, so it reads as an extra rather than a fourth plan */
.addon {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  background: var(--bg); border: 2px dashed var(--ink-border); border-radius: 20px; padding: 24px 34px;
}
.addon-main { flex: 1 1 460px; min-width: 0; }
.addon-tag {
  display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt);
  font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.addon-name { font-weight: 800; font-size: 32px; line-height: 1; }
.addon-price { margin-top: 8px; font-size: 18px; color: var(--text-2); }
.addon-price strong { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--text); }
.addon-summary { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 640px; }
.addon-more { margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--text); }
.addon-btn { flex: 0 0 auto; }
@media (max-width: 560px) {
  .addon { padding: 22px 20px; }
  .addon-btn { flex: 1 1 100%; }
}

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; }

.assurances { list-style: none; margin: 40px 0 0; padding: 28px 0 0; border-top: 2px solid var(--line-2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; }
.assurances li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.assurances strong { color: var(--text); }
@media (max-width: 900px) { .assurances { grid-template-columns: 1fr; } }
.pricing-notes { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* ---------- Promise ---------- */
.promise-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.promise-copy p + p { margin-top: 18px; }
.promise-copy p { font-size: 19px; line-height: 1.6; color: var(--on-dark-2); }
.promise-copy .h2 { margin-bottom: 28px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.promise-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.promise-list li:first-child { padding-top: 0; }
.promise-list h3 { font-weight: 700; font-size: 26px; line-height: 1.05; }
.promise-list p { margin-top: 6px; font-size: 17px; line-height: 1.5; color: var(--on-dark-2); }
.wont { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--ink-line); }
.wont h3 { font-weight: 700; font-size: 30px; line-height: 1; }
.wont-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.wont-list li { display: flex; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--on-dark-2); }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr; gap: 40px; }
  .wont-list { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-more { margin-top: 20px; font-size: 18px; color: var(--text-2); }
.faq-more a { font-weight: 700; }
.faq details:first-child { padding-top: 4px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-intro { position: static; } }
.faq details { border-bottom: 2px solid var(--line); padding: 22px 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: 0 0 auto; font-size: 34px; line-height: 1; transition: transform .15s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
@media (max-width: 560px) { .faq summary { font-size: 24px; } }

/* ---------- Contact ---------- */
.contact { background: var(--accent); color: var(--ink); }
.contact-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-inner > * { flex: 1 1 380px; min-width: 0; }
.contact h2 { font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: .95; }
.contact-lead { margin-top: 24px; font-size: 21px; max-width: 480px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-size: 20px; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; opacity: 1; }
.next-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.next-steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; font-size: 18px; line-height: 1.45; }
.next-steps li::before {
  content: counter(step); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 18px;
}

.form-card { background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 17px; }
.field .opt { font-weight: 400; color: var(--on-dark-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: var(--radius); border: 2px solid var(--ink-line);
  background: #fff; color: var(--ink); padding: 0 14px; font-size: 18px;
}
.field select { padding: 0 12px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
/* Add-on tick boxes: the whole row is the label, so it's an easy target */
.field--check label { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.field--check input { width: 24px; height: 24px; min-height: 0; flex: 0 0 auto; padding: 0; accent-color: var(--accent); }
.field--check input.is-picked { box-shadow: 0 0 0 4px rgba(255, 203, 5, .45); }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }
.field-error { margin: 0; font-size: 15px; font-weight: 600; color: #ffb4b4; }
.field select.is-picked { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 203, 5, .35); }
.form-card.is-sent > :not(.form-status) { display: none; }
.form-card.is-sent .form-status { padding: 8px 0; background: none; color: var(--on-dark); font-weight: 400; }
.form-status h3 { font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); }
.form-status p { margin-top: 12px; font-size: 18px; color: var(--on-dark-2); }
.hp { position: absolute; left: -9999px; }
.form-small { font-size: 15px; color: var(--on-dark-3); }
.form-status:empty { display: none; }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-weight: 600; font-size: 17px; }
.form-status.is-success { background: #1f3a2a; color: #b9f3cd; }
.form-status.is-error { background: #4a1c1c; color: #ffd0d0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; padding-top: 52px; padding-bottom: 36px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0; font-size: 16px; }
.footer-links a, .footer-contact a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; opacity: 1; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2a2f35; font-size: 15px; color: var(--on-dark-3); }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand b { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; color: #fff; line-height: 1; }
.footer-brand { max-width: 300px; }
.footer-brand span { font-size: 16px; }


/* ---------- 404 ---------- */
.page-dark { background: var(--ink); }
.not-found { min-height: 70vh; display: flex; align-items: center; }
.not-found h1 { font-weight: 800; font-size: clamp(54px, 8vw, 96px); line-height: .95; }
.not-found p { margin-top: 20px; font-size: 21px; color: var(--on-dark-2); max-width: 520px; }
.not-found .btn { margin-top: 32px; }

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  :root { --gutter: 16px; }
}
