/* ==========================================================================
   Connust — marketing site
   Hand-written CSS, no build step, no framework.

   Design brief: trust as instrument, not decoration. The trust-score ring is
   the recurring motif. One accent (teal) against a navy ink on a cool
   off-white ground; the accent is spent on actions and the ring, nowhere else.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Brand colours. The logo itself is assets/brand/connust-mark.svg (teal and
     black since the 2026 logo); these teal and navy tones are the site's own. */
  --teal:        #12B7A2;
  --teal-deep:   #0E9686;
  --teal-tint:   #E7F6F4;
  --on-primary:  #FFFFFF;
  --navy:        #22284F;
  --navy-soft:   #333A6B;

  /* Neutrals biased toward the navy so they read as chosen, not defaulted */
  --ground:      #FCFCFD;
  --surface:     #FFFFFF;
  --surface-alt: #F4F5F8;
  --ink:         #22284F;
  --ink-muted:   #5A6079;
  /* Darkened from #8B90A6, which scored 2.90 against --surface-alt and 3.16
     against white — both under the 4.5 AA minimum. It carries small print that
     is still real text: the footer copyright, eyebrow labels and card meta.
     This value reaches 4.60 on --surface-alt and 5.02 on white. */
  --ink-faint:   #696E88;
  --line:        #E4E6EE;

  /* Trust tiers — the same three the app uses (spec §9) */
  --tier-high:   #16A34A;
  --tier-mid:    #CA8A04;
  --tier-new:    #DC2626;

  --focus:       #12B7A2;

  /* Fluid type scale */
  --t-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --t-sm:   clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --t-base: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --t-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --t-xl:   clamp(1.375rem, 1.2rem + 0.85vw, 1.75rem);
  --t-2xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --t-3xl:  clamp(2.125rem, 1.5rem + 2.9vw, 3.75rem);

  /* Spacing */
  --gap:      clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --pad-x:    clamp(1.125rem, 0.6rem + 2.5vw, 3rem);
  --pad-y:    clamp(3rem, 2rem + 5vw, 6.5rem);
  --measure:  68ch;
  --shell:    1180px;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(34, 40, 79, 0.05),
               0 2px 8px rgba(34, 40, 79, 0.04);
  --shadow-md: 0 2px 4px rgba(34, 40, 79, 0.05),
               0 10px 30px rgba(34, 40, 79, 0.07);
  --shadow-lg: 0 4px 8px rgba(34, 40, 79, 0.06),
               0 24px 60px rgba(34, 40, 79, 0.11);

  --font-display: 'Manrope', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;
}

/* Dark is defined token-level only, so every component follows automatically. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:      #14172B;
    --surface:     #1B1F38;
    --surface-alt: #232845;
    --ink:         #EEF0F7;
    --ink-muted:   #A9AEC6;
    /* Same fix in the other direction: #7B819C scored 3.74 against
       --surface-alt. Lightened to reach 4.55 there and 5.12 on --surface. */
    --ink-faint:   #8B90A8;
    --line:        #2E3352;
    --navy:        #EEF0F7;
    --teal-tint:   #16302F;
    /* teal-deep is the darker teal for text on a light ground. On the dark
       ground it inverts: #0E9686 scores 4.41 against --surface, under the 4.5
       AA minimum, so eyebrows and in-card links were failing wherever the dark
       theme was active. The brighter brand teal reaches 6.4 and 5.7. */
    --teal-deep:   #12B7A2;
    /* --teal-deep is both a foreground (links, eyebrows) and a background
       (.btn--primary). Brightening it for legible text makes white button
       text worse, so on the dark theme the primary button takes dark text on
       the bright teal instead. */
    --on-primary:  #10132A;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.32), 0 24px 60px rgba(0, 0, 0, 0.4);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--t-3xl); font-weight: 800; }
h2 { font-size: var(--t-2xl); font-weight: 800; }
h3 { font-size: var(--t-xl);  font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: var(--t-lg);  font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; max-width: var(--measure); text-wrap: pretty; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; height: auto; }
strong { font-weight: 650; color: var(--ink); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- Layout ------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--pad-y); }
.section--alt { background: var(--surface-alt); }
.section__lead { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__lead p { color: var(--ink-muted); font-size: var(--t-lg); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.9rem;
}

/* --- Header ------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem 1rem; min-height: 66px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
/* The mark's second circle is black, which disappears on a dark page. Swap to
   the white version wherever the page is dark: the dark theme. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img { content: url("../brand/connust-mark-white.svg"); }
}
.brand__word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.03em; color: var(--ink);
}
/* On narrow screens the nav drops to its own full-width strip below the brand
   and scrolls sideways. Hiding it behind a hamburger would need JavaScript, and
   hiding it outright would leave a phone user with no way out of this page —
   the footer links alone are not navigation. */
.nav {
  display: flex; align-items: center; gap: 1.35rem;
  order: 3; width: 100%;
  overflow-x: auto; overscroll-behavior-x: contain;
  border-top: 1px solid var(--line);
  scrollbar-width: none; -ms-overflow-style: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; white-space: nowrap;
  font-size: var(--t-sm); font-weight: 550; color: var(--ink-muted);
  text-decoration: none;
}
/* Into the web app. Beside the brand on phones (the nav wraps below both), at
   the end of the row on desktop. */
.masthead__cta { min-height: 40px; padding: 0.5rem 1.1rem; margin-block: 0.65rem; }
@media (min-width: 900px) { .masthead__cta { order: 1; margin-block: 0; } }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }

@media (min-width: 900px) {
  .nav {
    order: 0; width: auto; gap: 1.75rem;
    overflow: visible; border-top: 0;
  }
  .nav a { min-height: 0; padding: 0.5rem 0; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 46px; padding: 0.7rem 1.35rem;
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-deep); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal); color: var(--on-primary); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-faint); color: var(--ink); }
.btn--lg { min-height: 54px; padding: 0.9rem 1.8rem; font-size: var(--t-base); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 5vw, 6rem);
  overflow: hidden;
}
/* Dot grid gives the hero depth without reaching for a gradient. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px,
                    color-mix(in srgb, var(--navy) 14%, transparent) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 85% at 78% 8%, #000 5%, transparent 68%);
  -webkit-mask-image: radial-gradient(120% 85% at 78% 8%, #000 5%, transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
}
.hero h1 { margin-bottom: 0.45em; }
.hero__sub {
  font-size: var(--t-lg); color: var(--ink-muted);
  max-width: 46ch; margin-bottom: 1.9rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.4rem; }
.hero__note { font-size: var(--t-sm); color: var(--ink-faint); margin: 0; }

/* Staggered load. One orchestrated moment beats scattered micro-animations. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.rise:nth-child(1) { animation-delay: 0.02s; }
.rise:nth-child(2) { animation-delay: 0.09s; }
.rise:nth-child(3) { animation-delay: 0.16s; }
.rise:nth-child(4) { animation-delay: 0.23s; }
.rise:nth-child(5) { animation-delay: 0.30s; }

/* --- Trust ring (the motif) --------------------------------------------- */
.ring { display: grid; place-items: center; position: relative; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring__track { stroke: var(--line); }
.ring__value { stroke: var(--tier-high); stroke-linecap: round; }
.ring__label {
  position: absolute; display: grid; place-items: center; text-align: center; line-height: 1.05;
}
.ring__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.ring__cap {
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}

/* --- Phone illustration -------------------------------------------------- */
.phone {
  width: min(300px, 84vw);
  margin-inline: auto;
  border: 9px solid var(--navy);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 0.8rem 1.1rem;
  position: relative;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { border-color: #3A4070; }
}
.phone::before {
  content: ""; position: absolute; top: 0.45rem; left: 50%; transform: translateX(-50%);
  width: 78px; height: 5px; border-radius: 99px;
  background: color-mix(in srgb, var(--ink-faint) 45%, transparent);
}
.phone__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; margin: 0.9rem 0 0.85rem;
}
.phone__title {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  letter-spacing: -0.02em;
}
.listing {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface);
}
.listing__img {
  height: 92px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--teal) 22%, var(--surface-alt)) 0%,
      var(--surface-alt) 60%);
  display: grid; place-items: center;
}
.listing__img span {
  font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
.listing__body { padding: 0.65rem 0.7rem 0.75rem; }
.listing__name {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: -0.01em; margin: 0 0 0.15rem;
}
.listing__price {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem;
  color: var(--teal-deep); font-variant-numeric: tabular-nums; margin: 0 0 0.5rem;
}
.listing__seller {
  display: flex; align-items: center; gap: 0.4rem;
  padding-top: 0.5rem; border-top: 1px solid var(--line);
}
.avatar {
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--navy-soft); color: #fff;
  display: grid; place-items: center;
  font-size: 0.5625rem; font-weight: 700; font-family: var(--font-display);
  flex-shrink: 0;
}
.listing__sname { font-size: 0.6875rem; color: var(--ink-muted); }

.chip {
  display: inline-flex; align-items: center; gap: 0.28rem;
  padding: 0.14rem 0.45rem; border-radius: 99px;
  font-size: 0.625rem; font-weight: 700; line-height: 1.5;
  font-family: var(--font-display); letter-spacing: 0.01em;
  white-space: nowrap;
}
.chip--verified { background: var(--teal-tint); color: var(--teal-deep); }
.chip--live     { background: color-mix(in srgb, var(--tier-mid) 15%, transparent); color: #8A5F00; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chip--live { color: #E8B640; }
}
.chip__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* --- Cards -------------------------------------------------------------- */
.grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-muted); font-size: var(--t-sm); margin-bottom: 0; }
.card__icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center; margin-bottom: 1.05rem;
}
.card__icon svg { width: 20px; height: 20px; }

/* --- Tier ladder --------------------------------------------------------- */
.tiers { display: grid; gap: var(--gap); }
@media (min-width: 820px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--tier);
}
.tier--1 { --tier: var(--tier-new); }
.tier--2 { --tier: var(--tier-mid); }
.tier--3 { --tier: var(--tier-high); }
.tier__badge {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  padding: 0.28rem 0.65rem; border-radius: 99px;
  background: color-mix(in srgb, var(--tier) 13%, transparent);
  color: var(--tier);
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-xs);
}
.tier h3 { margin: 0; font-size: var(--t-lg); }
.tier p { color: var(--ink-muted); font-size: var(--t-sm); margin: 0; }
.tier ul { margin: 0; padding-left: 1.05rem; color: var(--ink-muted); font-size: var(--t-sm); }
.tier li { margin-bottom: 0.3rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tier--1 { --tier: #F87171; }
  :root:not([data-theme="light"]) .tier--2 { --tier: #E8B640; }
  :root:not([data-theme="light"]) .tier--3 { --tier: #4ADE80; }
}

/* --- Numbered steps ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__n {
  counter-increment: step; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--navy); color: var(--ground);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--t-base); margin-bottom: 0.25em; }
.step p { font-size: var(--t-sm); color: var(--ink-muted); margin: 0; }

/* --- Category strip ------------------------------------------------------ */
.cats { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cats span {
  padding: 0.5rem 0.95rem; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: var(--t-sm); color: var(--ink-muted); font-weight: 500;
}

/* --- Callout ------------------------------------------------------------- */
.callout {
  background: var(--navy); color: #EEF0F7;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 860px) { .callout { grid-template-columns: 1.4fr auto; } }
.callout h2 { color: #fff; margin-bottom: 0.35em; }
.callout p { color: #B9BEDA; margin: 0; max-width: 50ch; }
.callout .btn--primary { background: var(--teal); }
.callout .btn--primary:hover { background: #17CFB7; }
.callout .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.callout .btn--ghost:hover { border-color: #fff; color: #fff; }
.callout__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- Prose (privacy / long form) ----------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  font-size: var(--t-xl); margin-top: 2.4em; margin-bottom: 0.5em;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 1.4em; }
.prose h3 { font-size: var(--t-base); margin-top: 1.7em; margin-bottom: 0.4em; }
.prose p, .prose li { color: var(--ink-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.45rem; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.5em;
  font-size: var(--t-sm);
}
.prose th, .prose td {
  text-align: left; padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.prose th {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  background: var(--surface-alt);
}
.prose td { color: var(--ink-muted); }
.table-wrap { overflow-x: auto; }

.updated {
  display: inline-block; font-size: var(--t-sm); color: var(--ink-faint);
  padding: 0.35rem 0.75rem; border: 1px solid var(--line);
  border-radius: 99px; margin-bottom: 1.5rem;
}

/* Anything the site owner still has to fill in is impossible to miss. */
.todo {
  background: #FFF4D6; color: #7A5600;
  border-bottom: 2px dotted #C79400;
  padding: 0 0.3em; border-radius: 3px; font-weight: 600;
  font-family: var(--font-body);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .todo { background: #4A3A0B; color: #F5D98A; }
}

/* --- Contact form -------------------------------------------------------- */
.contact { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.contact__form {
  display: grid; gap: 1.15rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: clamp(1.15rem, 0.8rem + 1.6vw, 2rem);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: var(--t-sm); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem;
  font: inherit; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--teal);
}
.field [aria-invalid="true"] { border-color: var(--tier-new); }
.field__hint { font-size: var(--t-xs); color: var(--ink-faint); margin: 0; }
/* Off-screen rather than display:none, which some bots skip. */
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__form .btn { justify-self: start; }
.contact__form .btn[disabled] { opacity: 0.6; cursor: progress; }
.contact__status { margin: 0; font-size: var(--t-sm); font-weight: 600; }
.contact__status:empty { display: none; }
.contact__status--ok { color: var(--tier-high); }
.contact__status--error { color: var(--tier-new); }
.contact__aside h2 { font-size: var(--t-lg); margin-bottom: 0.9rem; }
.contact__aside p { color: var(--ink-muted); margin-bottom: 1rem; }
.contact__aside strong { color: var(--ink); }

/* --- Footer -------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
  padding-block: clamp(2.5rem, 4vw, 4rem) 2rem;
}
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.25rem;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer p { color: var(--ink-muted); font-size: var(--t-sm); max-width: 38ch; }
.footer h4 {
  font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 0.9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer li a {
  color: var(--ink-muted); text-decoration: none; font-size: var(--t-sm);
  display: inline-block; min-height: 24px;
}
.footer li a:hover { color: var(--teal-deep); text-decoration: underline; }
.footer__base {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: space-between; align-items: center;
}
.footer__base p { margin: 0; font-size: var(--t-xs); color: var(--ink-faint); }
