/* ==========================================================================
   GetTelpa marketing site. Mobile-first, hand-authored (no framework).
   Brand teal (#2a8fa4) is used for decorative fills only; a darker teal
   (--teal-text) is used wherever teal carries text or sits under white text,
   to satisfy WCAG 2.1 AA contrast. This file holds the shared shell (nav,
   footer, announcement bar), the home page, and the reusable marketing
   building blocks shared across the product/developer/resource pages.
   Page-specific styles live in product.css, developers.css, resources.css,
   and login.css, loaded only on the pages that need them.
   ========================================================================== */

/* ==========================================================================
   Self-hosted fonts (Inter, JetBrains Mono). Latin subset, served same-origin
   from /fonts with a 1-year immutable cache. font-display: swap renders text
   immediately in the fallback stack and swaps when the web font arrives.
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.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: 500;
  font-display: swap;
  src: url('/fonts/inter-500.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: 600;
  font-display: swap;
  src: url('/fonts/inter-600.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: 700;
  font-display: swap;
  src: url('/fonts/inter-700.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.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;
}

:root {
  --bg: #f7f6f2;
  --bg-light: #fbfaf6;
  --white: #ffffff;
  --stone: #e8e6df;
  --charcoal: #1f2d36;
  --ink-dark: #0e1a22;
  --charcoal-72: rgba(31, 45, 54, 0.72);
  --charcoal-66: rgba(31, 45, 54, 0.66);
  --charcoal-64: rgba(31, 45, 54, 0.64);
  --charcoal-62: rgba(31, 45, 54, 0.62);
  --charcoal-55: rgba(31, 45, 54, 0.55);
  --charcoal-45: rgba(31, 45, 54, 0.45);
  --line: rgba(31, 45, 54, 0.12);
  --line-strong: rgba(31, 45, 54, 0.16);
  --line-soft: rgba(31, 45, 54, 0.08);
  --teal: #2a8fa4;
  --teal-text: #1c6f7f;
  --teal-strong: #176070;
  --teal-light: #7ec7d4;
  --pale-teal: #bfdde4;
  --ink: #f4f1ea;
  --ink-70: rgba(244, 241, 234, 0.7);
  --ink-60: rgba(244, 241, 234, 0.6);
  --ink-45: rgba(244, 241, 234, 0.55);
  --ink-line: rgba(244, 241, 234, 0.14);
  --dark-band: linear-gradient(168deg, #0e3645 0%, #1f2d36 64%, #0a1a22 100%);
  --error: #b3261e;
  --radius: 2px;
  --radius-card: 4px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 32px);
}

* { box-sizing: border-box; }

/* the hidden attribute must win over any author display rule (e.g. flex containers, spinners) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--pale-teal); color: var(--charcoal); }

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--teal-text); outline-offset: 2px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 13px 24px;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn-lg { font-size: 16px; padding: 14px 26px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: var(--ink-dark); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: rgba(31, 45, 54, 0.22); }
.btn-outline:hover { border-color: var(--charcoal); background: rgba(31, 45, 54, 0.04); }

/* ---- Eyebrow / section heads ------------------------------------------ */
.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.eyebrow--light { color: var(--teal-light); }
.eyebrow--rule {
  display: inline-block;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--charcoal);
}

/* mono eyebrow with square marker (product / developers / resources heroes) */
.prod-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.prod-eyebrow__dot { width: 8px; height: 8px; background: var(--teal); display: inline-block; flex-shrink: 0; }
.prod-eyebrow__text {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; color: var(--teal-text);
}

.section-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.section-title .accent { color: var(--teal-text); }
.section-title .dim { color: rgba(31, 45, 54, 0.4); }
.section-title--light { color: var(--ink); }
.section-title--light .accent { color: var(--teal-light); }

.lead {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal-64);
}
.lead--light { color: var(--ink-60); }

.lead--spaced { margin-top: 20px; }
.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-text);
}
.text-link:hover { color: var(--charcoal); }
.text-link--spaced { margin-top: 28px; }

/* ---- Section rhythm --------------------------------------------------- */
.sec { padding: clamp(64px, 9vw, 88px) 0; }
.sec--lg { padding: clamp(72px, 11vw, 104px) 0; }
.sec--top-line { border-top: 1px solid rgba(31, 45, 54, 0.1); }
.sec--white { background: var(--white); }
.sec--bone { background: var(--bg); }
.sec--dark { background: var(--dark-band); color: var(--ink); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announce {
  background: var(--ink-dark);
  color: var(--ink);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.announce__link { color: var(--teal-light); font-family: inherit; font-size: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.announce__link:hover { color: #a6dbe4; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(31, 45, 54, 0.1);
  transition: box-shadow .25s ease;
}
.site-header.is-elevated { box-shadow: 0 1px 0 rgba(31, 45, 54, 0.06), 0 12px 28px -16px rgba(14, 26, 34, 0.25); }
.nav { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__left { display: flex; align-items: center; gap: 38px; }
.nav__logo { display: flex; align-items: center; gap: 9px; }
.nav__logo img { height: 25px; width: auto; }
.nav__wordmark { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--charcoal); }
.nav__links { display: none; align-items: center; gap: 26px; }
.nav__link { font-size: 14.5px; font-weight: 500; color: var(--charcoal-72); transition: color .16s ease; }
.nav__link:hover, .nav__link.is-active { color: var(--teal-text); }
.nav__actions { display: none; align-items: center; gap: 22px; }
.nav__login { font-size: 14.5px; font-weight: 500; color: var(--charcoal-72); }
.nav__login:hover { color: var(--teal-text); }
.nav__cta { font-size: 14px; padding: 9px 17px; min-height: 40px; }

/* products dropdown (desktop) */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  color: var(--charcoal-72); background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__dropdown-toggle:hover, .nav__dropdown.is-open .nav__dropdown-toggle { color: var(--teal-text); }
.nav__dropdown-caret { font-size: 9px; opacity: .6; transform: translateY(1px); }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: -16px; width: 420px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(14, 26, 34, .1); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60;
}
.nav__dropdown.is-open .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__panel-item { display: block; padding: 14px 16px; border-radius: var(--radius); }
.nav__panel-item:hover, .nav__panel-item:focus-visible { background: var(--bg); }
.nav__panel-name { font-size: 14px; font-weight: 600; color: var(--teal-text); margin-bottom: 3px; }
.nav__panel-desc { font-size: 12.5px; line-height: 1.4; color: var(--charcoal-55); }

/* mobile menu */
.nav__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent;
  border: 1px solid rgba(31, 45, 54, 0.18); border-radius: var(--radius);
  cursor: pointer; color: var(--charcoal);
}
.nav__mobile {
  border-top: 1px solid rgba(31, 45, 54, 0.1);
  padding: 8px var(--pad) 18px;
  display: flex; flex-direction: column; background: var(--bg);
}
.nav__mobile-group-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-45); padding: 14px 0 4px; }
.nav__mobile-link { padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(31, 45, 54, 0.08); }
.nav__mobile-link--sub { padding-left: 12px; font-weight: 500; color: var(--charcoal-72); }
.nav__mobile-cta { margin-top: 16px; }

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__glow { position: absolute; pointer-events: none; z-index: 0; }
.hero__glow--a {
  top: -200px; right: -160px; width: 780px; height: 680px;
  background: radial-gradient(60% 60% at 60% 40%, var(--pale-teal) 0%, rgba(220, 238, 242, .55) 42%, rgba(247, 246, 242, 0) 72%);
  filter: blur(8px);
}
.hero__glow--b {
  top: 120px; left: -220px; width: 560px; height: 520px;
  background: radial-gradient(55% 55% at 50% 50%, rgba(126, 199, 212, .28) 0%, rgba(247, 246, 242, 0) 70%);
}
.hero__inner { position: relative; z-index: 1; padding: clamp(72px, 10vw, 118px) 0 clamp(72px, 9vw, 104px); }
.hero__body { max-width: 780px; }
.hero__title {
  margin: 0 0 28px;
  font-weight: 600;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.038em;
}
.hero__title .accent { color: var(--teal-text); }
.hero__lead { margin: 0 0 40px; max-width: 620px; font-size: 20px; line-height: 1.5; color: var(--charcoal-66); }
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Home: "what Telpa is" statement
   ========================================================================== */
.statement__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.statement__big { margin: 0 0 28px; font-size: clamp(22px, 2.9vw, 27px); line-height: 1.42; font-weight: 500; letter-spacing: -0.018em; }
.statement__big .accent { color: var(--teal-text); }
.statement__text { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--charcoal-64); }
.statement__text--spaced { margin-top: 20px; }

/* ==========================================================================
   Shared: cell grid (bordered cards on a hairline background)
   ========================================================================== */
.cellgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cellgrid--dark { background: var(--ink-line); border-color: var(--ink-line); }
.cell { background: var(--white); padding: 38px 36px; }
.cell--dark { background: var(--ink-dark); padding: 36px 32px; }
.cell__tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--teal-text); margin-bottom: 18px; }
.cell--dark .cell__tag { color: var(--teal-light); letter-spacing: 0; font-size: 13px; margin-bottom: 20px; }
.cell__title { margin: 0 0 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.cell--dark .cell__title { color: var(--ink); font-size: 20px; }
.cell__text { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--charcoal-64); }
.cell--dark .cell__text { color: var(--ink-60); margin-bottom: 0; }
.cell__link { font-size: 14.5px; font-weight: 500; color: var(--teal-text); }
.cell__link:hover { color: var(--charcoal); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--wide { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ==========================================================================
   Home: agentic layer (dark) + built-for + stats reuse .cellgrid/.sec--dark
   ========================================================================== */
.dark-intro { max-width: 760px; margin-bottom: 60px; }
.dark-intro .section-title { margin-bottom: 26px; }
.dark-intro__text { margin: 0; max-width: 660px; font-size: 17.5px; line-height: 1.6; color: var(--ink-60); }

/* built-for split rows */
.split2 { display: grid; grid-template-columns: 1fr; gap: 0; }
.split2__item { padding: 34px 0; border-top: 1px solid var(--line-strong); }
.split2__item h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.split2__item p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--charcoal-62); }

/* ==========================================================================
   Home: stats band (dark)
   ========================================================================== */
.stats__lead {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--ink-line);
}
.stat-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.stat-label--muted { color: rgba(244, 241, 234, 0.5); }
.stat-label--teal { color: var(--teal-light); }
.stat-figure { display: flex; align-items: baseline; gap: 6px; font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--ink); }
.stat-figure__num { font-size: clamp(88px, 12vw, 152px); font-weight: 500; line-height: .9; letter-spacing: -0.04em; }
.stat-figure__pct { font-size: clamp(40px, 5.5vw, 66px); font-weight: 400; line-height: 1; }
.stats__lead-note { font-size: 16px; line-height: 1.5; color: var(--ink-60); margin: 14px 0 0; max-width: 340px; }
.stats__improve { border-left: 3px solid var(--teal-light); padding-left: 28px; }
.stats__improve-title { font-size: 22px; line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 16px; color: var(--ink); }
.stats__improve-text { font-size: 16px; line-height: 1.6; color: var(--ink-60); margin: 0; max-width: 460px; }
.stat-cell__num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.stat-cell__text { font-size: 14.5px; line-height: 1.5; color: rgba(244, 241, 234, 0.55); margin: 0 0 20px; }
.stat-cell__with { padding-top: 18px; border-top: 1px solid var(--ink-line); }
.stat-cell__with-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 8px; }
.stat-cell__with-text { font-size: 14.5px; line-height: 1.5; color: rgba(244, 241, 234, 0.78); margin: 0; }
.stats__foot { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.03em; color: rgba(244, 241, 234, 0.4); margin: 26px 0 0; }

/* ==========================================================================
   Home: testimonial
   ========================================================================== */
.testimonial { background: linear-gradient(180deg, #eef4f4 0%, #e4eff1 100%); border-top: 1px solid rgba(31, 45, 54, 0.1); }
.testimonial__inner { max-width: 900px; }
.testimonial__quote { margin: 0; padding: 0 0 0 32px; border-left: 3px solid var(--teal); }
.testimonial__quote p { font-size: clamp(24px, 2.9vw, 34px); line-height: 1.4; font-weight: 500; letter-spacing: -0.018em; color: var(--charcoal); margin: 0 0 34px; }
.testimonial__quote .accent { color: var(--teal-text); }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 999px; background: var(--charcoal); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.testimonial__name { font-size: 15.5px; font-weight: 600; color: var(--charcoal); }
.testimonial__role { font-size: 14px; color: var(--charcoal-55); }

/* ==========================================================================
   Home: integrations
   ========================================================================== */
.integrations__grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.integrations__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.integrations__logo { background: var(--white); min-height: 82px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--charcoal); }
.integrations__logo--more { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; font-weight: 500; color: var(--teal-text); }

/* ==========================================================================
   Home: pricing comparison card (shared with Telpa Pay)
   ========================================================================== */
.pricecard { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); padding: clamp(28px, 4vw, 44px); }
.pricecard__rows { display: flex; flex-direction: column; gap: 26px; }
.pricecard__row { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
.pricecard__label-name { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; color: var(--charcoal); }
.pricecard__label-sub { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: var(--charcoal-45); margin-top: 5px; line-height: 1.7; }
.pricecard__bar { display: flex; min-height: 108px; border-radius: var(--radius); overflow: hidden; }
.pricecard__bar--telpa { border-right: 2px dashed var(--teal); }
.pricecard__seg { display: flex; flex-direction: column; justify-content: center; padding: 0 26px; }
.pricecard__seg--fee { flex: 0 0 40%; background: var(--teal-text); color: #fff; }
.pricecard__seg--pass { flex: 1; background: var(--stone); }
.pricecard__seg-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.pricecard__seg-fig { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 15px; margin-top: 5px; }
.pricecard__seg--fee .pricecard__seg-fig { color: rgba(255, 255, 255, 0.82); }
.pricecard__seg-note { font-size: 14px; color: var(--charcoal-55); margin-top: 5px; }
.pricecard__bar--others { background: var(--charcoal); color: #fff; }
.pricecard__bar--others .pricecard__seg-note { color: rgba(244, 241, 234, 0.5); }
.pricecard__saving-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--charcoal-45); margin-bottom: 7px; }
.pricecard__saving { font-size: 16px; font-weight: 600; color: var(--teal-text); line-height: 1.32; }
.pricecard__saving--muted { font-size: 15px; font-weight: 500; color: rgba(31, 45, 54, 0.5); line-height: 1.42; }
.pricecard__foot { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pricecard__foot-text { font-size: 15px; line-height: 1.55; color: var(--charcoal-55); margin: 0 0 6px; max-width: 560px; }
.pricecard__foot-fine { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em; color: rgba(31, 45, 54, 0.38); margin: 0; }

/* ==========================================================================
   Shared: closing CTA (light gradient, centered)
   ========================================================================== */
.closing { background: linear-gradient(105deg, #f0f4f2 0%, #dceef2 55%, var(--pale-teal) 100%); border-top: 1px solid rgba(31, 45, 54, 0.1); }
.closing__inner { text-align: center; }
.closing__title { margin: 0 auto 22px; max-width: 760px; font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }
.closing__title .accent { color: var(--teal-text); }
.closing__lead { margin: 0 auto 38px; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--charcoal-66); }
.closing__cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink-dark); color: var(--ink); }
.site-footer .container { padding-top: clamp(56px, 8vw, 72px); padding-bottom: 40px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-line); }
.footer__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.footer__logo img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.footer__wordmark { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.footer__tagline { margin: 0; max-width: 280px; font-size: 14.5px; line-height: 1.55; color: rgba(244, 241, 234, 0.55); }
.footer__col-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 241, 234, 0.45); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link { font-size: 14.5px; color: rgba(244, 241, 234, 0.75); transition: color .16s ease; }
.footer__link:hover { color: var(--teal-light); }
.footer__link--btn { background: none; border: 0; font-family: inherit; text-align: left; cursor: pointer; padding: 0; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.03em; color: rgba(244, 241, 234, 0.45); }

/* ---- Error page ------------------------------------------------------- */
.error-page { padding: clamp(80px, 12vw, 160px) 0; }
.error-page h1 { font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; margin: 8px 0 0; }
.error-page .btn { margin-top: 24px; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(10, 26, 34, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 12px 12px 0 0; padding: clamp(24px, 5vw, 40px); box-shadow: 0 -10px 40px -12px rgba(10, 26, 34, 0.5); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--charcoal); cursor: pointer; }
.modal-close:hover { border-color: var(--charcoal); }
.modal-title { margin: 10px 0 0; font-weight: 600; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.12; letter-spacing: -0.02em; }
.modal-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--charcoal-66); }
.modal-view { outline: none; }

#contact-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--charcoal); }
.field-optional { font-weight: 400; color: var(--charcoal-45); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--charcoal);
  background: #fff; border: 1px solid rgba(31, 45, 54, 0.2); border-radius: var(--radius);
  padding: 11px 12px; min-height: 44px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-text); outline: 2px solid var(--teal-text); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-banner { margin: 0; font-size: 14px; padding: 12px 14px; border-radius: var(--radius); background: rgba(179, 38, 30, 0.08); color: var(--error); }
.form-fineprint { margin: 2px 0 0; font-size: 12px; color: var(--charcoal-45); text-align: center; }
.btn-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: tlp-spin 0.7s linear infinite; }
.success-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-text); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
#contact-success-view { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---- Animations ------------------------------------------------------- */
@keyframes tlp-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-spinner { animation: none; }
  * { transition: none !important; }
}

/* ==========================================================================
   Print: readable, ink-friendly, no dark fills or decorative glows
   ========================================================================== */
@media print {
  .site-header, .announce, .nav__menu-btn, .nav__mobile, .modal-overlay, .closing__cta, .hero__glow { display: none !important; }
  body { background: #fff; color: #000; }
  .sec--dark, .site-footer, .testimonial, .closing { background: #fff !important; color: #000 !important; }
  .sec--dark *, .site-footer *, .stat-figure, .stat-cell__num { color: #000 !important; }
  .cellgrid, .cell, .pricecard, .integrations__logo { break-inside: avoid; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   Breakpoints (min-width, mobile-first)
   ========================================================================== */
@media (min-width: 40em) {
  .statement__grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
  .split2 { grid-template-columns: 1fr 1fr; }
  .split2__item { padding: 34px 40px; }
  .split2__item:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .split2__item:nth-child(even) { padding-right: 0; }
  .stats__lead { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .integrations__grid { grid-template-columns: 0.9fr 1.1fr; }
  .integrations__logos { grid-template-columns: repeat(4, 1fr); }
  .pricecard__row { grid-template-columns: 140px 1fr 190px; gap: 32px; }
  .closing__cta, .hero__cta { justify-content: flex-start; }
}

@media (min-width: 54em) {
  .nav__links { display: flex; }
  .nav__actions { display: flex; }
  .nav__menu-btn { display: none; }
  .nav__mobile { display: none !important; }
  .cellgrid { grid-template-columns: repeat(2, 1fr); }
  .cellgrid--three { grid-template-columns: repeat(3, 1fr); }
  .statement__grid { gap: 64px; }
}

@media (min-width: 60em) {
  .statement__big { max-width: none; }
}
