/* ==========================================================================
   FastSMSOnline — marketing homepage
   1. Tokens          5. Hero              9. Use cases
   2. Base            6. Product UI kit   10. Scale / delivery / sender ID
   3. Layout          7. Sections         11. Pricing / CTA / footer
   4. Components      8. Features         12. Motion + responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../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+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: 400 800;
  font-display: swap;
  src: url('../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;
}

:root {
  color-scheme: light;

  /* brand
     --brand      identity blue: graphics, charts, icons, large display type
     --brand-cta  deepened fill so white button text clears WCAG AA (4.9:1)
     --brand-press small blue text on white (6.5:1) */
  --brand:        #087ff5;
  --brand-cta:    #0a6fd8;
  --brand-hover:  #0b5cb4;
  --brand-press:  #0b5cb4;
  --brand-active: #0a4d96;
  --brand-tint:   #eef5fe;
  --brand-tint-2: #e0ecfd;
  --navy:         #0b1736;
  --navy-2:       #16244f;
  --navy-3:       #0e1c40;

  /* surface */
  --bg:           #ffffff;
  --bg-soft:      #f7f9fd;
  --bg-blue:      #f2f7fe;
  --line:         #e4eaf4;
  --line-soft:    #eef2f8;
  --line-strong:  #d5dfee;

  /* text */
  --ink:          #0b1736;
  --ink-2:        #23325a;
  --muted:        #5a6785;
  --muted-2:      #64718f;

  /* status */
  --ok:           #047857;
  --ok-bg:        #e8f7f1;
  --warn:         #b45309;
  --warn-bg:      #fdf3e4;
  --bad:          #dc2626;
  --bad-bg:       #fdeceb;

  /* elevation */
  --sh-xs: 0 1px 2px rgba(11, 23, 54, .06);
  --sh-sm: 0 1px 2px rgba(11, 23, 54, .05), 0 2px 6px rgba(11, 23, 54, .04);
  --sh-md: 0 2px 6px rgba(11, 23, 54, .04), 0 12px 28px -8px rgba(11, 23, 54, .10);
  --sh-lg: 0 8px 24px -10px rgba(11, 23, 54, .12), 0 28px 64px -20px rgba(11, 23, 54, .20);
  --sh-brand: 0 8px 20px -6px rgba(8, 127, 245, .38);

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* rhythm */
  --pad: clamp(1.25rem, 4vw, 2rem);
  --sec-y: clamp(4.5rem, 8vw, 7.5rem);
  --ease: cubic-bezier(.22, .68, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'cv11' 1, 'ss01' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 2.9vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.625rem); }
h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.35; }

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

a { color: var(--brand-press); text-decoration: none; }
a:hover { color: var(--brand-hover); }

button { font: inherit; color: inherit; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand-tint-2); color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -160%);
  z-index: 200; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

/* 3. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 920px; }

.section { padding-block: var(--sec-y); }
.section--soft { background: var(--bg-soft); }
.section--blue { background: var(--bg-blue); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.sec-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--brand-press);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .5;
}
.sec-head--center .eyebrow { margin-bottom: 1rem; }
.sec-head--center .eyebrow::before { display: none; }

/* 4. Components --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
  text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
    color .16s var(--ease), box-shadow .2s var(--ease), transform .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand-cta); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 10px 24px -6px rgba(8, 127, 245, .46); }
.btn--primary:active { background: var(--brand-active); }

.btn--ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); box-shadow: var(--sh-xs); }
.btn--ghost:hover { border-color: #b9cbe6; background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

.btn--quiet { background: transparent; color: var(--ink-2); }
.btn--quiet:hover { background: var(--brand-tint); color: var(--brand-press); }

.btn--onnavy { background: #fff; color: var(--navy); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .5); }
.btn--onnavy:hover { background: #f2f7fe; color: var(--navy); }

.btn--outline-light { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); color: #fff; }

.btn--lg { min-height: 54px; padding: .9rem 1.7rem; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }

.btn .ic { width: 18px; height: 18px; }
.btn--primary .ic, .btn--onnavy .ic { transition: transform .2s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }

.ic { width: 20px; height: 20px; }
.ic-lg { width: 22px; height: 22px; }

/* card */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 1.75rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xs);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }

.card-ic {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 1.15rem;
  border-radius: 13px;
  background: var(--brand-tint);
  color: var(--brand);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.grid { display: grid; gap: clamp(1rem, 1.8vw, 1.35rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* 4b. Navigation -------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -12px rgba(11, 23, 54, .5);
  background: rgba(255, 255, 255, .92);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo__mark { height: 30px; width: auto; flex: none; }
.logo__word { font-size: 1.1875rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.logo__word em { font-style: normal; color: var(--brand); }
.logo--sm .logo__mark { height: 26px; width: auto; }
.logo--sm .logo__word { font-size: 1.0625rem; }

.nav__menu { display: flex; align-items: center; gap: .25rem; margin-left: .75rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .75rem; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: .9375rem; font-weight: 550;
  background: none; border: 0; cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav__link:hover { color: var(--brand-press); background: var(--brand-tint); }
.nav__link .ic { width: 15px; height: 15px; opacity: .6; transition: transform .2s var(--ease); }
.nav__item:hover .nav__link .ic, .nav__link[aria-expanded="true"] .ic { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 268px; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__panel a {
  display: block; padding: .55rem .7rem; border-radius: var(--r-sm);
  color: var(--ink); font-size: .9063rem; font-weight: 600;
  transition: background-color .14s var(--ease);
}
.nav__panel a:hover { background: var(--bg-blue); color: var(--brand-press); }
.nav__panel a span { display: block; color: var(--muted-2); font-size: .8125rem; font-weight: 450; margin-top: .1rem; }

.nav__actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav__actions .btn { min-height: 42px; padding: .55rem 1.15rem; font-size: .9063rem; }

.nav__toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); cursor: pointer;
}
.nav__toggle .ic-close, .nav__toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav__toggle[aria-expanded="true"] .ic-close { display: block; }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: .75rem var(--pad) 1.75rem;
}
.nav__mobile.is-open { display: block; }
.m-group + .m-group { border-top: 1px solid var(--line-soft); }
.m-group__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem; background: none; border: 0; cursor: pointer;
  font-size: 1rem; font-weight: 650; color: var(--ink); text-align: left;
}
.m-group__head .ic { width: 18px; height: 18px; color: var(--muted-2); transition: transform .2s var(--ease); }
.m-group__head[aria-expanded="true"] .ic { transform: rotate(180deg); }
.m-group__body { display: none; padding: 0 .25rem .85rem; }
.m-group__body.is-open { display: block; }
.m-group__body a { display: block; padding: .5rem 0; color: var(--muted); font-size: .9375rem; font-weight: 550; }
.m-group__body a:hover { color: var(--brand); }
.nav__mobile .m-actions { display: grid; gap: .6rem; padding-top: 1.1rem; }

/* 5. Hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto 30%; height: 760px;
  background: radial-gradient(48% 42% at 60% 40%, rgba(8, 127, 245, .16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 23, 54, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 23, 54, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem .4rem .5rem;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
  color: var(--ink-2); font-size: .75rem; font-weight: 650;
  letter-spacing: .055em; text-transform: uppercase;
}
.hero__eyebrow b {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--brand-cta); color: #fff;
}
.hero__eyebrow b .ic { width: 12px; height: 12px; }

.hero h1 { margin-top: 1.5rem; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--brand); }

.hero__sub {
  max-width: 34rem; margin-top: 1.4rem;
  color: var(--muted); font-size: clamp(1.0313rem, .98rem + .3vw, 1.1875rem); line-height: 1.6;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.15rem;
  margin-top: 1.5rem; color: var(--muted-2); font-size: .875rem; font-weight: 500;
}
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.4; }

/* 6. Product UI kit (shared by every product mock) ----------------------- */
.ui {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  font-size: .8125rem;
  line-height: 1.5;
}
.ui__bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem;
  background: #fbfcfe; border-bottom: 1px solid var(--line-soft);
}
.ui__dots { display: flex; gap: 5px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: #dfe6f1; }
.ui__crumb {
  margin-left: .25rem; padding: .18rem .55rem;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line);
  color: var(--muted-2); font-size: .6875rem; font-weight: 550; letter-spacing: .01em;
}
.ui__avatar {
  margin-left: auto; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-press);
  font-size: .625rem; font-weight: 750; letter-spacing: .02em;
}
.ui__body { padding: 1rem; display: grid; gap: .85rem; }

.ui-row { display: flex; align-items: center; gap: .75rem; }
.ui-label { color: var(--muted-2); font-size: .6875rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }

.ui-balance {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem .95rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #0b1736, #10245a);
  color: #fff;
}
.ui-balance__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .12); }
.ui-balance__ic .ic { width: 19px; height: 19px; }
.ui-balance .ui-label { color: rgba(255, 255, 255, .6); }
.ui-balance b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ui-balance small { color: rgba(255, 255, 255, .55); font-size: .6875rem; font-weight: 500; }
.ui-balance .btn {
  margin-left: auto; min-height: 36px; padding: .45rem .9rem;
  font-size: .8125rem; border-radius: 10px; box-shadow: none;
}

.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.ui-stat {
  padding: .7rem .75rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
}
.ui-stat b { display: block; margin-top: .2rem; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.ui-stat--ok b { color: var(--ok); }
.ui-stat--bad b { color: var(--bad); }
.ui-stat--warn b { color: var(--warn); }
.ui-stat--brand b { color: var(--brand); }
.ui-stat i { display: block; font-style: normal; font-size: .6875rem; font-weight: 600; color: var(--muted-2); }

.ui-panel { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ui-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .8rem; border-bottom: 1px solid var(--line-soft); background: #fcfdff;
}
.ui-panel__head strong { font-size: .8125rem; font-weight: 700; letter-spacing: -.01em; }
.ui-panel__head span:not(.pill) { color: var(--muted-2); font-size: .6875rem; font-weight: 600; }

.ui-msg { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; }
.ui-msg + .ui-msg { border-top: 1px solid var(--line-soft); }
.ui-msg__ic {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 9px; background: var(--brand-tint); color: var(--brand-press);
  font-size: .625rem; font-weight: 750;
}
.ui-msg__txt { min-width: 0; }
.ui-msg__txt b { display: block; font-size: .75rem; font-weight: 650; color: var(--ink); }
.ui-msg__txt span {
  display: block; color: var(--muted-2); font-size: .6875rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pill {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-left: auto; flex: none;
  padding: .18rem .5rem; border-radius: var(--r-pill);
  font-size: .625rem; font-weight: 700; letter-spacing: .01em;
}
.pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--bad { background: var(--bad-bg); color: var(--bad); }
.pill--brand { background: var(--brand-tint); color: var(--brand-press); }

.ui-chart { padding: .35rem .5rem .1rem; }
.ui-chart svg { width: 100%; height: auto; }

/* hero product frame */
.hero__visual { position: relative; }
.hero__visual::before {
  content: ''; position: absolute; inset: 8% -6% -8% -4%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(8, 127, 245, .22), transparent 72%);
  filter: blur(18px); pointer-events: none;
}
.hero__ui { position: relative; }
.hero__ui .ui { font-size: .8125rem; }

.hero__float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: .55rem;
  padding: .6rem .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-md);
  font-size: .75rem; font-weight: 650; color: var(--ink);
  white-space: nowrap;
}
.hero__float .ic { width: 16px; height: 16px; }
.hero__float small { display: block; color: var(--muted-2); font-size: .6563rem; font-weight: 550; }
.hero__float--a { left: -2.25rem; bottom: -2rem; }
.hero__float--a .ic { color: var(--ok); }
.hero__float--b { right: -1.25rem; top: -1.1rem; }
.hero__float--b .ic { color: var(--brand); }

/* 7. Trust strip -------------------------------------------------------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.strip__head { text-align: center; margin-bottom: 1.75rem; }
.strip__head h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); letter-spacing: -.024em; }
.strip__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .7rem;
}
.strip__list li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
}
.strip__list .ic { width: 15px; height: 15px; color: var(--brand); stroke-width: 2.6; }

/* 8. Problem ------------------------------------------------------------ */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.problem-card {
  padding: clamp(1.4rem, 2.4vw, 1.75rem);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}
.problem-card .card-ic { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.problem-card h3 { text-transform: uppercase; font-size: .75rem; letter-spacing: .09em; color: var(--muted-2); margin-bottom: .55rem; }
.problem-card p { color: var(--ink-2); font-size: 1rem; font-weight: 550; line-height: 1.55; text-wrap: pretty; }

/* 8b. Features ---------------------------------------------------------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.35rem); }
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-md); }
.feature:hover .card-ic { background: var(--brand-cta); color: #fff; }
.feature::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--brand); border-radius: 0 0 var(--r-xl) var(--r-xl);
  opacity: 0; transition: opacity .25s var(--ease);
}
.feature:hover::after { opacity: 1; }

/* 9. Showcase ----------------------------------------------------------- */
.showcase__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: center;
}
.showcase__points { display: grid; gap: 1.1rem; margin-top: 2rem; }
.showcase__points li { display: flex; gap: .8rem; }
.showcase__points .ic {
  width: 22px; height: 22px; flex: none; margin-top: .1rem;
  padding: 3px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-press); stroke-width: 2.4;
}
.showcase__points b { display: block; font-size: .9375rem; font-weight: 700; }
.showcase__points span { color: var(--muted); font-size: .9063rem; }

.compose { display: grid; gap: .85rem; }
.field { display: grid; gap: .4rem; }
.field > label { color: var(--muted-2); font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.field__box {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink);
}
.field__box .ic { width: 16px; height: 16px; color: var(--muted-2); }
.field__box .tag {
  margin-left: auto; padding: .15rem .5rem; border-radius: var(--r-pill);
  background: var(--ok-bg); color: var(--ok); font-size: .625rem; font-weight: 700;
}
.field__area {
  padding: .8rem; min-height: 96px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: #fff; color: var(--ink-2); font-size: .875rem; line-height: 1.6;
}
.field__area .caret {
  display: inline-block; width: 1.5px; height: 1em; margin-left: 1px;
  vertical-align: -.15em; background: var(--brand);
  animation: blink 1.1s steps(1) infinite;
}
.field--focus .field__box, .field--focus .field__area { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(8, 127, 245, .14); }

.compose__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.compose__meta div {
  padding: .55rem .65rem; border-radius: var(--r-md);
  background: var(--bg-blue); border: 1px solid var(--brand-tint-2);
}
.compose__meta i { display: block; font-style: normal; color: var(--muted-2); font-size: .625rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.compose__meta b { font-size: .9375rem; font-weight: 750; letter-spacing: -.02em; }
.compose__meta div:last-child b { color: var(--brand-press); }
.compose__send { display: flex; align-items: center; gap: .75rem; }
.compose__send .btn { min-height: 44px; }
.compose__send small { color: var(--muted-2); font-size: .75rem; }

/* 10. How it works ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); position: relative; }
.step__n {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.2rem;
  border-radius: 14px;
  background: #fff; border: 1px solid var(--line-strong);
  box-shadow: var(--sh-xs);
  color: var(--brand-press); font-size: .9375rem; font-weight: 800; letter-spacing: -.02em;
}
.step h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .9688rem; text-wrap: pretty; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 23px; left: 62px; right: -12%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 5px, transparent 5px 11px);
}

/* 11. Use cases --------------------------------------------------------- */
.usecases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.35rem); }
.usecase { display: flex; flex-direction: column; }
.usecase:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--sh-md); }
.usecase h3 { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--brand-press); }
.usecase > p { margin-bottom: 1.1rem; }
.usecase .usecase__sample {
  margin-top: auto;
  position: relative;
  padding: .7rem .85rem;
  border-radius: 14px 14px 14px 4px;
  background: var(--bg-blue);
  border: 1px solid var(--brand-tint-2);
  color: var(--ink-2); font-size: .8125rem; line-height: 1.5;
}
.usecase .usecase__sample::before {
  content: 'SMS preview'; position: absolute; top: -8px; left: 10px;
  padding: 0 .35rem; background: #fff;
  color: var(--muted-2); font-size: .5938rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}

/* 12. Scale visualisation ----------------------------------------------- */
.scale { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.scale::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 700px;
  background: radial-gradient(40% 50% at 50% 50%, rgba(8, 127, 245, .35), transparent 70%);
}
.scale > .container { position: relative; }
.scale h2 { color: #fff; }
.scale h2 span { display: block; }
.scale h2 span:nth-child(2) { color: #6cb4fb; }
.scale .sec-head p { color: rgba(255, 255, 255, .66); }

.flow { display: grid; gap: 0; justify-items: center; }
.flow__node {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.35rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  font-size: .9375rem; font-weight: 650; color: #fff;
}
.flow__node .ic { width: 18px; height: 18px; color: #6cb4fb; }
.flow__node--brand { background: var(--brand-cta); border-color: var(--brand-cta); box-shadow: 0 16px 40px -14px rgba(8, 127, 245, .9); }
.flow__node--brand .ic { color: #fff; }
.flow__node--ok .ic { color: #34d399; }

.flow__link { width: 1px; height: 46px; position: relative; background: rgba(255, 255, 255, .16); }
.flow__link::after {
  content: ''; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 5px; height: 5px; border-radius: 50%; background: #6cb4fb;
  box-shadow: 0 0 10px 2px rgba(108, 180, 251, .8);
  animation: drop 2.4s var(--ease) infinite;
}
.flow__link--2::after { animation-delay: .8s; }
.flow__link--3::after { animation-delay: 1.6s; }

.flow__fan { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 34rem; }
.flow__fan li {
  padding: .5rem .8rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82); font-size: .8125rem; font-weight: 600;
  opacity: 0; animation: fan .6s var(--ease) forwards;
}
.flow__fan li:nth-child(1) { animation-delay: .05s; }
.flow__fan li:nth-child(2) { animation-delay: .12s; }
.flow__fan li:nth-child(3) { animation-delay: .19s; }
.flow__fan li:nth-child(4) { animation-delay: .26s; }
.flow__fan li:nth-child(5) { animation-delay: .33s; }
.flow__fan li:nth-child(6) { animation-delay: .4s; }
.flow__fan li:nth-child(7) { animation-delay: .47s; }

@keyframes drop {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes fan { to { opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

/* 13. Delivery reporting ------------------------------------------------ */
.delivery__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 4.5vw, 4rem); align-items: center;
}
.report__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; }
.report__rate {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem; margin-top: .2rem;
  border: 1px solid var(--brand-tint-2); border-radius: var(--r-lg);
  background: var(--bg-blue);
}
.report__rate b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--brand-press); line-height: 1; }
.report__bar { flex: 1; height: 8px; border-radius: 4px; background: #d8e6fa; overflow: hidden; }
.report__bar span { display: block; height: 100%; border-radius: 4px; background: var(--brand); width: 0; transition: width 1.1s var(--ease); }
.is-in .report__bar span { width: var(--pct, 96.7%); }

.timeline { display: grid; gap: 0; }
.tl {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .2rem 0 1.1rem; position: relative;
}
.tl:last-child { padding-bottom: 0; }
.tl__dot {
  position: relative; z-index: 1; flex: none;
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; background: #fff; border: 1.5px solid var(--line-strong); color: var(--muted-2);
}
.tl__dot .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.tl--done .tl__dot { background: var(--brand-cta); border-color: var(--brand-cta); color: #fff; }
.tl--final .tl__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.tl:not(:last-child)::before {
  content: ''; position: absolute; left: 13px; top: 26px; bottom: 4px; width: 1.5px;
  background: var(--line-strong);
}
.tl--done:not(:last-child)::before { background: var(--brand); }
.tl b { display: block; color: var(--ink); font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.tl span { color: var(--muted-2); font-size: .8438rem; }
.tl time { margin-left: auto; color: var(--muted-2); font-size: .75rem; font-weight: 600; flex: none; }

.note {
  display: inline-flex; align-items: flex-start; gap: .5rem;
  margin-top: 1.25rem; padding: .6rem .85rem;
  border-radius: var(--r-md); background: var(--bg-soft); border: 1px dashed var(--line-strong);
  color: var(--muted-2); font-size: .8125rem; line-height: 1.5; text-wrap: pretty;
}
.note .ic { width: 15px; height: 15px; flex: none; margin-top: .15rem; }

/* 14. Sender ID --------------------------------------------------------- */
.sender__grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.sender__steps { display: grid; gap: .65rem; margin: 2rem 0; }
.sender__steps li {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--sh-xs);
}
.sender__steps i {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-press);
  font-style: normal; font-size: .75rem; font-weight: 750;
}

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before {
  content: ''; position: absolute; inset: 12% 18%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(8, 127, 245, .22), transparent 70%);
  filter: blur(20px);
}
.phone {
  position: relative;
  width: min(300px, 78vw);
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1c2a4f, #0b1736);
  box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone__screen {
  position: relative;
  border-radius: 33px; background: #f4f7fc; overflow: hidden;
  min-height: 430px; display: flex; flex-direction: column;
}
.phone__notch {
  position: absolute; top: 9px; left: 50%; translate: -50% 0;
  width: 86px; height: 22px; border-radius: var(--r-pill); background: #0b1736; z-index: 2;
}
.phone__status {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.1rem .3rem;
  font-size: .6875rem; font-weight: 700; color: var(--ink);
}
.phone__status span:last-child { display: inline-flex; gap: 3px; align-items: flex-end; }
.phone__status i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.phone__hdr {
  padding: .9rem 1.1rem .75rem; text-align: center;
  border-bottom: 1px solid #e3e9f3; background: #fbfcfe;
}
.phone__hdr b { display: block; font-size: .875rem; font-weight: 800; letter-spacing: .01em; }
.phone__hdr span { color: var(--muted-2); font-size: .6875rem; font-weight: 600; }
.phone__body { padding: 1rem .9rem; display: grid; gap: .6rem; align-content: start; }
.bubble {
  max-width: 92%;
  padding: .7rem .85rem;
  border-radius: 16px 16px 16px 5px;
  background: #fff; border: 1px solid #e3e9f3;
  box-shadow: var(--sh-xs);
  font-size: .8125rem; line-height: 1.55; color: var(--ink-2);
}
.bubble time { display: block; margin-top: .35rem; color: var(--muted-2); font-size: .625rem; font-weight: 600; }
.bubble--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.bubble--brand time { color: rgba(255, 255, 255, .7); }
.phone__chip {
  align-self: center; padding: .25rem .7rem; border-radius: var(--r-pill);
  background: #e6ebf3; color: var(--muted); font-size: .625rem; font-weight: 700;
  letter-spacing: .04em;
}

/* 15. Pricing ----------------------------------------------------------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.4rem); align-items: start; }
.plan { display: flex; flex-direction: column; height: 100%; }
.plan__name { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.plan .plan__for { color: var(--muted); font-size: .875rem; margin-top: .2rem; }
.plan .plan__price {
  margin: 1.35rem 0 .2rem;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1; color: var(--ink);
}
.plan .plan__per { color: var(--muted-2); font-size: .8438rem; font-weight: 600; }
.plan__list { display: grid; gap: .6rem; margin: 1.35rem 0; padding-top: 1.35rem; border-top: 1px solid var(--line-soft); }
.plan__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .9063rem; color: var(--ink-2); }
.plan__list .ic { width: 16px; height: 16px; flex: none; margin-top: .22rem; color: var(--brand); stroke-width: 2.6; }
.plan .btn { margin-top: auto; }
.plan--featured {
  border-color: var(--brand); box-shadow: var(--sh-md);
  background: linear-gradient(180deg, var(--bg-blue), #fff 32%);
}
.plan__badge {
  position: absolute; top: -11px; left: 50%; translate: -50% 0;
  padding: .28rem .7rem; border-radius: var(--r-pill);
  background: var(--brand-cta); color: #fff;
  font-size: .625rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase;
  box-shadow: var(--sh-brand);
}
.pricing__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.25rem; }

/* 16. Reliability ------------------------------------------------------- */
.rely__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 1.8vw, 1.35rem); }
.rely { display: flex; gap: .9rem; padding: 1.35rem; }
.rely .card-ic { margin-bottom: 0; width: 40px; height: 40px; flex: none; }
.rely .card-ic .ic { width: 19px; height: 19px; }
.rely h3 { font-size: .9688rem; }

.builtfor {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  background: #fff; box-shadow: var(--sh-sm);
}
.builtfor__title { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem); }
.builtfor p { margin-top: .75rem; color: var(--muted); font-size: 1rem; max-width: 34rem; text-wrap: pretty; }
.builtfor__tags { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 22rem; }
.builtfor__tags li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .8rem; border-radius: var(--r-md);
  background: var(--bg-blue); border: 1px solid var(--brand-tint-2);
  color: var(--ink-2); font-size: .8125rem; font-weight: 650;
}
.builtfor__tags .ic { width: 15px; height: 15px; color: var(--brand); }

/* 17. Final CTA --------------------------------------------------------- */
.cta { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta__box {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, #0b1736 0%, #14295f 60%, #0d1c44 100%);
  text-align: center;
}
.cta__box::before {
  content: ''; position: absolute; inset: auto -10% -60% -10%; height: 420px;
  background: radial-gradient(45% 55% at 50% 50%, rgba(8, 127, 245, .45), transparent 70%);
}
.cta__box::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 70% at 50% 0%, #000, transparent 70%);
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta p { margin: 1.1rem auto 0; max-width: 42ch; color: rgba(255, 255, 255, .7); font-size: 1.0625rem; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.cta__mini { margin-top: 1.5rem; color: rgba(255, 255, 255, .66); font-size: .8125rem; }
.cta__mini a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta__mini a:hover { color: #fff; text-decoration-thickness: 2px; }

/* 18. Footer ------------------------------------------------------------ */
.footer { background: var(--navy); color: rgba(255, 255, 255, .62); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer .logo { color: #fff; }
.footer .logo:hover { color: #fff; }
.footer__brand p { margin-top: 1rem; color: #6cb4fb; font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.footer__brand small { display: block; margin-top: 1rem; max-width: 26ch; color: rgba(255, 255, 255, .5); font-size: .875rem; line-height: 1.6; letter-spacing: 0; font-weight: 400; }
.footer__col h3 { color: rgba(255, 255, 255, .95); font-size: .6875rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col li + li { margin-top: .6rem; }
.footer__col a { color: rgba(255, 255, 255, .62); font-size: .875rem; transition: color .15s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
}
.footer__bottom p { color: rgba(255, 255, 255, .58); }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .7);
}
.footer__social a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* 19. Motion ------------------------------------------------------------ */
/* Reveal is opt-in: without JS (or before it runs) everything is visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .flow__link::after { display: none; }
  .field__area .caret { animation: none; }
}

/* 20. Responsive -------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__sub { max-width: none; }
  .hero__visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .hero__float--a { left: -.5rem; }
  .hero__float--b { right: -.5rem; }
  .showcase__grid,
  .delivery__grid,
  .sender__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .showcase__ui, .delivery__ui { max-width: 680px; width: 100%; margin-inline: auto; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .builtfor { grid-template-columns: 1fr; }
  .builtfor__tags { max-width: none; }
}

@media (max-width: 980px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: grid; }
  .features__grid,
  .usecases__grid,
  .rely__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .problem__grid,
  .steps,
  .pricing__grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .step__n { margin-bottom: .9rem; }
  .plan--featured { order: -1; }
  .plan__badge { top: -10px; }
}

@media (max-width: 720px) {
  .report__stats { grid-template-columns: repeat(2, 1fr); }
  .compose__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__float { display: none; }
  .hero::after { background-size: 40px 40px; }
  .ui-balance { flex-wrap: wrap; }
  .ui-balance .btn { margin-left: 0; width: 100%; }
}

@media (max-width: 620px) {
  .features__grid,
  .usecases__grid,
  .rely__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .hero__cta .btn, .cta__btns .btn { width: 100%; }
  .hero__cta, .cta__btns { gap: .65rem; }
  .strip__list { gap: .5rem; }
  .strip__list li { font-size: .8125rem; padding: .45rem .8rem; }
  .ui-stats { grid-template-columns: repeat(2, 1fr); }
  .ui-stats > .ui-stat:last-child:nth-child(3) { grid-column: 1 / -1; }
  .ui__body { padding: .8rem; }
  .flow__node { font-size: .875rem; padding: .75rem 1rem; }
  .pricing__foot .btn { width: 100%; }
}

@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .ui-stats { grid-template-columns: 1fr 1fr; }
}

/* Print ----------------------------------------------------------------- */
@media print {
  .nav, .cta, .hero__float { display: none; }
  body { color: #000; }
}

/* 21. Progressive-enhancement overrides --------------------------------- */
figure { margin: 0; }

.hero__caption {
  margin-top: 2.75rem; text-align: center;
  color: var(--muted-2); font-size: .75rem; letter-spacing: .01em;
}

/* mock UI buttons are illustrative, never interactive */
.ui span.btn, .compose span.btn { cursor: default; }

/* chart bars: only animate when JS can reveal them */
.js .ui-chart .bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transform-box: fill-box;
  transition: transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in .ui-chart .bar { transform: none; }

.report__bar span { width: var(--pct, 96.7%); }
.js .report__bar span { width: 0; }
.js [data-reveal].is-in .report__bar span { width: var(--pct, 96.7%); }

@media (prefers-reduced-motion: reduce) {
  .js .ui-chart .bar { transform: none; }
  .js .report__bar span { width: var(--pct, 96.7%); }
}

/* section lead paragraph used outside .sec-head */
.sec-head__lead {
  margin-top: 1.1rem; max-width: 34rem;
  color: var(--muted); font-size: clamp(1rem, .95rem + .25vw, 1.0938rem);
  line-height: 1.65; text-wrap: pretty;
}
.showcase__points li > span { display: block; min-width: 0; }
.showcase__points b { color: var(--ink); }
.showcase__points b + span { margin-top: .15rem; color: var(--muted); font-size: .9063rem; line-height: 1.55; }

.flow__logo { width: 22px; height: 19px; }
.flow__logo .logo__speed { display: none; }
.flow__node--brand .flow__logo path[fill="#087FF5"] { fill: #fff; }
.flow__node--brand .flow__logo g[stroke] { stroke: #087ff5; }
.flow__fan { margin-block: .25rem; }

.timeline { margin-top: 2rem; }
.tl > span:last-child { display: block; min-width: 0; }
.tl b + span { color: var(--muted); font-size: .8906rem; line-height: 1.5; }
.report__rate > span:first-child { flex: none; }
.report__rate .ui-label { display: block; margin-bottom: .15rem; }

.rely > span:last-child { min-width: 0; }
.rely h3 { margin-bottom: .35rem; }
.builtfor { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.note--center { display: flex; max-width: 46rem; margin-inline: auto; text-align: left; }
.note--center { margin-top: 2.25rem; }

/* 22. Anchor offset + misc polish ---------------------------------------- */
:target, section[id], main[id] { scroll-margin-top: 92px; }

.field__box .tag--info { background: var(--brand-tint); color: var(--brand-press); }

/* keep the problem headline on its two intended lines for longer */
.sec-head--wide { max-width: 58rem; }

/* ==========================================================================
   INNER PAGES
   Everything below this line is used only by the pages in /pages — the
   homepage does not reference any of it. Built from the same tokens.
   ========================================================================== */

/* --- Page hero ----------------------------------------------------------- */
.phero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--brand-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.phero__eyebrow { margin-bottom: .75rem; }
.phero__title {
  max-width: 20ch;
  font-size: clamp(2rem, 1.25rem + 3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.022em;
  color: var(--ink);
}
.phero__lead {
  max-width: 62ch; margin-top: 1.1rem;
  color: var(--muted); font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.65; text-wrap: pretty;
}
.phero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem; color: var(--muted-2);
}
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-press); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-2); font-weight: 560; }
.crumbs__sep { display: inline-flex; color: var(--line-strong); }
.crumbs__ic { width: 14px; height: 14px; transform: rotate(-90deg); }

/* --- Long-form prose ----------------------------------------------------- */
.prose { max-width: 70ch; color: var(--ink-2); }
.prose h2 {
  margin-top: 2.5rem; margin-bottom: .85rem;
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  line-height: 1.25; letter-spacing: -.014em; color: var(--ink);
  scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.05rem; line-height: 1.72; text-wrap: pretty; }
.prose a { color: var(--brand-press); text-underline-offset: 2px; }
.prose__list { margin: 0 0 1.25rem; padding-left: 1.15rem; list-style: disc; }
.prose__list li { margin-bottom: .55rem; line-height: 1.65; text-wrap: pretty; }
.prose__list li::marker { color: var(--brand); }

/* --- Pull-quote / aside -------------------------------------------------- */
.callout {
  margin: 1.5rem 0; padding: 1rem 1.15rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--brand-tint);
  color: var(--ink-2); font-size: .9375rem; line-height: 1.65; text-wrap: pretty;
}

/* --- Tables inside prose ------------------------------------------------- */
.tablewrap { margin: 1.5rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable {
  width: 100%; min-width: 26rem; border-collapse: collapse;
  font-size: .9375rem; text-align: left;
}
.ptable th, .ptable td {
  padding: .7rem .85rem; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.55;
}
.ptable thead th {
  background: var(--bg-soft); color: var(--ink);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  border-bottom: 1px solid var(--line-strong);
}
.ptable tbody th { font-weight: 560; color: var(--ink); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }

/* --- Article meta + related ---------------------------------------------- */
.artmeta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 1.5rem; color: var(--muted-2); font-size: .8125rem;
}
.morelike { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.morelike h2 { margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--ink); }

/* --- Article cards ------------------------------------------------------- */
.acard {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.5rem;
}
.acard h3 { margin: .85rem 0 .5rem; font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
.acard__link { color: var(--ink); text-decoration: none; }
.acard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.acard { position: relative; }
.acard:hover .acard__link { color: var(--brand-press); }
.acard p { color: var(--muted); font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }
.acard__meta { margin-top: auto; padding-top: .9rem; color: var(--muted-2); font-size: .8125rem; }

/* --- FAQ (native <details>, no JS) --------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.05rem .25rem; cursor: pointer; list-style: none;
  font-weight: 560; color: var(--ink); line-height: 1.5; text-wrap: pretty;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-press); }
.faq__ic {
  flex: none; margin-top: .15rem; color: var(--muted-2);
  transition: transform .22s var(--ease);
}
.faq__item[open] .faq__ic { transform: rotate(180deg); }
.faq__a { padding: 0 .25rem 1.15rem; }
.faq__a p { max-width: 68ch; color: var(--muted); line-height: 1.68; text-wrap: pretty; }
.faq__q:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-sm); }

/* --- Jump navigation (help centre) --------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.jump__link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  background: var(--bg); color: var(--ink-2); font-size: .875rem; font-weight: 520;
  text-decoration: none; transition: border-color .18s var(--ease), color .18s var(--ease);
}
.jump__link .ic { width: 16px; height: 16px; color: var(--brand); }
.jump__link:hover { border-color: var(--brand); color: var(--brand-press); }
.sec-head__ic {
  display: inline-flex; margin-right: .6rem; vertical-align: -.35em;
  width: 34px; height: 34px;
}

/* --- Panel (inline call-out box) ----------------------------------------- */
.panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.panel h2 { margin-bottom: .6rem; font-size: 1.25rem; color: var(--ink); }
.panel p { max-width: 62ch; margin-bottom: 1.25rem; color: var(--muted); line-height: 1.65; }

/* --- Contact cards ------------------------------------------------------- */
.contact-card { padding: 1.5rem; }
.contact-card__title { margin: .85rem 0 .5rem; font-size: 1.0625rem; color: var(--ink); }
.contact-card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.contact-card__value { margin-top: .9rem; font-weight: 560; }
.contact-card__value, .contact-card__value a { color: var(--brand-press); word-break: break-word; }
.contact-card__meta { margin-top: .35rem; font-size: .8125rem; color: var(--muted-2); }

/* --- Link list ----------------------------------------------------------- */
.linklist { display: grid; gap: .6rem; }
.linklist__item > a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
  text-decoration: none; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.linklist__item > a:hover { border-color: var(--brand); box-shadow: var(--sh-sm); }
.linklist__label { grid-column: 1; font-weight: 560; color: var(--ink); }
.linklist__desc { grid-column: 1; color: var(--muted); font-size: .875rem; }
.linklist__ic { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); }

/* --- Definition list ----------------------------------------------------- */
.deflist { border-top: 1px solid var(--line); }
.deflist__row {
  display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: .25rem 1.5rem;
  padding: .9rem .25rem; border-bottom: 1px solid var(--line);
}
.deflist dt { color: var(--muted); font-size: .9375rem; }
.deflist dd { margin: 0; color: var(--ink-2); font-weight: 520; }
@media (max-width: 40rem) { .deflist__row { grid-template-columns: 1fr; } }

/* --- Status bar (API page) ----------------------------------------------- */
.statusbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-bottom: 2rem; padding: .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-soft);
  color: var(--muted); font-size: .9375rem;
}
.card--muted { opacity: .92; }

/* --- API docs: code and endpoint tables ---------------------------------- */
.code-inline {
  padding: .1rem .4rem; border-radius: 6px;
  background: var(--brand-tint); color: var(--ink-2);
  font: 500 .875em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
}
.api-example { margin-top: 3rem; }
.codeblock {
  margin-top: 1rem; overflow: hidden;
  border-radius: var(--r-md); background: var(--navy); box-shadow: var(--sh-sm);
}
.codeblock__label {
  padding: .6rem 1rem; border-bottom: 1px solid var(--navy-2);
  color: #a9b6d3; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.codeblock pre {
  margin: 0; padding: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
  color: #e6ecf8; font: .8125rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.endpoints { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.endpoints__cap {
  padding: 0 .25rem .6rem; caption-side: top; text-align: left;
  color: var(--ink); font-size: 1rem; font-weight: 650;
}
.endpoints { table-layout: fixed; }
.endpoints td { vertical-align: middle; }
.endpoints th:nth-child(1) { width: 6.5rem; }
.endpoints th:nth-child(2) { width: 50%; }
.endpoints .pill { margin-left: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 700; }
.endpoints .pill::before { display: none; }
.api-full__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (max-width: 40rem) {
  /* Stack each endpoint: method + path on one line, description beneath. */
  .endpoints { min-width: 0; table-layout: auto; }
  .endpoints thead { display: none; }
  .endpoints tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; padding: .75rem .85rem; border-bottom: 1px solid var(--line); }
  .endpoints tbody tr:last-child { border-bottom: 0; }
  .endpoints td { padding: 0; border: 0; }
  .endpoints td:first-child { width: auto; }
  .endpoints td:last-child { flex-basis: 100%; color: var(--muted); font-size: .875rem; }
}

/* --- Empty state --------------------------------------------------------- */
.empty {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: var(--bg-soft); text-align: center;
}
.empty__ic { margin-inline: auto; }
.empty h2 { margin: 1rem 0 .6rem; font-size: 1.375rem; color: var(--ink); }
.empty p { max-width: 54ch; margin-inline: auto; color: var(--muted); line-height: 1.68; text-wrap: pretty; }
.empty__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }

/* --- Legal documents ----------------------------------------------------- */
.legal { max-width: 74ch; }
.legal__sec { scroll-margin-top: 6rem; }
.legal__sec h2 {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  font-size: 1.1875rem;
}
.legal__sec:first-child h2 { margin-top: 0; padding-top: 0; border-top: 0; }

