/* Zaeto landing — one stylesheet for BG, EN, 404 and the asset templates in tools/. */

/* Inter (SIL OFL 1.1, see ../fonts/OFL.txt) — self-hosted, variable weight. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  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 {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-500: #14b8a6; /* decoration only (fails contrast as text) */
  --brand-600: #0e7c7b;
  --brand-700: #0f766e;
  --brand-800: #115e59;
  --brand-900: #134e4a;
  --coral: #f97360; /* background (with ink text) or decoration only */
  --coral-50: #fff1ee;
  --coral-text: #b8452f;
  --ink: #0f172a;
  --slate-700: #334155;
  --muted: #475569;
  --slate-300: #cbd5e1;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 8%);
  --shadow-lg: 0 2px 4px rgb(15 23 42 / 6%), 0 24px 48px rgb(15 23 42 / 14%);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
  --gutter: clamp(16px, 4vw, 24px);

  color-scheme: light;
}

/* ---------- base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 750;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-700);
  text-underline-offset: 0.18em;
}

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

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

:focus-visible {
  outline: 3px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.email,
.url {
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  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: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}

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

.btn--cta {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 6px 16px rgb(249 115 96 / 30%);
}

.btn--cta:hover {
  background: #fb8a79;
  color: var(--ink);
}

.btn--primary {
  background: var(--brand-600);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-800);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--brand-800);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand-600);
  color: var(--brand-900);
}

.btn--sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}

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

/* ---------- brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.header-inner > * {
  min-width: 0;
}

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

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links a,
.nav-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--slate-700);
  font-weight: 550;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-login:hover {
  color: var(--brand-800);
  background: var(--brand-50);
}

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

.lang-switch {
  display: flex;
  gap: 2px;
  font-size: 0.875rem;
  font-weight: 650;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--brand-800);
  background: var(--brand-50);
}

.lang-switch a[aria-current='page'] {
  color: var(--brand-800);
  background: var(--brand-50);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 26px;
  height: 26px;
}

.menu-toggle .icon-close,
.site-header[data-open] .menu-toggle .icon-open {
  display: none;
}

.site-header[data-open] .menu-toggle .icon-close {
  display: block;
}

@media (max-width: 1199.98px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px rgb(15 23 42 / 10%);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    display: flex;
    min-height: 48px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--surface);
  }

  .nav-extra {
    justify-content: space-between;
    padding: 8px 0 0;
    border-left: 0;
  }

  .nav-login {
    font-size: 1.0625rem;
  }
}

@media (max-width: 479.98px) {
  .header-cta {
    padding-inline: 12px;
    font-size: 0.875rem;
  }

  .header-cta .long {
    display: none;
  }
}

@media (min-width: 480px) {
  .header-cta .short {
    display: none;
  }
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(20 184 166 / 16%), transparent 70%),
    radial-gradient(40rem 24rem at -10% 110%, rgb(249 115 96 / 10%), transparent 70%),
    linear-gradient(180deg, var(--brand-50), var(--white) 85%);
}

.hero-grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero .eyebrow {
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--brand-100);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.875rem;
}

.hero-lead {
  max-width: 36rem;
  color: var(--slate-700);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trial-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9375rem;
}

.trial-note::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.45em;
  border-radius: 3px;
  background: var(--coral);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 26px;
}

.hero-points li::before,
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23115e59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 13px no-repeat,
    var(--brand-100);
}

.hero-visual {
  position: relative;
  padding-bottom: 24px;
}

.browser {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate-300);
}

.browser img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.phone {
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 26px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.phone img {
  width: 100%;
  aspect-ratio: 412 / 915;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
}

.hero-visual .phone {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 28%;
  max-width: 190px;
}

.hero-visual .browser {
  margin-right: 14%;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }

  .hero-visual .browser {
    margin-right: 10%;
  }
}

@media (max-width: 599.98px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual .browser {
    margin-right: 18%;
  }

  .hero-visual .phone {
    width: 34%;
    border-width: 4px;
    border-radius: 18px;
  }

  .hero-visual .phone img {
    border-radius: 14px;
  }
}

/* ---------- features ---------- */

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

.feature-grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

.feature h3 {
  margin-top: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-700);
}

.icon svg {
  width: 26px;
  height: 26px;
}

.origin-note {
  max-width: 760px;
  margin: 40px auto 0;
  color: var(--muted);
  text-align: center;
}

/* ---------- how it works ---------- */

.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.steps > * {
  min-width: 0;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.steps-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---------- install on the phone ---------- */

.install {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.install > * {
  min-width: 0;
}

@media (min-width: 800px) {
  .install {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
}

.install h3 {
  font-size: 1.25rem;
}

.install-lead {
  margin: 0 0 20px;
  color: var(--muted);
}

.install-platforms {
  display: grid;
  gap: 20px;
}

@media (min-width: 560px) {
  .install-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.install-platform h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.install-platform h4 span {
  color: var(--muted);
  font-weight: 500;
}

.install-platform ol {
  margin: 0;
  padding-left: 1.4em;
  color: var(--slate-700);
  list-style: decimal; /* lists are unstyled globally; these steps keep their numbers */
}

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

.install-platform li + li {
  margin-top: 6px;
}

/* A button of the phone's own interface (Share, the ⋮ menu). */
.ui-key {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: baseline;
}

.ui-key svg {
  width: 1em;
  height: 1em;
}

.install-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.install-qr {
  width: 168px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}

.install-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.install-qr-note {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Scanning a code on the phone itself is no use: phones get the link only. */
@media (max-width: 799.98px) {
  .install-qr,
  .install-qr-note {
    display: none;
  }

  .install-open {
    align-items: stretch;
  }
}

/* ---------- screenshots ---------- */

.screens {
  display: grid;
  gap: 24px;
}

.screens > * {
  min-width: 0;
}

.shot {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.shot .browser,
.shot .phone {
  box-shadow: var(--shadow);
}

.shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.shot figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.shot--mobile .phone {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.shot--mobile figcaption {
  max-width: 300px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 640px) {
  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot--calendar {
    grid-column: 1 / -1;
  }

  .shot--mobile {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .screens {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.62fr);
    grid-template-areas:
      'cal cal mob'
      'book today mob';
    align-items: start;
  }

  .shot--calendar {
    grid-area: cal;
  }

  .shot--booking {
    grid-area: book;
  }

  .shot--today {
    grid-area: today;
  }

  .shot--mobile {
    grid-area: mob;
    grid-column: auto;
  }

  .shot--mobile .phone {
    max-width: none;
  }
}

/* ---------- pricing ---------- */

.pricing-lead {
  max-width: 760px;
  margin-inline: auto;
}

.trial-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--coral-50);
  border: 1px solid #fed7cf;
  text-align: center;
  font-weight: 650;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--slate-700);
  font-weight: 650;
  cursor: pointer;
}

.segmented input:checked + label {
  background: var(--brand-600);
  color: var(--white);
}

.segmented input:focus-visible + label {
  outline: 3px solid var(--brand-700);
  outline-offset: 2px;
}

.saving-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.plans {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.plans > * {
  min-width: 0;
}

@media (min-width: 1080px) {
  .plans {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

@media (max-width: 1079.98px) {
  .plans {
    max-width: 560px;
    margin-inline: auto;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.plan--featured {
  border: 2px solid var(--brand-600);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1080px) {
  .plan--featured {
    margin-block: -12px;
    padding-top: 40px;
    padding-bottom: 36px;
  }
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  max-width: calc(100% - 32px);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 750;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan h3 {
  margin-bottom: 4px;
  font-size: 1.375rem;
}

.plan-for {
  min-height: 3.2em;
  color: var(--muted);
  font-size: 0.9375rem;
}

.price {
  min-height: 5.6rem;
  margin: 8px 0 20px;
}

.price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
}

.price-amount {
  font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-unit {
  color: var(--muted);
  font-weight: 550;
}

.price-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.price-note strong {
  color: var(--coral-text);
}

.pricing:has(#billing-yearly:checked) [data-period='monthly'],
.pricing:has(#billing-monthly:checked) [data-period='yearly'] {
  display: none;
}

.pricing:has(#billing-yearly:checked) .plan[data-no-yearly] [data-period='monthly'] {
  display: block;
}

.pricing:has(#billing-yearly:checked) .plan[data-no-yearly] [data-period='yearly'] {
  display: none;
}

.plan-limits {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
}

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

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li::before {
  top: 0.25em;
}

.pricing-more {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.pricing-more > * {
  min-width: 0;
}

@media (min-width: 800px) {
  .pricing-more {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.pricing-more h3 {
  margin-bottom: 16px;
}

.all-features {
  display: grid;
  gap: 8px 20px;
  color: var(--slate-700);
}

@media (min-width: 560px) {
  .all-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fine-print p {
  color: var(--slate-700);
  font-size: 0.9375rem;
}

.fine-print p:last-child {
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.faq details[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 18px 56px 18px 20px;
  font-weight: 650;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}

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

.faq summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2.5px solid var(--brand-700);
  border-bottom: 2.5px solid var(--brand-700);
  rotate: 45deg;
  transition: rotate 0.2s;
}

.faq details[open] summary::after {
  rotate: 225deg;
  margin-top: -2px;
}

.faq .answer {
  padding: 0 20px 20px;
  color: var(--slate-700);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- contact + CTA band ---------- */

.contact-grid {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin-inline: auto;
}

.contact-grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-card > div {
  min-width: 0;
}

.contact-card h3 {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-card a {
  display: inline-block;
  padding-block: 8px;
  font-size: clamp(1rem, 0.8rem + 1.2vw, 1.1875rem);
  font-weight: 700;
  color: var(--brand-800);
}

.cta-band {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 56px);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgb(20 184 166 / 45%), transparent 70%),
    var(--brand-800);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 40rem;
  margin-inline: auto;
  color: #e6fffa;
  font-size: 1.125rem;
}

.cta-band .btn {
  margin-top: 8px;
}

.cta-band .trial-note {
  justify-content: center;
  color: var(--white);
}

.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: 48px 32px;
  background: var(--ink);
  color: var(--slate-300);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 560px) and (max-width: 799.98px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}

.site-footer .brand {
  color: var(--white);
}

.footer-tagline {
  margin-top: 8px;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px var(--gutter);
  background: linear-gradient(180deg, var(--brand-50), var(--white));
  text-align: center;
}

.error-page main {
  max-width: 560px;
}

.error-page .brand {
  margin-bottom: 32px;
}

.error-code {
  margin: 0;
  color: var(--brand-700);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.error-page hr {
  margin: 32px auto;
  width: 64px;
  border: 0;
  border-top: 2px solid var(--brand-100);
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover {
    transform: none;
  }
}
