/* two12 — coming-soon page.
 *
 * Self-contained: it shares nothing with the Liko theme, so the holding page
 * cannot be broken by work on the main site. Brand palette and type come from
 * the same sources as the logo (tools/logo/build_logo.py, tools/fonts).
 *
 * Dark by design: the brand's field for this page is Void, so color-scheme is
 * pinned rather than following the system, and every surface is built on it.
 */

/* --- Brand type -------------------------------------------------------- */
/* Sora, the wordmark's own face, subset to the characters this page uses.
   Rebuild with tools/fonts/build_webfonts.py. */
@font-face {
  font-family: Sora;
  src: url('../fonts/sora-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url('../fonts/sora-800-latin.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------ */
:root {
  color-scheme: dark;

  --void: #0e0e0e;
  --paper: #f5f2ec;
  --blue: #004d8e;
  --orange: #ff7015;
  /* The ring's cool end lifted to a legible weight, for text and hairlines
     where #004D8E would disappear into Void. */
  --blue-lift: #6fa8d6;

  --ink-1: var(--paper);
  --ink-2: color-mix(in oklab, var(--paper) 72%, transparent);
  --ink-3: color-mix(in oklab, var(--paper) 55%, transparent);
  --line: color-mix(in oklab, var(--paper) 14%, transparent);
  --line-strong: color-mix(in oklab, var(--paper) 26%, transparent);
  --surface: color-mix(in oklab, var(--paper) 5%, transparent);
  --surface-2: color-mix(in oklab, var(--paper) 8%, transparent);

  --danger: #ff8b8b;
  --ok: #86d6a8;
  --wa: #25d366;

  --ff-display: Sora, 'Segoe UI', system-ui, sans-serif;
  --ff-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --r-sm: .625rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;

  /* Layered rather than one flat drop, so the panel reads as lifted off Void
     instead of outlined. */
  --lift:
    0 1px 1px color-mix(in oklab, #000 40%, transparent),
    0 4px 10px color-mix(in oklab, #000 30%, transparent),
    0 18px 40px color-mix(in oklab, #000 36%, transparent);

  /* Gradient interpolation space, used only where the browser understands it.
     Every gradient below keeps a non-empty preamble (an angle or a shape) so
     the declaration stays valid when these resolve to nothing. */
  --in-oklab: ;
  --in-oklch: ;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--void);
  color: var(--ink-1);
  font-family: var(--ff-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  text-align: start;
  overflow-wrap: break-word;
  /* Keeps the decorative layers from widening the page on small screens. */
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip {
  position: absolute;
  inset-block-start: .5rem;
  inset-inline-start: .5rem;
  z-index: 10;
  padding: .625rem 1rem;
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--void);
  font: 600 .9375rem/1 var(--ff-display);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

/* --- Decorative field -------------------------------------------------- */
/* Two soft lights in the brand's cool and hot ends, a ring echoing the mark,
   and a film of grain so the large flat areas are not banded. All of it is
   decoration: aria-hidden in the markup, and it never traps a pointer. */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Holds the blend modes below to this layer. */
  isolation: isolate;
}

.bg__glow {
  position: absolute;
  inline-size: min(64rem, 115vmax);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(.5rem);
}

.bg__glow--cool {
  inset-block-start: -48%;
  inset-inline-start: -30%;
  background: radial-gradient(circle at 50% 50% var(--in-oklab),
    color-mix(in oklab, var(--blue) 62%, transparent) 0%,
    color-mix(in oklab, var(--blue) 18%, transparent) 42%,
    transparent 68%);
  @media (prefers-reduced-motion: no-preference) {
    animation: soon-drift-a 34s ease-in-out infinite alternate;
  }
}

/* Kept lighter than the cool end: Void has to stay Void, and orange spreads
   much further across a dark field than the blue does. */
.bg__glow--hot {
  inset-block-end: -52%;
  inset-inline-end: -34%;
  background: radial-gradient(circle at 50% 50% var(--in-oklab),
    color-mix(in oklab, var(--orange) 34%, transparent) 0%,
    color-mix(in oklab, var(--orange) 9%, transparent) 38%,
    transparent 64%);
  @media (prefers-reduced-motion: no-preference) {
    animation: soon-drift-b 42s ease-in-out infinite alternate;
  }
}

/* The mark's ring, at wall scale. Masked out of a conic gradient so the band
   keeps the logo's proportions at any size. */
.bg__ring {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: clamp(20rem, 52vmin, 40rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 140deg var(--in-oklab),
    var(--blue) 0%, var(--orange) 48%, var(--blue) 100%);
  mask: radial-gradient(farthest-side, transparent 66%, #000 67%);
  opacity: .34;
  @media (prefers-reduced-motion: no-preference) {
    animation: soon-spin 120s linear infinite;
  }
}

@media (min-width: 60rem) {
  .bg__ring {
    inset-inline-start: auto;
    inset-inline-end: -8vmin;
    translate: 0 -50%;
  }
}

/* One column: the ring has nowhere to sit but behind the text, so it drops
   below the headline and loses most of its weight. */
@media (max-width: 60rem) {
  .bg__ring {
    inset-block-start: 64%;
    opacity: .2;
  }
}

.bg__grain {
  position: absolute;
  inset: -50%;
  opacity: .14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Paused by the control in the footer: the ambient motion runs for longer than
   five seconds beside the content, so it needs a stop that does not depend on
   the visitor having set a system preference. */
body[data-motion='off'] :where(.bg__glow, .bg__ring, .pill__dot) { animation: none !important; }

@keyframes soon-drift-a {
  from { translate: 0 0; scale: 1; }
  to   { translate: 6% 4%; scale: 1.08; }
}
@keyframes soon-drift-b {
  from { translate: 0 0; scale: 1.06; }
  to   { translate: -5% -3%; scale: 1; }
}
@keyframes soon-spin {
  to { rotate: 1turn; }
}

/* --- Shell ------------------------------------------------------------- */
.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(2rem, 4vw, 3.5rem);
  min-height: 100svh;
  max-width: 78rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.125rem, 4vw, 3rem);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__logo {
  display: inline-flex;
  inline-size: clamp(7rem, 16vw, 9.5rem);
}
.topbar__logo img { inline-size: 100%; height: auto; }

.main {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-content: center;
  align-items: start;
}

@media (min-width: 60rem) {
  .main {
    grid-template-columns: minmax(0, 1.05fr) minmax(23rem, .95fr);
    gap: clamp(2.5rem, 4vw, 4.5rem);
  }
}

/* --- Pills, labels, chips ---------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-block-size: 2rem;
  padding: .3125rem .875rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font: 600 .8125rem/1.3 var(--ff-display);
  letter-spacing: .02em;
  color: var(--ink-2);
}

.pill__dot {
  inline-size: .5rem;
  block-size: .5rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 .25rem color-mix(in oklab, var(--ok) 22%, transparent);
  flex: none;
  @media (prefers-reduced-motion: no-preference) {
    animation: soon-breathe 2.8s ease-in-out infinite;
  }
}

@keyframes soon-breathe {
  50% { opacity: .45; scale: .82; }
}

.label {
  font: 600 .8125rem/1.4 var(--ff-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  min-block-size: 2.25rem;
  display: inline-flex;
  align-items: center;
  padding: .375rem .875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 600 .875rem/1.3 var(--ff-display);
  color: var(--ink-2);
}

/* --- Hero -------------------------------------------------------------- */
.hero { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); justify-items: start; }

.hero__h1 {
  /* Maximum stays within 2.5x the minimum, so browser zoom can still take the
     headline to 200%. */
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);
}

.hero__h1 em {
  font-style: normal;
  /* The studio's own cool-to-hot chain, stop for stop. Left to interpolate,
     blue and orange either drain to grey in the middle (oklab) or swing
     through magenta on the shorter hue arc (oklch); the brand already has the
     ramp it wants between them, so the stops are named outright. */
  background: linear-gradient(100deg var(--in-oklab),
    var(--blue-lift) 0%, #b08d9a 42%, #ee7140 78%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Both gradient ends clear 3:1 on Void at this size; the fallback keeps the
     headline readable where background-clip: text is unavailable. */
  @supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    background: none;
    color: var(--orange);
  }
}

.hero__lead {
  max-width: 54ch;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  color: var(--ink-2);
}

.hero__note { font-size: .9375rem; color: var(--ink-3); }

/* --- Countdown --------------------------------------------------------- */
.count {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.count li {
  min-inline-size: 4.25rem;
  padding: .625rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: center;
}

.count b {
  display: block;
  font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--ff-display);
  font-variant-numeric: tabular-nums;
}

.count span {
  font: 600 .6875rem/1.4 var(--ff-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --- Contact rail ------------------------------------------------------ */
.rail {
  display: grid;
  gap: .75rem;
  width: 100%;
  max-width: 34rem;
}

.rail__item {
  display: flex;
  align-items: center;
  gap: .875rem;
  min-block-size: 3.5rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, translate .18s ease;
}

.rail__item:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

@media (prefers-reduced-motion: no-preference) {
  .rail__item:hover { translate: 0 -2px; }
}

.rail__item:active { translate: 0; }

.rail__ico {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--paper) 10%, transparent);
}
.rail__ico svg { inline-size: 1.125rem; block-size: 1.125rem; }
.rail__ico--wa { background: color-mix(in oklab, var(--wa) 20%, transparent); color: var(--wa); }
.rail__ico--mail { background: color-mix(in oklab, var(--orange) 20%, transparent); color: var(--orange); }

.rail__text { display: grid; gap: .125rem; min-width: 0; }
.rail__k { font: 600 .75rem/1.3 var(--ff-display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rail__v { font: 600 1.0625rem/1.3 var(--ff-display); }

/* --- Panel ------------------------------------------------------------- */
.panel {
  container-type: inline-size;
  container-name: panel;
  padding: clamp(1.25rem, 3.2vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  /* Readable on its own; the blur below is an enhancement, not a dependency. */
  background: linear-gradient(165deg var(--in-oklab),
    color-mix(in oklab, var(--paper) 9%, transparent),
    color-mix(in oklab, var(--paper) 4%, transparent));
  box-shadow: var(--lift);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel {
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
    background: linear-gradient(165deg var(--in-oklab),
      color-mix(in oklab, var(--paper) 7%, transparent),
      color-mix(in oklab, var(--void) 35%, transparent));
  }
}

.panel__h { font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); }
.panel__p { margin-block-start: .5rem; color: var(--ink-2); font-size: .9375rem; }

/* --- Form -------------------------------------------------------------- */
.form { display: grid; gap: 1.125rem; margin-block-start: 1.5rem; }

/* Two across once the panel itself is wide enough -- the measurement that
   matters here is the panel's width, not the viewport's. */
@container panel (min-width: 27rem) {
  .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
}

.field { display: grid; gap: .3125rem; }

.field > label {
  font: 600 .875rem/1.4 var(--ff-display);
  color: var(--ink-2);
  /* Widens the tap area without moving anything. */
  padding-block: .375rem;
  margin-block: -.375rem;
  width: fit-content;
}

.field .opt { color: var(--ink-3); font-weight: 600; }

.field :is(input, select, textarea) {
  font: inherit;
  font-size: max(1rem, 1em);          /* at least 16px, so iOS does not zoom */
  width: 100%;
  min-block-size: 3rem;
  padding: .75rem .875rem;
  color: var(--ink-1);
  background: color-mix(in oklab, var(--void) 55%, transparent);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

@media (pointer: coarse) {
  .field :is(input, select, textarea) { min-block-size: 3.25rem; }
}

.field textarea {
  min-block-size: 7.5rem;
  line-height: 1.55;
  resize: vertical;
}

.field :is(input, textarea)::placeholder { color: color-mix(in oklab, var(--paper) 50%, transparent); }

.field :is(input, select, textarea):hover { border-color: color-mix(in oklab, var(--paper) 36%, transparent); }

.field :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--orange);
  background: color-mix(in oklab, var(--void) 70%, transparent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--orange) 32%, transparent);
}

/* Error state waits for the visitor to have finished with the field, or to
   have pressed Send: :user-invalid, never :invalid. */
.field :is(input, select, textarea):user-invalid {
  border-color: var(--danger);
  background: color-mix(in oklab, var(--danger) 10%, transparent);
}

.field :is(input, select, textarea):user-valid {
  border-color: color-mix(in oklab, var(--ok) 58%, transparent);
}

.error-msg {
  display: none;
  align-items: start;
  gap: .375rem;
  font-size: .875rem;
  color: var(--danger);
}
.error-msg svg { flex: none; inline-size: 1rem; block-size: 1rem; margin-block-start: .2rem; }

.field :is(input, select, textarea):user-invalid ~ .error-msg { display: flex; }

/* A server-side rejection: shown on return, with the same wording as the
   client-side messages. */
.error-msg[data-server] { display: flex; }

/* --- Service choice ---------------------------------------------------- */
.pickset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.pickset > legend {
  padding: 0;
  margin-block-end: .5rem;
  font: 600 .875rem/1.4 var(--ff-display);
  color: var(--ink-2);
}

.picks { display: flex; flex-wrap: wrap; gap: .5rem; }

.pick { position: relative; }

/* Clipped rather than transparent-and-stretched: the control stays in the
   accessibility tree and keyboard order, and nothing invisible sits on top of
   the chip. The <label> wraps both, so the whole chip is still the hit area.
   This is not the page's .visually-hidden utility, which reveals itself on
   focus -- that would pop a stray native radio out beside the chip. */
.pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pick { cursor: pointer; }

.pick span {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.5rem;
  padding: .4375rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in oklab, var(--void) 45%, transparent);
  font: 600 .875rem/1.35 var(--ff-display);
  color: var(--ink-2);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}

.pick input:hover + span { border-color: color-mix(in oklab, var(--paper) 40%, transparent); }

.pick input:checked + span {
  border-color: var(--orange);
  background: color-mix(in oklab, var(--orange) 16%, transparent);
  color: var(--ink-1);
}

.pick input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-block-size: 3rem;
  padding: .75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--ff-display);
  text-decoration: none;
  cursor: pointer;
  transition: filter .18s ease, border-color .18s ease, background-color .18s ease, translate .18s ease;
}

.btn svg { inline-size: 1.125rem; block-size: 1.125rem; flex: none; }

.btn--solid {
  /* Void text on the brand gradient: 4.5:1 or better against both ends. */
  background: linear-gradient(100deg var(--in-oklab), var(--orange), #ffa15a);
  color: var(--void);
}
.btn--solid:hover { filter: brightness(1.07); }

.btn--wa {
  background: color-mix(in oklab, var(--wa) 16%, transparent);
  border-color: color-mix(in oklab, var(--wa) 55%, transparent);
  color: var(--paper);
}
.btn--wa:hover { background: color-mix(in oklab, var(--wa) 26%, transparent); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-1);
}
.btn--ghost:hover { border-color: var(--paper); }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { translate: 0 -1px; }
}
.btn:active { translate: 0; }

.btn[aria-disabled='true'] { opacity: .65; cursor: progress; }

.form__actions { display: flex; flex-wrap: wrap; gap: .625rem; align-items: center; }
.form__actions .btn--solid { flex: 1 1 12rem; }

.fineprint { font-size: .8125rem; color: var(--ink-3); }

/* --- Notices ----------------------------------------------------------- */
.notice {
  display: flex;
  gap: .75rem;
  padding: .875rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .9375rem;
}
.notice svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; margin-block-start: .125rem; }
.notice--bad { border-color: color-mix(in oklab, var(--danger) 55%, transparent); background: color-mix(in oklab, var(--danger) 10%, transparent); }
.notice--bad svg { color: var(--danger); }

/* --- Sent panel -------------------------------------------------------- */
.sent { display: grid; gap: 1.25rem; }

.sent__mark {
  display: grid;
  place-items: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ok) 18%, transparent);
  color: var(--ok);
}
.sent__mark svg { inline-size: 1.625rem; block-size: 1.625rem; }

.steps { display: grid; gap: .625rem; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.steps li { display: flex; gap: .625rem; align-items: start; color: var(--ink-2); }
.steps svg { flex: none; inline-size: 1.125rem; block-size: 1.125rem; margin-block-start: .25rem; color: var(--ok); }
.steps li[data-state='pending'] svg { color: var(--ink-3); }

.sent__actions { display: flex; flex-wrap: wrap; gap: .625rem; }

/* --- Footer ------------------------------------------------------------ */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--ink-3);
}

.foot a { text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.foot a:hover { text-decoration-color: currentColor; }

.motion-toggle {
  min-block-size: 2.25rem;
  padding: .375rem .875rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 600 .75rem/1.3 var(--ff-display);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.motion-toggle:hover { border-color: var(--line-strong); color: var(--ink-2); }

/* Nothing is moving, so there is nothing to pause. */
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { display: none; }
}

/* --- Floating WhatsApp ------------------------------------------------- */
/* Narrow screens only. On a wide one the contact rail and the form's own
   WhatsApp button are already in view, and a floating button would only sit on
   top of the fields. */
.fab {
  position: fixed;
  z-index: 5;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  display: none;
  align-items: center;
  gap: .5rem;
  min-block-size: 3rem;
  padding: .75rem 1.125rem;
  border-radius: 999px;
  background: var(--wa);
  color: #04281a;
  font: 600 .9375rem/1 var(--ff-display);
  text-decoration: none;
  box-shadow: var(--lift);
}
.fab svg { inline-size: 1.25rem; block-size: 1.25rem; }
.fab:hover { filter: brightness(1.06); }

@media (max-width: 60rem) {
  .fab { display: inline-flex; }
  /* Room to scroll the last control clear of the button. */
  .shell { padding-block-end: 5.5rem; }
}

@media (max-width: 30rem) {
  /* Icon only, so it cannot sit over the form's own controls. */
  .fab__label { display: none; }
  .fab { padding: .875rem; }
}
