/* 4orty Digital — site styles
   Colours, type and scale follow the 4orty Digital Brand Guidelines v1.0 */

:root {
  --magenta: #E6007E;
  --magenta-deep: #B0005E;
  --magenta-light: #FF7AB8;
  --plum: #2B1036;
  --lilac: #C8B6FF;
  --mint: #BFF3DC;
  --blush: #FFE4F1;
  --porcelain: #FBF7F9;
  --mist: #6E6173;
  --white: #FFFFFF;
  --line: #EADFE5;

  --font-head: "Bricolage Grotesque", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --section: clamp(64px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-deep); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.light { font-weight: 300; color: var(--magenta); }
.on-dark .light { color: var(--magenta-light); }
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  margin-bottom: 18px;
}
.on-dark .label { color: var(--magenta-light); }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; }
.muted { color: var(--mist); }
.nowrap { white-space: nowrap; }
.small { font-size: 14px; }
.note { font-size: 14px; color: var(--mist); margin-top: 16px; }
.on-dark .note { color: #CFC3D4; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.on-dark { background: var(--plum); color: var(--white); }
.on-white { background: var(--white); }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .grid-2.center { align-items: center; }
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover { background: var(--magenta-deep); color: var(--white); }
.btn-secondary { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-secondary:hover { background: var(--plum); color: var(--white); }
.on-dark .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.6); }
.on-dark .btn-secondary:hover { background: var(--white); color: var(--plum); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 480px) { .btn-row .btn { width: 100%; } }
.arrow::after { content: "→"; transition: transform .2s; }
.btn:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 249, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; border-radius: 12px; cursor: pointer; color: var(--plum);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  font-weight: 500; color: var(--plum); text-decoration: none;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--magenta-deep); }

@media (max-width: 1079px) {
  .site-nav {
    position: fixed; left: 0; right: 0; top: 72px; height: calc(100vh - 72px); height: calc(100dvh - 72px);
    background: var(--porcelain);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: 18px 0; font-family: var(--font-head); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
  .site-nav li.nav-cta { border: 0; padding-top: 28px; }
  .site-nav .btn { width: 100%; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav a { white-space: nowrap; }
  .site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
  .site-nav a:not(.btn) { font-size: 16px; }
  .site-nav .btn { min-height: 44px; padding: 10px 22px; }
  .brand img { width: 168px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 128px); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; }
.hero h1 .kicker {
  display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; margin-bottom: 22px;
  color: var(--magenta-light);
}
.hero .lede { max-width: 34ch; margin-top: 24px; }
.hero-copy p:not(.lede) { max-width: 52ch; color: #E4DAE8; }
.price-tag {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  margin-top: 28px; padding: 10px 18px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: 15px;
}
.price-tag strong { font-family: var(--font-head); font-size: 22px; letter-spacing: -0.02em; color: var(--white); }
.arch {
  position: absolute; right: -60px; bottom: -40px; z-index: 0;
  width: clamp(220px, 34vw, 460px); aspect-ratio: 1 / 1.1;
  border: clamp(40px, 6vw, 84px) solid var(--magenta);
  border-bottom: 0; border-right: 0;
  border-top-left-radius: 100% 90%;
  pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

/* Week card in hero */
.week-card {
  position: relative; background: var(--white); color: var(--plum);
  border-radius: var(--radius-lg); padding: 28px; max-width: 440px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.week-card .label { margin-bottom: 6px; }
.week-card h2 { font-size: 26px; margin-bottom: 20px; }
.week-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.week-steps li {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: var(--porcelain); font-weight: 600; font-size: 15px;
}
.week-steps .n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blush); color: var(--magenta-deep); font-family: var(--font-mono); font-size: 13px;
}
.week-steps li { transition: background-color .4s, transform .4s; }
.week-steps .n { position: relative; transition: background-color .4s, color .4s, transform .4s; }
.week-steps .n::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; transform: scale(.4);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: opacity .3s, transform .4s cubic-bezier(.3,1.6,.5,1);
}
.week-steps li.done .n { background: var(--magenta); color: transparent; }
.week-steps li.done .n::after { opacity: 1; transform: none; }
.week-steps li.current { background: var(--blush); transform: translateX(4px); }
.week-steps li.current .n { background: var(--white); box-shadow: 0 0 0 0 rgba(230,0,126,.5); animation: pulse 1.4s ease-out infinite; }
.week-steps li.done:last-child { background: var(--mint); }
.week-steps li.done:last-child .n { background: var(--plum); }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(230,0,126,0); } }
.week-steps .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 400; }
.week-bar { margin-top: 20px; height: 8px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.week-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lilac), var(--magenta)); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.week-status { color: var(--magenta-deep); font-weight: 500; }
.week-foot { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 104px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 46ch; }
.page-hero .arch { width: clamp(180px, 24vw, 320px); border-width: clamp(32px, 4.5vw, 60px); right: -40px; bottom: -30px; }
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { color: #CFC3D4; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--magenta-light); }

/* ---------- Cards & components ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
}
.card.lilac { background: #EFE9FF; border-color: #E0D6FF; }
.card.mint { background: #E6FAF1; border-color: #CFF1E2; }
.card.blush { background: var(--blush); border-color: #FBD0E5; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tick-list li { position: relative; padding-left: 38px; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.package { display: grid; gap: 0; overflow: hidden; padding: 0; }
.package > div { padding: clamp(28px, 4.5vw, 52px); }
.package-price { background: var(--plum); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.package-price .from { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-light); }
.package-price .amount { font-family: var(--font-head); font-size: clamp(72px, 11vw, 120px); font-weight: 800; line-height: .9; letter-spacing: -0.04em; margin: 8px 0 12px; }
.package-price .amount .cur { color: var(--magenta-light); }
[data-count] { font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .package { grid-template-columns: 1.3fr 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps .step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--magenta); color: var(--white); font-family: var(--font-mono); font-weight: 500; margin-bottom: 20px;
}
.steps li:nth-child(2) .step-n { background: var(--lilac); color: var(--plum); }
.steps li:nth-child(3) .step-n { background: var(--mint); color: var(--plum); }
.steps li:nth-child(4) .step-n { background: var(--plum); }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--mist); font-size: 16px; }

/* Timeline (How it works page) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 48px 80px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-n {
  position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--magenta);
  font-family: var(--font-mono); font-weight: 500; color: var(--magenta-deep);
}
.timeline li:last-child .step-n { background: var(--magenta); color: var(--white); }
.timeline .label { margin-bottom: 8px; }
.timeline h3 { margin-bottom: 12px; }
@media (min-width: 900px) { .timeline li { padding-left: 104px; } }

.feature-pair { display: grid; gap: 20px; }
@media (min-width: 900px) { .feature-pair { grid-template-columns: 1fr 1fr; } }
.feature-pair .card { display: flex; flex-direction: column; }
.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--lilac); color: var(--plum); margin-bottom: 20px; align-self: flex-start;
}
.pill.mint { background: var(--mint); }
.pill.blush { background: var(--magenta-deep); color: var(--white); }
.tagline { font-family: var(--font-head); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: auto; padding-top: 24px; }
.tagline span { font-weight: 300; color: var(--magenta); }

.services { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.service h3 { font-size: 21px; margin-bottom: 8px; }
.service p { color: #D9CEDD; font-size: 16px; }
.service .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--magenta); margin-bottom: 18px; }
.service:nth-child(2) .ico { background: var(--lilac); }
.service:nth-child(3) .ico { background: var(--mint); }
.service .ico svg { width: 22px; height: 22px; }

/* Work */
.work-grid { display: grid; gap: 24px; }
.project { display: grid; overflow: hidden; padding: 0; }
.project-media {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--blush), #EFE9FF 60%, #E6FAF1);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.project-media .browser { width: 78%; background: var(--white); border-radius: 12px; box-shadow: 0 20px 40px -18px rgba(43,16,54,.35); overflow: hidden; }
.project-media .browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--porcelain); border-bottom: 1px solid var(--line); }
.project-media .browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.project-media .browser-body { padding: 18px; display: grid; gap: 8px; }
.project-media .browser-body b { display: block; height: 10px; border-radius: 6px; background: var(--line); }
.project-media .browser-body b:first-child { width: 60%; height: 16px; background: var(--plum); opacity: .85; }
.project-media .browser-body b:nth-child(2) { width: 85%; }
.project-media .browser-body b:nth-child(3) { width: 40%; height: 26px; border-radius: 99px; background: var(--magenta); margin-top: 6px; }
.project-body { padding: clamp(24px, 4vw, 44px); }
.project-body dl { margin: 24px 0 0; display: grid; gap: 18px; }
.project-body dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-deep); margin-bottom: 4px; }
.project-body dd { margin: 0; color: var(--mist); }
.status-flag {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--mint); color: var(--plum); padding: 6px 12px; border-radius: 99px; margin-bottom: 14px;
}
.status-flag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1E9E6A; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.project-media.alt { background: linear-gradient(135deg, #EFE9FF, var(--blush) 60%, #FFF); }
.build-bar { margin: 0 18px 18px; height: 6px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.build-bar span { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--lilac), var(--magenta)); animation: building 2.4s ease-in-out infinite; }
.project-media.alt .build-bar span { animation-delay: -1.2s; }
@keyframes building { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@media (min-width: 900px) {
  .project { grid-template-columns: 1fr 1fr; }
  .project:nth-child(even) .project-media { order: 2; }
  .project-media { aspect-ratio: auto; min-height: 100%; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--magenta-deep); font-family: var(--font-body); font-size: 22px; font-weight: 400; transition: transform .2s;
}
.faq summary::after { transition: transform .3s cubic-bezier(.3,1.4,.5,1), background-color .2s, color .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--magenta); color: var(--white); }
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details:hover, .faq details[open] { border-color: #F5B8D6; }
.faq details[open] { box-shadow: 0 16px 32px -24px rgba(43,16,54,.35); }
.faq .answer { overflow: hidden; }
.faq .answer { padding: 0 24px 24px; color: var(--mist); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 56px); max-width: 16ch; }
.cta-band p { max-width: 50ch; color: #E4DAE8; }
.cta-band .arch { width: clamp(200px, 28vw, 380px); border-width: clamp(36px, 5vw, 70px); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--mist); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--plum);
  background: var(--porcelain); border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: var(--white); box-shadow: 0 0 0 4px rgba(230,0,126,.12); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--porcelain); font-weight: 500; cursor: pointer; margin: 0; }
.radio-row input { accent-color: var(--magenta); width: 18px; height: 18px; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--magenta); background: var(--blush); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status.error { color: var(--magenta-deep); }
.form-card button[disabled] { opacity: .6; cursor: progress; }
.form-card .btn { width: 100%; margin-top: 8px; }
@media (min-width: 640px) { .form-card .btn { width: auto; } }

.aside-card { position: sticky; top: 100px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #D9CEDD; border-top: 1px solid rgba(255,255,255,.12); padding: clamp(56px, 8vw, 88px) 0 32px; font-size: 15px; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand img { width: 180px; }
.footer-tagline { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin-top: 20px; }
.footer-tagline span { font-weight: 300; color: var(--magenta-light); }
.site-footer h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--magenta-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: #A99BAE; }

/* ---------- Dynamic elements ---------- */

/* Ticker */
.ticker { background: var(--magenta); color: var(--white); overflow: hidden; overflow: clip; contain: paint; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -0.02em; }
.ticker li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--plum); margin: 0 clamp(20px, 3vw, 36px); }
.ticker li:nth-child(3n+2)::after { background: var(--mint); }
.ticker li:nth-child(3n)::after { background: var(--lilac); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Home steps: auto-cycling with story-style progress */
.steps .step { position: relative; overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s, background-color .45s; cursor: default; }
.steps .step h3, .steps .step p { transition: color .45s; }
.steps .step-n { transition: transform .45s cubic-bezier(.3,1.5,.5,1); }
.step-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.step-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--lilac), var(--magenta)); }
[data-cycle].cycling .step:not(.active) { opacity: .72; }
[data-cycle] .step.active { transform: translateY(-8px); border-color: #F5B8D6; box-shadow: 0 24px 44px -24px rgba(176,0,94,.45); opacity: 1; }
[data-cycle] .step.active .step-n { transform: scale(1.12); }
[data-cycle] .step.active p { color: var(--plum); }
[data-cycle] .step.active .step-progress span { animation: story var(--cycle, 3.2s) linear forwards; }
[data-cycle].paused .step.active .step-progress span { animation-play-state: paused; }
[data-cycle] .step.seen .step-progress span { transform: scaleX(1); opacity: .35; }
@keyframes story { to { transform: scaleX(1); } }

/* Spotlight hover */
.spot { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.55), transparent 60%);
}
.service.spot::before { background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), rgba(230,0,126,.22), transparent 60%); }
@media (hover: hover) {
  .spot:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(43,16,54,.45); }
  .spot:hover::before { opacity: 1; }
  .service .ico { transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
  .service:hover .ico { transform: rotate(-8deg) scale(1.08); }
}

/* Floating browser mock */
.float-mock .browser { animation: float 6s ease-in-out infinite; }
.float-mock .browser-body b { background-image: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent); background-size: 200% 100%; background-repeat: no-repeat; animation: shimmer 2.6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.6deg); } }
@keyframes shimmer { from { background-position: -150% 0; } to { background-position: 250% 0; } }

/* Parallax arches */
.arch { will-change: transform; }

/* How it works hero stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 40px 0 0; max-width: 760px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.stats dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #CFC3D4; order: 2; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.stats > div:nth-child(1) dd { color: var(--magenta-light); }

/* Timeline scroll progress */
.timeline-wrap { position: relative; }
.timeline-fill { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; z-index: 1; background: linear-gradient(var(--magenta), var(--lilac), var(--mint)); transform-origin: top; transform: scaleY(var(--tp, 1)); }
.js .timeline-fill { --tp: 0; }
.timeline .step-n { z-index: 2; transition: background-color .4s, color .4s, transform .4s cubic-bezier(.3,1.6,.5,1), box-shadow .4s; }
.timeline li > *:not(.step-n) { transition: opacity .5s, transform .5s; }
.js [data-timeline] .timeline li:not(.active) > *:not(.step-n) { opacity: .35; transform: translateX(8px); }
.js [data-timeline] .timeline li:not(.active) .step-n { background: var(--white); border-color: var(--line); color: var(--mist); }
[data-timeline] .timeline li.active .step-n { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
[data-timeline] .timeline li.current .step-n { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(230,0,126,.14); }

.step-indicator { display: none; }
@media (min-width: 900px) {
  .sticky-col { position: sticky; top: 112px; }
  .step-indicator {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 20px;
    margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--plum); color: var(--white);
  }
  .si-num { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: var(--magenta-light); display: inline-block; }
  .si-num.flip { animation: flip .5s cubic-bezier(.3,1.4,.5,1); }
  .si-label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #CFC3D4; }
  .si-title { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
  .si-dots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
  .si-dots i { height: 5px; border-radius: 99px; background: rgba(255,255,255,.15); transition: background-color .4s; }
  .si-dots i.on { background: var(--magenta); }
}
@keyframes flip { from { transform: translateY(40%) rotateX(60deg); opacity: 0; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .js .timeline-fill { --tp: 1; }
  .js [data-timeline] .timeline li:not(.active) > *:not(.step-n) { opacity: 1; transform: none; }
}

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 24px; }
.post-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(43,16,54,.45); }
.post-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; padding: 20px; text-decoration: none; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-cover .pill { position: relative; z-index: 1; margin: 0; background: var(--white); color: var(--plum); box-shadow: 0 4px 12px -6px rgba(43,16,54,.3); }
.cover-art .fan { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.post-card:hover .fan-l2 { transform: translate(-16px, 4px) rotate(-4deg); }
.post-card:hover .fan-l1 { transform: translate(-8px, 2px) rotate(-2deg); }
.post-card:hover .fan-r1 { transform: translate(8px, 2px) rotate(2deg); }
.post-card:hover .fan-r2 { transform: translate(16px, 4px) rotate(4deg); }
.post-card:hover .fan-c { transform: translateY(-10px); }
.cover-art .float-a { animation: art-float 6s ease-in-out infinite; }
.cover-art .float-b { animation: art-float 7s ease-in-out -2s infinite; }
.cover-art .twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.8s ease-in-out infinite; }
.cover-art .caret { animation: caret 1.1s steps(1) infinite; }
.cover-art .draw { stroke-dasharray: 700; stroke-dashoffset: 0; }
.post-card:hover .cover-art .draw { animation: draw 1.4s cubic-bezier(.2,.8,.2,1); }
@keyframes art-float { 50% { transform: translateY(-6px); } }
@keyframes twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .6; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 700; } }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.post-card-body h2, .post-card-body h3 { margin-bottom: 12px; }
.post-card-body h3 { font-size: 22px; }
.post-card-body h2 a, .post-card-body h3 a { color: var(--plum); text-decoration: none; }
.post-card-body h2 a:hover, .post-card-body h3 a:hover { color: var(--magenta-deep); }
.post-card-body > p:not(.post-meta) { color: var(--mist); font-size: 16px; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); margin-bottom: 12px; }
.read-more { margin-top: auto; padding-top: 16px; font-weight: 600; text-decoration: none; }
@media (min-width: 900px) {
  .post-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; }
  .post-card.featured .post-cover { aspect-ratio: auto; min-height: 340px; }
  .post-card.featured .post-card-body { justify-content: center; padding: 48px; }
  .post-card.featured h2 { font-size: 34px; }
}

.post-hero h1 { max-width: 22ch; font-size: clamp(36px, 5.4vw, 56px); }
.post-hero .lede { max-width: 56ch; }
.on-dark-meta { color: #CFC3D4; margin: 24px 0 0; }
.post-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; } }
.post-cta { position: sticky; top: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; }
.post-cta h2 { font-size: 26px; margin-bottom: 8px; }
.post-cta p { font-size: 16px; margin-bottom: 20px; }
.post-cta .btn { width: 100%; }
.text-link { margin-top: 14px; font-weight: 600; text-decoration: none; }

.prose { max-width: 70ch; font-size: 18px; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose > p:first-child { font-size: clamp(19px, 2vw, 21px); line-height: 1.55; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin: 2em 0 0; scroll-margin-top: 96px; }
.prose h3 { font-size: clamp(20px, 2.2vw, 23px); margin: 1.6em 0 0; scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blush); color: var(--magenta-deep); font-family: var(--font-mono); font-size: 13px; display: grid; place-items: center; }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 4px solid var(--magenta); background: var(--blush); border-radius: 0 16px 16px 0; font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.prose a { font-weight: 600; }

/* ---------- Services page ---------- */
.chip-nav { margin-top: 36px; }
.chip-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: var(--white);
  font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s;
}
.chip-nav a:hover { background: var(--magenta); border-color: var(--magenta); color: var(--white); transform: translateY(-2px); }
.offer, #launch-pack { scroll-margin-top: 72px; }
.offer .sticky-col .lede { margin-top: 8px; }
.price-stack { display: grid; gap: 16px; }
.price-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px); color: var(--plum);
}
.price-card.featured-card { border: 2px solid var(--magenta); box-shadow: 0 24px 48px -30px rgba(176,0,94,.5); }
.price-card h3 { margin-bottom: 6px; }
.price { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5vw, 52px); line-height: 1; letter-spacing: -0.04em; color: var(--magenta); margin: 8px 0 16px; }
.price .unit { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--mist); margin-left: 4px; }
.price .from { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-right: 6px; vertical-align: middle; }
.text-price .price { font-size: clamp(28px, 3.4vw, 34px); color: var(--plum); }
.price-intro { color: var(--mist); }
.price-card .tick-list { margin-top: 20px; }
.price-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mist); }
.price-badge {
  position: absolute; top: 20px; right: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--magenta-deep); color: var(--white); padding: 6px 12px; border-radius: 999px;
}
.on-dark .price-card { border-color: transparent; }
.on-dark .price-card.featured-card { border-color: var(--magenta-light); }

.launch-pack {
  display: grid; gap: 32px; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(135deg, var(--blush), #EFE9FF 55%, #E6FAF1); border: 2px solid var(--magenta);
  position: relative; overflow: hidden;
}
.launch-pack::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 48px solid rgba(230,0,126,.12); pointer-events: none;
}
.launch-name { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-deep); margin: 28px 0 4px; }
.launch-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(64px, 9vw, 96px); line-height: .95; letter-spacing: -0.045em; color: var(--plum); margin: 0 0 16px; }
.save-badge {
  display: inline-block; vertical-align: middle; margin-left: 12px; padding: 8px 16px; border-radius: 999px; transform: rotate(-4deg);
  background: var(--magenta); color: var(--white); font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 10px 20px -10px rgba(176,0,94,.6);
}
.launch-compare { margin: -8px 0 18px; color: var(--mist); font-size: 15px; }
.launch-tag { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.launch-list { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); position: relative; z-index: 1; align-self: center; }
@media (min-width: 900px) { .launch-pack { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; } }

/* ---------- Pay monthly option ---------- */
.price-tag .or { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #CFC3D4; }
.price-tag-note { flex-basis: 100%; font-size: 14px; color: #CFC3D4; }
.monthly-option { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: -4px 0 14px; font-size: 18px; color: #E4DAE8; }
.monthly-option .or { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta-light); }
.monthly-option strong { font-family: var(--font-head); font-size: clamp(30px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.monthly-option .per { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: 0; color: #E4DAE8; margin-left: 2px; }
.monthly-option .for { flex-basis: 100%; font-size: 14px; color: #CFC3D4; }
.stat-sub { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: #CFC3D4; }
