/* ==========================================================================
   Codermails — 2026 redesign
   Light corporate design system. No frameworks, no build step.
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Utilities
   4.  Buttons
   5.  Top bar & header
   6.  Hero
   7.  Console mockup
   8.  Logo strip
   9.  Stats
   10. Section shell
   11. Service cards
   12. Feature grid
   13. Pricing
   14. Steps
   15. Split / deliverability
   16. Payments
   17. Testimonials
   18. FAQ
   19. CTA band
   20. Footer
   21. Motion
   22. Responsive
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Brand */
  --brand: #0fa36b;
  --brand-600: #0b8a5a;
  --brand-700: #076b46;
  --brand-800: #055437;
  --brand-050: #eaf8f1;
  --brand-100: #d3f0e2;
  --brand-200: #a8e4c8;

  /* Neutrals */
  --ink: #0d2119;
  --ink-2: #33473d;
  --muted: #5d7268;
  --line: #e2ebe6;
  --line-strong: #cfdcd5;
  --surface: #f6faf8;
  --surface-2: #eef5f1;
  --white: #ffffff;
  --dark: #07241a;
  --dark-2: #0a3527;

  /* Support */
  --amber: #f2a93b;
  --danger: #d65a4a;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(9, 40, 28, 0.06);
  --shadow-sm: 0 6px 16px -10px rgba(9, 40, 28, 0.25);
  --shadow-md: 0 18px 40px -28px rgba(9, 40, 28, 0.4);
  --shadow-lg: 0 40px 80px -40px rgba(7, 40, 26, 0.42),
    0 2px 6px rgba(7, 40, 26, 0.05);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
  --header-h: 76px;

  /* Type */
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--brand-800);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p,
blockquote,
figure {
  margin: 0;
}

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

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

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--brand-200);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-100);
  color: var(--brand-800);
}

/* 3. Utilities
   ========================================================================== */
.container {
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-700);
  color: #fff;
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
  stroke-width: 2.1;
}

/* 4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

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

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

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

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(11, 138, 90, 0.9);
}

.btn--primary:hover {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(7, 107, 70, 0.9);
}

.btn--outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  border-color: var(--brand-200);
  background: var(--brand-050);
  color: var(--brand-700);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn--ghost:hover {
  background: var(--brand-050);
  color: var(--brand-700);
}

.btn--light {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
}

.btn--light:hover {
  background: var(--brand-050);
  color: var(--brand-800);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--sm {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--brand-700);
}

.link-arrow .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* 5. Top bar & header
   ========================================================================== */
.topbar {
  background: var(--dark);
  color: #b9d6c9;
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__note,
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__meta {
  gap: 18px;
}

.topbar a {
  color: #dcf3e7;
  font-weight: 600;
}

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

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35e29b;
  box-shadow: 0 0 0 3px rgba(53, 226, 155, 0.18);
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -22px rgba(7, 40, 26, 0.55);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

/* Header: plain white bar with the wordmark-only light lockup (dark text, green tittle) */

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  display: block;
  padding: 10px 13px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 550;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav__links a:hover {
  background: var(--surface-2);
  color: var(--brand-700);
}

.nav__links a[aria-current="page"] {
  background: var(--brand-050);
  color: var(--brand-700);
  font-weight: 650;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--brand-200);
  background: var(--brand-050);
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

/* 6. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
      900px 520px at 88% -12%,
      rgba(15, 163, 107, 0.12),
      transparent 62%
    ),
    radial-gradient(
      720px 460px at -8% 12%,
      rgba(33, 220, 127, 0.1),
      transparent 62%
    ),
    #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      rgba(9, 40, 28, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(9, 40, 28, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(
    ellipse 72% 62% at 50% 0%,
    #000 10%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 72% 62% at 50% 0%,
    #000 10%,
    transparent 78%
  );
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-block: clamp(52px, 6vw, 88px) clamp(64px, 7vw, 104px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: var(--brand-050);
  color: var(--brand-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
  background: var(--brand);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.35rem, 1.3rem + 3.2vw, 3.95rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 750;
}

.hero h1 .mark {
  color: var(--brand-700);
}

.hero__lede {
  margin-top: 22px;
  max-width: 55ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.13rem);
  line-height: 1.7;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 550;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}

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

.hero__aside {
  position: relative;
}

/* 7. Console mockup
   ========================================================================== */
.console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.console__dots {
  display: flex;
  gap: 5px;
}

.console__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3ece7;
}

.console__dots span:first-child {
  background: #f3c7bf;
}

.console__dots span:nth-child(2) {
  background: #f6dfae;
}

.console__dots span:nth-child(3) {
  background: #bfe8d3;
}

.console__bar-title {
  color: var(--ink-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill--live {
  margin-left: auto;
  background: var(--brand-050);
  color: var(--brand-700);
}

.pill--live .dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
  animation: pulse 2s ease-in-out infinite;
}

.console__body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.console__top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
}

.gauge svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.gauge circle {
  fill: none;
  stroke-width: 10;
}

.gauge .track {
  stroke: var(--brand-100);
}

.gauge .value {
  stroke: var(--brand-600);
  stroke-linecap: round;
  stroke-dasharray: 99 100;
}

.gauge__value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.console__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.console__big {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--ink);
}

.console__sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-700);
}

.console__sub .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.console__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.console__stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
}

.console__stat dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.console__stat dd {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.console__chart {
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
}

.console__chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.console__chart-head strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--brand-700);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 66px;
  margin-top: 10px;
}

.bars span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 3px 3px;
  background: var(--brand-100);
  transition: height 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bars span:nth-child(6) {
  background: var(--brand-600);
}

.console__rows {
  display: grid;
  gap: 6px;
}

.console__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfdfc;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

.console__row .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.console__row .state {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-700);
}

.console__row .state--warm {
  color: #a97418;
}

.badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.badge-float .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  stroke-width: 2.2;
}

.badge-float--one {
  top: -18px;
  right: -14px;
}

.badge-float--two {
  bottom: -18px;
  left: -26px;
}

/* 8. Logo strip
   ========================================================================== */
.logo-strip {
  border-block: 1px solid var(--line);
  background: #fff;
  padding-block: 30px;
}

.logo-strip__inner {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  align-items: center;
  gap: 36px;
}

.logo-strip__label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
}

.logo-strip__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 28px;
}

.logos img {
  width: 100%;
  max-width: 132px;
  max-height: 52px;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* 9. Stats
   ========================================================================== */
.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 34px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__item {
  padding-inline: 28px;
  border-left: 1px solid var(--line-strong);
}

.stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--brand-700);
}

.stats__label {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 10. Section shell
   ========================================================================== */
.section {
  padding-block: clamp(60px, 7.5vw, 104px);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(48px, 5.5vw, 72px);
}

.section-head {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 1.25rem + 2vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* 11. Service cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

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

.icon-tile {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-top: 20px;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.card p {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.card__list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.card__list .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--brand-600);
  stroke-width: 2.4;
}

.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: auto;
  padding-top: 22px;
}

.card__price {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.card__price strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* 12. Feature grid
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
}

.feature {
  padding: 30px 28px;
  background: #fff;
  transition: background-color 0.2s ease;
}

.feature:hover {
  background: #fbfdfc;
}

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

.feature .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.feature .icon-tile .icon {
  width: 21px;
  height: 21px;
}

.feature h3 {
  margin-top: 16px;
  font-size: 1.02rem;
}

.feature p {
  margin-top: 7px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* 13. Pricing
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-top: 52px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.plan:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.plan--featured {
  border: 1.5px solid var(--brand-600);
  box-shadow: 0 24px 54px -30px rgba(7, 107, 70, 0.5);
}

.plan__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(7, 107, 70, 0.9);
}

.plan__name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.plan__price sup {
  top: -0.9em;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--ink-2);
}

.plan__per {
  margin-left: 5px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--muted);
}

.plan__desc {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan__features {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--ink-2);
}

.plan__features .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--brand-600);
  stroke-width: 2.4;
}

.plan__features li.is-off {
  color: #93a49b;
}

.plan__features li.is-off .icon {
  color: #b6c5bd;
}

.plan .btn {
  margin-top: auto;
}

.plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.plans-note .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-600);
}

/* 14. Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 6px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brand-200);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-xs);
}

.step h3 {
  margin-top: 18px;
  font-size: 1.05rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.91rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.step::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 60px;
  right: -12px;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--line-strong) 0 6px,
    transparent 6px 12px
  );
}

.step:last-child::after {
  display: none;
}

/* 15. Split / deliverability
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.split h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.4rem);
  letter-spacing: -0.03em;
}

.split > div > p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52ch;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.checklist .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-700);
  stroke-width: 2.6;
  box-sizing: content-box;
}

.reputation {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.reputation__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reputation__head h3 {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.reputation__score {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.reputation__score strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.reputation__score span {
  font-size: 0.8rem;
  color: var(--muted);
}

.reputation__chart {
  margin-top: 14px;
  padding-top: 6px;
  border-bottom: 1px solid var(--line);
}

.reputation__chart svg {
  width: 100%;
  height: auto;
}

.reputation__auth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ink-2);
}

.auth-chip .icon {
  width: 13px;
  height: 13px;
  color: var(--brand-600);
  stroke-width: 3;
}

.reputation__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.reputation__foot .dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

/* 16. Payments
   ========================================================================== */
.payments {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.payments__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  align-items: center;
  gap: 44px;
}

.payments h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing: -0.025em;
}

.payments p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  border-color: var(--brand-200);
  transform: translateY(-1px);
}

.chip b {
  font-weight: 750;
  color: var(--brand-700);
}

/* Brand colours for payment marks */
.chip--btc, .tag--btc { --coin: #f7931a; }
.chip--usdt, .tag--usdt { --coin: #26a17b; }
.chip--eth, .tag--eth { --coin: #627eea; }
.chip--bnb, .tag--bnb { --coin: #f3ba2f; }
.chip--ltc, .tag--ltc { --coin: #345d9d; }
.chip--xrp, .tag--xrp { --coin: #23292f; }
.chip--doge, .tag--doge { --coin: #c2a633; }
.chip--pm, .tag--pm { --coin: #0a5bb5; }
.chip--cards, .tag--visa, .tag--mc { --coin: #eb001b; }
.tag--skrill { --coin: #89064f; }
.chip--paypal, .tag--paypal { --coin: #003087; }
.chip--upi, .tag--upi { --coin: #f26522; }
.tag--paytm { --coin: #00baf2; }
.tag--bank, .tag--usd { --coin: #076b46; }
.tag--eur { --coin: #1c3f94; }

.chip[class*="chip--"] {
  border-color: color-mix(in srgb, var(--coin) 30%, var(--line));
  background: color-mix(in srgb, var(--coin) 9%, #fff);
}

.chip[class*="chip--"]:hover {
  border-color: color-mix(in srgb, var(--coin) 55%, var(--line));
}

.chip[class*="chip--"] b {
  font-size: 0.94rem;
  line-height: 1;
  color: var(--coin);
}

.chip--cards b {
  background: linear-gradient(90deg, #1a1f71, #eb001b 62%, #f79e1b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.method__tags .tag {
  border-color: color-mix(in srgb, var(--coin) 32%, var(--line));
  background: color-mix(in srgb, var(--coin) 10%, #fff);
  color: var(--coin);
}

/* 17. Testimonials
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.quote__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 0.7;
  color: var(--brand-200);
}

.quote p {
  margin-top: 14px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  color: var(--brand-800);
  font-size: 0.82rem;
  font-weight: 750;
}

.quote__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.quote__role {
  font-size: 0.78rem;
  color: var(--muted);
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 16px;
}

.stars .icon {
  width: 15px;
  height: 15px;
  fill: var(--amber);
  stroke: none;
}

/* 18. FAQ
   ========================================================================== */
.faq {
  max-width: 820px;
  margin: 44px auto 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.faq summary:hover {
  color: var(--brand-700);
}

.faq summary .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--brand-600);
  transition: transform 0.2s ease;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 70ch;
  padding: 0 2px 22px;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
}

.faq__answer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 19. CTA band
   ========================================================================== */
.cta {
  padding-block: clamp(20px, 3vw, 40px) clamp(60px, 7vw, 96px);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    #06281c 0%,
    #0a4a33 52%,
    #0d7a4f 100%
  );
  color: #d8efe3;
  box-shadow: 0 34px 70px -40px rgba(4, 30, 21, 0.85);
}

.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 100% at 100% 0%,
    #000,
    transparent 72%
  );
  mask-image: radial-gradient(
    ellipse 80% 100% at 100% 0%,
    #000,
    transparent 72%
  );
}

.cta__panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 220, 127, 0.35),
    transparent 65%
  );
  filter: blur(10px);
}

.cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #b8f2d6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta h2 {
  margin-top: 16px;
  max-width: 22ch;
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.cta p {
  margin-top: 12px;
  max-width: 48ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #b3d5c5;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.cta__actions .btn {
  width: 100%;
}

.cta__small {
  margin-top: 4px;
  font-size: 0.78rem;
  color: #93bda9;
  text-align: center;
}

/* 20. Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #b8cec2;
  font-size: 0.9rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-block: 60px 48px;
}

.footer__brand img {
  height: 34px;
  width: auto;
}

.footer__brand p {
  margin-top: 16px;
  max-width: 40ch;
  line-height: 1.7;
  color: #9db9ab;
  font-size: 0.87rem;
}

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.footer__pay span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #c5ddd1;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb3a2;
}

.footer__links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer__links a {
  color: #c7dcd1;
  font-size: 0.89rem;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__contact {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.89rem;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c7dcd1;
}

.footer__contact .icon {
  width: 16px;
  height: 16px;
  color: #7fb69b;
}

.footer__contact a {
  color: #c7dcd1;
}

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

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #bfd8cc;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.socials a:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
}

.socials .icon {
  width: 17px;
  height: 17px;
  stroke: none;
  fill: currentColor;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #8ba99b;
}

.footer__bottom a {
  color: #b6cfc3;
}

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

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dmca {
  opacity: 0.85;
}

.dmca img {
  height: 20px;
  width: auto;
}

/* 21. Motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s
    cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pill--live .dot {
    animation: none;
  }

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

/* 21b. Interior pages & pricing
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      760px 400px at 92% -10%,
      rgba(15, 163, 107, 0.11),
      transparent 62%
    ),
    radial-gradient(
      620px 340px at -5% 105%,
      rgba(33, 220, 127, 0.08),
      transparent 62%
    ),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  padding-block: clamp(28px, 3.5vw, 44px) clamp(44px, 5.5vw, 68px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb .sep {
  color: #b6c5bd;
}

.page-hero h1 {
  margin-top: 18px;
  max-width: 24ch;
  font-size: clamp(2rem, 1.25rem + 2.7vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-hero__lede {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--muted);
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.18s ease, background-color 0.18s ease,
    color 0.18s ease;
}

.jump-links a:hover {
  border-color: var(--brand-200);
  background: var(--brand-050);
  color: var(--brand-700);
}

.jump-links a span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.plan-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 32px;
}

.plan-group-head h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.3rem);
  letter-spacing: -0.03em;
}

.plan-group-head p:not(.eyebrow) {
  margin-top: 10px;
  max-width: 58ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan-group-head__meta {
  padding-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.included {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 32px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.included li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.included .icon {
  width: 15px;
  height: 15px;
  color: var(--brand-600);
  stroke-width: 2.6;
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  background: var(--brand-050);
}

.note-card > .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--brand-700);
}

.note-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--brand-800);
}

.note-card strong {
  color: var(--brand-800);
}

.note-card a {
  color: var(--brand-700);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.addon {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.addon:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.addon__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.addon h3 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.addon__price {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--brand-700);
}

.addon p {
  margin-top: 8px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

.addon .link-arrow {
  margin-top: 16px;
  font-size: 0.88rem;
}

/* 21c. Content pages: about, contact, payment, trial, legal
   ========================================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(36px, 4.5vw, 56px) clamp(56px, 6vw, 80px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.legal-toc h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-toc ol {
  display: grid;
  gap: 2px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 6px 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
}

.legal-toc a:hover {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose {
  max-width: 74ch;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose h3 {
  margin: 30px 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 9px;
}

.prose li::marker {
  color: var(--brand-600);
  font-weight: 700;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--wide {
  max-width: 80ch;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-meta strong {
  color: var(--ink-2);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.form-card > p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 680;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 163, 107, 0.16);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.form-hint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-aside {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.contact-card .icon-tile {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.contact-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.contact-card p {
  margin-top: 3px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-card a {
  color: var(--brand-700);
  font-weight: 650;
}

.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Payment methods */
.methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.method {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.method h3 {
  font-size: 1rem;
}

.method p {
  margin-top: 8px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

.method__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.method__tags span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

/* Status notice */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #f0d8a4;
  border-radius: var(--radius);
  background: #fffaf0;
}

.notice .icon-tile {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: #fdf1d6;
  color: #8f6210;
}

.notice h2,
.notice h3 {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: #5c3d05;
}

.notice p {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #6e5218;
}

.notice a {
  color: #6b4a08;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 8px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .methods {
    grid-template-columns: 1fr;
  }

  .notice {
    flex-direction: column;
    gap: 12px;
  }
}

/* 22. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .header__inner {
    gap: 12px;
  }

  .nav {
    gap: 6px;
  }

  .nav__links a {
    padding: 10px 10px;
    font-size: 0.92rem;
  }

  .nav__actions {
    padding-left: 10px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .topbar__meta span:first-child {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 0;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -30px rgba(7, 40, 26, 0.5);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__links a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav__actions .btn {
    width: 100%;
  }

  .brand img {
    height: 30px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 46px 72px;
  }

  .hero__aside {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .badge-float--two {
    left: -8px;
    bottom: -16px;
  }

  .logo-strip__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .logo-strip__label {
    max-width: none;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stats__item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .cards,
  .features,
  .plans,
  .quotes {
    grid-template-columns: 1fr;
  }

  .cards,
  .quotes {
    gap: 16px;
  }

  .features {
    gap: 1px;
  }

  .plans {
    max-width: 460px;
    margin-inline: auto;
  }

  .plan--featured {
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step::after {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 18px;
  }

  .step h3 {
    margin-top: 6px;
  }

  .step p {
    grid-column: 2;
    max-width: none;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .payments__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .chips {
    justify-content: flex-start;
  }

  .cta__panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .cta__actions .btn {
    width: auto;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  .topbar {
    font-size: 0.72rem;
  }

  .topbar__meta {
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 1.4rem + 4vw, 2.6rem);
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .console__top {
    gap: 12px;
  }

  .gauge {
    width: 96px;
    height: 96px;
  }

  .gauge__value {
    font-size: 1.25rem;
  }

  .console__big {
    font-size: 1.6rem;
  }

  .badge-float--one {
    top: -14px;
    right: 0;
  }

  .badge-float--two {
    display: none;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .logs img {
    max-height: 42px;
  }

  .stats__grid {
    gap: 20px 0;
  }

  .stats__item {
    padding-inline: 16px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    justify-content: flex-start;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .faq summary {
    font-size: 0.95rem;
    gap: 14px;
  }
}

@media (max-width: 400px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stats__item {
    padding-left: 0;
    border-left: 0;
  }

  .console__stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pricing page specifics
   ========================================================================== */
@media (max-width: 960px) {
  .plans--six {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (max-width: 700px) {
  .plans--six {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    max-width: none;
  }

  .plan-group-head {
    align-items: flex-start;
  }

  .plan-group-head__meta {
    white-space: normal;
  }
}

/* Cookie consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483000;
  padding: 16px;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 36, 26, 0.18), 0 2px 8px rgba(7, 36, 26, 0.08);
  pointer-events: auto;
}

.cookie-banner__title {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--ink);
}

.cookie-banner__text {
  max-width: 70ch;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__actions .btn {
  white-space: nowrap;
}

.footer__cookie {
  padding: 0;
  border: 0;
  background: none;
  color: #b6cfc3;
  font: inherit;
  cursor: pointer;
}

.footer__cookie:hover {
  color: #fff;
}

.cookie-banner:focus-visible,
.footer__cookie:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .cookie-banner {
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
  }

  .cookie-banner__actions {
    flex-wrap: nowrap;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 0;
    padding-inline: 10px;
    white-space: normal;
  }
}
