/* Logisyn agency site. Mobile-first, one self-hosted serif display font (Fraunces), system font for text.
   Layout: dark hero with a tile collage → light rounded panel slides over it → dark rounded panel
   (FAQ + contact) slides over that. Columns open up from 760px and 1040px.
   Motion lives at the end of this file and only runs when <html> has the "motion" class. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
:root {
  --night: #06111D;      /* hero + dark panels */
  --night-2: #0B1B2C;    /* raised tiles on dark */
  --navy: #0E2A47;
  --teal: #0F9FB0;       /* logo teal */
  --teal-hi: #35C7D6;    /* teal on dark */
  --teal-ink: #0A7480;   /* teal text/buttons on light: 4.9:1 on the light panel, 5.5:1 with white text */
  --paper: #EEF3F6;      /* light panel */
  --card: #FFFFFF;
  --ink: #0D1B29;
  --muted: #5A6875;
  --mist: #A9B8C6;       /* body text on dark */
  --line: #DAE2E8;
  --line-dark: #1D3247;
  --wa: #1FAF5A;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --r-xl: 36px;
  --r-lg: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.6 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--teal-ink); }
:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2, .display { font-family: var(--display); font-weight: 560; letter-spacing: -0.02em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 8.6vw, 4.8rem); }
h2 { font-size: clamp(1.95rem, 5.4vw, 3.1rem); }
h1 em, h2 em { font-style: italic; font-weight: 440; letter-spacing: -0.01em; }
h2 em { color: var(--teal-ink); }
.dark h2 em, .doc h1 em { color: var(--teal-hi); }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 20; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.center { text-align: center; justify-items: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-teal { background: var(--teal-ink); color: #fff; }
.btn-teal:hover { background: #085F69; }
.btn-hi { background: var(--teal-hi); color: var(--night); }   /* bright button on dark: 9.3:1 */
.btn-hi:hover { background: #5FD6E2; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line-dark { border-color: #3A5268; color: #fff; background: transparent; }
.btn-line-dark:hover { border-color: var(--teal-hi); }
.btn-wa { background: #15803D; color: #fff; }   /* darker WhatsApp green so white text passes (5:1) */
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.textlink { font: 700 .8rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-decoration: none; }
.textlink:hover { color: var(--teal-hi); }
.arrow { display: inline-block; transition: transform .15s ease; }
a:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- announcement + header (dark) ---------- */
.promo { background: #0A2433; color: #CFEFF3; font-size: .86rem; text-align: center; }
.promo .wrap { padding-block: 9px; }
.promo a { color: var(--teal-hi); font-weight: 700; text-decoration: none; white-space: nowrap; }
.top { background: var(--night); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 16px; }
.top .logo { height: 32px; width: auto; display: block; }
.top nav { display: none; gap: 26px; }
.top nav a { color: #D5E0EA; text-decoration: none; font-weight: 600; font-size: .94rem; }
.top nav a:hover { color: #fff; }
.top .actions { display: flex; align-items: center; gap: 18px; }
.top .actions .plain { display: none; color: #D5E0EA; text-decoration: none; font-weight: 600; font-size: .94rem; }
.top .icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #15803D; color: #fff; flex: none; }
.top .icon-btn svg { width: 22px; height: 22px; }
@media (max-width: 759px) { .top .actions { gap: 10px; } }
@media (max-width: 359px) { .top .actions .btn { display: none; } } /* tiny phones: logo + WhatsApp only (the hero button is right below) */

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 34px 86px; color: #fff;
  background: radial-gradient(60% 55% at 85% 30%, rgba(15,159,176,.20), transparent 70%), var(--night); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: rgba(15,159,176,.22); }
.hero::after { width: 440px; height: 440px; left: -180px; bottom: -220px; background: rgba(29,100,196,.16); }
.hero .wrap { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .copy { display: grid; gap: 20px; justify-items: start; }
.badge { display: block; font-size: .88rem; color: var(--mist); }
.badge b { color: var(--teal-hi); }
.hero h1 em { font-style: normal; color: var(--teal-hi); }
.hero .sub { color: var(--mist); font-size: 1.08rem; max-width: 46ch; }

/* collage of rounded tiles */
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(120px, auto); gap: 12px; }
.tile { border-radius: var(--r-lg); overflow: hidden; position: relative; min-width: 0; }
.tile-phone { grid-row: span 2; background: linear-gradient(160deg, #13B5C6 0%, #0B6F7C 55%, #0A3D52 100%); display: grid; place-items: end center; padding: 20px 14px 0; }
.tile-phone img { display: block; height: auto; width: 86%; max-width: 230px; aspect-ratio: 390 / 600; object-fit: cover; object-position: top;
  border-radius: 22px 22px 0 0; border: 6px solid #07141F; border-bottom: 0; background: #07141F; }
.tile-dark { background: var(--night-2); border: 1px solid var(--line-dark); padding: 14px; display: grid; gap: 10px; align-content: start; }
.tile-light { background: #F4F7F9; color: var(--ink); padding: 14px; display: grid; gap: 10px; align-content: start; }
.tile-label { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.tile-light .tile-label { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; }
.bubble { font-size: .82rem; line-height: 1.4; padding: 9px 11px; border-radius: 14px 14px 14px 4px; background: #1B3349; color: #E6EEF5; max-width: 95%; }
.bubble.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #0F6B4A; color: #E9FFF3; }
.bubble small { display: block; color: #8FA6BA; font-size: .7rem; margin-top: 3px; }
.bubble.me small { color: #A8DDC2; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: .8rem; color: var(--muted); }
.search svg { width: 14px; height: 14px; flex: none; }
.result { background: #fff; border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); display: grid; gap: 3px; font-size: .78rem; }
.result b { font-size: .9rem; color: #1A47A3; }
.result .stars { color: #E2A100; letter-spacing: 1px; }
.result .row { display: flex; gap: 6px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 700; background: #E3F4F6; color: var(--teal-ink); }
.chip.green { background: #DDF5E7; color: #12713D; }
.tile-steps { grid-column: span 2; display: none; }
/* small phones: one tile per row, so nothing is squashed or cut off */
@media (max-width: 559px) {
  .collage { grid-template-columns: 1fr; }
  .tile-phone { grid-row: auto; height: 300px; }
  .tile-phone img { width: 58%; }
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #E6EEF5; }
.ticks li i { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.ticks li i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

/* ---------- light panel that slides over the hero ---------- */
.panel { position: relative; background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); padding-block: 44px 110px; }
.panel > .wrap { display: grid; gap: 88px; }
.trades { display: grid; gap: 14px; }
.trades p { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.trades ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.trades li { font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 3vw, 1.35rem); color: var(--muted); letter-spacing: -0.02em; }
.block { display: grid; gap: 30px; }
.block-head { display: grid; gap: 12px; }
.block-head.split { align-items: end; }

/* three feature cards */
.features { display: grid; gap: 16px; }
.feature { border-radius: var(--r-lg); padding: 24px 22px 0; display: grid; gap: 10px; align-content: start; overflow: hidden; min-height: 340px; text-decoration: none; position: relative; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; }
.feature p { font-size: .95rem; }
.feature .go { font-weight: 700; font-size: .92rem; }
.feature .art { margin-top: auto; padding-top: 18px; display: grid; justify-items: center; }
.f-teal { background: linear-gradient(165deg, #0A7480 0%, #08606B 60%, #074A57 100%); color: #fff; }
.f-teal p { color: #E6F8FA; }
.f-teal .go { color: #fff; }
.f-light { background: linear-gradient(180deg, #FFFFFF 0%, #E2EEF2 100%); color: var(--ink); border: 1px solid var(--line); }
.f-light p { color: var(--muted); }
.f-light .go { color: var(--teal-ink); }
.f-dark { background: linear-gradient(180deg, #13283D 0%, #091827 100%); color: #fff; }
.f-dark p { color: var(--mist); }
.f-dark .go { color: var(--teal-hi); }
.art .result { width: 100%; max-width: 280px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); margin-bottom: 24px; color: var(--ink); }
.art .phone-peek { height: auto; width: 70%; max-width: 210px; aspect-ratio: 390 / 470; object-fit: cover; object-position: top; border-radius: 20px 20px 0 0; border: 6px solid #0B1B2C; border-bottom: 0; display: block; }
.browser { width: 100%; max-width: 290px; background: #F4F7F9; border-radius: 14px 14px 0 0; overflow: hidden; color: var(--ink); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.5); }
.browser .bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #E3E9EE; font-size: .78rem; color: var(--muted); }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #B9C5CF; }
.browser .url { flex: 1; background: #fff; border-radius: 999px; padding: 4px 10px; display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; min-width: 0; overflow: hidden; white-space: nowrap; }
.browser .url svg { width: 11px; height: 11px; flex: none; }
.browser .body { padding: 16px 14px 22px; display: grid; gap: 10px; }
.browser .line { height: 9px; border-radius: 6px; background: #D6E0E7; }
.browser .line.w60 { width: 60%; } .browser .line.w80 { width: 80%; }
.browser .live { justify-self: start; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: "0" counter(step); font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--teal); letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: .97rem; }

/* examples: product-range style cards (scroll sideways on phones) */
.range { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; margin-inline: calc(max(18px, env(safe-area-inset-left, 0px)) * -1); padding-inline: max(18px, env(safe-area-inset-left, 0px)); scrollbar-width: thin; }
.product { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 20px; display: grid; gap: 12px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.product .shot { position: relative; background: linear-gradient(180deg, #F4F8FA, #E3ECF1); border-radius: 16px; padding: 22px 0 0; display: grid; place-items: end center; overflow: hidden; }
.product .shot img { height: auto; width: 62%; aspect-ratio: 390 / 560; object-fit: cover; object-position: top; border-radius: 18px 18px 0 0; border: 5px solid #0B1B2C; border-bottom: 0; display: block; }
.product .tag { position: absolute; left: 12px; top: 12px; }
.product h3 { font-size: 1.05rem; }
.product p { color: var(--muted); font-size: .93rem; }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.product .btn-row { gap: 10px; margin-top: 4px; }
.hint { font-size: .85rem; color: var(--muted); }

/* prices */
.tiers { display: grid; gap: 16px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.tier.pick { border: 2px solid var(--teal); box-shadow: 0 24px 50px -30px rgba(11,124,137,.55); }
.tier .chip { justify-self: start; }
.price { font-family: var(--display); font-weight: 600; font-size: 1.65rem; letter-spacing: -0.015em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: var(--font); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.tier ul { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.tier li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: #E3F4F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%230B7C89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.tier .btn { margin-top: auto; }
.care { margin-top: 16px; background: linear-gradient(120deg, #0E2A47, #0A1C30); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; display: grid; gap: 14px; align-items: center; }
.care .price small { color: var(--mist); }
.care p { color: #C8D5E1; }
.fine { color: var(--muted); font-size: .88rem; }

/* ---------- dark panel (FAQ + contact) ---------- */
.dark { position: relative; background: var(--night); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); padding-block: 72px 80px; }
.dark > .wrap { display: grid; gap: 80px; }
.dark .eyebrow { color: var(--teal-hi); }
.dark .lede { color: var(--mist); }
.faq { display: grid; gap: 28px; }
.faq-list { display: grid; gap: 10px; }
details { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 16px; }
summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--teal-hi); border-bottom: 2px solid var(--teal-hi); transform: rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 20px 18px; color: var(--mist); }
.contact { display: grid; gap: 30px; }
.contact .intro { display: grid; gap: 14px; align-content: start; }
.ways { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.ways a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: 16px; text-decoration: none; color: #fff; background: var(--night-2); min-width: 0; }
.ways a:hover { border-color: var(--teal); }
.ways svg { width: 44px; height: 44px; }
.ways b { display: block; }
.ways span { color: var(--mist); font-size: .93rem; overflow-wrap: anywhere; }
.ways .arrow { color: var(--teal-hi); }
form.card, .mailbox { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 14px; align-content: start; }
form.card h3, .mailbox h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
input, textarea { font: inherit; padding: 13px 14px; border: 1px solid #7D8D9B; border-radius: 12px; width: 100%; background: #fff; color: var(--ink); }
input:focus, textarea:focus { border-color: var(--teal-ink); }
textarea { min-height: 110px; resize: vertical; }
.two { display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; }
form.card .fine a { color: var(--teal-ink); }

/* trade tabs (radio buttons, no JavaScript) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; } /* tiny, so they can't widen the page */
.tabs > label { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; color: #6F8397; cursor: pointer; padding: 6px 0 8px;
  background: linear-gradient(var(--teal-hi), var(--teal-hi)) 0 100% / 0 2px no-repeat; transition: color .25s ease, background-size .45s var(--ease-out); }
.tabs > label:hover { color: #C9D6E2; }
.tabs > input:checked + label { color: #fff; background-size: 100% 2px; }
.tabs > input:focus-visible + label { outline: 3px solid var(--teal-hi); outline-offset: 4px; border-radius: 4px; }
.tab-panels { flex-basis: 100%; margin-top: 18px; }
.tp { display: none; gap: 14px; }
#tab-plumb:checked ~ .tab-panels .tp-plumb,
#tab-elec:checked ~ .tab-panels .tp-elec,
#tab-build:checked ~ .tab-panels .tp-build { display: grid; }
.tp-main { border-radius: var(--r-lg); min-height: 340px; display: grid; align-items: end; padding: 26px 22px; position: relative; overflow: hidden; }
.tp-main::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px); }
.t-plumb { background: radial-gradient(80% 70% at 80% 10%, #1595A6 0%, transparent 60%), linear-gradient(160deg, #0F3550, #081A2A); }
.t-elec { background: radial-gradient(80% 70% at 80% 10%, #B8862A 0%, transparent 60%), linear-gradient(160deg, #2A2B3A, #12131D); }
.t-build { background: radial-gradient(80% 70% at 80% 10%, #B4542F 0%, transparent 60%), linear-gradient(160deg, #33251F, #17110E); }
.tp-copy { position: relative; display: grid; gap: 16px; justify-items: start; max-width: 520px; }
.tp-copy h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 3.6vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.12; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #EAF1F7; }
.tp-side { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.tp-side .search { background: #12263A; border-color: var(--line-dark); color: #D7E3EE; }
.tp-side p { color: var(--mist); font-size: .93rem; margin-top: 6px; }

/* reviews (and the promise cards shown until real reviews exist) */
.reviews { display: grid; gap: 28px; }
.review-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
  margin-inline: calc(max(18px, env(safe-area-inset-left, 0px)) * -1); padding-inline: max(18px, env(safe-area-inset-left, 0px)); scroll-padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
.review { scroll-snap-align: start; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 24px 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.review .stars { color: #F4C04E; letter-spacing: 3px; font-size: 1.05rem; }
.review blockquote { margin: 0; color: #E3EBF2; font-size: 1rem; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #12324F; color: var(--teal-hi); font-weight: 800; flex: none; }
.review footer b { display: block; font-size: .95rem; }
.review footer span { color: var(--mist); font-size: .86rem; }
.promise .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #12324F; color: var(--teal-hi); font-family: var(--display); font-weight: 600; }
.promise h3 { font-size: 1.02rem; }
.promise p { color: var(--mist); font-size: .95rem; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--mist); padding-block: 0 24px; font-size: .93rem; }
.foot-card { background: #040C15; border: 1px solid var(--line-dark); border-radius: var(--r-xl); padding: 34px 26px 26px; display: grid; gap: 30px; }
.foot-brand { display: grid; gap: 10px; }
.foot .logo { height: 30px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
.foot-cols div { display: grid; gap: 9px; align-content: start; min-width: 0; }
.foot-cols h4 { margin: 0 0 4px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #6F8397; }
.foot a { color: #E3EBF2; text-decoration: none; overflow-wrap: break-word; }
@media (max-width: 759px) { .foot-cols > div:nth-child(2) { order: 3; grid-column: 1 / -1; } } /* contact column full width, so the email fits */
.foot a:hover { color: var(--teal-hi); }
.foot .copy { font-size: .85rem; color: #6F8397; border-top: 1px solid var(--line-dark); padding-top: 18px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- text pages (privacy, thanks, 404) ---------- */
.doc { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-block: 48px 80px; }
.doc .wrap { max-width: 780px; display: grid; gap: 16px; }
.doc h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.doc h2 { font-size: 1.25rem; margin-top: 18px; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc .meta { color: var(--muted); }
.doc .btn-row { margin-top: 8px; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .two { grid-template-columns: 1fr 1fr; }
  .tile-steps { display: grid; }
}
@media (min-width: 760px) {
  .top nav { display: flex; }
  .top .actions .btn { flex: none; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .range { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .hint { display: none; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .care { grid-template-columns: auto 1fr auto; gap: 28px; }
  .block-head.split { grid-template-columns: 1fr auto; }
  .tp { grid-template-columns: 1.7fr 1fr; }
  .tp-main { min-height: 400px; padding: 34px; }
  .review-row { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .foot-card { grid-template-columns: 1.3fr 2fr; padding: 44px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot .copy { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .top .actions .plain { display: inline; }
  .hero { padding-block: 56px 120px; }
  .hero .wrap { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .collage { grid-auto-rows: minmax(150px, auto); gap: 14px; }
  .faq { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .contact { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* =====================================================================
   MOTION
   Everything below only runs when <html> has the "motion" class. The small script in <head> adds it
   unless the visitor's device asks for reduced motion, and removes it again if motion.js never
   arrives. Animations use transform/opacity only, so nothing jumps around (no layout shift).
   ===================================================================== */
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes drift-a { to { transform: translate(-10%, 8%) scale(1.15); } }
@keyframes drift-b { to { transform: translate(12%, -10%) scale(.88); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dots { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes vanish { to { opacity: 0; visibility: hidden; } }
@keyframes tick { 0% { transform: scale(0); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(53,199,214,.5); } to { box-shadow: 0 0 0 18px rgba(53,199,214,0); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-away { to { transform: translateY(140px); opacity: .2; } }

/* --- hero: living background, headline rises word by word, the collage plays out a call-out --- */
.motion .hero::before { animation: drift-a 16s var(--ease-in-out) infinite alternate; }
.motion .hero::after { animation: drift-b 21s var(--ease-in-out) infinite alternate; }
.motion .hero .badge { animation: fade-up .8s var(--ease-out) both; }
.motion .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
.motion .hero h1 .w > span { display: inline-block; animation: rise 1.05s var(--ease-out) both; animation-delay: calc(120ms + var(--i) * 75ms); }
.motion .hero .sub { animation: fade-up .9s var(--ease-out) .6s both; }
.motion .hero .btn-row { animation: fade-up .9s var(--ease-out) .75s both; }
.motion .hero .btn-hi { animation: ring 1.6s ease-out 2.6s 2; }

.motion .collage .tile { animation: pop-in 1s var(--ease-out) both;
  translate: calc(var(--px, 0) * var(--depth, 10px)) calc(var(--py, 0) * var(--depth, 10px)); transition: translate .7s var(--ease-out); }
.motion .collage .tile:nth-child(1) { animation-delay: .35s; --depth: -18px; }
.motion .collage .tile:nth-child(2) { animation-delay: .5s; --depth: 16px; }
.motion .collage .tile:nth-child(3) { animation-delay: .65s; --depth: 24px; }
.motion .collage .tile:nth-child(4) { animation-delay: .8s; --depth: -10px; }
.motion .tile-phone img { animation: float 7s ease-in-out 1.6s infinite; }

.bubble .typing { display: none; }
.motion .tile-dark .bubble { animation: pop-in .6s var(--ease-out) both; transform-origin: 0 100%; }
.motion .tile-dark .bubble:not(.me) { animation-delay: 1.15s; }
.motion .tile-dark .bubble.me { animation-delay: 2s; transform-origin: 100% 100%; position: relative; overflow: hidden; }
.motion .bubble .typing { display: flex; position: absolute; inset: 0; align-items: center; gap: 5px; padding: 0 14px; background: inherit; border-radius: inherit; animation: vanish .25s ease 3.3s forwards; }
.motion .bubble .typing i { width: 7px; height: 7px; border-radius: 50%; background: #E9FFF3; animation: dots 1s ease-in-out infinite; }
.motion .bubble .typing i:nth-child(2) { animation-delay: .15s; }
.motion .bubble .typing i:nth-child(3) { animation-delay: .3s; }
.motion .tile-light .search .q { display: inline-block; animation: type 1.1s steps(16) 1.35s both; }
.motion .tile-light .result { animation: pop-in .7s var(--ease-out) 2.5s both; }
.motion .ticks li { animation: fade-up .6s var(--ease-out) both; }
.motion .ticks li i { animation: tick .5s var(--ease-out) both; }
.motion .ticks li:nth-child(1), .motion .ticks li:nth-child(1) i { animation-delay: 1.4s; }
.motion .ticks li:nth-child(2), .motion .ticks li:nth-child(2) i { animation-delay: 1.8s; }
.motion .ticks li:nth-child(3), .motion .ticks li:nth-child(3) i { animation-delay: 2.2s; }

/* --- scroll-linked: reading progress line, and the hero sinks behind the panel (browsers that support it) --- */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .motion .progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; z-index: 50; pointer-events: none;
    background: linear-gradient(90deg, var(--teal), var(--teal-hi)); transform-origin: 0 50%;
    animation: grow-x linear both; animation-timeline: scroll(root); }
  .motion .hero > .wrap { animation: hero-away linear both; animation-timeline: scroll(root); animation-range: 0 85vh; }
}

/* --- sections reveal as they scroll into view (motion.js adds .in, staggered) --- */
.motion :is(.trades, .block-head, .feature, .steps li, .product, .tier, .care, .tabs, .review, .faq-list details, .ways li, form.card, .mailbox, .foot-card) {
  opacity: 0; translate: 0 34px;
  transition: opacity .9s var(--ease-out) var(--d, 0ms), translate .9s var(--ease-out) var(--d, 0ms);
}
.motion :is(.trades, .block-head, .feature, .steps li, .product, .tier, .care, .tabs, .review, .faq-list details, .ways li, form.card, .mailbox, .foot-card).in {
  opacity: 1; translate: none;
}

/* --- cards: a soft light follows the pointer; feature and example cards tilt (mouse only) --- */
.product, .review, .care { position: relative; }
.tier, .product, .f-light { --glow: rgba(15,159,176,.13); }
.motion :is(.feature, .tier, .product, .review, .care, .tp-main)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(255,255,255,.10)), transparent 45%);
}
.motion :is(.feature, .tier, .product, .review, .care, .tp-main):hover::after { opacity: 1; }
.motion :is(.feature, .product) {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .9s var(--ease-out) var(--d, 0ms), translate .9s var(--ease-out) var(--d, 0ms), transform .5s var(--ease-out), box-shadow .4s ease;
}
.motion :is(.feature, .product):hover { box-shadow: 0 34px 60px -34px rgba(6,17,29,.55); }
.motion .feature .art > * { transition: transform .6s var(--ease-out); }
.motion .feature:hover .art > * { transform: translateY(-8px); }
/* the example phones "scroll" the demo site on hover */
.motion .product .shot img { transition: object-position 2.8s var(--ease-in-out), transform .6s var(--ease-out); }
.motion .product:hover .shot img { object-position: 50% 100%; transform: translateY(-4px); }

/* --- how it works: each step fills in as you scroll past (motion.js sets --p from 0 to 1) --- */
.steps li { position: relative; overflow: hidden; }
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }
.motion .steps li::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-hi));
  transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--p, 0) * 3 - var(--i, 0)), 1)); }
.motion .steps li::before { opacity: clamp(.3, calc(var(--p, 0) * 3 - var(--i, 0) + .3), 1); }

/* --- trade tabs: the panel slides in, chips and searches follow --- */
.motion .tp { animation: fade-up .6s var(--ease-out) both; }
.motion .tp-copy .chips span, .motion .tp-side > * { animation: fade-up .55s var(--ease-out) both; }
.motion .tp-copy .chips span:nth-child(2), .motion .tp-side > :nth-child(2) { animation-delay: .08s; }
.motion .tp-copy .chips span:nth-child(3), .motion .tp-side > :nth-child(3) { animation-delay: .16s; }
.motion .tp-copy .chips span:nth-child(4), .motion .tp-side > :nth-child(4) { animation-delay: .24s; }
.motion .tp-copy .chips span:nth-child(5), .motion .tp-side > :nth-child(5) { animation-delay: .32s; }

/* --- FAQ answers glide open (newer browsers; others just open) --- */
@supports selector(::details-content) {
  html.motion { interpolate-size: allow-keywords; }
  .motion details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .motion details[open]::details-content { height: auto; }
}
.motion details[open] p { animation: fade-up .5s var(--ease-out) both; }

/* --- buttons: a light sweep on hover, a gentle press --- */
.motion :is(.btn-teal, .btn-hi, .btn-wa)::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.motion :is(.btn-teal, .btn-hi, .btn-wa):hover::after { transform: translateX(120%); }
.motion .btn:active { transform: scale(.97); }

@media (prefers-reduced-motion: reduce) {
  .arrow, summary::after, .tabs > label { transition: none; }
}
