/* Webway Chat — marketing site. Tokens lifted from the app's "Sticky" design (static/css/app.css). */
@font-face { font-family: "Archivo Black"; src: url(fonts/archivo-black-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 400; src: url(fonts/barlow-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 500; src: url(fonts/barlow-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 600; src: url(fonts/barlow-600.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 700; src: url(fonts/barlow-700.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(fonts/instrument-serif-400-italic.woff2) format("woff2"); font-display: swap; }

:root {
  --bg: #0b0b0b;
  --card: #131313;
  --line: #232323;
  --text: #ffffff;
  --muted: #a3a3a3;
  --yellow: #FFD400;
  --pink: #FF2E93;
  --green: #8fd48f;
  --blue: #7ab5ff;
  --teal: #2ee6b8;
  --cream: #FFFCF4;
  --ink: #111111;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: Barlow, "Segoe UI", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 18px;
  --shadow: 6px 6px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--pink); color: #fff; }

.wrap { max-width: 1488px; margin: 0 auto; padding-inline: var(--gutter); }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: -.01em; line-height: .95; margin: 0; }
.serif { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); margin: 0 0 14px; }
.lede { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 38em; }

/* ---------- buttons & stickers ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 16px 24px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: transparent; color: #fff; border-color: #3a3a3a; box-shadow: none; }
.btn.ghost:hover { border-color: #fff; }
.btn.pink { background: var(--pink); color: #fff; }
.btn.dark { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 4px 4px 0 var(--pink); }
.on-light .btn { border-color: var(--ink); }

.sticker {
  display: inline-block; font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px; background: var(--yellow); color: var(--ink);
  transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink);
}
.sticker.pink { background: var(--pink); color: #fff; }
.sticker.green { background: var(--green); }
.sticker.blue { background: var(--blue); }

/* ---------- nav ---------- */
.nav { --nav-teal: #12BFA5; position: sticky; top: 0; z-index: 50; background: rgba(11,11,11,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #161616; }
.nav.open { border-bottom-color: #1f1f1f; }
.nav .wrap { max-width: none; }
.nav .bar { display: flex; align-items: center; gap: 26px; height: 84px; }
.nav .logo { display: flex; align-items: center; flex: none; }
.nav .logo img { height: 28px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 8px; margin-left: 10px; flex: 1 1 auto; min-width: 0; }

/* hand-cut chips: Product, Packages, Contact */
.nav .chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 19px; cursor: pointer;
  font: 700 16.5px/1.2 var(--body); color: #d4d2ce; text-decoration: none; white-space: nowrap;
  background: transparent; border: 1.5px solid #262626; border-radius: 11px 9px 12px 10px;
  transform: rotate(-1deg); transition: transform .12s, background .12s, box-shadow .12s, color .12s;
}
.nav .chip .dot { width: 9px; height: 9px; flex: none; border-radius: 2px 3px 2px 3px; background: var(--yellow); transform: rotate(12deg); }
.nav .chip:hover, .nav .chip[aria-expanded="true"] { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-2.5deg); }
.nav .chip:hover .dot, .nav .chip[aria-expanded="true"] .dot { background: var(--ink); }
.nav .chip-product { gap: 8px; padding: 11px 18px; border-radius: 10px 12px 9px 13px; }
.nav .chip .caret { font-size: 12px; color: var(--yellow); display: inline-block; transition: transform .15s; }
.nav .chip:hover .caret, .nav .chip[aria-expanded="true"] .caret { color: var(--ink); }
.nav .chip[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav .chip-packages .dot { background: var(--nav-teal); }
.nav .chip-packages:hover { box-shadow: 3px 3px 0 var(--nav-teal); }
.nav .chip-contact { border-radius: 10px 13px 9px 12px; transform: rotate(1deg); }
.nav .chip-contact .dot { background: var(--pink); transform: rotate(-12deg); }
.nav .chip-contact:hover { background: #f2f0ec; transform: rotate(2.5deg); }
.nav .chip[aria-current="page"] { color: var(--yellow); border-color: #3a3a3a; }
.nav .chip[aria-current="page"]:hover { color: var(--ink); border-color: var(--ink); }

.nav .actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.nav .signin {
  display: inline-flex; align-items: center; height: 48px; padding: 0 20px; white-space: nowrap;
  border: 1.5px solid #262626; border-radius: 10px 13px 9px 12px; color: #c9c7c3;
  font: 700 16px/1 var(--body); text-decoration: none; transition: color .12s, border-color .12s;
}
.nav .signin:hover { color: #fff; border-color: #3a3a3a; }
.nav .register {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; white-space: nowrap;
  border: 1.5px solid var(--ink); border-radius: 13px 10px 14px 11px; background: var(--yellow); color: var(--ink);
  box-shadow: 3px 3px 0 var(--nav-teal); font: 700 16px/1 var(--body); letter-spacing: .02em; text-decoration: none;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.nav .register span { font-size: 16px; }
.nav .register:hover { background: #ffe34d; transform: rotate(-1.5deg); box-shadow: 4px 4px 0 var(--pink); }

.nav .burger {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; flex: none;
  cursor: pointer; padding: 0; background: transparent; border: 1px solid #262626; border-radius: 12px 10px 13px 11px;
}
.nav .burger span { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav .burger i { height: 2px; background: #f2f0ec; border-radius: 2px; }
.nav .burger[aria-expanded="true"] { border-color: var(--yellow); background: rgba(255,212,0,.1); }

/* Product menu (desktop) */
.nav .mega { border-top: 1px solid #1a1a1a; background: #0e0e0e; }
.nav .mega-inner { padding-block: 0 14px; }
.nav .mega-label, .nav .drawer-label { font: 700 9.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: #7f7f7c; }
.nav .mega-label { margin: 0; padding: 18px 12px 10px; }
.nav .mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 6px; }
.nav .mega-grid a { display: flex; gap: 11px; align-items: flex-start; padding: 11px 12px; border-radius: 12px 10px 13px 11px; text-decoration: none; }
.nav .mega-grid a:hover, .nav .mega-grid a:focus-visible { background: #171717; }
.nav .mega-grid b { display: block; font: 700 15.5px/1.3 var(--body); color: #f2f0ec; }
.nav .mega-grid small { display: block; font: 400 13.5px/1.35 var(--body); color: #8f8f8b; margin-top: 2px; }
.nav .ico {
  --ring: var(--yellow); width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ring); border-radius: 9px 8px 10px 8px; color: var(--ring); background: #141414;
  font-size: 11px; line-height: 1; transform: rotate(-3deg);
}
.nav .ico.pink { --ring: var(--pink); }
.nav .ico.teal { --ring: var(--nav-teal); }

/* phone drawer */
.nav .drawer { border-top: 1px solid #1a1a1a; background: #0e0e0e; max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
.nav .drawer-inner { padding-block: 2px 24px; }
.nav .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
.nav .tiles a {
  display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 13px 12px; text-decoration: none;
  border: 1.5px solid #1e1e1e; border-radius: 16px 12px 17px 13px; background: #111;
  font: 700 16px/1.15 var(--body); color: #f2f0ec; transition: box-shadow .12s, background .12s, border-color .12s;
}
.nav .tiles a:hover, .nav .tiles a:focus-visible { border-color: var(--ink); background: #161616; box-shadow: 4px 4px 0 var(--yellow); }
.nav .tiles .ico { width: 34px; height: 34px; border-width: 1.5px; border-radius: 12px 10px 13px 11px; background: #171717; font-size: 15px; }
.nav .tiles a:nth-child(even) .ico { transform: rotate(3deg); }
.nav .pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0 2px; }
.nav .pills a { padding: 10px 15px; border: 1px solid #242424; border-radius: 999px; font: 600 14.5px/1.2 var(--body); color: #a3a39f; text-decoration: none; }
.nav .pills a:hover, .nav .pills a:focus-visible { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.nav .pills a[aria-current="page"] { color: var(--yellow); border-color: #3a3a3a; }
.nav .drawer-cta { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 4px; }
.nav .drawer-cta .register { justify-content: center; height: 50px; border-width: 2px; border-radius: 16px 13px 15px 12px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--pink); }
.nav .drawer-cta .register:hover { transform: none; }
.nav .drawer-cta .quiet { display: flex; align-items: center; justify-content: center; height: 46px; color: #a3a39f; font: 600 15px/1 var(--body); text-decoration: none; }
.nav .drawer-cta .quiet:hover { color: var(--yellow); }

@media (max-width: 1024px) { .nav .signin { display: none; } }
@media (max-width: 960px) {
  .nav .bar { gap: 14px; }
  .nav .logo img { height: 24px; }
  .nav nav { gap: 6px; margin-left: 4px; }
  .nav .chip, .nav .chip-product { font-size: 14.5px; padding: 9px 13px; gap: 8px; }
  .nav .register { height: 44px; padding: 0 18px; font-size: 15px; }
}
@media (max-width: 760px) {
  .nav .bar { gap: 10px; height: 66px; }
  .nav nav, .nav .actions, .nav .mega { display: none; }
  .nav .burger { display: inline-flex; }
}
@media (min-width: 761px) { .nav .drawer { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(#2a2a2a 1.2px, transparent 1.2px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 88px); }
.hero h1 .hl { color: var(--ink); background: var(--yellow); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero h1 .serif { color: var(--pink); font-size: 1.08em; }
.hero .lede { margin: 26px 0 32px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero .proof span::before { content: "✦ "; color: var(--yellow); }

.snippet {
  margin-top: 30px; display: flex; align-items: center; gap: 12px; max-width: 100%;
  background: #121212; border: 1px dashed #333; border-radius: 12px; padding: 12px 12px 12px 16px;
}
.snippet code { font-family: var(--mono); font-size: 13px; color: #d7d7d7; white-space: nowrap; overflow-x: auto; flex: 1; scrollbar-width: none; }
.snippet code b { color: var(--yellow); font-weight: 400; }
.snippet code i { color: var(--pink); font-style: normal; }
.copy { flex: none; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; background: #222; color: #fff; border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.copy:hover { background: var(--pink); }
.copy.done { background: var(--green); color: var(--ink); }

.stage { position: relative; padding-bottom: 70px; }
.stage .shop {
  position: relative; width: 90%; border-radius: 16px; overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--pink); transform: rotate(1.5deg); background: #f6efe4;
}
.stage .shop .bar { display: flex; gap: 6px; padding: 10px 12px; background: #1b1b1b; }
.stage .shop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.stage .shop .bar i:nth-child(1) { background: var(--pink); } .stage .shop .bar i:nth-child(2) { background: var(--yellow); } .stage .shop .bar i:nth-child(3) { background: var(--green); }
.stage .shop .bar span { margin-left: 10px; font: 12px var(--mono); color: #8a8a8a; }
.stage .phone {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 30%; min-width: 130px; border-radius: 28px; overflow: hidden;
  border: 6px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); transform: rotate(-5deg); background: #000;
}
.bubble {
  position: absolute; z-index: 3; max-width: 260px; padding: 12px 16px; border-radius: 18px; font-weight: 600; font-size: 15px; line-height: 1.35;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); opacity: 0; transform: translateY(14px) scale(.96);
  animation: pop .5s cubic-bezier(.2,1.4,.4,1) forwards;
}
.bubble small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.bubble.v { left: -24px; top: 50%; background: var(--pink); color: #fff; border-bottom-left-radius: 4px; animation-delay: .7s; }
.bubble.a { left: 16%; top: 70%; background: var(--cream); color: var(--ink); border-bottom-left-radius: 4px; animation-delay: 1.9s; }
.typing { position: absolute; right: 16%; top: -16px; z-index: 3; animation: pop .4s 2.8s forwards; opacity: 0; }
@keyframes pop { to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { margin-top: 10px; }
  .bubble.v { left: 4px; }
}
@media (max-width: 520px) { .bubble { font-size: 13px; max-width: 200px; padding: 9px 12px; } .stage .phone { display: none; } }

/* ---------- marquee ---------- */
.marquee { background: var(--yellow); color: var(--ink); border-block: 3px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: 30px -20px; position: relative; z-index: 2; }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; padding: 14px 22px; white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--pink); -webkit-text-stroke: 1px var(--ink); }
.marquee.alt { background: var(--pink); transform: rotate(1deg); margin-top: -18px; }
.marquee.alt span { color: #fff; } .marquee.alt span:nth-child(even) { color: var(--yellow); }
.marquee.alt .track { animation-direction: reverse; animation-duration: 44s; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head h2 { font-size: clamp(36px, 6vw, 80px); max-width: 12em; }
.section-head > * { min-width: 0; }
.section-head .lede { margin: 0; max-width: 30em; }
/* Tablet/desktop section headings stay on one line, all at one size: capped by the section-head's width (cqi)
   divided by --fit, the widest heading on the site in em ("Knows your shop. knows when to call you." is
   19.9) plus a little slack. Shorten copy rather than raise it. */
@media (min-width: 761px) {
  .section-head { container-type: inline-size; --fit: 20.4; }
  .section-head h2 { white-space: nowrap; max-width: none; font-size: min(clamp(36px, 6vw, 80px), calc(100cqi / var(--fit))); }
}
.on-light { background: var(--cream); color: var(--ink); }
.on-light .lede { color: #5b5750; }
.on-light .eyebrow { color: var(--pink); }

/* live demo */
.demo-frame { border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; background: #000; box-shadow: 12px 12px 0 var(--yellow); }
.demo-frame .labels { display: grid; grid-template-columns: 600fr 960fr; background: var(--ink); }
.demo-frame .labels div { padding: 12px 18px; font: 700 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.demo-frame .labels div + div { border-left: 1px solid #2a2a2a; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(143,212,143,.18); animation: blink 1.6s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(143,212,143,0); } }
.demo-frame video { width: 100%; aspect-ratio: 1560/600; background: #0b0b0b; }
.demo-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.demo-notes div { border-top: 3px solid var(--ink); padding-top: 14px; font-weight: 500; }
.demo-notes b { font-family: var(--display); text-transform: uppercase; display: block; font-size: 20px; margin-bottom: 4px; }
@media (max-width: 760px) { .demo-notes { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s; }
.step:hover { transform: translateY(-6px) rotate(-.6deg); }
.step .num { font-family: var(--display); font-size: 64px; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.step:nth-child(2) .num { -webkit-text-stroke-color: var(--pink); }
.step:nth-child(3) .num { -webkit-text-stroke-color: var(--green); }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin: 0; line-height: 1; }
.step p { color: var(--muted); margin: 0; }
.step .shot { margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* bento — quiet dark cards by default; colour lives in the accent (sticker, arrows, top rule).
   Only .loud tiles get the full sticky treatment, so one tile leads and the rest recede. */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.tile {
  --accent: var(--yellow);
  border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); position: relative; overflow: hidden;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.tile::before { content: ""; position: absolute; left: clamp(22px, 2.6vw, 32px); top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tile h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 1.9vw, 27px); line-height: 1; margin: 0; }
.tile.wide h3, .tile.loud h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: .95; }
.tile p { margin: 0; font-weight: 500; color: #c4c4c4; }
.tile ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: 16px; color: #e6e6e6; }
.tile li::before { content: "→ "; color: var(--accent); }
.tile .media { margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; background: #000; }
.tile .sticker { align-self: flex-start; margin-bottom: 2px; }
.tile.loud { border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.tile.loud::before { display: none; }
.tile.loud p, .tile.loud ul { color: inherit; }
.tile.loud li::before { color: inherit; }
.t-yellow { background: var(--yellow); color: var(--ink); }
.a-yellow { --accent: var(--yellow); } .a-pink { --accent: var(--pink); } .a-green { --accent: var(--green); } .a-blue { --accent: var(--blue); }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.tile.wide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.tile.wide { row-gap: 18px; align-items: start; }
.tile.wide > div { display: flex; flex-direction: column; gap: 12px; }
.tile.wide > .tile-head { grid-column: 1 / -1; }
.tile.wide .media { margin: 0; }
/* Desktop headings stay on one line. The size is capped by the tile's own width (cqi) divided by
   --fit, the widest heading in that tile group measured in em; shorten copy rather than raise it. */
@media (min-width: 981px) {
  .tile { container-type: inline-size; --h3: clamp(22px, 1.9vw, 27px); --fit: 11.4; }
  .tile.wide, .tile.loud { --h3: clamp(26px, 2.5vw, 34px); }
  .tile.loud { --fit: 17.4; }
  .tile.wide { --fit: 23.4; }
  .tile.span-3:not(.loud) { --fit: 12.2; }
  .tile h3, .tile.wide h3, .tile.loud h3 { white-space: nowrap; font-size: min(var(--h3), calc(100cqi / var(--fit))); }
}
/* privacy tile: allowed origins, a private note and the widget key, drawn rather than screenshotted */
.lock-mock { display: grid; gap: 14px; }
.lm-card { background: #0b0b0b; border: 1px solid #2a2a2a; border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.lm-label { margin: 0 0 2px; font: 700 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tile .lm-row { margin: 0; display: flex; align-items: center; gap: 10px; font: 400 15px/1.3 var(--mono); color: #e6e6e6; }
.lm-row span { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font: 700 12px/1 var(--body); color: var(--ink); }
.lm-row.ok span { background: var(--green); }
.lm-row.no span { background: var(--pink); color: #fff; }
.tile .lm-row.no { color: #7d7d7d; }
.lm-row s { text-decoration-color: #555; }
.lm-row b { margin-left: auto; font: 700 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--pink); text-decoration: none; }
.lm-note { justify-self: start; max-width: 78%; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px 12px 12px 4px; box-shadow: 4px 4px 0 var(--blue); padding: 10px 14px; font-weight: 600; font-size: 15px; line-height: 1.4; transform: rotate(-1deg); margin-left: 10px; }
.lm-note small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.lm-key { grid-template-columns: 1fr auto; align-items: center; }
.lm-key .lm-label { grid-column: 1 / -1; }
.lm-key code { font: 400 15px/1 var(--mono); color: var(--yellow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-btn { font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1px solid #3a3a3a; color: #fff; }
.phones { display: flex; gap: 14px; margin-top: auto; justify-content: center; }
.phones img { border-radius: 20px; border: 4px solid #000; }
.skin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skin-chips span { padding: 8px 12px; font-weight: 700; font-size: 13px; }
.skin-chips .comic { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--pink); text-transform: uppercase; letter-spacing: .08em; }
.skin-chips .modern { background: #fff; color: #0f3d3a; border: 1px solid #ddd; border-radius: 8px; }
.skin-chips .terminal { background: #0c120c; color: #7CFC6B; font-family: var(--mono); border-radius: 3px; border: 1px solid #1f3a1f; }
.skin-chips .pillow { background: #efeaff; color: #6b4fd8; border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: 16px; font-weight: 400; }
@media (max-width: 980px) {
  .bento { gap: 20px; }
  .span-4, .span-3, .span-2 { grid-column: span 6; }
  .tile.wide { grid-template-columns: 1fr; gap: 20px; }
}

/* screens gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tabs button { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 13px 18px; border-radius: 999px; background: transparent; color: #cfcfcf; border: 1px solid #333; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.screen { border-radius: 18px; overflow: hidden; border: 1px solid #2a2a2a; box-shadow: 0 40px 80px rgba(0,0,0,.6); background: #0b0b0b; cursor: zoom-in; }
.screen img { width: 100%; }
.screen-cap { margin-top: 16px; color: var(--muted); font-size: 16px; min-height: 2.6em; }

/* pricing */
.billing { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.switch { position: relative; width: 62px; height: 34px; border-radius: 999px; background: var(--ink); border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); transition: transform .2s; }
.switch[aria-checked="true"]::after { transform: translateX(28px); background: var(--pink); }
.save { background: var(--green); color: var(--ink); padding: 5px 9px; border-radius: 6px; transform: rotate(-4deg); display: inline-block; font-size: 11px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin-inline: auto; gap: 20px; align-items: stretch; }
.plan { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); position: relative; transition: transform .15s; }
.plan:hover { transform: translateY(-6px); }
.plan.hot { background: var(--yellow); transform: translateY(-14px) rotate(-1deg); box-shadow: 10px 10px 0 var(--pink); }
.plan.hot:hover { transform: translateY(-20px) rotate(-1deg); }
.plan.dark { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--green); }
.plan .sticker { position: absolute; top: -16px; right: 18px; }
.plan h3 { font-family: var(--display); text-transform: uppercase; font-size: 28px; margin: 0; line-height: 1; }
.plan .for { margin: 0; font-size: 15px; opacity: .75; font-weight: 500; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 54px; line-height: 1; letter-spacing: -.03em; }
.price span { font-weight: 600; opacity: .7; font-size: 15px; }
.price-note { font-size: 13px; opacity: .65; margin-top: -10px; min-height: 1.3em; font-weight: 600; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15.5px; font-weight: 500; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.plan li::before { content: "✓"; font-weight: 800; color: var(--pink); }
.plan.hot li::before { color: var(--ink); }
.plan.dark li::before { color: var(--green); }
.plan li.no { opacity: .45; } .plan li.no::before { content: "–"; }
.plan li[hidden] { display: none; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.dark .btn { background: var(--green); }
.price-disclaimer { margin-top: 36px; font-size: 14px; color: #6d685f; text-align: center; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan.hot { transform: none; } .plan.hot:hover { transform: translateY(-6px); } }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* install packages */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pkg .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pkg h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; margin: 0; line-height: 1; }
.pkg p { color: var(--muted); margin: 0; font-size: 16px; }
.pkg pre { margin: 0; background: #0a0a0a; border: 1px solid #262626; border-radius: 10px; padding: 14px; overflow-x: auto; font: 12.5px/1.6 var(--mono); color: #d7d7d7; }
.pkg pre .c { color: #6b6b6b; } .pkg pre .y { color: var(--yellow); } .pkg pre .p { color: var(--pink); }
.pkg .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 26px; line-height: .8; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--pink); }
.faq details[open] { background: var(--yellow); }
.faq details p { margin: 0; padding: 0 24px 22px; font-weight: 500; }

/* final cta + footer */
.final { text-align: center; padding-block: clamp(80px, 12vw, 160px); overflow: hidden; }
.final .wrap { container-type: inline-size; }
.final h2 { white-space: nowrap; font-size: min(clamp(52px, 10vw, 150px), calc(100cqi / 7.2)); }
.final h2 .serif { color: var(--yellow); }
.final .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.floaters span { position: absolute; font-size: clamp(30px, 5vw, 60px); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-18px) rotate(8deg); } }
footer { border-top: 1px solid var(--line); padding-block: 36px; color: #8a8a8a; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; }
footer img { height: 20px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; } footer a:hover { color: var(--yellow); }


/* how the AI works */
.flow { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.flow li { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 18px 18px; box-shadow: 4px 4px 0 var(--ink); }
.flow li:nth-child(odd) { transform: rotate(-.8deg); } .flow li:nth-child(even) { transform: rotate(.8deg); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); z-index: 2; font: 22px/1 var(--display); color: var(--pink); }
.flow-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font-family: var(--display); margin-bottom: 10px; }
.flow li:nth-child(2) .flow-n { background: var(--green); } .flow li:nth-child(3) .flow-n { background: var(--blue); } .flow li:nth-child(4) .flow-n { background: var(--pink); color: #fff; } .flow li:nth-child(5) .flow-n { background: var(--ink); color: #fff; }
.flow b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 18px; line-height: 1; margin-bottom: 8px; }
.flow p { margin: 0; font-size: 15px; font-weight: 500; color: #4a463f; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } .flow li::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.ai-col { display: grid; gap: 18px; min-width: 0; }
.mini { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0; }
.know { display: grid; gap: 12px; }
.know article { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; }
.know b { font-size: 17px; } .know p { margin: 2px 0 0; font-size: 15px; color: #4a463f; }
.k-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.small-note { margin: 0; font-size: 15px; color: #4a463f; border-left: 4px solid var(--pink); padding-left: 12px; }
.controls { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.controls li { background: var(--ink); color: #d9d9d9; border-radius: 14px; padding: 13px 16px; font-size: 15px; }
.controls li b { color: var(--yellow); font-weight: 700; }
.ai-shot { border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--pink); background: #0b0b0b; }
.providers-row { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.providers-row > span:first-child { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.providers-row b { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 14px; }
.providers-row .pr-note { flex-basis: 100%; color: #5b5750; font-size: 15px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } }

/* woocommerce */
.woo { background: #1a0f2e; background-image: radial-gradient(circle at 85% 10%, rgba(127,84,179,.55), transparent 45%), radial-gradient(circle at 5% 90%, rgba(255,46,147,.25), transparent 40%); }
.woo .eyebrow { color: #c9a6ff; }
.woo .serif { color: #c9a6ff; }
.woo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.woo-steps { display: grid; gap: 16px; min-width: 0; }
.woo-steps article { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px 24px; }
.woo-steps h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1; margin: 14px 0 8px; }
.woo-steps p { margin: 0; color: #cfc7dc; font-size: 16px; }
.woo-steps code { font: 13px var(--mono); background: rgba(0,0,0,.4); padding: 2px 6px; border-radius: 5px; color: var(--yellow); }
.woo-side { display: grid; gap: 20px; min-width: 0; }
.chat-mock { background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 20px; padding: 18px; box-shadow: 8px 8px 0 #7f54b3; display: grid; gap: 10px; }
.mock-label { margin: 0; justify-self: start; font: 700 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 9px; border-radius: 6px; }
.chat-mock .m { max-width: 86%; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--ink); font-size: 15px; font-weight: 500; line-height: 1.4; }
.chat-mock .m small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 3px; }
.chat-mock .v { justify-self: end; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
.chat-mock .a { justify-self: start; background: #fff; box-shadow: 3px 3px 0 var(--ink); border-bottom-left-radius: 4px; }
.chat-mock u { text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.mock-foot { margin: 2px 0 0; font-size: 13px; color: #5b5750; }
.search-box { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: 10px 10px 0 var(--pink); }
.search-box h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: .95; margin: 14px 0 10px; }
.search-box { row-gap: 18px; }
.search-head { grid-column: 1 / -1; }
.search-box .search-head h3 { margin-bottom: 0; }
.search-box p { margin: 0; font-weight: 500; }
.search-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; align-content: center; font-weight: 500; }
.search-box li { background: rgba(255,255,255,.55); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 900px) { .woo-grid, .search-box { grid-template-columns: 1fr; } }
/* Card headings stay on one line from tablet up, same trick as the section heads: the card is the
   container and --fit is the widest heading in that card group, in em. Phones may wrap. */
@media (min-width: 761px) {
  .step, .woo-steps article, .search-box, .pkg, .plan { container-type: inline-size; }
  .step h3 { --fit: 10.1; } .woo-steps h3 { --fit: 21.3; } .search-box h3 { --fit: 27.9; } .pkg h3 { --fit: 11.9; } .plan h3 { --fit: 8.4; }
  .step h3, .woo-steps h3, .search-box h3, .pkg h3, .plan h3 { white-space: nowrap; font-size: min(var(--h3), calc(100cqi / var(--fit))); }
  .step h3 { --h3: 26px; } .woo-steps h3, .pkg h3 { --h3: 24px; } .plan h3 { --h3: 28px; } .search-box h3 { --h3: clamp(26px, 3vw, 36px); }
}

/* enlarge viewer — every clip and screenshot opens full size (same pattern as the Sign site) */
.zoomable { position: relative; cursor: zoom-in; }
.zoomable::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow .2s ease; pointer-events: none; }
.zoomable:hover::after, .zoomable:focus-visible::after { box-shadow: inset 0 0 0 4px var(--yellow); }
.zoomable:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.enlarge {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 11px 8px 9px; border-radius: 999px; pointer-events: none; transition: transform .15s ease, background .15s ease;
}
.enlarge svg { width: 14px; height: 14px; flex: none; }
.zoomable:hover .enlarge, .zoomable:focus-visible .enlarge { background: var(--pink); color: #fff; transform: translate(-2px, -2px) rotate(-2deg); }
.phones .zoom-wrap { position: relative; width: 46%; border-radius: 20px; }
.phones .zoom-wrap img { width: 100%; }
.phones .zoom-wrap:first-child { transform: rotate(-4deg); } .phones .zoom-wrap:last-child { transform: rotate(3deg) translateY(10px); }
.phones .zoom-wrap .enlarge { right: 50%; bottom: 14px; transform: translateX(50%); padding: 7px 9px; }
.phones .zoom-wrap.zoomable:hover .enlarge { transform: translateX(50%) rotate(-2deg); }
.demo-frame.zoomable .enlarge { bottom: 16px; right: 16px; }
/* handwritten margin note pointing down at the clip */
.zoom-note { display: flex; align-items: flex-start; gap: 6px; width: fit-content; max-width: 100%; margin: 0 0 6px 6px; color: var(--yellow); font: italic 400 clamp(21px, 2.2vw, 26px)/1.1 var(--serif); transform: rotate(-2deg); transform-origin: left bottom; }
.on-light .zoom-note { color: var(--pink); }
.zoom-note .scribble { width: 52px; height: 38px; flex: none; margin-top: 8px; }

dialog.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .96); color: #fff; }
dialog.lb::backdrop { background: rgba(0, 0, 0, .6); }
dialog.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 14px clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.lb-title { display: grid; gap: 5px; min-width: 0; flex: 1; }
.lb-title b { font: 400 clamp(16px, 2vw, 22px)/1.1 var(--display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-title span { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-count { font: 700 13px/1 var(--body); letter-spacing: .12em; color: var(--ink); background: var(--yellow); padding: 7px 10px; border-radius: 6px; transform: rotate(-3deg); font-variant-numeric: tabular-nums; }
.lb-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #1a1a1a; color: #fff; border: 2px solid #333; cursor: pointer; font: 700 20px/1 var(--body); transition: transform .12s; }
.lb-btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--pink); transform: translate(-1px, -1px); }
.lb-body { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px clamp(8px, 2vw, 20px); min-height: 0; }
.lb-stage { height: 100%; min-height: 0; overflow: auto; display: grid; place-items: center; overscroll-behavior: contain; border-radius: 12px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); background: #0b0b0b; }
.lb-stage img { cursor: zoom-in; }
.lb-stage.zoomed { place-items: start; }
.lb-stage.zoomed img { max-width: none; max-height: none; cursor: zoom-out; border-radius: 0; box-shadow: none; }
.lb-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 10px 16px 16px; color: var(--muted); font-size: 14px; }
.lb-foot kbd { font: 12px/1 var(--mono); border: 1px solid #444; border-bottom-width: 3px; border-radius: 5px; padding: 3px 6px; color: #fff; }
@media (max-width: 640px) {
  .lb-body { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .lb-body .lb-btn { position: absolute; bottom: 12px; z-index: 2; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-foot .desk { display: none; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble, .typing, .reveal { opacity: 1; transform: none; }
}

/* contact page */
.contact { position: relative; padding-block: clamp(48px, 7vw, 100px) clamp(64px, 9vw, 130px); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(#2a2a2a 1.2px, transparent 1.2px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 20% 30%, #000 20%, transparent 70%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact h1 { font-size: clamp(40px, 6vw, 84px); }
.contact h1 .hl { color: var(--ink); background: var(--yellow); padding: 0 .12em; }
.contact h1 .serif { color: var(--pink); font-size: 1.08em; }
.contact .lede { margin: 24px 0 32px; }
.contact-ways { display: grid; gap: 12px; }
.way { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; transition: transform .15s, border-color .15s; }
.way:hover { transform: translateX(4px); border-color: var(--yellow); }
.way small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.way b { font-size: 18px; overflow-wrap: anywhere; }
.way-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }

.contact-card { background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 12px 12px 0 var(--pink); }
#contact-form { display: grid; gap: 18px; }
#contact-form .sticker { justify-self: start; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.field em { font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .55; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 17px/1.4 var(--body); color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 12px; padding: 13px 14px; box-shadow: 3px 3px 0 var(--ink);
  transition: box-shadow .12s, transform .12s;
}
.field select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--pink); transform: translate(-1px, -1px); }
.field.invalid input, .field.invalid textarea { border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0; background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-foot .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-fine { margin: 0; font-size: 12.5px; color: #6d685f; flex: 1; min-width: 200px; }
.form-fine a { text-decoration-color: var(--pink); }
.grecaptcha-badge { visibility: hidden; }
.contact-done { display: grid; gap: 14px; justify-items: start; }
.contact-done h2 { font-size: clamp(40px, 5vw, 64px); }
.contact-done p { margin: 0; font-weight: 500; font-size: 17px; }
.contact-done b { background: var(--yellow); padding: 1px 8px; border-radius: 6px; font-family: var(--mono); font-weight: 400; }
.contact-done:focus { outline: none; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
