@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --paper: #f6f1e7;
  --paper-tint: #efe8d9;
  --card: #fffdf8;
  --ink: #14171f;
  --ink-soft: #232735;
  --muted: #5b6070;
  --muted-on-dark: #b3b8c6;
  --line: #ddd5c4;
  --line-dark: #333848;
  --accent: #e4572e;
  --accent-dark: #c2421d;
  --accent-soft: #ff8a65;
  --sun: #f2b632;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(20, 23, 31, .06), 0 12px 32px -12px rgba(20, 23, 31, .18);
  --shadow-lg: 0 2px 4px rgba(20, 23, 31, .06), 0 36px 70px -30px rgba(20, 23, 31, .45);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #fff; }

/* Paper grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .055;
}

.sprite { position: absolute; }

.progress {
  position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--sun)); transform-origin: left; transform: scaleX(var(--p, 0));
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.3vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 19ch; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
h1 em { position: relative; font-style: italic; font-weight: 500; color: var(--accent); white-space: nowrap; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

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

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

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow:not(.pill)::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* Highlighter stroke that draws itself once the heading is on screen */
.hl {
  background: linear-gradient(rgba(228, 87, 46, .32), rgba(228, 87, 46, .32)) no-repeat 0 88% / 100% 34%;
  transition: background-size .9s var(--ease) .45s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section-dark .hl { background-image: linear-gradient(rgba(228, 87, 46, .6), rgba(228, 87, 46, .6)); }
.js .split:not(.in) .hl { background-size: 0 34%; }

/* Headings come in word by word */
.js .split .w {
  display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.js .split.in .w { opacity: 1; transform: none; filter: none; }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px;
  background: var(--accent); color: #fff;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2;
  cursor: pointer;
  translate: var(--tx, 0) var(--ty, 0);
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s, translate .25s var(--ease);
}
.btn:not(.btn-ghost) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 24px -10px rgba(228, 87, 46, .8); }
.btn:not(.btn-ghost)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn:not(.btn-ghost):hover::before { transform: translateX(110%); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-arrow::after { content: "\2192"; margin-left: 10px; transition: transform .25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(5px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 23, 31, .85); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Header: a floating glass pill */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; pointer-events: none; }
.header-inner {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; padding: 0 10px 0 16px;
  background: rgba(255, 253, 248, .7);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(20, 23, 31, .09); border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 24px -16px rgba(20, 23, 31, .3);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled .header-inner { background: rgba(255, 253, 248, .88); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 18px 40px -20px rgba(20, 23, 31, .45); }

.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--ink); color: var(--paper);
  border-radius: 10px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  box-shadow: inset 0 -3px 0 var(--accent);
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: background .2s, color .2s;
}
.site-nav a:not(.btn):hover { background: rgba(20, 23, 31, .07); }
.site-nav a[aria-current] { background: var(--ink); color: var(--paper); }
.site-nav a[aria-current]:hover { background: var(--ink); }
.site-nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 11px;
  background: none; border: 0; border-radius: 50%; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; margin-top: -74px; padding: calc(74px + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-grid > * { min-width: 0; }

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(20, 23, 31, .17) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 72% 44%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 72% at 72% 44%, #000, transparent 74%);
}
.hero-bg span { position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(90px); opacity: .42; animation: drift 14s ease-in-out infinite alternate; }
.hero-bg span:first-of-type { background: var(--accent); right: 4%; top: 4%; }
.hero-bg span:last-of-type { background: var(--sun); right: 30%; bottom: -10%; animation-delay: -7s; }
/* Soft light that follows the pointer */
.hero-bg i {
  position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 65%);
  transform: translate(var(--gx, 70vw), var(--gy, 40vh)); transition: transform .5s var(--ease);
}
@keyframes drift { to { transform: translate(-50px, 36px) scale(1.12); } }

.pill {
  display: inline-flex; gap: 9px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  margin-bottom: 24px; box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228, 87, 46, .55); } 100% { box-shadow: 0 0 0 10px rgba(228, 87, 46, 0); } }

h1 .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
h1 .line > span { display: block; transform: translateY(125%) rotate(3deg); transform-origin: left top; animation: rise 1s var(--ease) forwards; }
h1 .line:nth-child(2) > span { animation-delay: .1s; }
h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }

.scribble { position: absolute; left: -3%; bottom: -.1em; width: 106%; height: .24em; overflow: visible; }
.scribble path { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-copy > :not(h1) { animation: fade-up .8s .35s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); margin-top: 26px; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { margin-top: 34px; display: grid; gap: 9px; color: var(--ink-soft); font-size: .98rem; }
.hero-points li, .contact-points li { padding-left: 32px; position: relative; }
.hero-points li::before, .contact-points li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(228, 87, 46, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e4572e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.hero-visual { position: relative; animation: fade-up .9s .25s both; }
.tilt {
  position: relative; transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 3deg)) rotateY(var(--ry, -8deg));
  transition: transform .3s ease-out;
}
.demo { position: relative; transform-style: preserve-3d; }
.tilt .mock { box-shadow: 0 2px 4px rgba(20, 23, 31, .08), 0 50px 90px -34px rgba(20, 23, 31, .6); }
.mock-body, .phone-screen { transition: background-color .5s, color .5s; }
.demo.swap .mock-hero > *, .demo.swap .mock-row, .demo.swap .mock-nav b, .demo.swap .phone-screen > * { animation: fade-up .45s both; }

.hero-phone { position: absolute; left: -40px; bottom: -66px; transform: translateZ(70px) rotate(-4deg); animation: float 6s ease-in-out infinite; }
.toast {
  position: absolute; right: -20px; bottom: -22px;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .78rem; line-height: 1.3; color: var(--muted); white-space: nowrap;
  transform: translateZ(90px); animation: float 5s ease-in-out -2s infinite;
}
.toast b { color: var(--ink); font-size: .86rem; }
.toast-icon { width: 34px; height: 34px; border-radius: 10px; background: #e3f3e8; display: grid; place-items: center; }
.toast-icon svg { width: 18px; fill: none; stroke: #1c6b3c; stroke-width: 1.8; stroke-linejoin: round; }
@keyframes float { 50% { translate: 0 -9px; } }

.badge { position: absolute; top: -44px; right: -22px; width: 116px; height: 116px; filter: drop-shadow(0 10px 16px rgba(20, 23, 31, .3)); transform: translateZ(50px); }
.badge-spin { transform-origin: 60px 60px; animation: spin 18s linear infinite; }
.badge-spin text { fill: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.badge-centre { fill: #fff; font-family: var(--font-display); font-size: 31px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

.demo-controls {
  position: relative; margin-top: 92px; padding: 18px 20px;
  display: grid; gap: 12px;
  background: rgba(255, 253, 248, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.demo-controls label { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .92rem; }
.demo-live { width: 8px; height: 8px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 4px rgba(47, 168, 102, .2); }
.demo-controls input {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.demo-controls input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228, 87, 46, .16); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  padding: 6px 13px; font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chips button:hover { border-color: var(--ink); transform: translateY(-1px); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Browser mock */
.mock {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 13px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ebe4d6; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c0ae; }
.mock-bar i:nth-child(1) { background: #e8826a; }
.mock-bar i:nth-child(2) { background: #e9c46a; }
.mock-bar i:nth-child(3) { background: #8fbf8f; }
.mock-bar span {
  margin-left: 8px; flex: 1; padding: 3px 10px;
  background: var(--card); border-radius: 6px;
  color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-body { background: var(--m-bg); color: var(--m-text); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 11px; }
.mock-nav b { font-family: var(--font-display); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-nav span { opacity: .75; white-space: nowrap; flex: none; }
.mock-hero { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 16px 18px 26px; }
.mock-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--m-accent); font-weight: 700; }
.mock-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.12; margin: 8px 0 14px; max-width: 15ch; }
.mock-btn { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--m-accent); color: var(--m-bg); font-weight: 700; font-size: 11px; }
.mock-art {
  width: 5.6em; aspect-ratio: 1; border-radius: 1.3em; display: grid; place-items: center;
  color: var(--m-accent); background: color-mix(in srgb, var(--m-accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-accent) 35%, transparent);
}
.mock-art svg { width: 54%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in srgb, var(--m-text) 18%, transparent); }
.mock-row div { padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.mock-row div + div { border-left: 1px solid color-mix(in srgb, var(--m-text) 18%, transparent); }
.mock-row strong { font-size: 12px; }
.mock-row span { font-size: 10px; opacity: .7; }
.mock-large { font-size: 15px; }
.mock-large .mock-nav { padding: 18px 24px; font-size: 12px; }
.mock-large .mock-nav b { font-size: 17px; }
.mock-large .mock-hero { padding: 22px 24px 38px; gap: 20px; }
.mock-large .mock-title { font-size: clamp(22px, 2.6vw, 31px); }
.mock-large .mock-btn { font-size: 13px; padding: 9px 18px; }
.mock-large .mock-art { width: 7em; }
.mock-large .mock-row div { padding: 14px 24px 54px; }

/* Phone mock (sized in em so it scales with font-size) */
.phone {
  width: 13.4em; padding: .5em; border-radius: 2.1em; font-size: 10px;
  background: #14171f; box-shadow: 0 0 0 1px #3a4052 inset, 0 30px 50px -20px rgba(0, 0, 0, .65);
}
.phone-screen {
  position: relative; overflow: hidden; border-radius: 1.6em; padding: 2em 1.1em 1.1em;
  display: grid; gap: .75em; background: var(--m-bg); color: var(--m-text);
}
.phone-screen::before { content: ""; position: absolute; top: .55em; left: 50%; width: 3.4em; height: .7em; margin-left: -1.7em; border-radius: 1em; background: #14171f; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.ph-nav b { font-family: var(--font-display); font-weight: 600; font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ph-nav i { flex: none; width: 1.3em; height: .8em; border-block: 2px solid currentColor; opacity: .7; }
.ph-kicker { font-size: .7em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--m-accent); }
.ph-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5em; line-height: 1.1; }
.ph-btn { justify-self: start; padding: .55em 1.1em; border-radius: 99px; background: var(--m-accent); color: var(--m-bg); font-weight: 700; font-size: .85em; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.ph-cards span { height: 3.6em; border-radius: .8em; background: color-mix(in srgb, var(--m-text) 12%, transparent); }
.ph-call { margin-top: .2em; padding: .7em; border-radius: .9em; text-align: center; font-weight: 700; font-size: .85em; border: 1px solid color-mix(in srgb, var(--m-text) 30%, transparent); }

/* Marquee */
.marquee { position: relative; z-index: 2; background: var(--ink); color: var(--paper); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.03); box-shadow: 0 20px 40px -24px rgba(20, 23, 31, .6); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; }
.marquee li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  transition: color .2s;
}
.marquee li:hover { color: var(--accent-soft); }
.marquee li::after { content: "\2726"; color: var(--accent); font-style: normal; font-size: .6em; margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section-tint { background: var(--paper-tint); }
.section-dark {
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(228, 87, 46, .24), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(242, 182, 50, .1), transparent 70%),
    var(--ink);
  color: var(--paper);
}
.bento-copy p, .contact-copy > p { color: var(--muted-on-dark); }
.section-dark .eyebrow { color: var(--accent-soft); }
.section-lead { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin-top: 18px; }
.section-lead a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }

/* Steps: a rail that fills as you scroll */
#how { padding-bottom: clamp(44px, 6vw, 72px); }
.steps { --fill: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; padding-top: 44px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(90deg, var(--accent), var(--sun)); transform-origin: left; transform: scaleX(var(--fill)); }
.steps li {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px 26px;
  transition: border-color .3s, box-shadow .3s, translate .3s var(--ease);
}
.steps li:hover { border-color: var(--ink); box-shadow: var(--shadow); translate: 0 -4px; }
.step-node {
  position: absolute; z-index: 1; left: 22px; top: -45px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); transition: background .3s, border-color .3s, box-shadow .3s;
}
.steps li.on .step-node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(228, 87, 46, .16); }
.step-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .4s, -webkit-text-stroke-color .4s;
}
.steps li.on .step-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step-who {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.step-us { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps p { color: var(--muted); margin-top: 8px; font-size: .98rem; }

/* Facts */
.facts { padding-bottom: clamp(72px, 10vw, 128px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts-grid div { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 6px; }
.facts-grid strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.facts-grid div:first-child strong { color: var(--accent); }
.facts-grid span { color: var(--muted); font-size: .98rem; }

/* Features: bento grid */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 56px; }
.bento {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark);
  transition: border-color .3s;
}
.bento:hover { border-color: #545b72; }
/* Glow that tracks the pointer across the grid */
.bento::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 101, .2), transparent 45%);
}
.features:hover .bento::before { opacity: 1; }
.bento > * { position: relative; }
.bento h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.bento-copy p { margin-top: 8px; font-size: .98rem; max-width: 30em; }
.bento-art { flex: 1; display: grid; place-items: center; min-height: 120px; }

.b-phone { grid-column: span 5; grid-row: span 2; padding-bottom: 0; }
.b-google { grid-column: span 7; }
.b-call { grid-column: span 3; }
.b-secure { grid-column: span 4; }
.b-reviews { grid-column: span 7; flex-direction: row; align-items: center; }
.b-edits { grid-column: span 5; }
.b-reviews > * { flex: 1; min-width: 0; }

.b-phone .bento-art { align-items: end; }
.b-phone .phone { font-size: 15px; border-radius: 2.1em 2.1em 0 0; padding-bottom: 0; margin-bottom: -4.5em; transition: transform .6s var(--ease); }
.b-phone .phone-screen { border-radius: 1.6em 1.6em 0 0; }
.b-phone:hover .phone { transform: translateY(-1.6em); }

.serp { width: 100%; display: grid; gap: 12px; }
.serp-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .95rem; }
.serp-bar svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.serp-q { overflow: hidden; white-space: nowrap; border-right: 2px solid var(--accent); padding-right: 3px; }
.in .serp-q { animation: typing 1.6s steps(14) .5s both, caret .8s step-end infinite; }
@keyframes typing { from { max-width: 0; } to { max-width: 12em; } }
@keyframes caret { 50% { border-color: transparent; } }
.serp-result { display: grid; gap: 3px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 138, 101, .5); box-shadow: 0 0 0 4px rgba(228, 87, 46, .12); }
.serp-url { font-family: var(--font-mono); font-size: .72rem; color: var(--muted-on-dark); }
.serp-result b { font-size: 1.02rem; color: #a8c7fa; font-weight: 500; }
.serp-desc { font-size: .85rem; color: var(--muted-on-dark); }
.serp-ghost { display: grid; gap: 8px; padding: 6px 18px; opacity: .35; }
.serp-ghost i { height: 8px; border-radius: 4px; background: var(--muted-on-dark); width: 55%; }
.serp-ghost i + i { width: 80%; }

.ring { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: 0 14px 30px -10px rgba(228, 87, 46, .8); }
.ring svg { width: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; animation: jiggle 2.4s ease-in-out infinite; }
.ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-soft); animation: ripple 2.4s ease-out infinite; }
.ring span + span { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.1); opacity: 0; } }
@keyframes jiggle { 0%, 60%, 100% { transform: none; } 65%, 75%, 85% { transform: rotate(-12deg); } 70%, 80%, 90% { transform: rotate(12deg); } }

.secure { width: 100%; display: grid; gap: 14px; }
.secure-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: .8rem; color: var(--paper); white-space: nowrap; overflow: hidden; }
.secure-bar svg { flex: none; width: 18px; fill: none; stroke: #6fd39a; stroke-width: 1.8; stroke-linecap: round; }
.loadbar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loadbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--sun)); transform-origin: left; animation: load 2.8s var(--ease) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 35%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.review-stack { position: relative; width: min(100%, 300px); height: 170px; }
.review {
  position: absolute; inset: 0; display: grid; align-content: center; gap: 9px; padding: 20px 22px; border-radius: 18px;
  background: var(--card); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  transition: transform .5s var(--ease);
}
.review:nth-child(1) { transform: rotate(-9deg) translate(-18px, 4px); opacity: .5; }
.review:nth-child(2) { transform: rotate(5deg) translate(16px, 2px); opacity: .8; }
.b-reviews:hover .review:nth-child(1) { transform: rotate(-14deg) translate(-34px, 6px); }
.b-reviews:hover .review:nth-child(2) { transform: rotate(10deg) translate(32px, 0); }
.b-reviews:hover .review:nth-child(3) { transform: translateY(-6px); }
.stars { color: #e5a100; letter-spacing: .12em; font-size: 1.05rem; }
.review p { margin: 0; color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.25; }
.review small { color: var(--muted); font-size: .76rem; }
.review i { height: 8px; border-radius: 4px; background: var(--line); }
.review i + i { width: 60%; }

.chat { width: 100%; display: grid; gap: 10px; }
.chat p { margin: 0; max-width: 86%; padding: 11px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.35; }
.chat-in { justify-self: start; background: rgba(255, 255, 255, .1); color: var(--paper) !important; border-bottom-left-radius: 6px !important; }
.chat-out { justify-self: end; display: flex; align-items: center; gap: 8px; background: var(--accent); color: #fff !important; font-weight: 700; border-bottom-right-radius: 6px !important; }
.chat-out svg { width: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js .b-edits .chat p { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .5s var(--ease); }
.js .b-edits.in .chat-in { opacity: 1; transform: none; transition-delay: .4s; }
.js .b-edits.in .chat-out { opacity: 1; transform: none; transition-delay: 1.3s; }

/* Pricing */
.offer {
  margin-top: 36px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fde9e1; border: 1.5px dashed var(--accent); border-radius: var(--radius);
  font-size: .98rem;
}
.offer-tag { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.offer p { flex: 1; min-width: 240px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 28px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.plan:hover, .js .plan.reveal.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.plan-featured {
  background: radial-gradient(120% 70% at 0% 0%, #343a52, var(--ink) 70%); color: var(--paper); border-color: var(--ink);
  box-shadow: 0 34px 64px -26px rgba(20, 23, 31, .65);
}
/* A light that travels around the featured card */
.plan-featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 62%, var(--accent-soft), var(--sun), transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: orbit 5s linear infinite;
}
@keyframes orbit { to { --angle: 360deg; } }
@media (min-width: 961px) {
  .plan-featured, .js .plan-featured.reveal.in { transform: scale(1.04); }
  .plan-featured:hover, .js .plan-featured.reveal.in:hover { transform: scale(1.04) translateY(-6px); }
}
.plan-badge {
  position: absolute; top: -13px; left: 28px; z-index: 1;
  background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.plan h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.plan-for { color: var(--muted); font-size: .95rem; margin-top: 4px; min-height: 3em; }
.plan-featured .plan-for, .plan-featured .price-monthly { color: var(--muted-on-dark); }
.price { margin-top: 14px; color: inherit; font-size: 1rem; }
.price-main { font-family: var(--font-display); font-weight: 600; font-size: 3.4rem; letter-spacing: -.035em; line-height: 1; margin-right: 4px; }
.price-monthly { color: var(--muted); margin-top: 6px; }
.price-monthly strong { color: var(--ink); font-size: 1.15rem; }
.plan-featured .price-monthly strong { color: var(--paper); }
.plan ul { margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: .97rem; flex: 1; align-content: start; }
.plan-featured ul { border-color: var(--line-dark); }
.plan li { padding-left: 28px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan-featured li::before { border-color: var(--accent-soft); }
.plan-featured .btn-ghost { color: var(--paper); border-color: var(--paper); }

.zero-down {
  position: relative; overflow: hidden;
  margin-top: 28px; padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--paper-tint); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.zero-down > * { position: relative; }
.zero-down > div { flex: 1; min-width: 260px; }
.zero-mark {
  position: absolute !important; right: 16%; top: 50%; translate: 0 -50%; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 11rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20, 23, 31, .1);
}
.zero-down h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
.zero-down p { color: var(--muted); margin-top: 4px; max-width: 36em; }
.zero-down strong { color: var(--ink); }
.fine-print { margin-top: 24px; color: var(--muted); font-size: .9rem; max-width: 62em; }
.fine-print a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* Pricing: numbered steps, hosting options, extras and the estimator */
.price-step { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 64px; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.2; }
.offer + .price-step { margin-top: 44px; }
.price-step span { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .95rem; font-weight: 500; }
.price-step small { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.after, .extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.after-card, .extras-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px 28px; }
.after-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--paper-tint); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.after-card h4, .extras-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.after-card h4 { margin-top: 14px; }
.after-price { margin-top: 6px; color: var(--muted); }
.after-price strong { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -.03em; color: var(--ink); margin-right: 2px; }
.after-card > p:not([class]), .extras-card > p:not([class]) { margin-top: 12px; color: var(--muted); }
.after-card ul, .extras-card ul { margin-top: 18px; display: grid; gap: 10px; font-size: .97rem; }
.after-card li, .extras-card li { padding-left: 28px; position: relative; }
.after-card li::before, .extras-card li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.after-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.after-card .btn { margin-top: auto; align-self: flex-start; }
.after-card .after-note { margin-bottom: 24px; }
.rates { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: .95rem; text-align: left; }
.rates th, .rates td { padding: 9px 10px 9px 0; border-top: 1px solid var(--line); }
.rates thead th { border-top: 0; font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rates td:nth-child(2) { font-weight: 700; }
.price-list { display: grid; margin-top: 12px; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.price-list > div:first-child { border-top: 0; }
.price-list dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }

.estimate { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.estimate-controls { padding: 32px 30px; }
.estimate-controls h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.2; }
.estimate-controls > p:not([class]) { margin-top: 6px; color: var(--muted); }
.estimate-label { margin: 22px 0 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.estimate .chips button { padding: 9px 16px; font-size: .95rem; }
.estimate-check { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: .95rem; cursor: pointer; }
.estimate-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.estimate-out { display: flex; flex-direction: column; padding: 28px 30px 30px; background: var(--ink); color: var(--paper); }
.estimate-out .price-list { margin-top: 0; }
.estimate-out .price-list > div { border-color: var(--line-dark); }
.estimate-out dt { color: var(--muted-on-dark); }
.estimate-out .estimate-total dt { color: var(--paper); font-weight: 700; }
.estimate-total dd { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -.03em; line-height: 1; color: var(--accent-soft); }
.estimate-note { margin: 10px 0 22px; color: var(--muted-on-dark); font-size: .9rem; min-height: 3.2em; }
.estimate-out .btn { margin-top: auto; }

/* Samples */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.samples figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-weight: 700; font-size: .98rem; }
.samples figcaption span { font-family: var(--font-mono); font-weight: 400; font-size: .76rem; color: var(--accent); }
.samples .mock { transition: transform .45s var(--ease), box-shadow .45s; }
.samples figure:hover .mock { transform: translateY(-8px) rotate(-1.2deg); box-shadow: var(--shadow-lg); }
.samples figure:nth-child(even):hover .mock { transform: translateY(-8px) rotate(1.2deg); }
.samples-heading { margin-top: 64px; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; }
.samples-heading + .samples { margin-top: 24px; }

/* Our work: live pieces of real sites, drawn at desktop size and scaled to fit the frame */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.work-mock { border-color: var(--line-dark); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7); transition: transform .45s var(--ease); }
.work-item:hover .work-mock { transform: translateY(-6px); }
.work-view { position: relative; aspect-ratio: var(--w) / var(--h); overflow: hidden; background: var(--card); }
.work-view iframe {
  position: absolute; top: 0; left: 0; border: 0;
  width: calc(var(--w) * 1px); height: calc(var(--h) * 1px);
  transform-origin: 0 0; transform: scale(var(--s, 1));
}
/* Same shape as the frame beside it, so the pair lines up */
.work-strip { --w: 640; --h: 396; }
.work figcaption { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px 16px; margin-top: 22px; }
.work-num { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-soft); padding-top: .4em; }
.work h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.work figcaption p { color: var(--muted-on-dark); font-size: .98rem; margin-top: 6px; }
.work-link {
  grid-column: 2; justify-self: start; margin-top: 8px;
  white-space: nowrap; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-dark); font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.work-link:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Before / after slider */
.compare {
  --pos: 46%;
  position: relative; margin-top: 48px; aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 70px -34px rgba(20, 23, 31, .5);
  container-type: inline-size; user-select: none;
}
.compare-pane { position: absolute; inset: 0; }
.compare p { margin: 0; }

.compare-after { background: #f3ece1; color: #2a211b; display: flex; flex-direction: column; font-size: 1.4cqw; }
.ca-nav { display: flex; justify-content: space-between; align-items: center; padding: 2.4cqw 4cqw; }
.ca-nav b { font-family: var(--font-display); font-weight: 600; font-size: 2cqw; }
.ca-nav i { font-style: normal; font-weight: 700; background: #b4532a; color: #fff; padding: .6cqw 1.4cqw; border-radius: 99px; }
.ca-main { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3cqw; padding: 0 4cqw 5cqw; }
.ca-kicker { font-size: 1.1cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b4532a; }
.ca-title { font-family: var(--font-display); font-weight: 600; font-size: 5cqw; line-height: 1.02; letter-spacing: -.02em; margin: 1cqw 0 1.4cqw !important; }
.ca-sub { font-size: 1.55cqw; opacity: .75; max-width: 26em; }
.ca-btn { display: inline-block; margin: 2cqw 0 1.6cqw; background: #b4532a; color: #fff; font-weight: 700; padding: 1cqw 2.2cqw; border-radius: 99px; }
.ca-stars { color: #d99a00; font-size: 1.6cqw; }
.ca-stars span { color: #2a211b; opacity: .7; font-size: 1.2cqw; margin-left: .6cqw; }
.ca-art { background: linear-gradient(150deg, #c8643a, #9c4421); border-radius: 2cqw; aspect-ratio: 5 / 4; display: grid; place-items: center; }
.ca-art svg { width: 62%; fill: none; stroke: #f3ece1; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.compare-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background: #bdbdbd; color: #000; font-family: "Times New Roman", Times, serif; font-size: 1.9cqw;
  display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; padding: 6cqw 4cqw; text-align: center;
}
.cb-title { font-size: 3.8cqw; font-weight: 700; color: #00008b; }
.cb-blink { background: #ff0; color: #c00; font-weight: 700; padding: .3cqw 1cqw; }
.compare-before u { color: #00f; }
.cb-small { font-size: 1.3cqw; }

.compare-tag {
  position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.tag-before { left: 14px; background: #000; }
.tag-after { right: 14px; background: var(--accent); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(20, 23, 31, .15); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(20, 23, 31, .35);
  transition: width .2s, height .2s;
}
.compare:hover .compare-handle span { width: 56px; height: 56px; }
.compare-handle span::before { content: "\2039\00a0\203A"; color: #fff; font-weight: 700; font-size: 1.2rem; line-height: 1; padding-bottom: 3px; }
.compare-range:focus-visible + .compare-handle span { outline: 3px solid var(--ink); outline-offset: 2px; }

@container (max-width: 600px) {
  .compare-after { font-size: 3cqw; }
  .ca-nav { padding: 4cqw 5cqw; }
  .ca-nav span { display: none; }
  .ca-nav b { font-size: 4.6cqw; }
  .ca-main { grid-template-columns: 1fr; padding: 0 5cqw 14cqw; }
  .ca-art { display: none; }
  .ca-kicker { font-size: 2.6cqw; }
  .ca-title { font-size: 9.5cqw; }
  .ca-sub { font-size: 3.6cqw; }
  .ca-btn { font-size: 3.3cqw; padding: 2.2cqw 4.4cqw; margin: 4cqw 0 3cqw; }
  .ca-stars { font-size: 3.6cqw; }
  .ca-stars span { display: block; font-size: 2.8cqw; margin: 1cqw 0 0; }
  .compare-before { font-size: 3.8cqw; gap: 3.4cqw; padding: 10cqw 5cqw; }
  .cb-title { font-size: 6.4cqw; }
  .cb-small { font-size: 2.8cqw; }
}

/* About */
.about { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 28px 36px; text-align: center; box-shadow: var(--shadow-lg);
  rotate: -2.5deg; transition: rotate .5s var(--ease);
}
.about-card:hover { rotate: 0deg; }
.about-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 92px; height: 28px; margin-left: -46px; background: rgba(242, 182, 50, .55); rotate: 2deg; }
.about-initials {
  display: inline-grid; place-items: center; width: 104px; height: 104px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-soft), var(--accent) 55%, var(--accent-dark)); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 2.3rem; margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--card), 0 0 0 7px var(--line);
}
.about-name { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.2; }
.about-role { font-family: var(--font-mono); color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.about-copy h2 { max-width: 21ch; }
.about-copy p:not(.eyebrow) { color: var(--muted); margin-top: 20px; font-size: 1.1rem; max-width: 38em; }
.about-nos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-nos li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: .92rem; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  interpolate-size: allow-keywords; transition: border-color .3s, box-shadow .3s;
}
.faq details:hover { border-color: #bfb59f; }
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 64px 20px 24px; position: relative;
  font-weight: 700; font-size: 1.08rem; border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--accent); transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding: 0 64px 22px 24px; max-width: 46em; }

/* Contact */
.contact-section { overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; left: -180px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02);
}
.contact { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 1.12rem; max-width: 30em; }
.contact-points { margin-top: 26px; display: grid; gap: 10px; color: var(--paper); }
.contact-points li::before { background-color: rgba(255, 138, 101, .2); }
.contact-copy > .contact-next { font-size: .98rem; }
.form-privacy { color: var(--muted); font-size: .85rem; }
.form-privacy a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.about-copy a, .copyright a, .faq details a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.copyright a { color: var(--paper); }
.contact-details { margin-top: 36px; display: grid; gap: 16px; }
.contact-details span { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 2px; }
.contact-details a {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 2px; padding-bottom: 3px;
  transition: background-size .35s var(--ease), color .2s;
}
.contact-details a:hover { background-size: 100% 100%; color: #fff; }
.contact-form {
  background: var(--card); color: var(--ink); border-radius: 26px; padding: clamp(22px, 3.5vw, 38px); display: grid; gap: 16px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 50px 90px -40px rgba(0, 0, 0, .8);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: .92rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bfb59f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228, 87, 46, .16); }
.field .invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-status { color: var(--muted); font-size: .95rem; min-height: 1.5em; }
.contact-form .form-status.ok { color: #1c6b3c; font-weight: 700; }
.contact-form .form-status.err { color: #b3261e; font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-dark); padding: 40px 0 0; overflow: hidden; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.site-footer .logo-mark { background: var(--paper); color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a, .to-top { text-decoration: none; color: var(--muted-on-dark); font-size: .95rem; transition: color .2s; }
.site-footer nav a:hover, .to-top:hover { color: var(--paper); }
.copyright { flex: 1; min-width: 240px; color: var(--muted-on-dark); font-size: .88rem; }
.footer-inner > .logo, .footer-inner > nav { flex: none; }
.footer-inner > nav { margin-left: auto; }
.footer-inner::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
.copyright, .to-top { order: 2; }
.to-top span { display: inline-block; transition: transform .25s var(--ease); }
.to-top:hover span { transform: translateY(-3px); }
/* The wordmark fills with colour when you reach the end of the page */
.footer-word {
  margin: 32px 0 -.14em; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 19.5vw, 19rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px #454b5e;
  background: linear-gradient(90deg, var(--accent), var(--sun)) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease), -webkit-text-stroke-color 1.6s;
}
.footer-word.in { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }

/* Privacy policy and sample agreement pages */
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.legal h2 { max-width: none; margin-top: 44px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { display: grid; gap: 8px; padding-left: 22px; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.legal .legal-meta { color: var(--muted); font-size: .92rem; }
.legal .legal-lead { margin-top: 28px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.08rem; }
.blank { padding: 1px 8px; background: #fde9e1; border-bottom: 1.5px dashed var(--accent); border-radius: 4px 4px 0 0; font-family: var(--font-mono); font-size: .86em; }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 56px 0 32px; color: var(--muted); font-size: .9rem; }
.sign-line { display: block; height: 44px; border-bottom: 1.5px solid var(--ink); margin-bottom: 8px; }
.legal-footer { padding-bottom: 40px; }
@media (max-width: 560px) { .sign { grid-template-columns: 1fr; } }

.sticky-cta { display: none; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), translate .3s var(--ease), border-color .3s, box-shadow .3s; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-phone { left: -14px; }
  .toast { right: -8px; }
  .badge { right: -8px; }
}

@media (max-width: 960px) {
  .hero-grid, .contact, .about, .faq-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin-top: 28px; }
  .tilt { transform: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-head { position: static; }
  .about-card { max-width: 320px; }

  /* The rail turns vertical */
  .steps { grid-template-columns: 1fr; padding: 0 0 0 44px; margin-top: 48px; gap: 16px; }
  .steps::before, .steps::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { background: linear-gradient(var(--accent), var(--sun)); transform-origin: top; transform: scaleY(var(--fill)); }
  .step-node { left: -44px; top: 34px; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-column: span 1; grid-row: auto; }
  .b-phone, .b-reviews { grid-column: span 2; }
  .b-phone { flex-direction: row; align-items: center; padding-bottom: 0; }
  .b-phone > * { flex: 1; }
  .b-phone .phone { font-size: 13px; }

  .plans, .samples { grid-template-columns: 1fr; max-width: 540px; }
  .after, .extras, .estimate { grid-template-columns: 1fr; max-width: 540px; }
  .work { grid-template-columns: 1fr; gap: 48px; max-width: 640px; }
  .plan-for { min-height: 0; }
  .zero-mark { right: 4%; }
}

/* Five links don't fit beside the logo on small tablets; the footer still links to Our work */
@media (min-width: 761px) and (max-width: 940px) {
  .site-nav a[href="#work"] { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
    padding: 12px;
    display: none;
  }
  .site-nav.open { display: flex; animation: fade-up .3s var(--ease); }
  .site-nav a:not(.btn) { padding: 13px 16px; border-radius: 14px; }
  .site-nav .btn { margin: 8px 0 0; }
  .sticky-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
    transform: translateY(160%); transition: transform .3s;
    box-shadow: 0 14px 30px -10px rgba(20, 23, 31, .55);
  }
  .sticky-cta.show { transform: none; }
  .b-reviews { flex-direction: column; align-items: stretch; }
  .b-reviews .bento-art { min-height: 200px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .bento, .b-phone, .b-reviews { grid-column: span 1; }
  .b-phone { flex-direction: column; align-items: stretch; }
  .b-phone .phone { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .zero-down .btn { width: 100%; }
  .badge { width: 86px; height: 86px; top: -34px; right: -6px; }
  .hero-phone { font-size: 8px; left: -6px; bottom: -36px; }
  .toast { right: -4px; bottom: -26px; }
  .mock-large .mock-art { width: 5em; }
  .mock-large .mock-nav span { display: none; }
  .mock-large .mock-row div { padding: 12px 12px 48px; }
  .mock-row span { display: none; }
  .mock-large .mock-row span { display: block; }
  .compare { aspect-ratio: 1 / 1; }
  .faq summary { padding: 18px 54px 18px 18px; }
  .faq summary::before, .faq summary::after { right: 18px; }
  .faq details p { padding: 0 18px 20px; }
  .footer-inner > nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .split .w, .js .b-edits .chat p { opacity: 1; transform: none; filter: none; transition: none; }
  .js .split:not(.in) .hl { background-size: 100% 34%; }
  .btn, .hero-bg i { transition: none; }
  h1 .line > span { transform: none; animation: none; }
  .scribble path { stroke-dashoffset: 0; animation: none; }
  .hero-copy > :not(h1), .hero-visual, .hero-bg span, .badge-spin, .dot, .marquee-track, .demo.swap *,
  .hero-phone, .toast, .ring span, .ring svg, .loadbar i, .plan-featured::before, .in .serp-q { animation: none !important; }
  .tilt { transform: none; transition: none; }
  .footer-word { transition: none; }
}
