/* ------------------------------------------------------------------
   BEAST WEBSITES — brand colours taken from the logo sheet.
   Change these values and the whole site follows.
------------------------------------------------------------------- */
@font-face { font-family: "Sora"; src: url("/fonts/sora.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
/* Anton with the brand's 10 degree forward slant built into the letters. */
@font-face { font-family: "Anton Slant"; src: url("/fonts/anton-slant.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Beast Display: our own all-caps headline face, slant built in. Small letters are plain capitals; a capital B is the
   logo B with its three speed dashes. So headlines are set in small letters, and .cap asks for the logo B by hand. */
@font-face { font-family: "Beast Display"; src: url("/fonts/beast-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
.cap { text-transform: uppercase; }

:root {
  --bg: #141724;          /* page background (logo sheet navy) */
  --bg-2: #191c2c;        /* alternate section */
  --panel: #222536;       /* cards */
  --panel-2: #2a2d42;
  --line: #33364e;
  --text: #f5f4ff;
  --muted: #a9a7c7;
  --violet: #9a8cff;      /* outline buttons, links */
  --lav: #c3bcf5;         /* "Websites" lavender */
  --indigo: #2a2a72;      /* banner glow */
  --grad: linear-gradient(120deg, #5b8dff 0%, #9b63ff 34%, #ff4f9e 70%, #ff8a4a 100%);
  --on-grad: #14121f;     /* text on top of the gradient */

  --radius: 18px;
  --font: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Beast Display", "Anton Slant", Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Bold", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 40px); }
.hp { position: absolute; left: -9999px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--violet); color: var(--on-grad); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 12px; border: 0; background: var(--grad); color: var(--on-grad); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -12px #b25cffcc; }
.btn--ghost { background: transparent; color: var(--lav); box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn--ghost:hover { background: #9a8cff1f; box-shadow: inset 0 0 0 1.5px var(--violet); }
.btn--small { padding: 9px 18px; border-radius: 10px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
/* The logo file has clear space built in; the negative margin lines the icon up with the page edge */
.logo__img { display: block; height: 60px; width: auto; margin-left: -9px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: #141724e0; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; letter-spacing: -.01em; }
.nav__links a:not(.btn):hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 6px 0; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); background: radial-gradient(1000px 520px at 80% 110%, var(--indigo), transparent 70%), radial-gradient(600px 380px at 10% -10%, #5b8dff1f, transparent 70%), var(--bg); padding: 64px 0 104px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--lav); margin-bottom: 14px; }
h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.1vw, 3.95rem); line-height: 1.08; letter-spacing: .01em; font-weight: 400; text-transform: lowercase; text-wrap: balance; }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .16em; margin-right: -.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; color: var(--muted); font-size: .92rem; }
.hero__points li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 8px; }

.hero__visual { position: relative; }
.browser { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 40px 80px -30px #000, 0 0 90px -30px #9b63ff80; transform: rotate(1.5deg); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__bar span { margin-left: 10px; flex: 1; background: var(--bg); border-radius: 999px; padding: 4px 14px; font-size: .78rem; color: var(--muted); }
.browser__body { padding: 18px; display: grid; gap: 12px; }
.mock { background: var(--panel-2); border-radius: 10px; height: 64px; }
.mock--hero { height: 150px; background: var(--grad); }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock--line { height: 12px; }
.mock--line.short { width: 60%; }
.shield-chip { position: absolute; left: -22px; bottom: -26px; display: flex; align-items: center; gap: 12px; background: #1c1e30; border: 1px solid #ffffff2e; color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: 0 20px 40px -15px #000; }
.shield-chip svg { color: var(--violet); }
.shield-chip strong, .shield-chip small { display: block; line-height: 1.25; }
.shield-chip small { font-size: .75rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-2); }
.section--dark { background: radial-gradient(900px 480px at 50% 120%, #2a2a7299, transparent 70%), var(--bg-2); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; max-width: 22ch; text-wrap: balance; }
.section__intro { margin-top: 16px; font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--panel); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--violet); }
.card__num { font-weight: 700; font-size: .85rem; color: var(--violet); letter-spacing: .1em; }
.card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* Security */
.security { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.rings { position: relative; aspect-ratio: 1; max-width: 380px; margin-inline: auto; display: grid; place-items: center; color: #fff; }
.rings span { position: absolute; border-radius: 50%; border: 1px solid #9a8cff80; animation: pulse 4s ease-in-out infinite; }
.rings span:nth-child(1) { inset: 28%; background: var(--grad); border: 0; opacity: .9; }
.rings span:nth-child(2) { inset: 14%; animation-delay: .5s; background: #9b63ff14; }
.rings span:nth-child(3) { inset: 0; animation-delay: 1s; opacity: .5; border-style: dashed; }
.rings svg { position: relative; color: var(--on-grad); }
@keyframes pulse { 50% { transform: scale(1.04); } }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 36px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .94rem; }

/* Design gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.shot figcaption { margin-top: 14px; font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; }
.plan--featured { border: 0; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 2px solid transparent; box-shadow: 0 30px 70px -30px #9b63ffb3; transform: translateY(-12px); }
.plan__badge { position: absolute; top: -14px; left: 30px; background: var(--grad); color: var(--on-grad); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.plan__tier { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lav); }
.plan h3 { font-size: 1.5rem; margin-top: 6px; }
.plan__price { margin-top: 18px; color: var(--muted); }
.plan__price span { font-family: var(--display); font-style: normal; font-size: 3.6rem; letter-spacing: .01em; color: #fff; line-height: 1; margin-right: 4px; }
.plan__desc { margin-top: 12px; color: var(--muted); min-height: 3.2em; }
.plan ul { margin: 22px 0 30px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: .97rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--violet); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.steps li { counter-increment: step; border-top: 2px solid; border-image: var(--grad) 1; padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-weight: 700; font-size: .85rem; letter-spacing: .1em; color: var(--violet); }
.steps h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* Order */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.summary { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 2px; max-width: 320px; background: var(--panel); }
.summary span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.summary strong { font-size: 1.5rem; }
.summary em { font-style: normal; color: var(--lav); font-weight: 700; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.form input[type=text], .form input[type=email], .form textarea { font: inherit; color: #fff; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__plans { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 0; }
.form__plans legend { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; padding: 0; }
.form__plans label { position: relative; display: block; }
.form__plans input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__plans span { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: #fff; font-weight: 700; text-align: center; transition: border-color .15s, background .15s; }
.form__plans small { display: block; font-weight: 500; color: var(--muted); }
.form__plans input:checked + span { border-color: var(--violet); background: #9a8cff24; }
.form__plans input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.form__error { color: #ff9aa8; font-size: .92rem; }
.form__done { color: var(--lav); font-weight: 600; }
.form .btn { justify-self: start; }

/* Footer */
.footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); padding: 36px 0; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.footer__copy { margin-left: auto; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .security, .order { grid-template-columns: 1fr; gap: 48px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .rings { max-width: 240px; }
  .shield-chip { left: 12px; }
  .hero__visual { display: none; }
}
/* Tablets and phones: the menu folds behind the button */
@media (max-width: 1040px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 24px 0 88px; }
  h1 { font-size: clamp(1.85rem, 9.3vw, 2.55rem); }
  .cards, .steps, .checks, .gallery, .form__row { grid-template-columns: 1fr; }
  .form__plans { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* About */
.about > p:not(.eyebrow):not(.section__intro):not(.about__tag) { margin-top: 18px; color: var(--muted); max-width: 62ch; }
.about__tag { margin-top: 36px; font-family: var(--display); font-size: clamp(1.3rem, 2.9vw, 1.9rem); line-height: 1.1; font-weight: 400; letter-spacing: .01em; text-transform: lowercase; }
/* The second line is the loud one: bigger, in the brand gradient, with a band of light that runs through it
   each time it scrolls into view (script.js adds .is-lit). */
.about__tag em { display: block; width: fit-content; max-width: 100%; white-space: nowrap; margin-top: .08em; font-style: normal; font-size: clamp(1.7rem, 8.2vw, 4.1rem); line-height: 1.12; padding-right: .16em; color: transparent;
  background-image: linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 58%), var(--grad);
  background-size: 260% 100%, 100% 100%; background-position: 160% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; }
.about__tag em.is-lit { animation: shimmer 1.9s cubic-bezier(.4, 0, .2, 1) .45s both; }
@keyframes shimmer { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }

/* Hero: fills the first screen, with a cue to scroll */
.h1__last { display: block; white-space: nowrap; }
.swap { display: inline-block; background: linear-gradient(120deg, #9b63ff, #ff4f9e); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .12em; margin-right: -.12em; white-space: nowrap; transition: opacity .28s, transform .28s, width .42s cubic-bezier(.3, .7, .2, 1); }
/* "out." slides along as the word before it grows or shrinks */
.swap__tail { display: inline-block; background: linear-gradient(120deg, #ff4f9e, #ff8a4a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .16em; margin-right: -.16em; }
.swap__tail--dot { background: none; color: inherit; padding: 0; margin: 0; }
.swap.is-out { opacity: 0; transform: translateY(.22em); }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; width: 46px; height: 46px; margin-left: -23px; display: grid; place-items: center; color: var(--lav); border: 1px solid var(--line); border-radius: 50%; background: #14172499; animation: hero-bob 1.8s ease-in-out infinite; }
.hero__scroll:hover { color: #fff; border-color: var(--violet); }
@keyframes hero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Design gallery: three small sites that build themselves. Sizes are in cqw (1% of the frame's width) so every part scales with the frame. */
.demo__frame { container-type: inline-size; aspect-ratio: 4 / 3; display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--panel); transition: transform .25s, border-color .3s, box-shadow .3s; }
.shot:hover .demo__frame { transform: translateY(-6px) scale(1.01); }
.demo.is-active .demo__frame { border-color: var(--violet); box-shadow: 0 30px 60px -34px #9b63ff; }
.demo figcaption { transition: color .3s; }
.gallery--anim .demo:not(.is-playing) figcaption { color: var(--muted); }
.demo__bar { flex: none; display: flex; align-items: center; gap: 1.6cqw; height: 8cqw; padding: 0 3.5cqw; border-bottom: 1px solid var(--line); }
.demo__bar i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--line); }
.demo__bar span { flex: 1; margin-left: 2cqw; height: 3.6cqw; border-radius: 99px; background: var(--bg); }
.demo__top { flex: none; display: flex; align-items: center; gap: 2.5cqw; height: 9cqw; padding: 0 5cqw; }
.demo__scroll { container-type: size; position: relative; flex: 1; min-height: 0; overflow: hidden; }
.demo__page { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 4cqw; padding: 5cqw; }
.demo .w70 { width: 70%; }
.demo .w45 { width: 45%; }
.d-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }

/* One-page site (dark) */
.demo--one .demo__scroll { background: linear-gradient(160deg, #1c1e30, #23265a); }
.d-nav { display: flex; align-items: center; gap: 2cqw; height: 4cqw; }
.d-nav > span:not(.d-logo) { font-size: 2.2cqw; font-weight: 500; color: #ffffffb3; }
/* The sample business's name, used in all three demos */
.d-logo { margin-right: auto; font-size: 3.3cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; }
.d-logo i { font-style: normal; font-weight: 400; opacity: .85; }
.d-hero { flex: none; height: 26cqw; border-radius: 3cqw; background: var(--grad); padding: 3.4cqw; display: flex; align-items: flex-end; }
.d-hero b { max-width: 52cqw; font-size: 4.6cqw; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: #14121f; }
.d-line { flex: none; height: 2.6cqw; border-radius: 99px; background: #ffffff38; }
.d-btn { flex: none; width: 24cqw; height: 7cqw; border-radius: 2.2cqw; box-shadow: inset 0 0 0 .5cqw var(--violet); display: grid; place-items: center; font-size: 2.4cqw; font-weight: 600; color: var(--lav); }
.d-card { height: 18cqw; border-radius: 2.4cqw; background: #ffffff14; padding: 2.4cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.d-card i { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--violet); }
.d-card b { font-size: 2.5cqw; font-weight: 600; line-height: 1.2; color: #fff; }
.d-sub { font-size: 3.1cqw; font-weight: 700; line-height: 1.1; color: #fff; }
.d-card u { height: 2cqw; width: 80%; border-radius: 99px; background: #ffffff38; }
.d-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; align-items: center; }
.d-img { height: 24cqw; border-radius: 3cqw; background: linear-gradient(140deg, #ff4f9e, #ff8a4a); }
.d-lines, .d-form { display: flex; flex-direction: column; gap: 2.4cqw; }
.d-input { height: 6.5cqw; border-radius: 2cqw; box-shadow: inset 0 0 0 .4cqw #ffffff40; display: flex; align-items: center; padding-left: 2.4cqw; font-size: 2.2cqw; color: #ffffff80; }
.d-submit { height: 7cqw; width: 40%; border-radius: 2.2cqw; background: var(--grad); display: grid; place-items: center; font-size: 2.5cqw; font-weight: 700; color: #14121f; }
.d-foot { align-self: center; font-size: 2.1cqw; color: #ffffff66; }

/* Business site (light, several pages) */
.demo--biz .demo__top, .demo--biz .demo__scroll { background: #f4f3fb; }
.demo--biz .d-logo { color: #23265a; }
.d-tab { height: 4.4cqw; padding: 0 2.3cqw; border-radius: 99px; display: grid; place-items: center; font-size: 2.1cqw; font-weight: 600; background: #e3e1f0; color: #595d6c; }
.d-tab--1 { background: #23265a; color: #fff; }
.demo__track { position: absolute; inset: 0; width: 300%; display: flex; }
.demo__pane { width: 33.3334%; padding: 2cqw 5cqw 5cqw; display: flex; flex-direction: column; gap: 3.5cqw; }
.b-hero { flex: none; height: 24cqw; border-radius: 3cqw; background: #23265a; padding: 3.4cqw 4cqw; display: flex; flex-direction: column; justify-content: center; gap: 2.2cqw; }
.b-hero b { font-size: 3.9cqw; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.b-hero i { height: 2.4cqw; width: 46%; border-radius: 99px; background: #ffffff70; }
.b-hero u { align-self: flex-start; height: 5.4cqw; padding: 0 2.6cqw; border-radius: 1.6cqw; background: var(--grad); display: grid; place-items: center; font-size: 2.1cqw; font-weight: 700; text-decoration: none; color: #14121f; }
.b-card { min-height: 15cqw; border-radius: 2.4cqw; background: #fff; border: 1px solid #dcd9ee; padding: 2.4cqw; display: flex; flex-direction: column; gap: 2cqw; }
.b-card { gap: 1.5cqw; }
.b-card i { width: 4.4cqw; height: 4.4cqw; border-radius: 1.3cqw; background: #5b8dff; }
.b-card b { font-size: 2.4cqw; font-weight: 600; line-height: 1.2; color: #23265a; }
.b-title { flex: none; font-size: 3.6cqw; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #23265a; }
.b-card:nth-child(2) i { background: #9b63ff; }
.b-card:nth-child(3) i { background: #ff4f9e; }
.b-card:nth-child(4) i { background: #ff8a4a; }
.b-card u { height: 2cqw; width: 80%; border-radius: 99px; background: #c9c6de; }
.b-line { flex: none; height: 2.4cqw; border-radius: 99px; background: #c9c6de; }
.b-line--head { height: 3.4cqw; background: #23265a; }
.b-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.b-contact { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; }
.b-map { position: relative; border-radius: 3cqw; background: #dcd9ee; }
.b-map::after { content: ""; position: absolute; left: 50%; top: 45%; width: 5cqw; height: 5cqw; margin: -2.5cqw; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); }
.b-form { display: flex; flex-direction: column; justify-content: center; gap: 2.4cqw; }
.b-input { height: 6cqw; border-radius: 1.8cqw; background: #fff; border: 1px solid #dcd9ee; padding: 1.5cqw 2cqw; font-size: 2.1cqw; line-height: 1.3; color: #8a88a3; }
.b-input--tall { height: 11cqw; }
.b-send { height: 6.2cqw; width: 60%; border-radius: 2cqw; background: #23265a; display: grid; place-items: center; font-size: 2.2cqw; font-weight: 700; color: #fff; }

/* Online shop (dark, with a basket) */
.demo--shop .demo__top, .demo--shop .demo__scroll { background: #1b1d2c; }
.demo--shop .demo__top { border-bottom: 1px solid var(--line); }
.demo--shop .d-logo { margin-right: .5cqw; }
.s-search { flex: 1; height: 4.6cqw; border-radius: 99px; background: var(--panel-2); display: flex; align-items: center; padding-left: 2.4cqw; font-size: 2.1cqw; color: var(--muted); }
.s-basket { position: relative; width: 6cqw; height: 4.6cqw; margin: 1.4cqw 2cqw 0 1cqw; border-radius: 1cqw 1cqw 1.8cqw 1.8cqw; box-shadow: inset 0 0 0 .5cqw #fff; }
.s-basket::before { content: ""; position: absolute; left: 1.3cqw; right: 1.3cqw; top: -1.7cqw; height: 2.2cqw; border: .5cqw solid #fff; border-bottom: 0; border-radius: 2cqw 2cqw 0 0; }
.s-count { position: absolute; right: -2.6cqw; top: -3cqw; width: 4.8cqw; height: 4.8cqw; border-radius: 50%; background: var(--grad); color: var(--on-grad); font: 700 3cqw/4.8cqw var(--font); text-align: center; }
.demo--shop .demo__page { padding-bottom: 17cqw; }
.s-banner { flex: none; height: 20cqw; border-radius: 3cqw; background: var(--grad); padding: 3.5cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.8cqw; }
.s-banner b { font-size: 4.4cqw; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #14121f; }
.s-banner span { align-self: flex-start; padding: 1cqw 2.4cqw; border-radius: 99px; background: #14121f; font-size: 2.1cqw; font-weight: 600; color: #fff; }
.s-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.s-item { border-radius: 2.4cqw; background: var(--panel); border: 1px solid var(--line); padding: 2cqw; display: flex; flex-direction: column; gap: 2cqw; }
.s-item > i { height: 13cqw; border-radius: 1.6cqw; background: #ff4f9e; display: grid; place-items: center; }
.s-item svg { width: 8.6cqw; height: 8.6cqw; opacity: .95; }
.s-item > b { font-size: 2.3cqw; font-weight: 600; line-height: 1; color: #fff; }
.s-item:nth-child(2) > i { background: #5b8dff; }
.s-item:nth-child(3) > i { background: #ff8a4a; }
.s-item:nth-child(4) > i { background: #9b63ff; }
.s-item:nth-child(5) > i { background: #c3bcf5; }
.s-item:nth-child(6) > i { background: #2a2a72; }
.s-buy { display: flex; align-items: center; justify-content: space-between; }
.s-price { font-size: 2.8cqw; font-weight: 700; line-height: 1; color: #fff; }
.add { position: relative; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; box-shadow: inset 0 0 0 .45cqw var(--violet); }
.add::before, .add::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 2cqw; height: .5cqw; margin: -.25cqw 0 0 -1cqw; border-radius: 1px; background: #fff; }
.add::after { transform: rotate(90deg); }
.add span { position: absolute; inset: 0; border-radius: 50%; background: var(--grad); }
.s-checkout { position: absolute; left: 5cqw; right: 5cqw; bottom: 4cqw; height: 9cqw; padding: 0 3.5cqw; display: flex; align-items: center; gap: 2cqw; border-radius: 2.6cqw; background: var(--grad); box-shadow: 0 2cqw 6cqw #000a; transform: translateY(190%); }
.s-checkout b { margin-right: auto; font-size: 3cqw; font-weight: 700; color: #14121f; }
.s-checkout > span:not(.s-done) { font-size: 3cqw; font-weight: 700; color: #14121f; }
.s-done { position: relative; width: 5.6cqw; height: 5.6cqw; border-radius: 50%; background: #14121f; }
.s-done::after { content: ""; position: absolute; left: 2cqw; top: 1.1cqw; width: 1.3cqw; height: 2.6cqw; border: solid #fff; border-width: 0 .55cqw .55cqw 0; transform: rotate(45deg); }
.demo__cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 5cqw; height: 6.2cqw; background: #fff; clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 58% 93%, 41% 54%, 72% 54%); transform-origin: 0 0; opacity: 0; pointer-events: none; }

/* The build: parts wait as faint outlines, then drop in one at a time while a site is playing */
.gallery--anim .demo:not(.is-playing) .bk { opacity: .14; }
.gallery--anim .demo:not(.is-playing) .pop { opacity: 0; }
.demo.is-playing .bk { animation: demo-build .5s cubic-bezier(.2, .9, .3, 1.25) var(--t, 0s) both; }
.demo.is-playing .pop { animation: demo-pop .4s cubic-bezier(.2, .9, .3, 1.5) var(--t, 0s) both; }
@keyframes demo-build { from { opacity: .14; transform: translateY(2cqw) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes demo-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

.demo--one.is-playing .demo__page { animation: demo-one-scroll 7.4s ease-in-out both; }
@keyframes demo-one-scroll { 0%, 25% { transform: none; } 70%, 81% { transform: translateY(calc(100cqh - 100%)); } 94%, 100% { transform: none; } }

.demo--biz.is-playing .demo__track { animation: demo-biz-track 9s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes demo-biz-track { 0%, 40% { transform: none; } 44%, 66% { transform: translateX(-33.3334%); } 70%, 90% { transform: translateX(-66.6667%); } 94.5%, 100% { transform: none; } }
.demo--biz.is-playing .d-tab--1 { animation: demo-build .5s cubic-bezier(.2, .9, .3, 1.25) var(--t, 0s) both, demo-tab-1 9s both; }
.demo--biz.is-playing .d-tab--2 { animation: demo-build .5s cubic-bezier(.2, .9, .3, 1.25) var(--t, 0s) both, demo-tab-2 9s both; }
.demo--biz.is-playing .d-tab--3 { animation: demo-build .5s cubic-bezier(.2, .9, .3, 1.25) var(--t, 0s) both, demo-tab-3 9s both; }
@keyframes demo-tab-1 { 0%, 41% { background: #23265a; color: #fff; } 43%, 92% { background: #e3e1f0; color: #595d6c; } 94%, 100% { background: #23265a; color: #fff; } }
@keyframes demo-tab-2 { 0%, 41% { background: #e3e1f0; color: #595d6c; } 43%, 67% { background: #23265a; color: #fff; } 69%, 100% { background: #e3e1f0; color: #595d6c; } }
@keyframes demo-tab-3 { 0%, 67% { background: #e3e1f0; color: #595d6c; } 69%, 92% { background: #23265a; color: #fff; } 94%, 100% { background: #e3e1f0; color: #595d6c; } }

.demo--shop.is-playing .demo__page { animation: demo-shop-scroll 9s ease-in-out both; }
@keyframes demo-shop-scroll { 0%, 33% { transform: none; } 44%, 88% { transform: translateY(calc(100cqh - 100%)); } 97%, 100% { transform: none; } }
.demo--shop.is-playing .s-checkout { animation: demo-shop-checkout 9s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes demo-shop-checkout { 0%, 61% { transform: translateY(190%); } 65%, 86% { transform: none; } 90%, 100% { transform: translateY(190%); } }
.demo--shop.is-playing .demo__cursor { animation: demo-shop-cursor 9s ease-in-out both; }
@keyframes demo-shop-cursor {
  0%, 14% { opacity: 0; transform: translate(82cqw, 38cqw); }
  18% { opacity: 1; transform: translate(82cqw, 38cqw); }
  25% { transform: translate(59.4cqw, 52cqw); }
  26.5% { transform: translate(59.4cqw, 52cqw) scale(.78); }
  28%, 46% { transform: translate(59.4cqw, 52cqw); }
  52% { transform: translate(28.4cqw, 37cqw); }
  53.5% { transform: translate(28.4cqw, 37cqw) scale(.78); }
  55%, 64% { transform: translate(28.4cqw, 37cqw); }
  72% { transform: translate(60cqw, 48.5cqw); }
  74% { transform: translate(60cqw, 48.5cqw) scale(.78); }
  76%, 84% { opacity: 1; transform: translate(60cqw, 48.5cqw); }
  88%, 100% { opacity: 0; transform: translate(70cqw, 62cqw); }
}

/* Shorter screens: tighten the hero so it still fits on one screen */
@media (min-width: 961px) and (max-height: 860px) {
  .hero { padding: 28px 0 84px; }
  h1 { font-size: clamp(2.4rem, min(5.1vw, 7.6vh), 3.95rem); }
  .hero__cta { margin-top: 24px; }
  .hero__points { margin-top: 20px; }
}
@media (max-width: 720px) and (max-height: 760px) {
  .hero__points { display: none; }
  .lede { font-size: 1rem; }
  .hero__cta { margin-top: 22px; }
}
@media (min-width: 721px) and (max-width: 960px) and (min-height: 900px) {
  .hero__visual { display: block; max-width: 560px; margin-top: 8px; }
}
.motto { color: var(--text); font-weight: 600; }
.about__tag em { display: inline-block; }

/* ---------- Segmented tabs (phones): switch the design demos and the plans ---------- */
.tabs { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.mcta { display: none; }

/* ---------- Menu sheet (tablets and phones) ---------- */
@media (max-width: 1040px) {
  .nav__toggle { position: relative; width: 44px; height: 44px; margin-right: -10px; }
  .nav__toggle span { position: absolute; left: 10px; top: 21px; margin: 0; transition: transform .25s, top .25s; }
  .nav__toggle span:first-child { top: 16px; }
  .nav__toggle span:last-child { top: 26px; }
  .nav__toggle[aria-expanded="true"] span { top: 21px; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .nav__links { top: 73px; height: calc(100vh - 73px); height: calc(100dvh - 73px); padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; border-bottom: 0; }
  .nav__links a:not(.btn) { padding: 17px 0; font-size: 1.3rem; font-weight: 600; color: #fff; }
  .nav__links .btn { margin-top: auto; padding: 16px; font-size: 1.05rem; background: var(--grad); color: var(--on-grad); box-shadow: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Phones: built to be thumbed through ---------- */
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; -webkit-tap-highlight-color: transparent; }
  .section { padding: 56px 0; }
  h2 { font-size: clamp(1.55rem, 7.2vw, 2rem); }
  .section__intro { font-size: 1rem; margin-top: 12px; }
  .eyebrow { margin-bottom: 10px; }
  .logo__img { height: 52px; margin-left: -8px; }
  .btn { min-height: 50px; }
  .hero__cta .btn { flex: 1 1 100%; }

  /* Tabs */
  .tabs:not([hidden]) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
  .tabs button { font: inherit; font-size: .88rem; font-weight: 600; line-height: 1.2; color: var(--muted); background: none; border: 0; border-radius: 10px; padding: 10px 4px; min-height: 44px; cursor: pointer; transition: background .2s, color .2s; }
  .tabs button small { display: block; font-size: .78rem; font-weight: 500; opacity: .85; }
  .tabs button[aria-selected="true"] { background: var(--grad); color: var(--on-grad); }

  /* New era: swipe through the four cards */
  .cards { display: flex; gap: 12px; margin: 28px -20px 0; padding: 4px 20px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cards::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: center; padding: 22px; }
  .card:hover { transform: none; }

  /* Security */
  .security { gap: 28px; }
  .rings { max-width: 150px; }
  .rings svg { width: 44px; height: 44px; }
  .checks { gap: 16px; margin-top: 26px; }

  /* Design demos: one frame, three tabs, all on one screen */
  .gallery--tabs { grid-template-columns: 1fr; margin-top: 14px; }
  .gallery--tabs > .demo { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .gallery--tabs > .demo.is-current { opacity: 1; visibility: visible; }
  .gallery--tabs figcaption { display: none; }
  .shot:hover .demo__frame { transform: none; }
  .ticker { margin-top: 22px; }

  /* Pricing: swipe between the three plans, or tap a tab */
  .intro__more { display: none; }
  .plans { display: flex; gap: 12px; max-width: none; margin: 6px -20px 0; padding: 22px 20px 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  #pricing { padding-top: 44px; }
  #pricing h2 { font-size: 1.5rem; max-width: none; }
  .plan { flex: 0 0 88%; scroll-snap-align: center; padding: 24px 18px 18px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; align-content: start; }
  .plan__tier { display: none; }
  .plan h3 { font-size: 1.25rem; margin: 0; white-space: nowrap; }
  .plan__price { margin: 0; font-size: .9rem; }
  .plan__price span { font-size: 2.3rem; }
  .plan__desc, .plan ul, .plan .btn { grid-column: 1 / -1; }
  .plan__desc { margin-top: 8px; min-height: 0; font-size: .9rem; line-height: 1.4; }
  .plan ul { margin: 12px 0 16px; gap: 6px; }
  .plan li { font-size: .84rem; padding-left: 22px; }
  .plan__badge { left: 22px; }

  /* How it works: a timeline */
  .steps { gap: 0; margin-top: 32px; }
  .steps li { position: relative; border: 0; border-image: none; padding: 0 0 28px 56px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-grad); font-size: .78rem; letter-spacing: .04em; }
  .steps li::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line); }
  .steps li:last-child::after { display: none; }
  .steps h3 { margin: 0 0 4px; padding-top: 6px; }

  /* FAQ */
  .faq { margin-top: 24px; }
  .faq summary { padding: 18px 40px 18px 0; font-size: 1rem; }

  /* Order form */
  .order { gap: 26px; }
  .summary { display: none; }
  .form { padding: 20px; gap: 16px; border-radius: 18px; }
  .form__plans { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .form__plans span { padding: 10px 2px; font-size: .84rem; }
  .form__plans small { font-size: .78rem; }
  .form input[type=text], .form input[type=email], .form textarea { font-size: 16px; padding: 14px; }
  .form .btn { justify-self: stretch; }

  /* About */
  .about__tag { margin-top: 26px; }

  /* Footer, with room for the sticky bar */
  .footer { padding: 30px 0 calc(104px + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Sticky bar: the way to start is always under the thumb */
  .mcta { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid #ffffff24; border-radius: 18px; background: #1c1e30f2; backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px #000; transform: translateY(160%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .mcta.is-on { transform: none; }
  .mcta p { flex: 1; min-width: 0; line-height: 1.25; }
  .mcta strong { display: block; font-size: .98rem; }
  .mcta span { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mcta .btn { flex: none; min-height: 46px; padding: 10px 18px; font-size: .95rem; }
}

/* Design section: what the service includes, gliding across a thin full-width band, each phrase parted by a
   coloured dot. Two identical lists sit side by side; each slides left by exactly its own width, so the join never shows. */
.ticker { display: flex; overflow: hidden; margin-top: 52px; padding: 15px 0 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #5b8dff12, #9b63ff14 34%, #ff4f9e12 70%, #ff8a4a10); }
.ticker__words { flex: none; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; animation: ticker 90s linear infinite; }
.ticker__words li { flex: none; display: flex; align-items: center; white-space: nowrap; font-family: var(--display); text-transform: lowercase; font-size: 1.22rem; line-height: 1; letter-spacing: .03em; color: #fff; }
.ticker__words li::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 26px 2px; border-radius: 50%; background: #5b8dff; }
.ticker__words li:nth-child(4n+2)::after { background: #9b63ff; }
.ticker__words li:nth-child(4n+3)::after { background: #ff4f9e; }
.ticker__words li:nth-child(4n)::after { background: #ff8a4a; }
.ticker:hover .ticker__words { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (max-width: 720px) {
  .ticker { padding: 12px 0 10px; }
  .ticker__words { animation-duration: 70s; }
  .ticker__words li { font-size: 1.05rem; }
  .ticker__words li::after { margin: 0 18px 2px; width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__words { flex: 1; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 10px 0; padding: 0 20px; }
  .ticker__words[aria-hidden] { display: none; }
}
}

/* Small print and the terms page */
.smallprint { margin-top: 28px; max-width: 78ch; font-size: .88rem; color: var(--muted); }
.smallprint a, .form__terms a, .faq a, .footer a, .terms a { color: var(--lav); }
.form__terms { font-size: .82rem; font-weight: 400; color: var(--muted); }
.terms { padding: 56px 0 96px; }
.terms h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.terms h2 { margin-top: 40px; font-size: 1.25rem; max-width: none; }
.terms p, .terms li { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.terms ul { list-style: disc; padding-left: 22px; }
.terms strong { color: var(--text); }
.terms .lede { color: var(--text); }
@media (max-width: 720px) { .smallprint { margin-top: 32px; } }

/* Contact: call-back or coffee request, with the office on a map */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact .form { margin-top: 32px; }
.form__plans--two { grid-template-columns: 1fr 1fr; }
.form input[type=tel] { font: inherit; color: #fff; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form input::placeholder { color: #6f6d8c; }
.office { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); }
.office__map { display: block; }
.office__map img { display: block; width: 100%; height: auto; }
.office figcaption { padding: 22px 24px 24px; display: grid; gap: 6px; }
.office strong { font-size: 1.15rem; }
.office address { font-style: normal; color: var(--lav); line-height: 1.5; }
.office p { color: var(--muted); font-size: .94rem; }
.office small { margin-top: 6px; font-size: .74rem; color: #6f6d8c; }
.office small a { color: inherit; }
@media (max-width: 1100px) { .nav__links { gap: 20px; } }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 36px; } .office { position: static; } }
@media (max-width: 720px) {
  .contact .form { margin-top: 22px; }
  .form input[type=tel] { font-size: 16px; padding: 14px; }
  .office figcaption { padding: 18px 20px 20px; }
}

/* "Get your site" and "Contact me" open as panels over the page, from two floating buttons.
   Without scripts the two sections simply stay in the page and the buttons stay hidden. */
.fab { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; gap: 10px; opacity: 0; transform: translateY(150%); transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.fab[hidden] { display: none; }
.fab.is-on { opacity: 1; transform: none; }
.fab__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; color: #fff; background: #1c1e30f2; border: 1px solid #ffffff2e; backdrop-filter: blur(14px); box-shadow: 0 16px 36px -12px #000; transition: transform .15s, border-color .15s; }
.fab__btn:hover { transform: translateY(-2px); border-color: var(--violet); }
.fab__btn--go { color: var(--on-grad); background: var(--grad); border-color: transparent; box-shadow: 0 16px 36px -12px #9b63ff; }

.has-sheets .sheet { display: none; position: fixed; inset: 0; z-index: 80; overflow-y: auto; overscroll-behavior: contain; padding: 84px 0 56px; background: #0e1019f2; backdrop-filter: blur(10px); }
.has-sheets .sheet.is-open { display: block; animation: sheet-in .28s ease both; }
.has-sheets .sheet.is-open > .wrap { animation: sheet-rise .36s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sheet-in { from { opacity: 0; } }
@keyframes sheet-rise { from { transform: translateY(26px); } }
.sheet__close { position: fixed; z-index: 2; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.sheet__close:hover { border-color: var(--violet); }
body.sheet-open { overflow: hidden; }
.has-sheets .sheet .reveal { opacity: 1; transform: none; }
.has-sheets .sheet .office { top: 0; }
.has-sheets .footer { padding-bottom: 96px; }
@media (max-width: 720px) {
  .fab { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .fab__btn { flex: 1; padding: 0 12px; }
  .has-sheets .sheet { padding: 72px 0 40px; }
  .sheet__close { top: 12px; right: 12px; }
  .has-sheets .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* Desktop: "Ready?" and "Need more…" are two big blobs floating side by side in the page.
   Click one and they slide apart to the edges, and its form opens in the space between them. */
.stage__blobs { display: none; }
.has-stage .fab { display: none; }
.has-stage .stage { position: relative; overflow: hidden; min-height: 560px; background: radial-gradient(900px 480px at 50% 120%, #2a2a7299, transparent 70%), var(--bg-2); transition: min-height .5s; }
.has-stage .stage__blobs { display: block; }
.has-stage .stage[data-open] .stage__head { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.blob { --size: 280px; position: absolute; z-index: 2; top: 140px; width: var(--size); height: var(--size); padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transform-origin: 0 0; transition: left .75s cubic-bezier(.6, -.28, .25, 1.2), top .75s cubic-bezier(.6, -.28, .25, 1.2), transform .75s cubic-bezier(.6, -.28, .25, 1.2), opacity .3s; }
.blob--go { left: calc(50% - var(--size) - 22px); }
.blob--more { left: calc(50% + 22px); transition-delay: .07s; }
.blob:focus-visible { outline: none; }
.blob:focus-visible .blob__in { outline: 4px solid #fff; outline-offset: 5px; }
.blob__in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; animation: blob-float 7s ease-in-out infinite, blob-morph 11s ease-in-out infinite; transition: filter .2s, scale .25s cubic-bezier(.2, .9, .3, 1.4); }
.blob--more .blob__in { animation-duration: 8.5s, 13s; animation-delay: -3s, -5s; }
.blob:hover .blob__in { scale: 1.05; filter: brightness(1.08); }
.blob:active .blob__in { scale: .97; }
.blob--go .blob__in { background: var(--grad); color: var(--on-grad); box-shadow: 0 40px 80px -30px #ff4f9e, 0 0 110px -30px #9b63ff, inset 0 -18px 40px #14121f2e; }
.blob--more .blob__in { background: radial-gradient(circle at 30% 25%, #34386a, #1c1e30 70%); color: #fff; box-shadow: inset 0 0 0 2px #9a8cff8c, 0 40px 80px -34px #000, 0 0 90px -34px #9b63ff; }
.blob b { font-family: var(--display); font-weight: 400; font-size: 3.3rem; line-height: 1; letter-spacing: .01em; text-transform: lowercase; padding-right: .08em; }
.blob--more b { font-size: 2.5rem; }
.blob small { font-size: .95rem; font-weight: 600; opacity: .8; transition: opacity .2s; }
@keyframes blob-float { 0%, 100% { translate: 0 -10px; rotate: -2deg; } 50% { translate: 0 12px; rotate: 2.5deg; } }
@keyframes blob-morph { 0%, 100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; } 33% { border-radius: 44% 56% 47% 53% / 57% 45% 55% 43%; } 66% { border-radius: 52% 48% 60% 40% / 43% 52% 48% 57%; } }

/* Open: the blobs shrink into the top corners and the form takes the middle. */
.has-stage .stage[data-open] .blob { top: 72px; transform: scale(.45); }
.has-stage .stage[data-open] .blob--go { left: 28px; }
.has-stage .stage[data-open] .blob--more { left: calc(100% - 28px - var(--size) * .45); }
.has-stage .stage[data-open] .blob small { opacity: 0; }
.has-stage .stage[data-open] .blob[aria-expanded="false"] { opacity: .6; }
.has-stage .stage[data-open] .blob[aria-expanded="false"]:hover { opacity: 1; }
.has-stage .stage[data-open] .blob[aria-expanded="true"] .blob__in { outline: 5px solid #ffffff59; outline-offset: 7px; }
.has-stage .stage > section { display: none; position: relative; background: none; padding: 104px 0 112px; }
.has-stage .stage > section.is-open { display: block; animation: stage-in .55s .22s cubic-bezier(.2, .8, .2, 1) both; }
.has-stage .stage > section > .wrap { width: min(1160px, 100% - 380px); }
@keyframes stage-in { from { opacity: 0; transform: scale(.94) translateY(24px); } }
.has-stage .stage .reveal { opacity: 1; transform: none; }
.has-stage .stage .office { top: 100px; }
.has-stage .sheet__close { position: absolute; top: 34px; right: max(190px, 50% - 580px); }
@media (max-width: 1320px) {
  .has-stage .order, .has-stage .contact { grid-template-columns: 1fr; gap: 36px; }
  .has-stage .stage .office { position: static; }
  .has-stage .summary { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .blob__in { animation: none; transition: none; }
  .has-stage .stage > section.is-open { animation: none; }
}

/* The message bubble, bottom right. Where the two floating buttons are showing, it sits just above them. */
.chat { position: fixed; z-index: 46; right: 22px; bottom: 22px; }
.has-sheets .chat { bottom: 90px; }
.chat.is-open { z-index: 90; }
.chat__bubble { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--on-grad); background: var(--grad); box-shadow: 0 16px 36px -10px #9b63ff, 0 4px 14px #0008; transition: transform .2s; }
.chat__bubble:hover { transform: translateY(-2px) scale(1.04); }
.chat__bubble:focus-visible, .chat__close:focus-visible, .chat__send:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.chat__dot { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: #ff4f6d; color: #fff; font-size: .74rem; font-weight: 700; line-height: 21px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.chat__dot[hidden] { display: none; }
.chat__panel { position: absolute; right: 0; bottom: 72px; width: min(370px, calc(100vw - 24px)); height: min(520px, calc(100vh - 130px)); height: min(520px, calc(100dvh - 130px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px #0004; overflow: hidden; animation: chat-in .22s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom right; }
.chat__panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; background: var(--grad); color: var(--on-grad); }
.chat__head strong { display: block; font-size: 1.05rem; }
.chat__head span { font-size: .82rem; opacity: .85; }
.chat__close { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #0000002e; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.chat__log { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior: contain; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 84%; display: grid; gap: 2px; }
.chat__msg p { margin: 0; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--panel-2); color: var(--text); font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__msg time { font-size: .7rem; color: var(--muted); }
.chat__msg--you { align-self: flex-end; justify-items: end; }
.chat__msg--you p { border-radius: 14px 14px 4px 14px; background: var(--violet); color: #14121f; }
.chat__msg--error { align-self: center; max-width: 100%; }
.chat__msg--error p { background: none; color: #ff9aa8; font-size: .86rem; text-align: center; padding: 0; }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat__form textarea { flex: 1; resize: none; scrollbar-width: none; font: inherit; font-size: 16px; line-height: 1.4; color: #fff; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; max-height: 110px; }
.chat__form textarea:focus { outline: none; border-color: var(--violet); }
.chat__send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--on-grad); background: var(--grad); }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__note { margin: 0; padding: 0 14px 12px; font-size: .74rem; line-height: 1.4; color: var(--muted); }
.chat .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 720px) {
  .chat { right: 12px; bottom: 14px; }
  .has-sheets .chat { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chat__bubble { width: 52px; height: 52px; }
  .chat__panel { position: fixed; right: 8px; left: 8px; bottom: 8px; width: auto; height: min(560px, calc(100dvh - 16px)); }
  .chat.is-open .chat__bubble { display: none; }
}
@media print { .chat { display: none; } }
.office__phone { margin: 6px 0 0; font-weight: 700; }
.office__phone a { color: #fff; text-decoration: none; }
.office__phone a:hover { text-decoration: underline; }

/* The gliding banner closes the Design section: it sits flush on the section's bottom edge and is the line
   between that section and the next. */
#design { padding-bottom: 0; }
#design .ticker { margin-top: 64px; }
@media (max-width: 720px) { #design .ticker { margin-top: 40px; } }

/* Desktop: more air between sections, headings, paragraphs and the blocks under them. */
@media (min-width: 1041px) {
  .section { padding: 136px 0; }
  #design { padding-bottom: 0; }
  #design .ticker { margin-top: 96px; }
  .eyebrow { margin-bottom: 22px; }
  .section__intro { margin-top: 26px; line-height: 1.7; }
  .cards, .gallery, .steps { margin-top: 72px; }
  .cards, .gallery { gap: 28px; }
  .plans { margin-top: 80px; gap: 30px; }
  .checks { margin-top: 52px; gap: 30px 40px; }
  .security { gap: 96px; }
  .faq { margin-top: 56px; }
  .about > p:not(.eyebrow):not(.section__intro):not(.about__tag) { margin-top: 26px; line-height: 1.75; }
  .about__tag { margin-top: 60px; }
  .contact { gap: 72px; }
  .footer { padding: 56px 0; }
}
@media (min-width: 1041px) and (min-height: 860px) {
  .lede { margin-top: 30px; }
  .hero__cta { margin-top: 42px; }
  .hero__points { margin-top: 38px; }
}

/* "BEAST Guard": the protection's name, wherever it appears in a sentence. The shield, then BEAST in the display
   face (a capital B, so it is the logo B with its speed dashes), then Guard in the surrounding type. */
.bguard { white-space: nowrap; font-weight: 600; color: #fff; }
.bguard__shield { display: inline-block; height: 1.2em; width: auto; margin-right: .25em; vertical-align: -.24em; }
.bguard__beast { font-family: var(--display); font-weight: 400; font-size: 1.12em; letter-spacing: .02em; line-height: 1; text-transform: lowercase; } /* small letters are the plain capitals, so the B has no speed dashes beside the shield's own */
/* BEAST Mail uses the same wordmark, with its envelope mark in place of the shield */
.bguard__shield--mail { height: .95em; vertical-align: -.12em; }
.eyebrow .bguard { color: inherit; letter-spacing: .12em; }
.eyebrow .bguard__beast { font-size: 1.35em; letter-spacing: .04em; }
.eyebrow .bguard__shield { height: 1.5em; vertical-align: -.36em; }
.shield-chip img { flex: none; width: 40px; height: 32px; }
.shield-chip .bguard { font-weight: 500; color: inherit; }
.plan li .bguard { font-weight: 600; }

/* The note under the three plans needs room: the middle card is taller and casts a glow. */
@media (min-width: 721px) { .plans + .smallprint { margin-top: 44px; } }
@media (min-width: 1041px) { .plans + .smallprint { margin-top: 64px; } }

/* Footer tagline on two lines, the second stepped forward. */
.footer__tag { line-height: 1.45; }
.footer__tag span { display: block; margin-left: 1.6em; }
.footer__copy a { margin-left: .9em; }
/* Tablets: the copyright line wraps under the logo; keep it left, clear of the message bubble */
/* Desktop and tablet: logo left, tagline centred on the page, copyright right */
@media (min-width: 721px) {
  .footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer__inner > .logo { justify-self: start; }
  .footer__copy { margin-left: 0; justify-self: end; }
}
/* Tablets: the copyright line sits under the logo, on the left, clear of the message bubble */
@media (min-width: 721px) and (max-width: 1040px) { .footer__copy { grid-column: 1 / -1; justify-self: start; } }
/* Phones: the footer is centred, with the terms link on its own line above the copyright */
@media (max-width: 720px) {
  .footer__inner { align-items: center; text-align: center; }
  .footer .logo__img { margin-left: 0; }
  .footer__copy { display: flex; flex-direction: column-reverse; align-items: center; gap: 12px; }
  .footer__copy a { margin-left: 0; }
}
/* No message bubble on phones (chat.js does not start there either; this covers a rotated or resized screen). */
@media (max-width: 720px) { .chat { display: none; } }
