/* Lorodoo · lorodoo.com
   Fonts: Inter Tight (display), Inter (text), JetBrains Mono (labels). Self-hosted, SIL OFL. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #111315;
  --ink-2: #181b1e;
  --ink-3: #23272b;
  --ink-line: rgba(255, 255, 255, 0.09);
  --ink-line-2: rgba(255, 255, 255, 0.16);
  --on-ink: #f3f1ec;
  --on-ink-muted: #a3a8ad;

  --paper: #f6f4f0;
  --paper-2: #ece8e1;
  --surface: #ffffff;
  --text: #16181a;
  --muted: #5b6166;
  --line: rgba(22, 24, 26, 0.11);
  --line-2: rgba(22, 24, 26, 0.18);

  --copper: #c4793a;          /* brand, from the logo */
  --copper-ink: #9a5522;      /* copper for small text on light backgrounds */
  --copper-light: #e8ab74;    /* copper for small text on dark backgrounds */
  --copper-tint: #f5e8da;

  --open: #d98a2b;
  --done: #2f9460;
  --rejected: #d0452f;
  --sent: #3d6fb6;

  --plan-bg: #fbfaf7;
  --plan-line: #2b2f33;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 18px 36px -18px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 40px -22px rgba(17, 19, 21, 0.35), 0 4px 12px -6px rgba(17, 19, 21, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
/* Sprung aus dem Menü (#leistungen, #websites, #faq ...): die Überschrift steht knapp unter der festen Kopfzeile.
   scroll-padding-top oben rechnet die Kopfzeile ein, hier wird der Innenabstand des Abschnitts (.section) wieder abgezogen. */
main > section.section[id] { scroll-margin-top: calc(4px - clamp(80px, 10vw, 140px)); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

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

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--ink); color: var(--on-ink); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--copper-ink); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--copper-light); }

.display {
  font-family: var(--font-display); font-weight: 650;
  font-size: clamp(2.7rem, 1.2rem + 5.2vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
.display .accent { color: var(--copper); display: inline-block; }
.h2 .accent, .page-title .accent { color: var(--copper); }
.h2 {
  font-family: var(--font-display); font-weight: 650;
  font-size: clamp(2rem, 1.2rem + 2.9vw, 3.4rem);
  line-height: 1.04; letter-spacing: -0.028em;
  text-wrap: balance; margin-bottom: 20px;
}
.h3 {
  font-family: var(--font-display); font-weight: 620;
  font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em;
}
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--on-ink-muted); max-width: 36em; }
.lead--dark { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-text); font-weight: 600; font-size: 0.98rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  --btn-bg: var(--copper); --btn-fg: #fff;
  box-shadow: 0 10px 24px -10px rgba(196, 121, 58, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--primary:hover { --btn-bg: #cf8446; box-shadow: 0 14px 30px -10px rgba(196, 121, 58, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); border-color: var(--ink-line-2); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn__meta {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.18);
}
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--on-ink);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(17, 19, 21, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--ink-line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand img { width: 150px; height: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-size: 0.93rem; font-weight: 500; text-decoration: none; color: rgba(243, 241, 236, 0.78);
  transition: color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-current { color: #fff; }
.main-nav a.is-current::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--copper);
}
.nav-group { position: relative; }
.nav-group__toggle {
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 8px;
  background: none; cursor: pointer; font: inherit; font-size: 0.93rem; font-weight: 500; color: rgba(243, 241, 236, 0.78);
  transition: color .2s;
}
.nav-group__toggle .icon { width: 15px; height: 15px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.nav-group__toggle:hover, .nav-group__toggle.is-current, .nav-group__toggle[aria-expanded="true"] { color: #fff; }
.nav-group__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-group__toggle.is-current::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--copper);
}
.nav-group__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 51; min-width: 290px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--ink-line-2); background: rgba(17, 19, 21, 0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-group.is-open .nav-group__menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-group__menu a:not(.btn) { display: block; padding: 10px 12px; border-radius: 10px; font-size: 0.93rem; color: #fff; }
.main-nav .nav-group__menu a:not(.btn):hover { background: rgba(255, 255, 255, 0.06); }
.main-nav .nav-group__menu a.is-current::after { display: none; }
.nav-group__menu small { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 400; color: var(--on-ink-muted); }
.nav-cta-mobile { display: none; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--ink-line-2); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; overflow: clip;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 5vw, 64px);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(196, 121, 58, 0.22), rgba(196, 121, 58, 0) 60%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.hero__copy .lead { margin-top: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__person { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.hero__person p { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--on-ink-muted); }
.hero__person strong { color: var(--on-ink); font-weight: 600; }

.avatar-photo {
  position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(196, 121, 58, 0.6);
}
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-photo__mono {
  position: absolute; inset: 0; display: none; place-items: center;
  background: linear-gradient(140deg, #2a2e33, #1a1d20); color: var(--copper-light);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
}
.avatar-photo.is-empty img { display: none; }
.avatar-photo.is-empty .avatar-photo__mono { display: grid; }

/* Hero visual */
.hero__visual { position: relative; padding: 18px 28px 64px 0; }
.app {
  position: relative; background: var(--plan-bg); color: var(--text);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
  transform-origin: 60% 50%;
}
.app__bar, .device__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 46px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line);
  font-size: 0.78rem; color: var(--muted);
}
.app__crumbs { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.app__crumbs b { color: var(--text); font-weight: 600; }
.sep { color: #b9bcbf; }
.app__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--copper); flex: none; margin-right: 4px; }
.plan-index {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--text);
  padding: 4px 8px; border-radius: 7px; background: var(--paper);
}
.plan-index .icon { width: 13px; height: 13px; }
.plan-index em { font-style: normal; color: var(--done); font-weight: 600; }
.app__body { display: grid; grid-template-columns: minmax(0, 1fr) 176px; }
.app__list { border-left: 1px solid var(--line); background: #fff; padding: 12px 10px; }
.app__list-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 8px; font-size: 0.78rem; }
.app__list-head span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); background: var(--paper); padding: 1px 7px; border-radius: 999px; }
.app__list li {
  display: flex; gap: 9px; align-items: flex-start; padding: 7px 6px; border-radius: 8px;
  font-size: 0.72rem; line-height: 1.3; transition: background-color .4s;
}
.app__list li b { display: block; font-weight: 600; font-size: 0.74rem; }
.app__list li small { color: var(--muted); font-size: 0.68rem; }
.app__list li[data-id="12"] { background: var(--copper-tint); }
.app__note {
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: #8b8f93; background: rgba(255, 255, 255, 0.85); padding: 3px 7px; border-radius: 6px;
}

.st { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 4px; background: var(--open); }
.st[data-status="done"] { background: var(--done); }
.st[data-status="rejected"] { background: var(--rejected); }
.st[data-status="sent"] { background: var(--sent); }

/* Plan */
.plan {
  position: relative; aspect-ratio: 3 / 2;
  background-color: var(--plan-bg);
  background-image:
    linear-gradient(rgba(43, 47, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 47, 51, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--plan-line); padding: 14px; }
.plan-windows rect { fill: var(--plan-bg); stroke: var(--plan-line); stroke-width: 1; }
.plan-labels text { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; fill: #8d9094; text-anchor: middle; }
.plan-labels text.sub { font-size: 8.5px; letter-spacing: 0.02em; fill: #aeb1b4; }

.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.64rem; color: #fff;
  background: var(--open);
  box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(0, 0, 0, 0.45);
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.pin[data-status="done"] { background: var(--done); }
.pin[data-status="rejected"] { background: var(--rejected); }
.pin[data-id="12"]::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--open); animation: ring 2.2s var(--ease) infinite;
}
.is-done .pin[data-id="12"]::after { border-color: var(--done); }

@keyframes ring {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Phone */
.phone {
  position: absolute; right: 0; bottom: 0; width: 214px;
  padding: 7px; border-radius: 34px; background: #0b0c0d;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(2.5deg);
}
.phone__notch { position: absolute; top: 13px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 12px; background: #0b0c0d; z-index: 2; }
.phone__screen { background: #fff; color: var(--text); border-radius: 27px; padding: 38px 14px 14px; }
.phone__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.phone__id { font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted); }
.phone__title { display: block; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.phone__photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 200 / 130; }
.phone__photo svg { width: 100%; height: 100%; }
.phone__photo-tag {
  position: absolute; right: 6px; bottom: 6px; display: inline-flex; gap: 4px; align-items: center;
  font-family: var(--font-mono); font-size: 0.6rem; color: #fff; background: rgba(17, 19, 21, 0.6); padding: 2px 6px; border-radius: 6px;
}
.phone__photo-tag .icon { width: 11px; height: 11px; }
.phone__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 12px; }
.phone__meta dt { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.phone__meta dd { margin: 0; font-size: 0.72rem; font-weight: 600; }
.phone__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 32px; border-radius: 10px; font-size: 0.7rem; font-weight: 600;
  transition: transform .2s, background-color .3s, box-shadow .3s;
}
.pbtn .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.pbtn--ghost { background: var(--paper); color: var(--muted); }
.pbtn--ok { background: var(--done); color: #fff; }
.is-pressing .pbtn--ok { transform: scale(.94); box-shadow: 0 0 0 4px rgba(47, 148, 96, 0.25); }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 0.66rem; font-weight: 650; line-height: 1; letter-spacing: 0.01em;
  padding: 5px 8px; border-radius: 999px;
  background: #fbead3; color: #87500f;
  transition: background-color .35s, color .35s;
}
.chip--done, .is-done [data-chip] { background: #dcf0e4; color: #1d6a42; }
.chip--rejected { background: #f9dfd9; color: #9b2f1e; }
.chip--sent { background: #e2ebf8; color: #2a5591; }

.toast {
  position: absolute; left: 20px; top: -4px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: #fff; color: var(--text); font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--done); color: #fff; stroke-width: 2.6; }
.is-done-toast .toast { opacity: 1; transform: none; }

/* Trust strip */
.trust {
  position: relative; margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-line);
}
.trust li { padding: 24px 24px 0 0; }
.trust li + li { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.trust b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.7rem); letter-spacing: -0.02em; }
.trust span { font-size: 0.88rem; color: var(--on-ink-muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
}
.section-head--split .lead { margin-bottom: 22px; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pains { margin-top: 36px; border-top: 1px solid var(--line); }
.pains li {
  display: grid; grid-template-columns: minmax(0, 1.1fr) 28px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.pains__cause { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.pains__arrow { color: var(--copper); display: grid; place-items: center; }
.pains__effect { color: var(--muted); font-size: 0.98rem; }

.chat {
  position: relative; background: #e9e4dc; border-radius: 28px; padding: 10px;
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  max-width: 440px; justify-self: end; width: 100%;
}
.chat__head { display: flex; gap: 12px; align-items: center; padding: 12px 14px 14px; }
.chat__head b { display: block; font-size: 0.95rem; }
.chat__head small { font-size: 0.78rem; color: var(--muted); }
.chat__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--copper-light); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.chat__body {
  display: flex; flex-direction: column; gap: 10px;
  background: #f4f0ea; border-radius: 20px; padding: 16px 14px 20px;
}
.chat__day { align-self: center; font-size: 0.7rem; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 999px; margin-bottom: 4px; }
.msg {
  position: relative; align-self: flex-start; max-width: 86%;
  background: #fff; border-radius: 4px 16px 16px 16px; padding: 8px 12px 18px;
  font-size: 0.9rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.msg small { display: block; font-size: 0.72rem; font-weight: 650; color: var(--copper-ink); margin-bottom: 2px; }
.msg time { position: absolute; right: 10px; bottom: 4px; font-size: 0.64rem; color: #9a9ea2; }
.msg--me { align-self: flex-end; background: #e6f1dd; border-radius: 16px 4px 16px 16px; }
.file { display: flex; gap: 10px; align-items: center; background: var(--paper); padding: 8px 10px; border-radius: 10px; font-size: 0.82rem; }
.file .icon { width: 22px; height: 22px; color: var(--done); }
.file em { display: block; font-style: normal; font-size: 0.7rem; color: var(--muted); }
.chat__note {
  display: block; text-align: center; margin: 10px 0 2px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: #8b8f93;
}

.pull { margin: clamp(64px, 8vw, 110px) auto 0; max-width: 940px; text-align: center; }
.pull blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 550;
  font-size: clamp(1.45rem, 1rem + 1.6vw, 2.25rem); line-height: 1.25; letter-spacing: -0.025em; text-wrap: balance;
}
.pull figcaption { margin-top: 20px; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-ink); }
.pull figcaption::before { content: "· "; }

/* ---------- Demo ---------- */
.demo { overflow: hidden; overflow: clip; }
.demo::before {
  content: ""; position: absolute; left: -300px; bottom: -400px; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(circle, rgba(196, 121, 58, 0.14), rgba(196, 121, 58, 0) 60%);
}
.demo__grid { position: relative; display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.demo__steps { display: flex; flex-direction: column; gap: 10px; }
.demo__step {
  position: relative; overflow: hidden; width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 40px 1fr; gap: 14px;
  padding: 20px 20px 22px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--ink-line);
  transition: background-color .3s, border-color .3s;
}
.demo__step:hover { border-color: var(--ink-line-2); }
.demo__step.is-active { background: var(--ink-2); border-color: var(--ink-line-2); }
.demo__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-ink-muted); padding-top: 3px; }
.demo__step.is-active .demo__num { color: var(--copper-light); }
.demo__txt b { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.demo__txt span { display: block; font-size: 0.92rem; color: var(--on-ink-muted); line-height: 1.5; }
.demo__step:not(.is-active) .demo__txt span { display: none; }
.demo__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: transparent; }
.demo__bar i { display: block; height: 100%; width: 0; background: var(--copper); }
.demo__step.is-active .demo__bar { background: var(--ink-line); }
.demo__step.is-active.is-playing .demo__bar i { animation: progress var(--demo-ms, 6500ms) linear forwards; }
.demo__step.is-active:not(.is-playing) .demo__bar i { width: 100%; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

.device {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.device__bar { justify-content: flex-start; gap: 6px; }
.device__screens { position: relative; padding: 18px; min-height: 440px; }
.screen[hidden] { display: none; }
.screen.is-active { animation: screen-in .55s var(--ease) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.device .app__note { bottom: 10px; left: auto; right: 12px; }

.scr-grid { display: grid; gap: 16px; }
.scr-grid--invite { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.scr-grid--plan { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }

.card-ui { background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(0, 0, 0, 0.3); }
.card-ui__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 9px;
  font-size: 0.74rem; font-weight: 600; background: var(--paper); color: var(--text);
}
.mini-btn .icon { width: 13px; height: 13px; stroke-width: 2.2; }
.mini-btn--primary { background: var(--ink); color: #fff; width: 100%; justify-content: center; height: 36px; margin-top: 14px; }

.people li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); }
.people li div { flex: 1; min-width: 0; }
.people b { display: block; font-size: 0.86rem; }
.people small { font-size: 0.74rem; color: var(--muted); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--paper-2); color: var(--text); font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600;
}
.avatar--sm { width: 24px; height: 24px; font-size: 0.56rem; }
.avatar--lead { background: var(--ink); color: var(--copper-light); }
.screen.is-active .people__new { animation: row-in .6s .35s var(--ease) both; }
.screen.is-active .people__new .chip { animation: chip-pop .5s 1.1s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); background: var(--copper-tint); } to { opacity: 1; transform: none; } }
@keyframes chip-pop { 0% { transform: scale(.7); opacity: 0; } 70% { transform: scale(1.06); } 100% { transform: none; opacity: 1; } }

.mail { background: #fff; border-radius: 14px; padding: 18px; border-top: 3px solid var(--copper); box-shadow: 0 1px 0 var(--line), 0 16px 32px -20px rgba(0, 0, 0, 0.35); }
.screen.is-active .mail { animation: mail-in .7s .9s var(--ease) both; }
@keyframes mail-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.mail__meta { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); margin-bottom: 10px; }
.mail__meta .icon { width: 14px; height: 14px; }
.mail__subject { display: block; font-size: 0.95rem; line-height: 1.3; margin-bottom: 8px; }
.mail p { font-size: 0.84rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.mail p strong { color: var(--text); }
.mail__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px; background: var(--copper); color: #fff; font-size: 0.78rem; font-weight: 600; }
.mail__btn .icon { width: 14px; height: 14px; }

.plan--demo { border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(0, 0, 0, 0.3); }
.screen.is-active .pin--new { animation: pin-drop .7s .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.pin--new::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--open);
  animation: ring 2.2s 1.2s var(--ease) infinite;
}
@keyframes pin-drop { from { opacity: 0; transform: translateY(-26px) scale(.6); } to { opacity: 1; transform: none; } }
.form-ui__photos { display: flex; gap: 8px; margin-bottom: 12px; }
.thumb { width: 88px; aspect-ratio: 200 / 130; border-radius: 9px; overflow: hidden; display: grid; place-items: center; }
.thumb svg { width: 100%; height: 100%; }
.thumb--add { width: 56px; background: var(--paper); color: var(--muted); border: 1.5px dashed var(--line-2); }
.thumb--add .icon { width: 22px; height: 22px; }
.fields div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.8rem; }
.fields dt { color: var(--muted); }
.fields dd { margin: 0; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.fields dd .icon { width: 14px; height: 14px; color: var(--copper); }

.status-ui { padding: 18px; }
.status-ui__sum { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.status-ui__sum .chip { font-size: 0.74rem; padding: 7px 11px; }
.status-list li { border-top: 1px solid var(--line); padding: 14px 0; }
.status-list__row { display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 0.88rem; }
.status-list__row .st { margin: 0; }
.status-list__row span:not(.st):not(.chip) { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comment {
  display: flex; align-items: center; gap: 10px; margin: 10px 0 0 22px;
  font-size: 0.84rem; background: var(--paper); padding: 9px 12px; border-radius: 4px 12px 12px 12px;
}
.comment time { margin-left: auto; font-size: 0.7rem; color: var(--muted); white-space: nowrap; padding-left: 8px; }
.comment--lead { background: #fbeee9; }
.screen.is-active .status-list li { animation: row-in2 .5s var(--ease) both; }
.screen.is-active .status-list li:nth-child(2) { animation-delay: .15s; }
.screen.is-active .status-list li:nth-child(3) { animation-delay: .3s; }
@keyframes row-in2 { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* Reference demo: construction plan, photos, detail, review and PDF screens */
.plan--cad { aspect-ratio: 800 / 520; background: #fff; background-image: none; }
.plan--cad .plan__svg { padding: 0; }
.plan--cad .pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 0.56rem; box-shadow: 0 0 0 2px #fff, 0 4px 10px -3px rgba(0, 0, 0, 0.45); }
.plan-tag {
  position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; background: var(--ink); color: #fff;
}
.thumb img, .photo-lg img, .ba-photos img, .pdf__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-lg { aspect-ratio: 600 / 390; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.fields dd .avatar { width: 20px; height: 20px; font-size: 0.5rem; }

.scr-grid--detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.thread-ui__count { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); }
.sysline { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); }
.sysline .icon { width: 13px; height: 13px; }
.thread-ui .comment, .review-ui .comment { margin: 10px 0 0; align-items: flex-start; }
.thread-ui .comment span:not(.avatar), .review-ui .comment span:not(.avatar) { flex: 1; min-width: 0; }
.thread-ui__input {
  display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 9px 12px;
  border-radius: 10px; border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--muted);
}
.thread-ui__input .icon { width: 15px; height: 15px; color: var(--copper); }
.screen.is-active .thread-ui .comment { animation: row-in2 .5s var(--ease) both; }
.screen.is-active .thread-ui .comment:nth-of-type(3) { animation-delay: .25s; }
.screen.is-active .thread-ui .comment:nth-of-type(4) { animation-delay: .5s; }

.scr-grid--review { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.ba-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-photos figure { position: relative; margin: 0; aspect-ratio: 600 / 390; border-radius: 9px; overflow: hidden; }
.ba-photos figcaption {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px;
  background: rgba(17, 19, 21, 0.72); color: #fff; font-family: var(--font-mono); font-size: 0.58rem;
}
.review-ui__actions { display: flex; gap: 8px; margin-top: 14px; }
.review-ui__actions .mini-btn { flex: 1; justify-content: center; height: 34px; }
.mini-btn--ok { background: var(--done); color: #fff; }
.screen.is-active .mini-btn--ok { animation: chip-pop .5s .9s var(--ease) both; }

.scr-grid--export { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.pdf {
  padding: 16px 16px 12px; border-radius: 4px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 18px 34px -22px rgba(0, 0, 0, 0.45);
}
.pdf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--text); }
.pdf__head b { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; }
.pdf__head span { font-size: 0.58rem; line-height: 1.35; color: var(--muted); text-align: right; }
.pdf__sum { margin: 8px 0 6px; font-family: var(--font-mono); font-size: 0.56rem; color: var(--muted); }
.pdf__table { width: 100%; border-collapse: collapse; font-size: 0.6rem; line-height: 1.3; }
.pdf__table th { padding: 4px; text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.pdf__table td { padding: 3px 4px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pdf__table td:first-child { font-family: var(--font-mono); font-weight: 600; }
.pdf__table td:last-child { white-space: nowrap; }
.pdf__table .st { display: inline-block; width: 7px; height: 7px; margin: 0 4px 0 0; }
.pdf__ph { display: block; width: 34px; height: 22px; border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.pdf__foot { margin: 8px 0 0; text-align: right; font-family: var(--font-mono); font-size: 0.54rem; color: var(--muted); }
.screen.is-active .pdf__table tbody tr { animation: row-in2 .4s var(--ease) both; }
.screen.is-active .pdf__table tbody tr:nth-child(2) { animation-delay: .06s; }
.screen.is-active .pdf__table tbody tr:nth-child(3) { animation-delay: .12s; }
.screen.is-active .pdf__table tbody tr:nth-child(4) { animation-delay: .18s; }
.screen.is-active .pdf__table tbody tr:nth-child(5) { animation-delay: .24s; }
.screen.is-active .pdf__table tbody tr:nth-child(6) { animation-delay: .3s; }
.screen.is-active .pdf__table tbody tr:nth-child(7) { animation-delay: .36s; }
.file-chip {
  display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 10px; border-radius: 9px;
  background: var(--paper); font-family: var(--font-mono); font-size: 0.66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-chip .icon { width: 14px; height: 14px; flex: none; color: var(--done); }
.screen.is-active .file-chip { animation: mail-in .6s 1s var(--ease) both; }

.result {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: clamp(40px, 5vw, 64px); padding: 24px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--ink-line-2); background: linear-gradient(120deg, rgba(196, 121, 58, 0.12), rgba(196, 121, 58, 0.02));
}
.result p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); font-weight: 550; letter-spacing: -0.015em; }
.result__label {
  display: inline-block; margin-right: 10px; vertical-align: 3px;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--copper-light); border: 1px solid rgba(232, 171, 116, 0.4); padding: 3px 8px; border-radius: 999px;
}

/* ---------- Personas ---------- */
.tabs__list {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--paper-2); margin-bottom: 20px; max-width: 100%; overflow-x: auto;
}
.tabs__list button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--muted);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.tabs__list button:hover { color: var(--text); }
.tabs__list button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 16px -8px rgba(0, 0, 0, 0.2); }
.tabs__list button[aria-selected="true"] .icon { color: var(--copper); }
.tabs__panel { animation: screen-in .5s var(--ease) both; }
.persona {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-md);
}
.persona .h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 22px; letter-spacing: -0.025em; }

.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.checks .icon {
  width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%;
  background: var(--copper-tint); color: var(--copper-ink); stroke-width: 2.6;
}
.checks a { color: var(--copper-ink); font-weight: 600; }
.checks--dark .icon { background: rgba(196, 121, 58, 0.18); color: var(--copper-light); }

.persona__ba { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ba { border-radius: var(--radius); padding: 20px 22px; }
.ba p { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.ba__label { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.ba--before { background: var(--paper); color: var(--muted); }
.ba--before p { font-style: italic; }
.ba--before .ba__label { color: var(--rejected); }
.ba--after { background: var(--ink); color: var(--on-ink); }
.ba--after .ba__label { color: var(--copper-light); }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration: none; color: inherit;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), var(--shadow-md); }
.tile p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.tile__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--ink); color: var(--copper-light);
}
.tile__icon .icon { width: 22px; height: 22px; }
.tile--feature { grid-column: span 2; grid-row: span 2; padding: 36px; }
.tile--feature .h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; max-width: 16em; }
.tile--feature p { max-width: 34em; font-size: 1.04rem; }
.tile--link { background: var(--ink); color: var(--on-ink); }
.tile--link p { color: var(--on-ink-muted); }
.tile--link .tile__icon { background: var(--copper); color: #fff; }
.tile__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.93rem; color: var(--copper-light); padding-top: 8px; }
.tile--link:hover .tile__more .icon { transform: translateX(3px); }
.tile__more .icon { transition: transform .25s var(--ease); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tags li { font-size: 0.82rem; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.tags--dark li { background: rgba(255, 255, 255, 0.04); border-color: var(--ink-line-2); color: var(--on-ink); }

.feed {
  margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 8px;
}
.feed__item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 0.86rem;
}
.feed__item .st { margin: 0; }
.feed__item span:not(.st) { flex: 1; min-width: 0; color: var(--muted); }
.feed__item b { color: var(--text); font-weight: 600; }
.feed__item time { font-family: var(--font-mono); font-size: 0.7rem; color: #9a9ea2; }

/* ---------- Websites ---------- */
.websites__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.websites__copy > p:not(.eyebrow) { color: var(--muted); max-width: 34em; }
.websites__copy .checks { margin-top: 24px; }

.websites__refs { position: relative; display: grid; }
.shot { margin: 0; width: 84%; }
.shot--offset { justify-self: end; margin-top: -16%; position: relative; z-index: 1; }
.shot figcaption { display: flex; flex-direction: column; padding: 0 0 14px 4px; }
.shot--offset figcaption { padding: 14px 4px 0 0; text-align: right; }
.shot figcaption b { font-size: 0.95rem; }
.shot figcaption span { font-size: 0.82rem; color: var(--muted); }
.browser {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), var(--shadow-md);
}
.shot--offset .browser { box-shadow: 0 1px 0 var(--line), var(--shadow-lg); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f1efeb; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d0c9; }
.browser__url {
  margin-left: 10px; flex: 1; max-width: 260px; height: 22px; border-radius: 6px; background: #fff;
  display: flex; align-items: center; padding: 0 10px; font-size: 0.7rem; color: var(--muted);
}
.browser img { width: 100%; height: auto; }

/* 3D content escapes body overflow clipping, so the sections that hold it clip it themselves */
.websites, .page-hero { overflow: hidden; overflow: clip; }

/* ---------- "Bauplan wird Website" (data-blueprint): plan draws, design fills, chips pop in ---------- */
.bp { position: relative; }
.bp__frame {
  position: relative; transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.bp__frame .browser { box-shadow: 0 1px 0 var(--line), 0 44px 80px -40px rgba(17, 19, 21, 0.5); }
.bp__screen { position: relative; aspect-ratio: 1200 / 713; overflow: hidden; background: #fbfaf7; }
.bp__paper {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease);
  background-color: #eef3f9;
  background-image:
    linear-gradient(rgba(44, 109, 180, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 109, 180, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(44, 109, 180, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 109, 180, 0.06) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 12px 12px, 12px 12px;
}
.bp__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.bp__slide.is-active { opacity: 1; }
.bp__design { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp__plan { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.bp-l {
  fill: none; stroke: #2c6db4; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.bp-l.bp-t2 { stroke-width: 2.4; }
.bp-l.bp-t3 { stroke-width: 4; }
.bp-l.bp-thin { stroke-width: .8; opacity: .55; }
.bp__labels text { font-family: var(--font-mono); font-size: 19px; font-weight: 600; letter-spacing: .14em; fill: #2c6db4; opacity: 0; }
.bp__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; pointer-events: none;
  background: var(--copper); box-shadow: 0 0 14px 3px rgba(196, 121, 58, 0.6), 0 0 44px 10px rgba(196, 121, 58, 0.22);
}
/* phases, set by main.js */
.js .bp__design { clip-path: inset(0 0 100% 0); }
.bp.is-plan .bp__paper { opacity: 1; }
.bp.is-plan .bp__slide.is-active .bp__plan { opacity: 1; }
.bp.is-plan .bp__slide.is-active .bp-l { animation: bp-draw 1.1s var(--d, 0ms) cubic-bezier(.5, 0, .2, 1) forwards; }
.bp.is-plan .bp__slide.is-active .bp__labels text { animation: bp-fade .5s var(--d, 0ms) var(--ease) forwards; }
.bp.is-fill .bp__slide.is-active .bp__design { clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .25, 1); }
.bp.is-fill .bp__slide.is-active .bp__plan { opacity: 0; transition: opacity .9s .5s var(--ease); }
.bp.is-fill .bp__paper { opacity: 0; transition: opacity .9s .5s var(--ease); }
.bp.is-fill .bp__scan { animation: bp-scan 1.4s cubic-bezier(.65, 0, .25, 1) forwards; }
.bp.is-leaving .bp__slide.is-active { opacity: 0; }
@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
@keyframes bp-scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.bp__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 13px 7px 8px; border-radius: 999px; background: #fff; color: var(--text);
  font-size: 0.8rem; font-weight: 650; letter-spacing: -0.005em;
  box-shadow: 0 1px 0 var(--line), 0 16px 32px -14px rgba(17, 19, 21, 0.45);
  opacity: 0; transform: translateZ(40px) translateY(10px) scale(.8);
  transition: opacity .4s var(--ease), transform .6s cubic-bezier(.3, 1.6, .5, 1);
}
.bp.show-logo .bp__chip--logo, .bp.show-colors .bp__chip--colors, .bp.show-refs .bp__chip--refs { opacity: 1; transform: translateZ(40px); }
.bp.is-leaving .bp__chip { opacity: 0; }
.bp__chip .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--copper-tint); color: var(--copper-ink); stroke-width: 2; }
.bp__chip--logo { left: -20px; top: 16%; }
.bp__chip--colors { right: -24px; top: 42%; }
.bp__chip--refs { left: 12%; bottom: -18px; }
.bp__swatches { display: inline-flex; padding-left: 4px; }
.bp__swatches i { width: 17px; height: 17px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }
.bp__thumb { width: 36px; height: 24px; border-radius: 6px; background-color: var(--paper-2); background-repeat: no-repeat; }
.bp__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.bp__caption { margin: 0; min-width: 0; }
.bp__caption b { display: block; font-size: 0.98rem; }
.bp__caption span { font-size: 0.85rem; color: var(--muted); }
.bp__dots { display: flex; gap: 8px; flex: none; }
.bp__dot { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background-color .3s, width .3s var(--ease); }
.bp__dot.is-active { width: 40px; background: var(--copper); }

/* ---------- Process ---------- */
.process { background: var(--paper); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: 0 1px 0 var(--line);
}
.step::after {
  content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}
.step:last-child::after { display: none; }
.step__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 22px;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  background: var(--ink); color: var(--copper-light);
}
.step:first-child .step__num { background: var(--copper); color: #fff; }
.step .h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.step__tag { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em; color: var(--copper-ink); background: var(--copper-tint); padding: 3px 7px; border-radius: 999px; vertical-align: 3px; margin-left: 4px; }

.promises {
  margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding: 24px 28px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink);
}
.promises li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--on-ink-muted); }
.promises b { color: var(--on-ink); font-weight: 600; }
.promises .icon { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--copper); color: #fff; stroke-width: 2.6; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 32px); }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-2); box-shadow: 0 0 0 1px var(--ink-line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__mono {
  position: absolute; inset: 0; display: none; place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(196, 121, 58, 0.25), transparent 55%),
    linear-gradient(var(--ink-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #22262a, #141618);
}
.portrait__mono span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 12vw, 10rem); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(232, 171, 116, 0.75);
}
.portrait.is-empty img { display: none; }
.portrait.is-empty .portrait__mono { display: grid; }
.portrait__tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 14px;
  background: rgba(17, 19, 21, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--ink-line);
}
.portrait__tag b { display: block; font-size: 1rem; }
.portrait__tag span { font-size: 0.82rem; color: var(--on-ink-muted); }

.about__copy > p:not(.eyebrow) { color: var(--on-ink-muted); max-width: 38em; }
.timeline { margin: 36px 0 0; border-left: 1px solid var(--ink-line-2); }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 0 0 24px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--on-ink-muted);
}
.timeline li.is-now::before { background: var(--copper); border-color: var(--copper); box-shadow: 0 0 0 5px rgba(196, 121, 58, 0.2); }
.timeline__year { font-family: var(--font-mono); font-size: 0.82rem; color: var(--copper-light); padding-top: 1px; }
.timeline b { display: block; font-weight: 600; }
.timeline div span { font-size: 0.92rem; color: var(--on-ink-muted); }

.about__quote { margin: 16px 0 28px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-line); }
.about__quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; }

.stack summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--on-ink-muted);
}
.stack summary::-webkit-details-marker { display: none; }
.stack summary::before { content: "+"; font-family: var(--font-mono); color: var(--copper-light); }
.stack[open] summary::before { content: "−"; }
.stack .tags { margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head p:not(.eyebrow) { color: var(--muted); }
.faq__head a { color: var(--copper-ink); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .25s, border-color .25s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa summary:hover .qa__icon { border-color: var(--text); }
.qa__body { padding: 0 56px 24px 0; color: var(--muted); }
.qa__body p { margin: 0; }
.qa__body a { color: var(--copper-ink); font-weight: 600; white-space: nowrap; }
.qa[open] .qa__body { animation: screen-in .4s var(--ease) both; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; overflow: clip; }
.contact .hero__grid-bg { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 20% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 20% 40%, #000 10%, transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .checks { margin-top: 28px; }
.contact .checks li { color: var(--on-ink); }
.contact__actions { margin-top: 32px; }
.contact__lines { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.contact__lines li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--on-ink-muted); min-width: 0; }
.contact__lines .icon { color: var(--copper-light); }
.contact__lines a { text-decoration: none; color: var(--on-ink); overflow-wrap: anywhere; }
.contact__lines a:hover { color: var(--copper-light); }

.form {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
}
.form__head { margin-bottom: 20px; }
.form__head b { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.form__head span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.form__head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 4px rgba(47, 148, 96, 0.15); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend { font-size: 0.84rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 11px; background: #fcfbf9;
  padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); background: #fff; box-shadow: 0 0 0 4px rgba(196, 121, 58, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rejected); }
.field--choice { border: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--choice legend { margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); font-size: 0.88rem; font-weight: 550; transition: all .2s;
}
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Draft request (dialog) ---------- */
.websites__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; }
.websites__cta p { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: 22em; }
html:has(.dialog[open]) { overflow: hidden; }
.dialog {
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0;
  background: transparent; color: var(--text); overflow: auto; overscroll-behavior: contain;
}
.dialog::backdrop { background: rgba(17, 19, 21, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog[open] { animation: dialog-in .35s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.form--dialog { position: relative; }
.form--dialog .eyebrow { margin-bottom: 10px; }
.dialog__title { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 10px; padding-right: 40px; }
.dialog__lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.dialog__close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-2); background: #fff; cursor: pointer;
}
.dialog__close:hover { border-color: var(--text); }
.dialog__close .icon { width: 18px; height: 18px; }
.form__hint { font-size: 0.85rem; color: var(--muted); background: var(--paper); border-radius: 11px; padding: 10px 14px; margin: 2px 0 16px; }
.form .btn { margin-top: 6px; }
.form__note { margin: 12px 0 0; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }
.form__note a { color: var(--muted); }
.form__status { margin: 10px 0 0; font-size: 0.9rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--done); }
.form__status.is-error { color: var(--rejected); }

/* ---------- Footer ---------- */
.site-footer { background: #0c0d0e; padding: 64px 0 28px; border-top: 1px solid var(--ink-line); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand img { width: 140px; height: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 0.9rem; color: var(--on-ink-muted); margin: 0; }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 48px; align-content: start; }
.footer__nav a, .footer__contact a { font-size: 0.92rem; color: var(--on-ink-muted); text-decoration: none; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__legal {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: 0.82rem; color: #7c8186;
}
.footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--ink-line); }
.footer__legal a { color: #7c8186; text-decoration: none; margin-left: 20px; }
.footer__legal a:first-child { margin-left: 0; }
.footer__legal a:hover { color: #fff; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1s; }
.js .hero__visual.reveal { transform: translateY(32px); }
.js .hero__visual.reveal.is-in { transform: none; }

/* Hero intro: pins drop in once */
.js .hero__visual .pin { opacity: 0; }
.js .hero__visual.is-in .pin { animation: pin-drop .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.hero__visual.is-in .pin:nth-of-type(1) { animation-delay: .7s; }
.hero__visual.is-in .pin:nth-of-type(2) { animation-delay: .8s; }
.hero__visual.is-in .pin:nth-of-type(3) { animation-delay: .9s; }
.hero__visual.is-in .pin:nth-of-type(4) { animation-delay: 1s; }
.hero__visual.is-in .pin:nth-of-type(5) { animation-delay: 1.1s; }
.hero__visual.is-in .pin:nth-of-type(6) { animation-delay: 1.2s; }

/* ---------- Legal pages ---------- */
.legal-header { position: relative; background: var(--ink); color: var(--on-ink); }
.legal-header .header-inner { height: var(--header-h); }
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px); }
.legal .container { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { font-family: var(--font-display); font-weight: 650; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 32px; }
.legal h2 { font-family: var(--font-display); font-weight: 620; font-size: 1.25rem; letter-spacing: -0.015em; margin: 40px 0 10px; }
.legal p, .legal li { color: #3d4247; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal a { color: var(--copper-ink); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.legal .back .icon { transform: rotate(180deg); }
.legal address { font-style: normal; }
.legal .todo { background: #fff3cd; padding: 0 4px; border-radius: 4px; }

/* ---------- Text links in tiles ---------- */
.tile__more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.93rem; font-weight: 600; color: var(--copper-ink); text-decoration: none; }
.tile__more-link .icon { transition: transform .25s var(--ease); }
.tile__more-link:hover .icon { transform: translateX(3px); }
.dark .tile__more-link { color: var(--copper-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a:not(.btn), .nav-group__toggle { padding: 8px 9px; font-size: 0.9rem; }
  .nav-group__toggle.is-current::after { left: 9px; right: 9px; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 24px;
    background: rgba(17, 19, 21, 0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .main-nav a.is-current::after { display: none; }
  .nav-group__toggle {
    width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.05rem; text-align: left;
    border-bottom: 1px solid var(--ink-line); border-radius: 0;
  }
  .nav-group__toggle .icon { width: 18px; height: 18px; }
  .nav-group__toggle.is-current::after { display: none; }
  .nav-group__menu {
    position: static; display: none; min-width: 0; padding: 0 0 0 16px; border: 0; border-radius: 0;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
    opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .nav-group.is-open .nav-group__menu { display: block; visibility: inherit; }
  .main-nav .nav-group__menu a:not(.btn) { padding: 12px 4px; font-size: 1rem; border-radius: 0; color: rgba(243, 241, 236, 0.78); }
  .main-nav .nav-group__menu a:not(.btn):hover { background: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; min-height: 52px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-header.menu-open { background: rgba(17, 19, 21, 0.97); }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 680px; }
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .demo__steps { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .demo__steps::-webkit-scrollbar { display: none; }
  .demo__steps li { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
  .demo__step { height: 100%; }
  .demo__step:not(.is-active) .demo__txt span { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--feature { grid-row: auto; }
  .tile--link { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .websites__grid, .problem__grid { grid-template-columns: minmax(0, 1fr); }
  .chat { justify-self: start; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { position: static; max-width: 380px; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .faq__head { position: static; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .brand img { width: 128px; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .hero__visual { padding: 12px 0 88px; }
  .app { transform: none; }
  .app__body { grid-template-columns: minmax(0, 1fr); }
  .app__list { display: none; }
  .plan-index em { display: none; }
  .phone { width: 184px; right: 4px; bottom: 0; }
  .phone__screen { padding: 34px 12px 12px; }
  .toast { top: auto; bottom: 20px; left: 0; font-size: 0.74rem; }
  .trust { grid-template-columns: minmax(0, 1fr) 1fr; }
  .trust li { padding: 20px 12px 20px 0; }
  .trust li + li { padding-left: 0; border-left: 0; }
  .trust li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ink-line); }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
  .pains li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 0; }
  .pains__arrow { display: none; }
  .pains__effect::before { content: "→ "; color: var(--copper); }
  .device__screens { padding: 12px 12px 40px; min-height: 0; }
  .dialog .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bp__chip { font-size: 0.72rem; padding: 5px 10px 5px 6px; }
  .bp__chip .icon { width: 20px; height: 20px; }
  .bp__chip--logo { left: 8px; top: 10%; }
  .bp__chip--colors { right: 8px; top: 44%; }
  .bp__chip--refs { left: 8px; bottom: 8px; }
  .bp__foot { margin-top: 18px; }
  .websites__cta .btn { width: 100%; }
  .device__bar span { white-space: nowrap; }
  .device__bar span:nth-last-child(-n+2) { display: none; }
  .review-ui__actions { flex-direction: column; }
  .review-ui__actions .mini-btn { flex: none; }
  .scr-grid--invite, .scr-grid--plan, .scr-grid--detail, .scr-grid--review, .scr-grid--export { grid-template-columns: minmax(0, 1fr); }
  .pdf__table th:nth-child(3), .pdf__table td:nth-child(3) { display: none; }
  .status-list__row { grid-template-columns: 10px 1fr auto; }
  .status-list__row span:not(.st):not(.chip) { display: none; }
  .comment { margin-left: 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 10px; align-items: start; }
  .comment time { grid-column: 2; margin-left: 0; padding-left: 0; }
  .persona { grid-template-columns: minmax(0, 1fr); }
  .tabs__list { display: flex; width: 100%; }
  .tabs__list button { flex: 1; justify-content: center; padding: 0 12px; font-size: 0.9rem; }
  .tabs__list button .icon { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--feature, .tile--link { grid-column: auto; }
  .tile--feature { padding: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .shot { width: 100%; }
  .shot--offset { margin-top: 28px; }
  .shot--offset figcaption { text-align: left; padding: 14px 0 0 4px; }
  .contact__lines { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .qa__body { padding-right: 0; }
  .result { padding: 22px; }
  .result .btn { width: 100%; white-space: normal; text-align: center; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__nav { gap: 10px 32px; }

  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 19, 21, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--ink-line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { min-height: 50px; }
  .sticky-cta__mail {
    flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--ink-line-2); color: var(--on-ink);
  }
  .sticky-cta__mail .icon { width: 20px; height: 20px; }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__visual .pin { opacity: 1; }
  .pin[data-id="12"]::after, .pin--new::before { display: none; }
}

/* ---------- Logo variants ---------- */
.logo-on-light { display: none; }
[data-theme="light"] .logo-on-dark { display: none; }
[data-theme="light"] .logo-on-light { display: block; }

/* =====================================================================
   Light design
   Same page, same content. Sections marked .dark switch to warm paper
   tones; dark stays only as an accent (buttons, icons, small cards).
   ===================================================================== */
[data-theme="light"] {
  --shadow-lg: 0 40px 80px -40px rgba(60, 40, 20, 0.35), 0 18px 36px -20px rgba(60, 40, 20, 0.2);
  --shadow-md: 0 18px 40px -24px rgba(60, 40, 20, 0.3), 0 4px 12px -6px rgba(60, 40, 20, 0.08);
}
[data-theme="light"] .dark {
  background: var(--paper);
  color: var(--text);
  --on-ink: var(--text);
  --on-ink-muted: var(--muted);
  --ink-line: rgba(22, 24, 26, 0.08);
  --ink-line-2: rgba(22, 24, 26, 0.16);
  --copper-light: var(--copper-ink);
  --ink-2: #fff;
}

/* Header */
[data-theme="light"] .site-header { color: var(--text); }
[data-theme="light"] .site-header.is-scrolled,
[data-theme="light"] .site-header.menu-open {
  background: rgba(250, 248, 245, 0.86);
  box-shadow: 0 1px 0 var(--line);
}
[data-theme="light"] .main-nav a:not(.btn) { color: rgba(22, 24, 26, 0.68); }
[data-theme="light"] .main-nav a:not(.btn):hover,
[data-theme="light"] .main-nav a.is-current { color: var(--text); }
[data-theme="light"] .menu-toggle { border-color: var(--line-2); }
[data-theme="light"] .nav-group__toggle { color: rgba(22, 24, 26, 0.68); }
[data-theme="light"] .nav-group__toggle:hover,
[data-theme="light"] .nav-group__toggle.is-current,
[data-theme="light"] .nav-group__toggle[aria-expanded="true"] { color: var(--text); }
[data-theme="light"] .nav-group__menu { background: rgba(250, 248, 245, 0.98); border-color: var(--line); box-shadow: var(--shadow-md); }
[data-theme="light"] .main-nav .nav-group__menu a:not(.btn) { color: var(--text); }
[data-theme="light"] .main-nav .nav-group__menu a:not(.btn):hover { background: rgba(22, 24, 26, 0.05); }
[data-theme="light"] .nav-group__menu small { color: var(--muted); }

/* Hero */
[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(196, 121, 58, 0.14), transparent 70%),
    linear-gradient(180deg, #faf8f5 0%, var(--paper) 100%);
}
[data-theme="light"] .hero__glow { opacity: .55; }
[data-theme="light"] .hero__grid-bg { opacity: .8; }
[data-theme="light"] .display { color: var(--ink); }
[data-theme="light"] .btn--ghost { --btn-bg: #fff; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
[data-theme="light"] .btn--ghost:hover { border-color: var(--text); background: #fff; }
[data-theme="light"] .avatar-photo { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(196, 121, 58, 0.6); }
[data-theme="light"] .avatar-photo__mono { background: var(--copper-tint); color: var(--copper-ink); }
[data-theme="light"] .app,
[data-theme="light"] .device { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 24, 26, 0.08); }
[data-theme="light"] .phone { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 24, 26, 0.2); }
[data-theme="light"] .trust { border-top-color: var(--line); }

/* Reference demo */
[data-theme="light"] .demo { background: var(--paper-2); }
[data-theme="light"] .demo::before { opacity: .6; }
[data-theme="light"] .demo__step { background: rgba(255, 255, 255, 0.45); border-color: var(--line); }
[data-theme="light"] .demo__step.is-active { background: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
[data-theme="light"] .demo__step.is-active .demo__bar { background: var(--line); }
[data-theme="light"] .device { background: var(--paper); }
[data-theme="light"] .avatar--lead { color: var(--copper-tint); }
[data-theme="light"] .result { background: #fff; border-color: transparent; box-shadow: 0 1px 0 var(--line), var(--shadow-md); }
[data-theme="light"] .result__label { border-color: rgba(154, 85, 34, 0.35); }

/* Personas, services, process keep their light look; separate them a little more */
[data-theme="light"] .personas { background: #fbfaf8; }
[data-theme="light"] .process { background: #fbfaf8; }

/* About */
[data-theme="light"] .about { background: #fff; }
[data-theme="light"] .portrait { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
[data-theme="light"] .portrait__mono {
  background:
    radial-gradient(circle at 70% 20%, rgba(196, 121, 58, 0.18), transparent 55%),
    linear-gradient(rgba(22, 24, 26, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(22, 24, 26, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #f8f5f0, #ece6dc);
}
[data-theme="light"] .portrait__mono span { -webkit-text-stroke-color: rgba(154, 85, 34, 0.7); }
[data-theme="light"] .portrait__tag { background: rgba(255, 255, 255, 0.82); border-color: var(--line); }
[data-theme="light"] .about__quote { background: var(--paper); border-color: transparent; }
[data-theme="light"] .timeline li::before { background: #fff; }

/* Contact */
[data-theme="light"] .contact {
  background:
    radial-gradient(ellipse 60% 80% at 10% 0%, rgba(196, 121, 58, 0.16), transparent 70%),
    linear-gradient(180deg, #f8efe5 0%, #f4e7d9 100%);
}
[data-theme="light"] .contact .hero__grid-bg { opacity: .5; }
[data-theme="light"] .contact__lines { border-top-color: rgba(154, 85, 34, 0.18); }
[data-theme="light"] .form { box-shadow: 0 40px 80px -40px rgba(120, 70, 30, 0.35), 0 0 0 1px rgba(154, 85, 34, 0.08); }

/* Footer */
[data-theme="light"] .site-footer { background: var(--paper-2); border-top-color: var(--line); }
[data-theme="light"] .footer__nav a,
[data-theme="light"] .footer__contact a,
[data-theme="light"] .footer__legal,
[data-theme="light"] .footer__legal a { color: var(--muted); }
[data-theme="light"] .footer__nav a:hover,
[data-theme="light"] .footer__contact a:hover,
[data-theme="light"] .footer__legal a:hover { color: var(--text); }
[data-theme="light"] .footer__legal::before { background: var(--line); }

/* Legal pages */
[data-theme="light"] .legal-header { background: #faf8f5; color: var(--text); box-shadow: 0 1px 0 var(--line); }

@media (max-width: 1080px) {
  [data-theme="light"] .main-nav { background: rgba(250, 248, 245, 0.98); border-bottom-color: var(--line); }
  [data-theme="light"] .main-nav a:not(.btn), [data-theme="light"] .nav-group__toggle { border-bottom-color: var(--line); }
  [data-theme="light"] .nav-group__menu { background: none; box-shadow: none; }
  [data-theme="light"] .main-nav .nav-group__menu a:not(.btn) { color: rgba(22, 24, 26, 0.68); }
  [data-theme="light"] .main-nav .nav-group__menu a:not(.btn):hover { background: none; }
}
@media (max-width: 760px) {
  [data-theme="light"] .sticky-cta { background: rgba(250, 248, 245, 0.94); border-top-color: var(--line); }
  [data-theme="light"] .sticky-cta__mail { border-color: var(--line-2); color: var(--text); }
}

/* Legal pages: header CTA, 404 actions */
.legal-header .brand img { width: 150px; }
.legal-cta { margin-left: auto; }
.legal .back { color: var(--copper-ink); }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--text); }
.legal + .site-footer { padding-top: 0; }
.legal + .site-footer .footer__legal::before { display: none; }
@media (max-width: 760px) {
  .legal-cta { display: none; }
  .legal + .site-footer { padding-bottom: 28px; }
}

