/* ==========================================================================
   FoundMySite
   A single stylesheet. Organised top-down:
   tokens → reset → primitives → layout → sections → responsive → motion
   ========================================================================== */

/* ---------------------------------------------------------------- tokens - */
:root {
  --bg:          #ffffff;
  --bg-tint:     #f5f5f7;
  --bg-raised:   #ffffff;

  --ink:         #1d1d1f;
  --ink-2:       #4b4b50;
  /* 5.1:1 on white. The lighter #86868b this replaced measured 3.6:1, which
     fails WCAG AA (4.5:1) — and this token carries real content: hero points,
     tier timings, contact facts, footer links. */
  --ink-3:       #6e6e73;

  --accent:      #0071e3;
  --accent-hi:   #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);

  --line:        rgba(0, 0, 0, 0.09);
  --line-soft:   rgba(0, 0, 0, 0.055);

  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 980px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04),
               0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05),
               0 12px 32px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06),
               0 28px 64px rgba(0, 0, 0, 0.10);

  --wrap: 1120px;
  --nav-h: 56px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 200;
  transform: translate(-50%, -180%);
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ------------------------------------------------------------- primitives - */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: none;
}

.btn {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.28s var(--ease),
              background-color 0.22s ease,
              box-shadow 0.28s var(--ease),
              opacity 0.2s ease;
}
.btn:hover  { transform: translateY(-1px) scale(1.015); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 0.08s; }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-ink: #fff;
  box-shadow: 0 1px 2px rgba(0, 113, 227, 0.24),
              0 8px 22px rgba(0, 113, 227, 0.20);
}
.btn--primary:hover {
  --btn-bg: var(--accent-hi);
  box-shadow: 0 2px 4px rgba(0, 113, 227, 0.26),
              0 14px 34px rgba(0, 113, 227, 0.26);
}

.btn--ghost {
  --btn-bg: rgba(0, 0, 0, 0.045);
  --btn-ink: var(--ink);
}
.btn--ghost:hover { --btn-bg: rgba(0, 0, 0, 0.075); }

.btn--sm  { padding: 7px 16px; font-size: 14px; }
.btn--lg  { padding: 14px 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

.btn__spinner { display: none; }

/* ------------------------------------------------------------------- nav - */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.86);
}

.nav__inner {
  max-width: var(--wrap);
  height: var(--nav-h);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.nav__mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: linear-gradient(145deg, #2b93ff, var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.32);
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 9px;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  inset: var(--nav-h) 0 auto 0;
  padding: 8px 24px 22px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  padding: 13px 2px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-soft);
}
.nav__mobile a:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------ hero - */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  z-index: -1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.orb--a {
  width: 460px; height: 460px;
  top: 6%; left: 4%;
  background: radial-gradient(circle at 35% 35%, #7db9ff, rgba(125, 185, 255, 0));
  animation: drift 22s var(--ease-soft) infinite alternate;
}
.orb--b {
  width: 520px; height: 520px;
  top: 0; right: 2%;
  background: radial-gradient(circle at 60% 40%, #c9b6ff, rgba(201, 182, 255, 0));
  animation: drift 27s var(--ease-soft) infinite alternate-reverse;
}
.orb--c {
  width: 380px; height: 380px;
  top: 42%; left: 42%;
  background: radial-gradient(circle at 50% 50%, #a8f0e2, rgba(168, 240, 226, 0));
  animation: drift 19s var(--ease-soft) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -30px, 0) scale(1.12); }
}

.hero__inner { text-align: center; }

.hero__title {
  margin-top: 18px;
  font-size: clamp(44px, 8.2vw, 92px);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; }
/* Used by the hero headline and the about panel's name, so it is not scoped to
   either — anything with .grad gets the brand gradient through its text. */
.grad {
  background: linear-gradient(96deg, #0071e3 0%, #7b5cff 52%, #00b4a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.015em;
}

.hero__cta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__points {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--ink-3);
}
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------- marquee - */
.marquee {
  margin-top: 68px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 26px;
  width: max-content;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* -------------------------------------------------------------- sections - */
.section { padding: clamp(80px, 11vw, 132px) 0; }
.section--tint { background: var(--bg-tint); }
/* Sections normally alternate background, so the two paddings that meet at a
   boundary read as one deliberate gap. Where a section follows another of the
   same colour, they instead sum into an unexplained void — this drops the top
   half and lets the previous section's padding do the whole job. */
.section--flush-top { padding-top: 0; }

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section__title {
  margin-top: 14px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.04em;
}
.section__sub {
  margin-top: 18px;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

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

.card {
  padding: 34px 30px 32px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  /* Column flex so .card__more can be pushed to the bottom edge with
     margin-top:auto, keeping the three links on one line across the row. */
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card--accent { border-color: rgba(0, 113, 227, 0.22); }

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}
.card__icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 22px; letter-spacing: -0.028em; }
.card > p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.card__list {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-2);
}
.card__list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 8px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* Link through to the service's own page. margin-top:auto pins it to the
   bottom of the card so the three line up despite unequal list lengths. */
.card__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.card__more span {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.card__more:hover span { transform: translateX(3px); }

/* ---------------------------------------------------------------- steps - */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
}
.step {
  display: flex;
  gap: 20px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step__num {
  flex: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 20px; letter-spacing: -0.026em; }
.step p {
  margin-top: 9px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- tiers - */
.pricing-banner {
  max-width: 600px;
  margin: 0 auto clamp(34px, 4.5vw, 48px);
  padding: 14px 26px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  text-wrap: balance;
}
.pricing-banner strong { font-weight: 600; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch; /* equal heights, so the CTAs line up along the bottom */
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tier--featured {
  border-color: rgba(0, 113, 227, 0.28);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 113, 227, 0.08);
}

/* Taken out of flow so the featured card's title still lines up with its
   neighbours' titles. */
.tier__badge {
  position: absolute;
  top: 30px;
  right: 26px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.tier__name { font-size: 20px; letter-spacing: -0.026em; }

.tier__price {
  margin-top: 12px;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tier__from {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.tier__meta {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-3);
}

.tier__desc {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.tier__list {
  margin: 22px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-2);
}
.tier__list li { position: relative; padding-left: 24px; line-height: 1.45; }
.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 8px;
  border-left: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.tier__list + .btn { margin-top: auto; }

.tiers__note {
  max-width: 620px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.tiers__note strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- about - */
/* An elevated panel rather than a photo sitting next to text: the same card
   vocabulary as the rest of the page, one size up. */
.about {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(168deg, #fff 40%, rgba(0, 113, 227, 0.045));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.about__media {
  position: relative;
  flex: none;
  width: 176px;
  height: 176px;
}
/* Same soft colour bloom as the hero orbs, scaled down and parked behind the
   photo so the panel doesn't read as a flat rectangle. */
.about__halo {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(0, 113, 227, 0.30), rgba(123, 92, 255, 0.16) 55%, transparent 72%);
  filter: blur(20px);
}
.about__photo {
  position: relative;
  width: 176px;
  height: 176px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--r-lg);
  background: var(--bg-tint);
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
}
/* The brand mark as a badge, overlapping the corner. */
.about__badge {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #2b93ff, var(--accent));
  border: 3px solid #fff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 1px;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.34);
}

.about__title {
  margin-top: 8px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.08;
}
.about__lede {
  margin-top: 16px;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.about__body > p:not(.about__lede) {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.about__chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.about__chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* -------------------------------------------------------------- contact - */
.section--contact {
  background: var(--bg-tint);
  border-top: 1px solid var(--line-soft);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact__intro { padding-top: 6px; }
.contact__intro .section__title,
.contact__intro .section__sub { text-align: left; }
.contact__intro .section__sub { margin-inline: 0; }

.contact__facts {
  margin-top: 34px;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.contact__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}
.contact__facts strong { font-weight: 600; }
.contact__facts span { color: var(--ink-3); text-align: right; }

/* Global a{color:inherit} means links need opting back in to look tappable.
   The phone number is the one place on the page where that matters. */
.link { color: var(--accent); }
.link:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- form - */
.form {
  display: grid;
  gap: 18px;
  padding: 32px 30px 30px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.field { display: grid; gap: 8px; }
.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.field input,
.field textarea,
.select select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.5; }

.field input::placeholder,
.field textarea::placeholder { color: #a9a9ae; }

.field input:focus,
.field textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d7373f;
  box-shadow: 0 0 0 4px rgba(215, 55, 63, 0.09);
}

.field__error {
  min-height: 0;
  font-size: 13px;
  color: #d7373f;
}
.field__error:empty { display: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.select { position: relative; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}
.select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--ink-3);
  border-bottom: 1.6px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status {
  font-size: 14.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-2);
}
.form__status:empty { display: none; }
.form__status.is-ok    { color: #1a7f45; }
.form__status.is-error { color: #d7373f; }

.form.is-sending .btn__label { opacity: 0.45; }
.form.is-sending button[type="submit"] { pointer-events: none; }
.form.is-sending .btn__spinner {
  display: block;
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- footer - */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer__links a { transition: color 0.2s ease; }
.footer__links a:hover { color: var(--ink); }
.footer__copy {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* -------------------------------------------------------- reveal on scroll */
/* Scoped to .js so the page is fully visible if JavaScript never runs. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ responsive - */
@media (max-width: 980px) {
  .cards, .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro .section__title { font-size: clamp(30px, 6vw, 42px); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  /* Photo above the text, centred, and smaller — it is an introduction, not
     the point of the section. */
  .about { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 560px; }
  .about__media, .about__photo { width: 132px; height: 132px; }
  .about__badge { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
  .about__chips { justify-content: center; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero__points { gap: 8px 20px; font-size: 13.5px; }
  .form { padding: 26px 22px 24px; }
  .footer__copy { margin-left: 0; width: 100%; }
}

@media (max-width: 460px) {
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .wrap { padding-inline: 20px; }
  .nav__inner { padding-inline: 20px; }
}

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

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .tier:hover, .step:hover, .btn:hover { transform: none; }
}
