/* 01-base.css */
/* ==========================================================================
   TestFlock marketing site — base, tokens, header, hero
   ========================================================================== */

/* Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* View transitions (cross-document) ------------------------------------ */
/* Both pages opt in for a default cross-fade. Browsers without support
   (e.g. Firefox) ignore the rule and navigate normally. */
@view-transition {
  navigation: auto;
}

/* Below-the-fold rendering deferral ----------------------------------- */
/* Browsers without content-visibility support ignore these rules; the
   `auto` keyword lets the browser re-use the measured size after the
   section is rendered once, so the intrinsic estimate only affects the
   pre-render placeholder. */
main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* Tokens --------------------------------------------------------------- */
:root {
  --blue: #2f80ed;
  --blue-bright: #4b9bff;
  --blue-deep: #1b67d6;
  --cyan: #22b8cf;
  --navy-950: #061426;
  --navy-900: #081a30;
  --navy-850: #0a2039;
  --navy-800: #0d2846;
  --ink: #0a1c34;
  --ink-soft: #203650;
  --muted: #5b6f87;
  --muted-light: #788ba1;
  --line: #e5edf8;
  --line-strong: #d6e4f5;
  --bg: #f7faff;
  --bg-blue: #f1f7ff;
  --white: #ffffff;
  --green: #12a46b;
  --green-soft: #e7f8f0;
  --amber: #e8890c;
  --amber-soft: #fff5e5;
  --red: #e5484d;
  --red-soft: #fff0f0;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system,
    sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(12, 38, 71, 0.04);
  --shadow-md: 0 18px 40px -24px rgba(12, 38, 71, 0.22);
  --shadow-lg: 0 34px 80px -34px rgba(9, 33, 63, 0.32);
  --shadow-blue: 0 16px 32px -14px rgba(47, 128, 237, 0.52);
  --header-height: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open::after {
  content: "";
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 90;
  background: rgba(7, 24, 44, 0.38);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  color: #fff;
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(47, 128, 237, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Layout helpers ------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 1000;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: var(--navy-900);
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Reveal on scroll ----------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2470d8 0%, #1e6dde 45%, #1b67d6 100%);
  border-color: rgba(24, 96, 204, 0.35);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e6dde 0%, #1b67d6 45%, #1758ba 100%);
  box-shadow: 0 20px 38px -14px rgba(47, 128, 237, 0.62);
}

.btn-primary .icon {
  filter: brightness(0) invert(1);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line-strong);
  box-shadow: 0 4px 12px rgba(12, 38, 71, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  color: var(--blue-deep);
  background: #fff;
  border-color: #b8d4f6;
}

.btn-ghost .icon {
  transition: transform 0.22s var(--ease-out);
}

.btn-ghost:hover .icon {
  transform: translateX(3px);
}

.btn-ghost--dark {
  color: #e8f2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.btn-ghost--dark:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn--full {
  width: 100%;
}

/* Google Play button --------------------------------------------------- */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 9px 20px 9px 13px;
  color: #fff;
  background: linear-gradient(160deg, #122a47 0%, #081a30 58%, #0b203a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow:
    0 16px 34px -18px rgba(6, 20, 38, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.btn-play:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 180, 255, 0.4);
  box-shadow:
    0 22px 44px -18px rgba(6, 20, 38, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-play:active {
  transform: translateY(0);
}

.btn-play__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
}

.btn-play__icon .icon {
  width: 19px;
  height: 19px;
  stroke: none;
}

.btn-play__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.btn-play__text small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.045em;
  color: #a9bbcf;
}

.btn-play__text strong {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn-play--compact {
  min-height: 46px;
  padding: 6px 14px 6px 9px;
  gap: 9px;
  border-radius: 12px;
}

.btn-play--compact .btn-play__icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.btn-play--compact .btn-play__icon .icon {
  width: 16px;
  height: 16px;
}

.btn-play--compact .btn-play__text small {
  font-size: 8px;
}

.btn-play--compact .btn-play__text strong {
  font-size: 11.5px;
}

/* Language switch ------------------------------------------------------ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4c617b;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.lang-switch .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.lang-switch:hover {
  color: var(--blue-deep);
  background: #fff;
  border-color: #b9d5f7;
}

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(217, 230, 246, 0.9);
  box-shadow: 0 16px 38px -30px rgba(9, 33, 63, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 5px 12px -4px rgba(47, 128, 237, 0.4);
}

.brand__name span {
  color: var(--blue);
}

.brand--footer {
  color: #fff;
}

.brand--footer img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.5);
}

.brand--footer .brand__name span {
  color: #5aa7ff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}

.nav > a {
  position: relative;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #4a5f7a;
  transition: color 0.2s ease;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav > a:hover {
  color: var(--blue-deep);
}

.nav > a:hover::after {
  transform: scaleX(1);
}

.nav__mobile-extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease-out),
    top 0.25s var(--ease-out),
    opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 16px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

/* Section primitives --------------------------------------------------- */
.section {
  position: relative;
  padding: 96px 0;
}

.section--white {
  background: var(--white);
}

.section--tinted {
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(47, 128, 237, 0.045), transparent 70%),
    linear-gradient(180deg, #f4f9ff 0%, #f8fbff 100%);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.7;
}

.kicker--light {
  color: #73b3ff;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.036em;
  color: var(--ink);
  text-wrap: balance;
}

.section-lead {
  max-width: 650px;
  margin: 17px auto 0;
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head--dark h2 {
  color: #fff;
}

.section-head--dark .section-lead {
  color: #a9bcd2;
}

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 72px 0 56px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(110% 90% at 88% 6%, #e1efff 0%, rgba(225, 239, 255, 0) 56%),
    radial-gradient(80% 70% at 8% 30%, #eef6ff 0%, rgba(238, 246, 255, 0) 62%),
    linear-gradient(180deg, #f9fcff 0%, #f1f8ff 58%, #fbfdff 100%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 128, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 128, 237, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 62% 26%, #000 8%, transparent 72%);
  mask-image: radial-gradient(ellipse 74% 72% at 62% 26%, #000 8%, transparent 72%);
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  top: -260px;
  right: -120px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.19) 0%, rgba(47, 128, 237, 0) 66%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-network {
  position: absolute;
  top: 60px;
  right: -110px;
  width: 660px;
  height: 660px;
  opacity: 0.85;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 48px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #37648f;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(202, 222, 246, 0.9);
  border-radius: 999px;
  box-shadow: 0 4px 16px -8px rgba(15, 53, 94, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.eyebrow__dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(18, 164, 107, 0.13);
}

.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(18, 164, 107, 0.35);
  border-radius: 50%;
  animation: pulse-ring 2.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.048em;
  color: #081a30;
  text-wrap: balance;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(105deg, #2f80ed 0%, #219bf0 52%, #22b8cf 105%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  max-width: 552px;
  margin-top: 23px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.68;
  color: #52667e;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #52667e;
}

.hero__trust .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.4;
}

.hero__note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  font-size: 11.5px;
  color: var(--muted);
}

.hero__note img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 3px 8px -2px rgba(11, 42, 78, 0.28);
}

.hero__note span:nth-last-child(1):not(.hero__dot) {
  font-weight: 600;
  color: #566a80;
}

.hero__dot {
  width: 3px;
  height: 3px;
  background: #b3c2d2;
  border-radius: 50%;
}

.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero__phone-wrap {
  position: relative;
  width: max-content;
  padding: 10px 0;
}

.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow:
    0 20px 40px -22px rgba(8, 35, 68, 0.4),
    inset 0 0 0 1px rgba(218, 232, 248, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: float-card 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.float-card small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.3;
  color: #75889d;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.float-card__icon .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.float-card__icon--green {
  color: var(--green);
  background: var(--green-soft);
}

.float-card--verified {
  top: 92px;
  left: -152px;
}

.float-card--testers {
  right: -152px;
  bottom: 100px;
  animation-delay: -3s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.avatar-stack {
  display: flex;
  padding-left: 7px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: -7px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(9, 33, 63, 0.18);
}

.avatar--1 {
  background: linear-gradient(140deg, #5a9cf8, #2f80ed);
}

.avatar--2 {
  background: linear-gradient(140deg, #35c49a, #12a46b);
}

.avatar--3 {
  background: linear-gradient(140deg, #f7a94a, #e8890c);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(218, 232, 248, 0.95);
  border-radius: 20px;
  box-shadow:
    0 24px 50px -34px rgba(8, 35, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-stat {
  position: relative;
  padding: 20px 24px;
}

.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, #dbe8f7, transparent);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #6d8198;
}

/* 02-app.css */
/* ==========================================================================
   TestFlock marketing site — phone shells and in-app mockups
   ========================================================================== */

/* Phone shell ---------------------------------------------------------- */
.phone {
  position: relative;
  width: 334px;
  flex: none;
  padding: 10px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2) 0%, transparent 18%),
    linear-gradient(145deg, #35485f 0%, #0b1625 24%, #040a12 64%, #263a51 100%);
  border-radius: 49px;
  box-shadow:
    0 70px 120px -48px rgba(7, 26, 50, 0.58),
    0 26px 50px -26px rgba(7, 26, 50, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 45px;
  pointer-events: none;
}

.phone__screen {
  position: relative;
  height: 660px;
  overflow: hidden;
  background: #f4f8fd;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 6;
  width: 94px;
  height: 25px;
  background: #040a12;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: translateX(-50%);
}

.phone--showcase {
  width: 318px;
  padding: 9px;
  border-radius: 45px;
  box-shadow:
    0 60px 100px -48px rgba(0, 0, 0, 0.7),
    0 24px 44px -26px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.phone--showcase::before {
  inset: 3px;
  border-radius: 42px;
}

.phone--showcase .phone__screen {
  height: 612px;
  border-radius: 37px;
}

.phone--showcase .phone__notch {
  top: 18px;
  width: 86px;
  height: 23px;
}

/* App UI base ---------------------------------------------------------- */
.app-ui {
  --app-text: #0a1c34;
  --app-muted: #8193a9;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 43px 15px 12px;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--app-text);
  background:
    radial-gradient(120% 48% at 50% 0%, #e9f3ff 0%, rgba(233, 243, 255, 0) 52%),
    linear-gradient(180deg, #f7fbff 0%, #f3f8fd 100%);
}

.app-ui::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(47, 128, 237, 0.06), transparent);
  pointer-events: none;
}

.app-ui > * {
  position: relative;
  z-index: 1;
}

.app-top {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.app-kicker {
  display: block;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: #7e91a7;
}

.app-greeting {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: #0a1c34;
}

.app-credit {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  color: #152c48;
  background: #fff;
  border: 1px solid #e2ecf9;
  border-radius: 999px;
  box-shadow: 0 4px 10px -6px rgba(9, 33, 63, 0.28);
}

.app-credit .icon {
  width: 13px;
  height: 13px;
  color: #efa51c;
}

/* Dark progress card --------------------------------------------------- */
.app-dark-card {
  position: relative;
  flex: none;
  padding: 13px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(47, 128, 237, 0.34) 0%, transparent 58%),
    linear-gradient(150deg, #13355a 0%, #0a2340 52%, #071a30 100%);
  border-radius: 18px;
  box-shadow: 0 16px 26px -20px rgba(7, 26, 50, 0.75);
}

.app-dark-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(34, 184, 207, 0.22), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.app-dark-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px;
  font-size: 6.9px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 999px;
}

.app-pill .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.2;
}

.app-pill--ghost {
  color: #e2eeff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-pill--amber {
  color: #ffc978;
  background: rgba(247, 144, 9, 0.14);
  border: 1px solid rgba(247, 144, 9, 0.18);
}

.app-progress {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.app-mini-label {
  display: block;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.app-progress__copy strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.app-ring {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 47px;
  height: 47px;
  background: conic-gradient(#4ea1ff calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.13) 0);
  border-radius: 50%;
}

.app-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: #0b2441;
  border-radius: 50%;
}

.app-ring span {
  position: relative;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-bar {
  position: relative;
  z-index: 1;
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
}

.app-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2f80ed 0%, #56c8ff 100%);
  border-radius: inherit;
}

.app-bar--light {
  background: #edf3fb;
}

.app-dark-note {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: 7.2px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.app-protection {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 3px 6px;
  font-size: 6.6px;
  font-weight: 600;
  line-height: 1.2;
  color: #8be8bd;
  background: rgba(23, 178, 106, 0.12);
  border: 1px solid rgba(23, 178, 106, 0.18);
  border-radius: 999px;
}

.app-protection .icon {
  width: 8px;
  height: 8px;
  stroke-width: 2.4;
}

/* Sections and app rows ------------------------------------------------ */
.app-section-row {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: #203650;
}

.app-section-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 600;
  color: #2f80ed;
}

.app-section-more .icon {
  width: 9px;
  height: 9px;
}

.app-app {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 12px;
  box-shadow: 0 3px 10px -7px rgba(9, 33, 63, 0.3);
}

.app-app__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #2f80ed;
  background: #eaf3ff;
  border-radius: 9px;
}

.app-app__icon .icon {
  width: 16px;
  height: 16px;
}

.app-app__icon--success {
  color: #0d9b66;
  background: #e9f9f1;
}

.app-app__icon--primary {
  color: #2f80ed;
  background: #eaf3ff;
}

.app-app__icon--muted {
  color: #6d8198;
  background: #f1f5fa;
}

.app-app__body {
  flex: 1;
  min-width: 0;
}

.app-app__body strong {
  display: block;
  overflow: hidden;
  font-size: 9.3px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #152c48;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-app__body span {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  font-size: 7.2px;
  line-height: 1.35;
  color: #8193a9;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-app__side {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2.5px 6px;
  font-size: 6.6px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 999px;
}

.app-status .icon {
  width: 8px;
  height: 8px;
  stroke-width: 3;
}

.app-status--success {
  color: #0d8a5a;
  background: #e7f8f0;
}

.app-status--primary {
  color: #1e6dde;
  background: #eaf3ff;
}

.app-status--muted {
  color: #6b7f96;
  background: #f1f5fa;
}

.app-reward {
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #2f80ed;
}

/* Mini 14-day progress inside the hero phone ------------------------- */
.app-mini-progress {
  flex: none;
  padding: 8px 9px;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 12px;
  box-shadow: 0 3px 10px -8px rgba(9, 33, 63, 0.3);
}

.app-mini-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 7px;
  line-height: 1.3;
  color: #7088a2;
}

.app-mini-progress__head strong {
  font-size: 7.2px;
  font-weight: 700;
  color: #2f80ed;
}

.app-mini-progress__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 5px;
}

.app-mini-day {
  display: grid;
  place-items: center;
  height: 14px;
  font-size: 5.4px;
  font-weight: 600;
  color: #9aabbd;
  background: #f2f6fb;
  border: 1px solid transparent;
  border-radius: 4px;
}

.app-mini-day .icon {
  width: 7px;
  height: 7px;
  stroke-width: 3.2;
}

.app-mini-day--on {
  color: #fff;
  background: #2f80ed;
  border-color: #2f80ed;
}

.app-mini-day--current {
  color: #2f80ed;
  background: #eaf3ff;
  border-color: #2f80ed;
}

.app-mini-day--off {
  color: #a9b7c8;
  background: #f6f9fd;
}

/* Promo block ---------------------------------------------------------- */
.app-promo {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: linear-gradient(110deg, #e8f2ff 0%, #f6fbff 100%);
  border: 1px dashed #b9d8ff;
  border-radius: 12px;
}

.app-promo > .icon {
  width: 15px;
  height: 15px;
  color: #2f80ed;
  stroke-width: 1.7;
}

.app-promo > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.app-promo strong {
  display: block;
  font-size: 8.4px;
  font-weight: 700;
  line-height: 1.3;
  color: #15385e;
}

.app-promo small {
  display: block;
  margin-top: 1px;
  font-size: 6.8px;
  line-height: 1.3;
  color: #7088a2;
}

.app-promo__arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #2f80ed;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px -2px rgba(47, 128, 237, 0.4);
}

.app-promo__arrow .icon {
  width: 9px;
  height: 9px;
}

/* App tab bar ---------------------------------------------------------- */
.app-tabbar {
  display: grid;
  flex: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e5eef9;
  border-radius: 15px;
  box-shadow: 0 10px 24px -18px rgba(9, 33, 63, 0.35);
}

.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 3px 0;
  font-size: 6.2px;
  font-weight: 500;
  line-height: 1.2;
  color: #8b9caf;
  border-radius: 8px;
}

.app-tab .icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
}

.app-tab.is-active {
  font-weight: 600;
  color: #2f80ed;
  background: rgba(47, 128, 237, 0.07);
}

/* Discover screen ------------------------------------------------------ */
.app-ui--discover {
  gap: 8px;
}

.app-search {
  display: flex;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  font-size: 8px;
  color: #98a9bc;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 10px;
}

.app-search .icon {
  width: 13px;
  height: 13px;
}

.app-chips {
  display: flex;
  flex: none;
  gap: 4px;
  overflow: hidden;
}

.app-chips span {
  padding: 4px 7px;
  font-size: 6.8px;
  font-weight: 600;
  line-height: 1.2;
  color: #667b93;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e6eef9;
  border-radius: 999px;
}

.app-chips span.is-active {
  color: #fff;
  background: #2f80ed;
  border-color: #2f80ed;
  box-shadow: 0 4px 10px -5px rgba(47, 128, 237, 0.55);
}

.app-market {
  position: relative;
  flex: none;
  padding: 11px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(47, 128, 237, 0.36) 0%, transparent 62%),
    linear-gradient(145deg, #103050 0%, #0a2039 54%, #081a30 100%);
  border-radius: 15px;
}

.app-market::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(34, 184, 207, 0.24), transparent 68%);
  border-radius: 50%;
}

.app-market__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-market__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #74b8ff;
  background: rgba(47, 128, 237, 0.18);
  border-radius: 7px;
}

.app-market__icon .icon {
  width: 11px;
  height: 11px;
}

.app-market__head strong {
  font-family: var(--font-display);
  font-size: 9.3px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-market p {
  position: relative;
  z-index: 1;
  max-width: 210px;
  margin-top: 5px;
  font-size: 7.2px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.app-market__stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  margin-top: 8px;
}

.app-market__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.app-market__stats small {
  display: block;
  margin-top: 1px;
  font-size: 6.2px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
}

/* Stats screen --------------------------------------------------------- */
.app-ui--stats {
  gap: 10px;
}

.app-kpis {
  display: grid;
  flex: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.app-kpi {
  padding: 7px 4px;
  text-align: center;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 10px;
  box-shadow: 0 3px 10px -8px rgba(9, 33, 63, 0.3);
}

.app-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0a1c34;
}

.app-kpi span {
  display: block;
  margin-top: 2px;
  font-size: 6px;
  line-height: 1.25;
  color: #8294a9;
}

.app-progress-card {
  flex: none;
  padding: 11px;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 15px;
  box-shadow: 0 6px 16px -12px rgba(9, 33, 63, 0.35);
}

.app-progress-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-progress-card__head > div {
  flex: 1;
  min-width: 0;
}

.app-progress-card__head strong {
  display: block;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  color: #152c48;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-progress-card__head span:not(.app-app__icon):not(.app-status) {
  display: block;
  margin-top: 1px;
  font-size: 6.8px;
  line-height: 1.3;
  color: #8193a9;
}

.app-progress-card__head .app-status {
  flex: none;
  margin-left: auto;
}

.app-progress-card__sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  font-size: 7.2px;
  color: #8193a9;
}

.app-progress-card__sub strong {
  font-size: 9px;
  font-weight: 700;
  color: #2f80ed;
}

.app-day-title {
  margin: 9px 0 5px;
  font-size: 7px;
  font-weight: 600;
  color: #7088a2;
}

.app-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.app-day {
  display: grid;
  place-items: center;
  height: 23px;
  font-size: 6.8px;
  font-weight: 600;
  color: #93a4b8;
  background: #f2f6fb;
  border: 1px solid transparent;
  border-radius: 6px;
}

.app-day .icon {
  width: 9px;
  height: 9px;
  stroke-width: 3;
}

.app-day--on {
  color: #fff;
  background: #2f80ed;
  border-color: #2f80ed;
  box-shadow: 0 4px 8px -5px rgba(47, 128, 237, 0.6);
}

.app-day--current {
  color: #2f80ed;
  background: #eaf3ff;
  border-color: #2f80ed;
}

.app-day--off {
  color: #a9b7c8;
  background: #f6f9fd;
}

.app-activity {
  flex: none;
  padding: 10px 11px 9px;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 14px;
  box-shadow: 0 6px 16px -12px rgba(9, 33, 63, 0.35);
}

.app-activity__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 7px;
  color: #7088a2;
}

.app-activity__head strong {
  flex: none;
  font-size: 8px;
  font-weight: 700;
  color: #2f80ed;
}

.app-activity__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 58px;
  margin-top: 8px;
}

.app-activity__bar {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  height: 100%;
}

.app-activity__fill {
  display: block;
  width: 100%;
  height: calc(var(--h) * 0.74);
  min-height: 5px;
  background: linear-gradient(180deg, #7db3f6 0%, #2f80ed 100%);
  border-radius: 4px 4px 2px 2px;
  opacity: 0.9;
}

.app-activity__bar:nth-child(5) .app-activity__fill {
  background: linear-gradient(180deg, #2f80ed 0%, #1c6bde 100%);
  opacity: 1;
}

.app-activity__bar small {
  display: block;
  font-size: 5.6px;
  line-height: 1;
  color: #93a4b8;
  text-align: center;
}

/* Squad / chat screen -------------------------------------------------- */
.app-ui--squad {
  gap: 0;
  padding: 0;
  background: #f3f7fc;
}

.app-chat-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 42px 13px 13px;
  color: #fff;
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(47, 128, 237, 0.36) 0%, transparent 60%),
    linear-gradient(145deg, #123356 0%, #081a30 100%);
}

.app-chat-back {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.app-chat-back .icon {
  width: 12px;
  height: 12px;
}

.app-chat-head > div {
  flex: 1;
  min-width: 0;
}

.app-chat-head .app-kicker {
  font-size: 6.6px;
  color: #8bb3da;
}

.app-chat-head strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-chat-head small {
  display: block;
  margin-top: 1px;
  font-size: 6.8px;
  color: #9db8d3;
}

.app-chat-head .app-credit {
  padding: 4px 7px;
  font-size: 8.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.app-chat-head .app-credit .icon {
  width: 11px;
  height: 11px;
  color: #8bb3da;
}

.app-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f9ff 0%, #f1f6fc 100%);
}

.app-message {
  position: relative;
  align-self: flex-start;
  max-width: 84%;
  padding: 7px 9px 5px;
  font-size: 8px;
  line-height: 1.5;
  color: #334960;
  background: #fff;
  border: 1px solid #e4edf9;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 12px -10px rgba(9, 33, 63, 0.35);
}

.app-message--developer {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(145deg, #3588f5 0%, #1f6dde 100%);
  border-color: transparent;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 12px;
}

.app-message__badge {
  display: block;
  margin-bottom: 2px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f80ed;
}

.app-message--developer .app-message__badge {
  color: #cde4ff;
}

.app-message p {
  font-size: 8px;
  line-height: 1.5;
}

.app-message__time {
  display: block;
  margin-top: 2px;
  font-size: 6px;
  text-align: right;
  color: #9aabbe;
}

.app-message--developer .app-message__time {
  color: rgba(255, 255, 255, 0.65);
}

.app-chat-input {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 12px 14px;
  padding: 8px 10px;
  font-size: 8px;
  color: #9aabbe;
  background: #fff;
  border: 1px solid #e2ecf9;
  border-radius: 999px;
  box-shadow: 0 5px 14px -10px rgba(9, 33, 63, 0.35);
}

.app-chat-input .icon {
  width: 13px;
  height: 13px;
  color: #2f80ed;
}

/* 03-sections.css */
/* ==========================================================================
   TestFlock marketing site — content sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Problem
   -------------------------------------------------------------------------- */
.problem {
  padding-top: 92px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pain-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfdff 0%, #f6faff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pain-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 128, 237, 0.55), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pain-card:hover {
  border-color: #cfe2fa;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.pain-card:hover::after {
  opacity: 1;
}

.pain-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.pain-card__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  color: #9db1c7;
}

.pain-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #e1edfb;
  border-radius: 13px;
  box-shadow: 0 8px 18px -14px rgba(9, 33, 63, 0.3);
}

.pain-card__icon .icon {
  width: 22px;
  height: 22px;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pain-card p {
  margin-top: 9px;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

.pain-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 20px;
  background: linear-gradient(100deg, #eaf4ff 0%, #f7fbff 100%);
  border: 1px solid #d5e7fc;
  border-radius: 16px;
}

.pain-callout__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 12px -8px rgba(47, 128, 237, 0.5);
}

.pain-callout__icon .icon {
  width: 18px;
  height: 18px;
}

.pain-callout p {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #274766;
}

.pain-callout a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  transition: gap 0.2s ease;
}

.pain-callout a:hover {
  gap: 9px;
}

.pain-callout a .icon {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  padding: 26px;
  background: #fff;
  border: 1px solid #e7eff9;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px -34px rgba(9, 33, 63, 0.3);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.step-card:hover {
  border-color: #cfe2fa;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.step-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.step-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--blue);
  background: linear-gradient(145deg, #eff7ff 0%, #e1efff 100%);
  border: 1px solid #d9eafd;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #fff;
}

.step-card__icon .icon {
  width: 23px;
  height: 23px;
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #e8f0fa;
}

.step-card h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.step-card p {
  margin-top: 8px;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

.step-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  padding: 6px 10px;
  font-size: 10.8px;
  font-weight: 600;
  line-height: 1.4;
  color: #4a7cba;
  background: #f1f7ff;
  border: 1px solid #e2efff;
  border-radius: 999px;
}

.step-card__detail .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
  stroke-width: 2.6;
}

.protection {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 22px;
  color: #fff;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(47, 128, 237, 0.25) 0%, transparent 55%),
    linear-gradient(120deg, #102b4c 0%, #081a30 62%, #0b2240 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 48px -34px rgba(6, 20, 38, 0.7);
}

.protection__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #79c9ff;
  background: rgba(47, 128, 237, 0.16);
  border: 1px solid rgba(97, 173, 255, 0.2);
  border-radius: 12px;
}

.protection__icon .icon {
  width: 22px;
  height: 22px;
}

.protection > div {
  flex: 1;
  min-width: 0;
}

.protection strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.protection p {
  margin-top: 3px;
  font-size: 12.2px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

.protection a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8dc3ff;
  transition: color 0.2s ease;
}

.protection a:hover {
  color: #fff;
}

.protection a .icon {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Showcase (dark)
   -------------------------------------------------------------------------- */
.showcase {
  padding: 100px 0 96px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(75% 70% at 78% 34%, rgba(47, 128, 237, 0.15) 0%, transparent 65%),
    radial-gradient(50% 50% at 8% 90%, rgba(34, 184, 207, 0.08) 0%, transparent 70%),
    #071829;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 66% at 68% 46%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 66% at 68% 46%, #000 0%, transparent 76%);
  pointer-events: none;
}

.showcase .container {
  position: relative;
  z-index: 1;
}

.showcase .section-head {
  margin-bottom: 52px;
}

.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 64px;
  max-width: 1080px;
  margin-inline: auto;
}

.showcase__tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 15px;
  color: #b6c7da;
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateX(3px);
}

.showcase-tab__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #6bb2ff;
  background: rgba(47, 128, 237, 0.14);
  border: 1px solid rgba(82, 155, 255, 0.16);
  border-radius: 11px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.showcase-tab__icon .icon {
  width: 19px;
  height: 19px;
}

.showcase-tab > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.showcase-tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #dbe8f5;
  transition: color 0.25s ease;
}

.showcase-tab small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.45;
  color: #7f95ac;
  transition: color 0.25s ease;
}

.showcase-tab__arrow {
  flex: none;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease-out);
}

.showcase-tab[aria-selected="true"] {
  background: linear-gradient(100deg, rgba(47, 128, 237, 0.22) 0%, rgba(47, 128, 237, 0.045) 100%);
  border-color: rgba(94, 167, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px -32px rgba(0, 0, 0, 0.7);
}

.showcase-tab[aria-selected="true"] .showcase-tab__icon {
  color: #fff;
  background: var(--blue);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px -8px rgba(47, 128, 237, 0.7);
}

.showcase-tab[aria-selected="true"] strong {
  color: #fff;
}

.showcase-tab[aria-selected="true"] small {
  color: #a7c2dc;
}

.showcase-tab[aria-selected="true"] .showcase-tab__arrow {
  color: #7fc0ff;
  opacity: 1;
  transform: none;
}

.showcase__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 652px;
}

.showcase__stage-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.28) 0%, rgba(47, 128, 237, 0) 66%);
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.showcase__stage::before,
.showcase__stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(111, 177, 255, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.showcase__stage::before {
  width: 430px;
  height: 430px;
}

.showcase__stage::after {
  width: 560px;
  height: 560px;
  border-style: dashed;
  border-color: rgba(111, 177, 255, 0.08);
}

.showcase-panel {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  animation: showcase-in 0.55s var(--ease-out) both;
}

.showcase-panel[hidden] {
  display: none;
}

@keyframes showcase-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.showcase__footnote {
  margin-top: 36px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: #6f869d;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9f0f9;
  border-radius: 18px;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.1), transparent 68%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: #d3e4fa;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--blue);
  background: linear-gradient(145deg, #eff7ff 0%, #e3f0ff 100%);
  border: 1px solid #dcecfe;
  border-radius: 12px;
}

.feature-card__icon .icon {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.feature-card p {
  position: relative;
  margin-top: 7px;
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--muted);
}

.feature-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.feature-mini span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #5f738a;
  background: #f9fcff;
  border: 1px solid #e6eef9;
  border-radius: 999px;
}

.feature-mini .icon {
  width: 14px;
  height: 14px;
  color: var(--blue);
}

/* Colored brand marks should not inherit the stroke icon treatment. */
.icon:has(use[href="#i-play"]),
.icon:has(use[href="#i-google"]) {
  stroke: none;
}

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.compare-scroll {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #dfeaf7;
  border-radius: 20px;
  box-shadow: 0 28px 60px -46px rgba(9, 33, 63, 0.35);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c8d9ec transparent;
  scrollbar-width: thin;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.compare-table thead th {
  padding: 18px 16px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #5c7189;
  text-align: left;
  vertical-align: bottom;
  background: #fbfdff;
  border-bottom: 1px solid #e6eef9;
}

.compare-table thead th:first-child {
  width: 29%;
  padding-left: 24px;
}

.compare-table thead th.is-focus {
  position: relative;
  color: #1b62c4;
  background: #edf5ff;
}

.compare-badge {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  padding: 3px 7px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 999px;
}

.compare-table tbody th {
  padding: 14px 16px 14px 24px;
  font-size: 12.8px;
  font-weight: 500;
  line-height: 1.4;
  color: #52677f;
  text-align: left;
  border-bottom: 1px solid #edf3fa;
}

.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf3fa;
}

.compare-table tbody tr:last-child > * {
  border-bottom: 0;
}

.compare-table tbody td.is-focus {
  background: #f4f9ff;
  border-right: 1px solid #d4e7ff;
  border-left: 1px solid #d4e7ff;
}

.compare-table tbody tr:last-child td.is-focus {
  border-bottom: 1px solid #d4e7ff;
  border-radius: 0 0 12px 12px;
}

.cmp {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.2px;
  font-weight: 500;
  line-height: 1.45;
  color: #40556e;
}

.cmp .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  stroke-width: 2.4;
}

.cmp--yes .icon {
  color: #0d8a54;
}

.cmp--no .icon {
  color: var(--red);
}

.cmp--partial .icon {
  color: #b45309;
}

.cmp--focus {
  font-weight: 600;
  color: #184b8f;
}

.compare__footnote {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Credits & calculator
   -------------------------------------------------------------------------- */
.credits__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 24px;
  max-width: 1060px;
  margin-inline: auto;
}

.earn {
  height: 100%;
  padding: 28px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(47, 128, 237, 0.06), transparent 65%),
    linear-gradient(160deg, #f9fcff 0%, #f2f8ff 100%);
  border: 1px solid #e2edfa;
  border-radius: 24px;
}

.earn h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.earn__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 18px;
}

.earn-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 13px;
  box-shadow: 0 3px 10px -8px rgba(9, 33, 63, 0.25);
}

.earn-item__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: #eef6ff;
  border-radius: 10px;
}

.earn-item__icon .icon {
  width: 16px;
  height: 16px;
}

.earn-item__title {
  flex: 1;
  min-width: 0;
  font-size: 12.8px;
  font-weight: 500;
  line-height: 1.4;
  color: #24405d;
}

.earn-item__badge {
  flex: none;
  padding: 4px 8px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f6fdc;
  white-space: nowrap;
  background: #eaf3ff;
  border-radius: 999px;
}

.earn__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 16px;
  font-size: 10.5px;
  line-height: 1.55;
  color: #7b8ea4;
}

.earn__note .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--green);
  flex: none;
}

.calc {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe8f7;
  border-radius: 24px;
  box-shadow: 0 32px 64px -40px rgba(9, 33, 63, 0.38);
}

.calc::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f80ed, #22b8cf 55%, #2f80ed);
  background-size: 200% 100%;
  animation: calc-strip 8s linear infinite;
}

@keyframes calc-strip {
  to {
    background-position: 200% 0;
  }
}

.calc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.calc__head h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.calc__head p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.calc__badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-deep);
  white-space: nowrap;
  background: #eef6ff;
  border: 1px solid #d6e8ff;
  border-radius: 999px;
}

.calc__badge .icon {
  width: 12px;
  height: 12px;
}

.calc__field {
  margin-top: 18px;
}

.calc__label {
  display: block;
  margin-bottom: 7px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7a8da4;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: #f1f6fd;
  border: 1px solid #e6eff9;
  border-radius: 12px;
}

.segmented--2 {
  grid-template-columns: repeat(2, 1fr);
}

.segmented button {
  min-height: 38px;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  color: #5c6f87;
  border: 0;
  border-radius: 9px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.segmented button:hover {
  color: var(--blue-deep);
}

.segmented button[aria-pressed="true"] {
  color: var(--ink);
  background: #fff;
  box-shadow:
    0 4px 10px -6px rgba(9, 33, 63, 0.35),
    inset 0 0 0 1px rgba(213, 229, 247, 0.8);
}

.calc__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5c6f87;
}

.calc__row strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.calc__row small,
.calc__total small {
  font-size: 10.5px;
  font-weight: 500;
  color: #8294a9;
}

.calc__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed #dbe7f5;
}

.calc__total > span {
  font-size: 13px;
  font-weight: 500;
  color: #445b74;
}

.calc__total strong {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.calc__welcome {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #5b7290;
  background: #eff7ff;
  border: 1px solid #dbeeff;
  border-radius: 10px;
}

.calc__welcome strong {
  color: var(--blue-deep);
}

.calc .btn {
  min-height: 48px;
  margin-top: 16px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Trust
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  padding: 22px;
  background: #fff;
  border: 1px solid #e7eff9;
  border-radius: 18px;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.trust-card:hover {
  border-color: #cfe2fa;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--blue);
  background: #eef6ff;
  border: 1px solid #e0eefd;
  border-radius: 11px;
}

.trust-card__icon .icon {
  width: 19px;
  height: 19px;
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.trust-card p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.mission {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e1edf9;
  border-radius: 18px;
  box-shadow: 0 14px 30px -28px rgba(9, 33, 63, 0.25);
}

.mission__mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #f2f8ff;
  border: 1px solid #e2efff;
  border-radius: 14px;
}

.mission__mark img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 12px -6px rgba(47, 128, 237, 0.45);
}

.mission p {
  flex: 1;
  font-size: 12.8px;
  line-height: 1.6;
  color: #5f738a;
}

.mission a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  transition: color 0.2s ease;
}

.mission a:hover {
  color: var(--blue-deep);
}

.mission a .icon {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 64px;
  max-width: 1060px;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.faq__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.faq__intro .section-lead {
  max-width: 380px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.faq__support {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin-top: 28px;
  padding: 12px 14px;
  background: #f7faff;
  border: 1px solid #e2edfa;
  border-radius: 14px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq__support:hover {
  background: #fff;
  border-color: #c8def7;
  box-shadow: var(--shadow-sm);
}

.faq__support-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: #eaf3ff;
  border-radius: 10px;
}

.faq__support-icon .icon {
  width: 18px;
  height: 18px;
}

.faq__support > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.faq__support strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.faq__support small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.4;
  color: #7b8ea4;
  text-overflow: ellipsis;
}

.faq__support > .icon {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #e7eff8;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #17314f;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue-deep);
}

.faq-item[open] summary {
  color: var(--blue-deep);
}

.faq-item__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #55708e;
  background: #f2f7fe;
  border-radius: 50%;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.3s var(--ease-out);
}

.faq-item__icon .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.faq-item[open] .faq-item__icon {
  color: #fff;
  background: var(--blue);
  transform: rotate(45deg);
}

.faq-item__answer {
  animation: faq-in 0.3s var(--ease-out);
}

.faq-item__answer p {
  max-width: 620px;
  padding: 0 40px 20px 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  padding: 88px 0 96px;
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(47, 128, 237, 0.08), transparent 70%),
    linear-gradient(180deg, #f9fcff 0%, #eff6ff 100%);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
  padding: 54px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(80% 120% at 92% 8%, rgba(47, 128, 237, 0.32) 0%, transparent 58%),
    radial-gradient(70% 100% at 4% 100%, rgba(34, 184, 207, 0.14) 0%, transparent 60%),
    linear-gradient(120deg, #0c2444 0%, #07182b 55%, #0c2b52 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 50px 100px -54px rgba(6, 20, 38, 0.7);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 84% 40%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 100% at 84% 40%, #000, transparent 72%);
  pointer-events: none;
}

.cta-card__copy {
  position: relative;
  z-index: 2;
}

.cta-card .kicker {
  margin-bottom: 14px;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.038em;
  color: #fff;
  text-wrap: balance;
}

.cta-card__copy > p {
  max-width: 520px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #b1c4d8;
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.cta-card__note {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.5;
  color: #8ea5bb;
}

.cta-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.cta-visual img {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  border-radius: 44px;
  box-shadow:
    0 34px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 80px rgba(47, 128, 237, 0.28);
  animation: cta-float 7s ease-in-out infinite;
}

@keyframes cta-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.cta-visual__orbit {
  position: absolute;
  border: 1px solid rgba(115, 179, 255, 0.16);
  border-radius: 50%;
}

.cta-visual__orbit--one {
  width: 270px;
  height: 270px;
}

.cta-visual__orbit--two {
  width: 370px;
  height: 370px;
  border-style: dashed;
  border-color: rgba(115, 179, 255, 0.1);
}

.cta-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cta-float .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
  stroke-width: 2.6;
}

.cta-float--one {
  top: 28px;
  left: 0;
}

.cta-float--two {
  right: -4px;
  bottom: 30px;
}

.cta-float--two .icon {
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding: 64px 0 24px;
  color: #8fa3bb;
  background: #061426;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 155, 255, 0.36), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  max-width: 280px;
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #7e93aa;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.4;
  color: #7e93aa;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: #27c98a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(39, 201, 138, 0.13);
}

.footer__column h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d5e3f1;
}

.footer__column ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__column a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8fa3bb;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: #fff;
}

.footer__column a .icon {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  font-size: 10.5px;
  line-height: 1.5;
  color: #8fa3bb;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.footer__bottom-links > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: #8fa3bb;
  transition: color 0.2s ease;
}

.footer__bottom-links > a:hover {
  color: #fff;
}

.footer__bottom-links > a .icon {
  width: 12px;
  height: 12px;
}

.lang-switch--footer {
  padding: 5px 10px;
  font-size: 11px;
  color: #b6c6d9;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
}

.lang-switch--footer:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.26);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.not-found {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height) - 280px);
  padding: 96px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(47, 128, 237, 0.12), transparent 65%),
    linear-gradient(180deg, #f9fcff 0%, #f1f7ff 100%);
}

.not-found__inner {
  max-width: 660px;
  text-align: center;
}

.not-found h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.not-found p {
  max-width: 540px;
  margin: 16px auto 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* 04-responsive.css */
/* ==========================================================================
   TestFlock marketing site — responsive & motion preferences
   ========================================================================== */

/* Narrow desktop: no room outside the phone for the second badge ------- */
@media (min-width: 981px) and (max-width: 1400px) {
  .float-card--testers {
    display: none;
  }
}

/* Large tablet / small desktop ----------------------------------------- */
@media (max-width: 1120px) {
  .container {
    width: min(var(--container), 100% - 40px);
  }

  .header__inner {
    gap: 20px;
  }

  .nav {
    gap: 22px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero-network {
    right: -170px;
    opacity: 0.65;
  }

  .float-card--verified {
    left: -152px;
  }

  .float-card--testers {
    right: -152px;
  }

  .showcase__grid {
    gap: 44px;
  }

  .faq__grid {
    gap: 44px;
  }

  .footer__grid {
    gap: 30px;
  }
}

/* Tablet --------------------------------------------------------------- */
@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .header__inner {
    height: var(--header-height);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .lang-switch--header {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-height));
    margin: 0;
    padding: 8px 24px 26px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 48px -34px rgba(9, 33, 63, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s var(--ease-out);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav > a {
    padding: 15px 4px;
    font-size: 15px;
    border-bottom: 1px solid #eef4fb;
  }

  .nav > a::after {
    display: none;
  }

  .nav__mobile-extra {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 58px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero__copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__trust,
  .hero__note {
    justify-content: center;
  }

  .hero__visual {
    margin-top: 4px;
  }

  .hero-network {
    top: 160px;
    right: 50%;
    width: 760px;
    height: 760px;
    opacity: 0.5;
    transform: translateX(50%);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
    mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  }

  .float-card--verified {
    left: -152px;
  }

  .float-card--testers {
    right: -152px;
  }

  .hero-stats {
    margin-top: 46px;
  }

  .section {
    padding: 84px 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .showcase {
    padding: 88px 0;
  }

  .showcase__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 680px;
  }

  .showcase__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .showcase-tab {
    padding: 12px;
  }

  .showcase-tab small {
    display: none;
  }

  .showcase__stage {
    min-height: 652px;
    margin-top: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credits__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }

  .earn {
    padding: 24px;
  }

  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq__intro {
    position: static;
  }

  .faq__intro .section-lead {
    max-width: 560px;
  }

  .faq__support {
    margin-top: 22px;
  }

  .final-cta {
    padding: 76px 0 84px;
  }

  .cta-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 42px;
  }

  .cta-card__copy {
    max-width: 620px;
  }

  .cta-visual {
    min-height: 280px;
    margin-top: 4px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 30px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand p {
    max-width: 420px;
  }
}

/* Small tablet / large phone ------------------------------------------ */
@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    font-size: clamp(28px, 5.4vw, 38px);
  }

  .section-lead {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.65;
  }

  .hero {
    padding: 48px 0 42px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(40px, 8.6vw, 60px);
  }

  .hero__lead {
    margin-top: 19px;
    font-size: 16px;
  }

  .hero__actions {
    margin-top: 25px;
  }

  .pain-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
    margin-inline: auto;
  }

  .pain-card,
  .step-card {
    padding: 22px;
  }

  .pain-card__top {
    margin-bottom: 20px;
  }

  .pain-callout {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
    max-width: 620px;
    margin-inline: auto;
  }

  .pain-callout p {
    flex-basis: calc(100% - 50px);
  }

  .pain-callout a {
    margin-left: 48px;
  }

  .protection {
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 620px;
    margin-inline: auto;
    padding: 18px;
  }

  .protection > div {
    flex-basis: calc(100% - 62px);
  }

  .protection a {
    margin-left: 60px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 38px;
    padding: 2px;
  }

  .hero-stat {
    padding: 16px 18px;
  }

  .hero-stat + .hero-stat::before {
    display: none;
  }

  .hero-stat:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    display: block;
    width: 1px;
    background: linear-gradient(180deg, transparent, #dbe8f7, transparent);
  }

  .hero-stat:nth-child(n + 3) {
    border-top: 1px solid #e4eefb;
  }

  .showcase {
    padding: 76px 0;
  }

  .showcase__stage {
    min-height: 624px;
  }

  .showcase__stage::before {
    width: 360px;
    height: 360px;
  }

  .showcase__stage::after {
    width: 460px;
    height: 460px;
  }

  .showcase__stage-glow {
    width: 380px;
    height: 380px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 20px;
  }

  .trust-grid {
    gap: 12px;
  }

  .trust-card {
    padding: 20px;
  }

  .mission {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .mission p {
    flex-basis: calc(100% - 66px);
  }

  .mission a {
    margin-left: 66px;
  }

  .compare-table {
    min-width: 660px;
  }

  .compare-table thead th,
  .compare-table tbody td {
    padding: 13px 12px;
  }

  .compare-table thead th:first-child,
  .compare-table tbody th {
    padding-left: 18px;
  }

  .earn,
  .calc {
    padding: 24px;
  }

  .calc__head {
    flex-direction: column;
    gap: 10px;
  }

  .cta-card {
    padding: 34px 28px;
    border-radius: 24px;
  }

  .cta-visual {
    min-height: 260px;
  }

  .cta-visual img {
    width: 164px;
    height: 164px;
    border-radius: 38px;
  }

  .cta-visual__orbit--one {
    width: 230px;
    height: 230px;
  }

  .cta-visual__orbit--two {
    width: 310px;
    height: 310px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer__grid {
    padding-bottom: 38px;
  }
}

/* Phone ---------------------------------------------------------------- */
@media (max-width: 620px) {
  .btn-play {
    min-height: 52px;
  }

  .btn-play--compact {
    min-height: 46px;
  }

  .header__actions .btn-play {
    display: none;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -0.045em;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 370px;
    margin-inline: auto;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero__actions .btn-play {
    justify-content: flex-start;
  }

  .hero__trust {
    gap: 7px 14px;
  }

  .hero__note {
    margin-top: 22px;
  }

  .hero-stats {
    max-width: 540px;
    margin-inline: auto;
  }

  .hero-stat strong {
    font-size: 22px;
  }

  .hero-stat span {
    font-size: 10.8px;
  }

  .phone {
    width: 320px;
    border-radius: 46px;
  }

  .phone__screen {
    height: 630px;
    border-radius: 37px;
  }

  .phone__notch {
    top: 19px;
    width: 88px;
    height: 24px;
  }

  .phone--showcase {
    width: 306px;
    border-radius: 42px;
  }

  .phone--showcase .phone__screen {
    height: 596px;
    border-radius: 35px;
  }

  .app-ui {
    padding: 38px 12px 8px;
    gap: 8px;
  }

  .app-chat-head {
    padding-top: 40px;
  }

  .float-card {
    display: none;
  }

  .showcase__tabs {
    gap: 6px;
  }

  .showcase-tab {
    gap: 10px;
    padding: 10px;
  }

  .showcase-tab__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .showcase-tab__icon .icon {
    width: 17px;
    height: 17px;
  }

  .showcase-tab strong {
    font-size: 12.5px;
  }

  .showcase-tab__arrow {
    display: none;
  }

  .showcase__stage {
    min-height: 604px;
  }

  .showcase__stage::before,
  .showcase__stage::after {
    display: none;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline: auto;
  }

  .feature-card {
    padding: 22px;
  }

  .feature-card__icon {
    margin-bottom: 14px;
  }

  .feature-mini {
    gap: 7px;
  }

  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    margin-inline: auto;
  }

  .compare-table {
    min-width: 620px;
  }

  .earn-item {
    align-items: flex-start;
  }

  .earn-item__badge {
    white-space: normal;
    text-align: right;
  }

  .calc__total strong {
    font-size: 21px;
  }

  .faq-item summary {
    padding: 17px 0;
    font-size: 14.5px;
  }

  .faq-item__answer p {
    padding-right: 20px;
    font-size: 13px;
  }

  .cta-card {
    padding: 32px 22px;
  }

  .cta-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-card__actions .btn {
    width: 100%;
  }

  .cta-card__actions .btn-play {
    justify-content: flex-start;
  }

  .cta-visual {
    min-height: 240px;
  }

  .cta-float--one {
    top: 18px;
    left: -2px;
  }

  .cta-float--two {
    right: -2px;
    bottom: 20px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__bottom-links {
    justify-content: space-between;
    width: 100%;
  }

  .not-found {
    padding: 72px 0 88px;
  }
}

/* Narrow phone --------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2 {
    font-size: clamp(27px, 7.4vw, 34px);
    letter-spacing: -0.032em;
  }

  .kicker {
    margin-bottom: 13px;
    font-size: 10px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.8vw, 47px);
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__trust li {
    font-size: 11.5px;
  }

  .hero-stats {
    margin-top: 32px;
  }

  .hero-stat {
    padding: 14px;
  }

  .hero-stat strong {
    font-size: 20px;
  }

  .hero-stat span {
    font-size: 10px;
  }

  .phone {
    width: 300px;
    padding: 9px;
    border-radius: 43px;
  }

  .phone__screen {
    height: 610px;
    border-radius: 35px;
  }

  .phone::before {
    inset: 3px;
    border-radius: 41px;
  }

  .phone--showcase {
    width: 290px;
    border-radius: 40px;
  }

  .phone--showcase .phone__screen {
    height: 600px;
    border-radius: 33px;
  }

  .app-ui {
    padding: 38px 12px 8px;
    gap: 7px;
  }

  .app-chat-head {
    padding-top: 39px;
  }

  .float-card {
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .float-card strong {
    font-size: 10.5px;
  }

  .float-card small {
    font-size: 8px;
  }

  .float-card__icon {
    width: 26px;
    height: 26px;
  }

  .float-card--verified {
    top: 54px;
    left: -2px;
  }

  .float-card--testers {
    right: -2px;
    bottom: 92px;
  }

  .avatar {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }

  .showcase__stage {
    min-height: 588px;
  }

  .showcase__stage-glow {
    width: 300px;
    height: 300px;
  }

  .badge,
  .compare-badge {
    font-size: 7.5px;
  }

  .pain-callout {
    padding: 14px;
  }

  .pain-callout p {
    flex-basis: calc(100% - 46px);
    font-size: 13px;
  }

  .pain-callout a {
    margin-left: 46px;
  }

  .protection {
    padding: 16px;
  }

  .protection > div {
    flex-basis: calc(100% - 58px);
  }

  .protection a {
    margin-left: 58px;
  }

  .mission {
    padding: 16px;
  }

  .mission p {
    flex-basis: calc(100% - 64px);
  }

  .mission a {
    margin-left: 64px;
  }

  .earn,
  .calc {
    padding: 20px;
    border-radius: 20px;
  }

  .earn-item {
    padding: 10px;
  }

  .earn-item__title {
    font-size: 12px;
  }

  .earn-item__badge {
    font-size: 8.8px;
  }

  .segmented button {
    font-size: 11.5px;
  }

  .cta-card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .cta-card__actions .btn {
    white-space: normal;
    text-align: center;
  }

  .cta-visual {
    min-height: 220px;
  }

  .cta-visual img {
    width: 140px;
    height: 140px;
    border-radius: 32px;
  }

  .cta-visual__orbit--one {
    width: 190px;
    height: 190px;
  }

  .cta-visual__orbit--two {
    width: 250px;
    height: 250px;
  }

  .cta-float {
    padding: 7px 9px;
    font-size: 9.5px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__column ul {
    gap: 8px;
  }

  .not-found h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .not-found__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .not-found__actions .btn {
    width: 100%;
  }

  .not-found__actions .btn-play {
    justify-content: flex-start;
  }
}

/* Very small phone ----------------------------------------------------- */
@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero__note {
    font-size: 10.5px;
  }

  .phone {
    width: 280px;
    padding: 8px;
    border-radius: 40px;
  }

  .phone__screen {
    height: 590px;
    border-radius: 33px;
  }

  .phone::before {
    inset: 3px;
    border-radius: 38px;
  }

  .phone__notch {
    width: 80px;
    height: 22px;
  }

  .phone--showcase {
    width: 274px;
  }

  .phone--showcase .phone__screen {
    height: 588px;
  }

  .float-card--testers {
    display: none;
  }

  .float-card--verified {
    top: 48px;
    left: 4px;
  }

  .app-ui {
    padding: 38px 12px 9px;
  }

  .app-chat-head {
    padding-top: 37px;
  }

  .app-dark-card {
    padding: 11px;
  }

  .app-tab {
    font-size: 5.8px;
  }

  .showcase__stage {
    min-height: 570px;
  }

  .showcase-tab {
    padding: 9px;
  }

  .showcase-tab__icon {
    width: 30px;
    height: 30px;
  }

  .showcase-tab strong {
    font-size: 11.5px;
  }

  .hero-stat {
    padding: 12px;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-stat span {
    font-size: 9.4px;
  }

  .calc__head h3 {
    font-size: 17px;
  }

  .segmented button {
    font-size: 10.5px;
    padding-inline: 2px;
  }

  .compare-table {
    min-width: 580px;
  }

  .cta-visual__orbit--two {
    display: none;
  }

  .cta-float--one {
    left: -6px;
  }

  .cta-float--two {
    right: -6px;
  }
}

/* Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .float-card,
  .cta-visual img {
    animation: none;
  }
}

/* Print ---------------------------------------------------------------- */
@media print {
  .site-header,
  .footer,
  .final-cta,
  .showcase__tabs,
  .float-card,
  .skip-link {
    display: none !important;
  }

  .showcase {
    color: #000;
    background: #fff;
  }

  .phone {
    box-shadow: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 05-article.css */
/* ==========================================================================
   TestFlock marketing site — guides, articles & content pages
   ========================================================================== */

/* Guide cards (home + guide hub) ----------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e9f0f9;
  border-radius: 18px;
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.guide-card::before {
  content: "";
  position: absolute;
  top: -44px;
  right: -44px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.12), transparent 68%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.guide-card:hover {
  border-color: #d3e4fa;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.guide-card:hover::before {
  opacity: 1;
}

.guide-card__tag {
  width: max-content;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: #eaf3fe;
  border: 1px solid #d8e8fb;
  border-radius: 999px;
}

.guide-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.guide-card p {
  position: relative;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.guide-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-deep);
  border-top: 1px solid #eef3fa;
}

.guide-card__meta .icon {
  width: 14px;
  height: 14px;
}

.guide-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: #b6c6d8;
}

.breadcrumbs a {
  color: var(--blue-deep);
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--muted);
}

/* Article hero ----------------------------------------------------------- */
.article-hero {
  padding: calc(var(--header-height) + 34px) 0 44px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(47, 128, 237, 0.07), transparent 70%),
    linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.article-hero__inner {
  max-width: 880px;
}

.article-hero h1 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.article-lead {
  max-width: 680px;
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Article layout --------------------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  padding: 52px 0 84px;
  align-items: start;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  scroll-margin-top: calc(var(--header-height) + 20px);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.article-body h2 + p {
  margin-top: 12px;
}

.article-section + .article-section {
  margin-top: 34px;
}

.article-body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #33455c;
}

.article-body p + p {
  margin-top: 12px;
}

.article-body ul,
.article-body ol {
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.article-body li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #33455c;
}

.article-body a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(47, 128, 237, 0.35);
  text-underline-offset: 3px;
}

.article-body a:hover {
  text-decoration-color: var(--blue-deep);
}

/* Article FAQ (reuses .faq-item styles from the main sections) ----------- */
.article-faq {
  margin-top: 40px;
}

.article-faq h2 {
  margin-bottom: 16px;
}

/* Author box ------------------------------------------------------------- */
.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 20px;
  background: #f6faff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.author-box img {
  flex: none;
  border-radius: 14px;
}

.author-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.author-box p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.author-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-deep);
}

.author-box a .icon {
  width: 13px;
  height: 13px;
}

/* Aside cards ------------------------------------------------------------ */
.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.aside-card h2 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.toc a {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #3d5069;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--blue-deep);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #3d5069;
}

.related-list a:hover {
  color: var(--blue-deep);
}

.related-list .icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--blue);
}

.aside-cta {
  background: linear-gradient(160deg, #0a2039 0%, #061426 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.aside-cta h2 {
  color: #73b3ff;
}

.aside-cta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #fff;
}

.aside-cta p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #a9bcd2;
}

.aside-cta .btn {
  margin-top: 14px;
}

.aside-cta .aside-cta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #8fb8e8;
}

.aside-cta .aside-cta__secondary:hover {
  color: #c8e2ff;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1120px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 0 64px;
  }

  .article-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-hero {
    padding-top: calc(var(--header-height) + 22px);
  }

  .article-body h2 {
    font-size: 21px;
  }

  .author-box {
    flex-direction: column;
  }
}
