/* styles.css — the whole visual layer of the mailgun.cz marketing site.
 *
 * What it does: one hand-written stylesheet for `index.html` and `404.html`.
 * No build step, no framework, no CDN — a strict CSP is assumed, so there is
 * no @import, no web font and no remote asset of any kind.
 *
 * What feeds it: nothing at runtime. The colour scale is the owner's ruling
 * «цвета те же» — the brand values are lifegoal.cz's own, measured from its
 * built CSS by the conductor and re-declared here as custom properties rather
 * than copied from its stylesheet. The structural vocabulary (mono tabular
 * figures for anything the system asserts, near-flat elevation, one accent
 * that only primary action wears) is taken from the product's design system,
 * `apps/shared_ui/static/tokens.css`, which this file deliberately does NOT
 * import — the site ships standalone.
 *
 * Where it reaches: `site/index.html` and `site/404.html` only. It is never
 * served to the application at app.mailgun.cz, which has its own stylesheets.
 *
 * What to update on every touch: `site/index.html` (every class name below is
 * emitted there — a renamed class silently loses its styling, since there is
 * no compiler to catch it) and `site/404.html` (reuses `.nav`, `.wrap`,
 * `.btn`, `.foot`). Re-check both widths in a real browser after any layout
 * change: the page must not scroll horizontally at any width.
 *
 * Change ledger
 * 2026-08-11 · claude/email-newsletter-mailgun-a7633b · added: this file
 *   (first revision). Colour scale set from the owner's ruling; light theme
 *   only, because lifegoal.cz is light-only and "the same colours" cannot be
 *   honoured by inventing a dark palette it does not have.
 */

/* ═══ Tokens ═══════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  /* Brand scale — owner's ruling, values measured from lifegoal.cz. */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;

  /* Neutrals. */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f4f4f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* The pain block's accent, and nothing else's. */
  --red-50: #fef2f2;
  --red-500: #ef4444;

  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Numbers are the product. Anything the system asserts — counts, rates,
   * DNS records, ids — is mono with tabular figures so digits align. */
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.10);

  --page: 1152px;
  --page-narrow: 896px;
  --nav-h: 4rem;
}

/* ═══ Reset and base ═══════════════════════════════════════════════ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--gray-900);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  /* Belt and braces against a sideways scroll: no child may widen the page. */
  overflow-x: hidden;
}

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

a {
  color: var(--brand-600);
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--brand-600);
  color: var(--white);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 120ms ease;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ═══ Layout ═══════════════════════════════════════════════════════ */

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.wrap--narrow {
  max-width: var(--page-narrow);
}

.section {
  padding-block: 5rem;
}

.section--tint {
  background: var(--gray-50);
}

.section--brand {
  background: var(--brand-50);
}

@media (min-width: 768px) {
  .section {
    padding-block: 7rem;
  }
}

.section-head {
  text-align: center;
}

.section-head .lede {
  margin-inline: auto;
}

/* ═══ Type ═════════════════════════════════════════════════════════ */

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--gray-900);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 6.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p {
  margin: 0;
}

.accent {
  color: var(--brand-600);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.lede {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--gray-500);
  font-size: 1.0625rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .lede {
    font-size: 1.125rem;
  }
}

/* ═══ Buttons ══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-xl);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease,
    color 140ms ease;
}

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

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

.btn--ghost {
  background: transparent;
  border-color: var(--brand-600);
  color: var(--brand-600);
}

.btn--ghost:hover {
  background: var(--brand-50);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.btn__arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
}

/* ═══ Navigation ═══════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  text-decoration: none;
}

.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--brand-600);
}

/* The wordmark and its full stop are ONE flex item. Left as separate text
 * nodes they became two, and `.brand`'s gap opened a visible space before
 * the dot — measured in the browser, not predicted. */
.brand__dot {
  color: var(--brand-600);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.nav__links a {
  color: inherit;
  text-decoration: none;
  transition: color 140ms ease;
}

.nav__links a:hover {
  color: var(--gray-900);
}

.nav__links .btn {
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-lg);
  font-size: 0.875rem;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--r-lg);
  color: var(--gray-600);
  cursor: pointer;
}

.nav__toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* The mobile sheet. It is a plain <details>-free disclosure driven by one
 * class toggle; with JavaScript off the toggle button is hidden and the
 * links stay reachable from the footer, which is why `nav__sheet` may be
 * display:none unconditionally when scripting is absent. */
.nav__sheet {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.nav__sheet.is-open {
  display: block;
}

/* Measured with the sheet forced open at 390px: without this the CTA sat
 * flush against the nav's bottom border, which read as a clipped button. */
.nav__sheet > .wrap {
  padding-bottom: 1.5rem;
}

.nav__sheet ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1.25rem;
}

/* Scoped to the LIST. Written as `.nav__sheet a` it also hit the CTA and
 * out-specified `.btn`/`.btn--primary`: the button rendered as a block with
 * left-aligned gray-700 text on the blue fill. Caught in a screenshot of
 * the forced-open sheet, not by any test. */
.nav__sheet ul a {
  display: block;
  padding: 0.85rem 0;
  color: var(--gray-700);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}

.nav__sheet .btn {
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .nav__sheet,
  .nav__sheet.is-open {
    display: none;
  }
}

/* ═══ Hero ═════════════════════════════════════════════════════════ */

.hero {
  padding-block: 4.5rem 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 7rem 6rem;
  }
}

.hero .lede {
  margin-inline: auto;
  margin-top: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 560px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero__trust {
  margin-top: 1.5rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.hero__trust strong {
  color: var(--gray-700);
  font-weight: 600;
}

/* ═══ Cards ════════════════════════════════════════════════════════ */

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: var(--r-lg);
  background: var(--brand-50);
  color: var(--brand-600);
}

.icon-tile svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-tile--pain {
  background: var(--red-50);
  color: var(--red-500);
}

/* ═══ Benefits: list beside a panel ════════════════════════════════ */

.split {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
  }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.55;
}

.checklist svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  margin-top: 0.15rem;
  color: var(--brand-600);
}

/* The report panel — a still frame of the real reconciliation view. Every
 * number in it adds up, because a mock-up that does not reconcile would be
 * advertising the exact defect this product exists to remove. */
.panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.panel__title {
  font-weight: 600;
  color: var(--gray-800);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-full);
  background: var(--brand-100);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel__body {
  padding: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 0.75rem;
}

.stat__label {
  display: block;
  color: var(--gray-500);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Fluid, and never allowed to break: at 390px the three columns are ~68px
 * wide and "11 972" wrapped onto two lines, which made the panel look like
 * a bug rather than a report. */
.stat__value {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(0.95rem, 4.2vw, 1.25rem);
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.ledger caption {
  text-align: left;
  color: var(--gray-500);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.ledger td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}

.ledger td:last-child {
  text-align: right;
  color: var(--gray-900);
  font-weight: 600;
}

.ledger tr:last-child td {
  border-bottom: 0;
  border-top: 2px solid var(--gray-200);
  padding-top: 0.6rem;
  color: var(--gray-900);
  font-weight: 700;
}

.swatch {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 2px;
  vertical-align: baseline;
}

/* ═══ Steps ════════════════════════════════════════════════════════ */

.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
  counter-reset: step;
}

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

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

/* Column + `margin-top:auto` on the chip so the four chips sit on one line
 * across the row. Without it each chip followed its own paragraph and the
 * row read as ragged. */
.step {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}

/* The paragraph, not the chip, absorbs the spare height — that keeps the
 * chip's own 0.9rem top margin instead of collapsing it to `auto`'s zero
 * when a card happens to be the tallest in its row. */
.step p {
  flex: 1;
}

.step .rule {
  align-self: flex-start;
}

.step__no {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-600);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ═══ Mechanics (the honest how-it-holds section) ══════════════════ */

.mech {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

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

.mech__item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}

.mech__item p {
  flex: 1;
}

.mech__item .rule {
  align-self: flex-start;
}

.mech__item h3 {
  margin-bottom: 0.5rem;
}

.mech__item p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

.rule {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-md);
  background: var(--gray-100);
  color: var(--gray-700);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* ═══ The "we do not do this" block ════════════════════════════════ */

.honest {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .honest {
    padding: 2.25rem 2.5rem;
  }
}

.honest h3 {
  margin-bottom: 0.75rem;
}

.honest > p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  max-width: 46rem;
}

.honest ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 700px) {
  .honest ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

.honest li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.honest li svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  margin-top: 0.2rem;
  color: var(--gray-500);
}

/* ═══ Pricing ══════════════════════════════════════════════════════ */

.plans {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: 2rem;
}

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

.plan__flag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: var(--r-full);
  background: var(--brand-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan__desc {
  margin-top: 0.35rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

@media (min-width: 900px) {
  .plan__desc {
    min-height: 3rem;
  }
}

.plan__price {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* The price is the one number NOT set in mono. At 1.875rem a monospace
 * thousands space reads as a double space — "10  000" — which looks like a
 * typo on the most-read line of the page. Tabular figures keep the three
 * prices aligned without it. */
.plan__amount {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan__unit {
  margin-left: 0.3rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-900);
}

.plan__cap {
  margin-top: 0.35rem;
  color: var(--brand-600);
  font-size: 0.875rem;
  font-weight: 600;
}

.plan__more {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.plan ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.plan ul.plan__list--tight {
  margin-top: 0;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
}

.plan li svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  margin-top: 0.22rem;
  color: var(--brand-600);
}

.plan .btn {
  margin-top: 2rem;
}

.plans-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9375rem;
}

/* ═══ FAQ ══════════════════════════════════════════════════════════ */

.faq {
  margin-top: 3rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 0 1.5rem;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  border-right: 2px solid var(--gray-400);
  border-bottom: 2px solid var(--gray-400);
  transform: rotate(45deg);
  transition: transform 140ms ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq details p {
  padding-bottom: 1.35rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ═══ Contact ══════════════════════════════════════════════════════ */

.contact {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.contact__aside p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-top: 1rem;
}

.contact__direct {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--brand-200);
  border-radius: var(--r-xl);
  background: var(--white);
}

.contact__direct a {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
}

.form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .form {
    padding: 2rem;
  }
}

.field {
  display: block;
  margin-bottom: 1.1rem;
}

.field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.field__req {
  color: var(--red-500);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--gray-900);
  font: inherit;
  font-size: 0.9375rem;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  outline: 2px solid var(--brand-200);
  outline-offset: 0;
}

.form__note {
  margin-top: 0.9rem;
  color: var(--gray-500);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.form__fallback {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-lg);
  background: var(--brand-50);
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* ═══ Footer ═══════════════════════════════════════════════════════ */

.foot {
  border-top: 1px solid var(--gray-200);
  padding-block: 3rem 2rem;
  background: var(--white);
}

.foot__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .foot__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.foot p,
.foot li {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.foot h2 {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-family: var(--font-mono);
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.foot ul a {
  color: var(--gray-600);
  text-decoration: none;
}

.foot ul a:hover {
  color: var(--gray-900);
}

.foot__brand p {
  margin-top: 0.9rem;
  max-width: 26rem;
}

.foot__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.8125rem;
}

/* ═══ 404 ══════════════════════════════════════════════════════════ */

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding-block: 5rem;
}

.notfound__code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-600);
  margin-bottom: 1rem;
}

.notfound .lede {
  margin-inline: auto;
}

.notfound .btn {
  margin-top: 2.25rem;
}
