/* ==========================================================================
   Simple Websites for Business — shared stylesheet (Home + Examples index)
   Design tokens per handoff README. Recreated from .dc.html prototypes as
   plain hand-written CSS (no runtime templating).
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/fonts/archivo-variable-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-variable-latin.woff2') format('woff2');
}

:root {
  --ink: #1C1B18;
  --paper: #F7F5F0;
  --primary: #173A45;
  --action: #FF7A1A;
  --action-fg: #1C1B18;
  --line: #E3DED4;
  --line-strong: #D9D3C7;
  --muted: #5C5852;
  --placeholder: #8A857C;
  --white: #FFFFFF;
  --error-bg: #FBEDE6;
  --error-border: #B4472A;
  --error-text: #7A2E18;

  --radius: 6px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --grid-gap: clamp(32px, 6vw, 72px);
  --section-pad: 80px;

  --font-display: 'Archivo', Helvetica, Arial, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  --shadow-card: 0 1px 0 var(--line-strong);
  --shadow-hover: 0 16px 32px -16px rgba(28, 27, 24, .35);
  --shadow-phone: 0 30px 60px -30px rgba(28, 27, 24, .35);
  --shadow-header: 0 10px 30px -22px rgba(28, 27, 24, .55);

  --ease-standard: cubic-bezier(.2, .7, .2, 1);
  --ease-overshoot: cubic-bezier(.2, .9, .3, 1.3);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: #0F262E; }
button, input { font: inherit; color: inherit; }
input::placeholder { color: var(--placeholder); }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font: 600 13px/1 var(--font-mono);
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

h2.section-title {
  margin: 0;
  font: 900 clamp(28px, 4vw, 36px)/1.1 var(--font-display);
  letter-spacing: -.02em;
  text-wrap: pretty;
}
h2.section-title.ruled {
  border-top: 4px solid var(--action);
  padding-top: 16px;
  display: inline-block;
}
h3 {
  font: 900 26px/1.15 var(--font-display);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  z-index: 100;
  font: 700 15px/1 var(--font-display);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 17px/1 var(--font-display);
  padding: 18px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease-out, box-shadow .15s ease-out, filter .15s ease-out;
}
.btn:active { transform: translateY(1px); transition-duration: .1s; }
.btn-primary {
  background: var(--action);
  color: var(--action-fg);
}
.btn-primary:hover { color: var(--action-fg); transform: translateY(-1px); box-shadow: 0 8px 16px -8px rgba(28, 27, 24, .4); }
.btn-primary.small { font-size: 14px; padding: 13px 18px; }
.btn-primary.full { display: flex; width: 100%; }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { color: var(--paper); }

.link-text {
  display: inline-flex;
  align-items: center;
  font: 600 16px/1 var(--font-body);
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity .15s ease-out, text-underline-offset .15s ease-out;
}
.link-text:hover { opacity: .72; text-underline-offset: 6px; color: var(--primary); }
.link-arrow .arrow { display: inline-block; transition: transform .2s var(--ease-standard); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease-out;
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
}
.logo svg { flex-shrink: 0; }
.logo-word {
  font: 800 12px/1.15 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: 30px;
  font: 600 15px/1 var(--font-body);
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: var(--radius);
  background-image: linear-gradient(var(--action), var(--action));
  background-repeat: no-repeat;
  background-position: 8px 100%;
  background-size: 0 2px;
  transition: background-size .2s ease-out;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { background-size: calc(100% - 16px) 2px; }
.header-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: flex-end;
}
.hamburger span { width: 22px; height: 2.5px; background: var(--ink); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: var(--gutter);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close {
  background: none; border: 0; cursor: pointer;
  font: 500 34px/1 var(--font-display); color: var(--ink);
  min-width: 44px; min-height: 44px;
}
.mobile-nav {
  display: flex; flex-direction: column; margin-top: 40px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  font: 900 34px/1.1 var(--font-display); letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-ctas { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-ctas a {
  display: flex; justify-content: center; align-items: center; height: 56px;
  font: 700 17px/1 var(--font-display); border-radius: var(--radius); text-decoration: none;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: var(--grid-gap);
}
.section-head-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* ---------- Reveal-on-scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease-out, transform .55s var(--ease-standard);
  }
  .js [data-reveal].in { opacity: 1; transform: none; }
  [data-stagger] > [data-reveal]:nth-child(2) { transition-delay: .06s; }
  [data-stagger] > [data-reveal]:nth-child(3) { transition-delay: .12s; }
  [data-stagger] > [data-reveal]:nth-child(4) { transition-delay: .18s; }
  [data-stagger] > [data-reveal]:nth-child(5) { transition-delay: .24s; }
  [data-stagger] > [data-reveal]:nth-child(6) { transition-delay: .3s; }
  [data-stagger] > [data-reveal]:nth-child(7) { transition-delay: .36s; }
  [data-stagger] > [data-reveal]:nth-child(8) { transition-delay: .42s; }

  .hl-sweep {
    background: linear-gradient(var(--action), var(--action)) no-repeat 0 90% / 0 .18em;
    padding: 0 .08em; margin: 0 -.08em;
    animation: swbSweep .7s .5s var(--ease-standard) forwards;
  }
  @keyframes swbSweep { to { background-size: 100% .18em; } }

  .strike-text { position: relative; display: inline-block; text-decoration: none !important; }
  .strike-text::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px;
    background: var(--action); transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-standard) .25s;
  }
  [data-reveal].in .strike-text::after { transform: scaleX(1); }

  .js .tick-path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .6s ease-out; }
  [data-reveal].in .tick-path { stroke-dashoffset: 0; }

  .js .step-num { display: inline-block; transform: scale(.6); opacity: 0; transition: transform .5s var(--ease-overshoot), opacity .3s; }
  [data-reveal].in .step-num { transform: scale(1); opacity: 1; }

  .js .stamp { opacity: 0; }
  [data-reveal].in .stamp { animation: swbStamp .4s .3s var(--ease-overshoot) forwards; }
  @keyframes swbStamp { from { opacity: 0; transform: rotate(-14deg) scale(1.5); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }

  .js .qrow { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease-out, transform .35s ease-out; }
  [data-reveal].in .qrow { opacity: 1; transform: none; }
  .qrow:nth-child(3), .qrow:nth-child(4) { transition-delay: .12s; }
  .qrow:nth-child(5), .qrow:nth-child(6) { transition-delay: .24s; }
  .qrow:nth-child(7), .qrow:nth-child(8) { transition-delay: .36s; }
  .qtotal { transition-delay: .8s !important; transition-timing-function: var(--ease-overshoot); }
  .qzero { transition: background-color 1.4s ease-out; }
  [data-reveal].in .qzero { animation: swbZero 1.4s 1.1s ease-out both; }
  @keyframes swbZero { 0% { background: transparent; } 25% { background: rgba(255, 122, 26, .35); } 100% { background: transparent; } }

  .js .section-fade { opacity: 0; transition: opacity .7s ease-out; }
  .section-fade.in { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 460px);
  gap: var(--grid-gap);
  align-items: start;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; padding-top: 12px; }
.hero h1 {
  font: 900 clamp(38px, 5vw, 60px)/1.02 var(--font-display);
  letter-spacing: -.03em;
  text-wrap: pretty;
  max-width: 14em;
}
.hero-sub { font-size: 20.4px; line-height: 1.45; max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }

/* Quote card */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.quote-head .label { font: 900 20px/1 var(--font-display); letter-spacing: .06em; }
.quote-head .num { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.quote-rows { display: grid; grid-template-columns: 1fr auto; font-size: 16px; line-height: 1.35; }
.qrow { padding: 13px 0; border-bottom: 1px solid var(--line); }
.qrow.val { padding-left: 16px; font: 600 13px/1.35 var(--font-mono); color: var(--primary); text-align: right; }
.qtotal { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; border-top: 2px dashed var(--line); margin-top: 8px; }
.qtotal .label { font: 700 15px/1 var(--font-display); letter-spacing: .06em; }
.qtotal .value { font: 900 44px/1 var(--font-display); letter-spacing: -.03em; color: var(--primary); font-variant-numeric: tabular-nums; }
.quote-note { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.stamp {
  position: absolute; right: -12px; top: -16px;
  display: flex; align-items: center; justify-content: center;
  padding: 7px 11px; border: 3px solid var(--action); color: var(--action);
  background: var(--white); border-radius: 4px;
  font: 900 13px/1 var(--font-display); letter-spacing: .12em;
  transform: rotate(-10deg); pointer-events: none; z-index: 2;
}

/* ---------- Problem section ---------- */
.price-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-row .price {
  min-width: 200px; font: 900 34px/1 var(--font-display); letter-spacing: -.03em; color: var(--muted);
}
.price-row .desc { font-size: 18px; }
.problem-close { margin: 24px 0 0; font-size: 18px; line-height: 1.5; max-width: 34em; }

/* ---------- Included / checklist ---------- */
.included-grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: var(--grid-gap); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 18px; list-style: none; }
.checklist svg { flex-shrink: 0; margin-top: 2px; }
.included-note { margin-top: 28px; padding-top: 28px; border-top: 2px solid var(--ink); }
.included-note h3 { margin-bottom: 10px; }
.included-note p { font-size: 18px; line-height: 1.5; }

.demo-phone-wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.demo-phone {
  width: 330px; max-width: 100%; height: 600px;
  background: var(--paper); border: 8px solid var(--ink); border-radius: 40px;
  box-shadow: var(--shadow-phone); overflow: hidden;
}
.demo-caption { font: 500 12px/1.4 var(--font-mono); color: var(--muted); text-align: center; }

/* Scaled live-site preview (used for demo phone + examples grid iframes) */
[data-demo-view] { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.demo-phone [data-demo-view] { height: 100%; }
[data-demo-view] .scale-wrap {
  position: absolute; left: 0; top: 0; width: 390px; height: var(--dvh, 725px);
  transform: scale(var(--dvs, .805)) translateY(var(--scroll-shift, 0px));
  transform-origin: 0 0; pointer-events: none; overflow: hidden;
}
[data-demo-view] iframe { display: block; width: 390px; height: var(--dvh, 725px); border: 0; }
@media (prefers-reduced-motion: no-preference) {
  [data-demo] { transition: transform .5s var(--ease-standard); }
  [data-demo-inner] { transition: transform 2.8s cubic-bezier(.4, 0, .2, 1); }
  .demo-phone:hover [data-demo-inner] { --scroll-shift: -150px; }
}

/* ---------- Examples / ticker ---------- */
.ticker-wrap {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 10px 0; overflow: hidden;
}
.ticker-track {
  display: flex; width: max-content; gap: 0;
  font: 600 13px/1 var(--font-mono); letter-spacing: .08em; color: var(--muted);
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: swbTicker 45s linear infinite; }
  .ticker-wrap:hover .ticker-track { animation-play-state: paused; }
  @keyframes swbTicker { to { transform: translateX(-50%); } }
}
.ticker-track a { color: var(--muted); text-decoration: none; border-bottom: 2px solid var(--action); margin-right: 1.2em; }
.ticker-track span.plain { margin-right: 1.2em; }

.examples-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}
.example-card {
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 18px; align-items: flex-start;
  text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease-standard), box-shadow .3s var(--ease-standard);
}
.example-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  [data-mini-inner] { transition: transform 2.8s cubic-bezier(.4, 0, .2, 1); }
  .example-card:hover [data-mini-inner] { --scroll-shift: -380px; }
}
.example-thumb {
  width: 84px; height: 150px; flex-shrink: 0;
  border: 4px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper);
  position: relative;
}
.example-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.example-thumb [data-demo-view] { width: 100%; height: 100%; }
.example-card-body { display: flex; flex-direction: column; gap: 6px; }
.example-card-body .name { font: 800 19px/1.2 var(--font-display); }
.example-card-body .quote { font-size: 15px; color: var(--muted); }
.example-card-body .view { font: 600 15px/1 var(--font-body); color: var(--primary); margin-top: auto; }

/* ---------- How it works ---------- */
.steps { display: flex; flex-direction: column; }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 0; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-num { font: 900 28px/1 var(--font-display); color: var(--action); }
.step-text { font-size: 19px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 0; background: none; border: 0; cursor: pointer;
  font: 700 19px/1.3 var(--font-body); color: var(--ink); text-align: left;
}
.faq-plus { font: 500 24px/1 var(--font-display); color: var(--primary); transition: transform .22s var(--ease-standard); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 20px; font-size: 17px; line-height: 1.5; max-width: 36em; }
.faq-answer.is-open { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .faq-answer.is-open { animation: swbUp .25s ease-out both; }
  @keyframes swbUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Mockup form ---------- */
.mockup-card {
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
}
.mockup-copy h2 { font: 900 clamp(30px, 4vw, 40px)/1.05 var(--font-display); letter-spacing: -.03em; }
.mockup-copy p { font-size: 18px; line-height: 1.5; margin-top: 14px; }
.mockup-copy .note { font-size: 15px; color: var(--muted); margin-top: 18px; }

.mockup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 14px/1 var(--font-body); color: var(--muted); }
.field input {
  padding: 16px; font-size: 17px; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.field input:focus {
  outline: none; border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .28);
}
.form-submit-note { font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.form-error {
  grid-column: 1 / -1; display: none; align-items: flex-start; gap: 8px;
  background: var(--error-bg); border: 1.5px solid var(--error-border);
  color: var(--error-text); font-size: 15px; padding: 12px 14px; border-radius: var(--radius);
}
.form-error.is-visible { display: flex; }
.form-error .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--error-text); margin-top: 7px; flex-shrink: 0; }

.form-success { display: none; flex-direction: column; gap: 10px; background: var(--paper); border: 1.5px solid var(--primary); border-radius: var(--radius); padding: clamp(24px, 5vw, 40px); grid-column: 1 / -1; }
.form-success.is-visible { display: flex; }
.form-success h3 { font-size: 24px; }
.form-success p { font-size: 16px; line-height: 1.5; }
.form-success .link-text { align-self: flex-start; }

@media (prefers-reduced-motion: no-preference) {
  .confetti-piece {
    position: absolute; width: 8px; height: 12px; border-radius: 2px; pointer-events: none;
    animation: swbConfetti .95s var(--ease-standard) both;
  }
  @keyframes swbConfetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--cx), var(--cy)) rotate(var(--rot)); opacity: 0; } }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand { color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-brand .name { color: var(--ink); font-weight: 600; }
.footer-brand a { color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; padding-top: 7px; font: 600 15px/1 var(--font-body); }
.footer-nav a { color: var(--ink); text-decoration: none; }

/* ---------- Mobile sticky bar ---------- */
.mobile-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-sticky a { height: 54px; border-radius: var(--radius); font: 700 16px/1 var(--font-display); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.mobile-sticky .msg { flex: 1; background: var(--ink); color: var(--paper); }
.mobile-sticky .cta { flex: 1.6; background: var(--action); color: var(--action-fg); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 54px; height: 54px; border-radius: 999px; border: 0; cursor: pointer; padding: 5px;
  background: conic-gradient(var(--action) calc(var(--prog, 0) * 360deg), var(--line) 0);
  display: none; place-items: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s, transform .3s var(--ease-standard);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top .inner {
  width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font: 700 18px/1 var(--font-display);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 100%;
  transform: scaleX(var(--prog, 0)); transform-origin: left;
  background: var(--action); z-index: 60; pointer-events: none;
}

/* ---------- Glow background ---------- */
.bg-glow {
  position: fixed; inset: -20vh -20vw; pointer-events: none; z-index: 0;
  background: radial-gradient(700px circle at 25% 20%, rgba(255, 122, 26, .10), transparent 60%);
}
@media (prefers-reduced-motion: no-preference) {
  .bg-glow { animation: swbGlow 14s ease-in-out infinite alternate; }
  @keyframes swbGlow { from { transform: translate(0, 0); } to { transform: translate(12vw, 10vh); } }
}

/* ---------- CTA band (examples page) ---------- */
.cta-band {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--primary); color: var(--paper);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.cta-band h2 { font: 900 clamp(28px, 3.5vw, 40px)/1.05 var(--font-display); letter-spacing: -.03em; }
.cta-band p { font-size: 18px; line-height: 1.5; opacity: .92; margin-top: 10px; max-width: 30em; }

/* ---------- Phone frame (examples index) ---------- */
.phone-frame {
  display: block; position: relative; width: 100%; aspect-ratio: 9/17;
  background: var(--paper); border: 8px solid var(--ink); border-radius: 34px;
  overflow: hidden; box-shadow: 0 30px 60px -34px rgba(28, 27, 24, .45);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: no-preference) {
  .phone-frame { transition: transform .3s var(--ease-standard); }
  .example-card:hover .phone-frame { transform: translateY(-6px); }
  [data-frame-inner] { transition: transform 3s cubic-bezier(.4, 0, .2, 1); }
  .example-card:hover [data-frame-inner] { --scroll-shift: -900px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.mob-only { display: none; }
@media (max-width: 760px) {
  .desk-only { display: none !important; }
  .mob-only { display: flex !important; }
  .hamburger { display: flex !important; }
  .section-grid, .included-grid, .mockup-card, .mockup-form, .checklist, .step-row { grid-template-columns: 1fr !important; }
  .quote-rows { font-size: 15px; }
  body[data-page] { padding-bottom: 96px; }
  .mobile-sticky { display: flex; }
  .back-to-top { display: none !important; }
}
