/* ==========================================================================
   Wi — Marketing site design system
   Brand: white/soft-gray surfaces, ink black, forest green #1C572C,
   logo orange #FC9729, lime #9FE870 on deep forest #163300.
   Type: Poppins (body) + Pacifico (display accents).
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --text: #1a1a1a;
  --text-2: #666666;
  --muted: #999999;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --chip: #f2f3f5;
  --green: #1c572c;
  --green-dark: #154221;
  --forest: #163300;
  --lime: #9fe870;
  --orange: #fc9729;
  --error: #ff3b30;
  --error-text: #c0271e;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 24px 48px -20px rgba(10, 10, 10, 0.22);
  --shadow-card: 0 16px 40px -24px rgba(10, 10, 10, 0.28);
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Pacifico", cursive;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ------------------------------------------------------------------ type */

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

.display {
  font-size: clamp(44px, 7.6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }

.script-accent {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--green);
  letter-spacing: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}

.lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 640px; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }
.section-head.centered .lead { margin-left: auto; margin-right: auto; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(0); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }

.btn-lime { background: var(--lime); color: var(--forest); }

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

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { border-color: #fff; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(28, 87, 44, 0.45);
  outline-offset: 2px;
}

.showcase-band :focus-visible,
.trio-card.dark :focus-visible,
.trio-card.green :focus-visible,
.safety-band :focus-visible,
.provider-inner :focus-visible,
.footer :focus-visible {
  outline-color: var(--lime);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 40px; width: 40px; display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: 8px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--green); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { height: 44px; padding: 0 22px; font-size: 14.5px; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 28px;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-2);
}
.nav-mobile .btn { width: 100%; margin-top: 18px; }

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

.hero {
  padding: calc(var(--nav-h) + 72px) 0 64px;
  text-align: center;
}

.hero .eyebrow { color: rgba(0, 0, 0, 0.5); }

.hero .display { max-width: 900px; margin: 0 auto; }

.hero .display .script-accent { font-size: 0.92em; }

.hero .lead { margin: 26px auto 0; font-size: clamp(14.5px, 1.5vw, 16px); max-width: 560px; }

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 10px 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--green); flex: none; }

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

.hero-showcase {
  margin: 72px auto 0;
  max-width: 1200px;
  padding: 0 24px;
}

.showcase-band {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--forest) 0%, var(--green) 58%, #2e7d45 100%);
  padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.showcase-band::after {
  content: "";
  position: absolute;
  top: -40%; right: -18%;
  width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(159, 232, 112, 0.22), transparent 70%);
  pointer-events: none;
}

.showcase-copy { position: relative; z-index: 2; max-width: 460px; color: #fff; }

.showcase-copy h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; }

.showcase-copy .script-accent { color: var(--lime); }

.showcase-copy p { margin-top: 14px; color: rgba(255, 255, 255, 0.82); font-size: 16px; }

.showcase-copy .btn { margin-top: 28px; }

.showcase-cards {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: center;
}

.showcase-cards img {
  border-radius: 18px;
  box-shadow: 0 32px 60px -24px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
}

.showcase-cards img:nth-child(1) { transform: rotate(-2.2deg) translateY(10px); }
.showcase-cards img:nth-child(2) { transform: translateY(-12px) scale(1.04); }
.showcase-cards img:nth-child(3) { transform: rotate(2.2deg) translateY(10px); }

.showcase-cards img:hover { transform: translateY(-6px) scale(1.05); }

/* ------------------------------------------------------------- trio cards */

.trio {
  padding: 96px 0 40px;
}

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

.trio-card {
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.trio-card h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.trio-card p { font-size: 15px; color: var(--text-2); }

.trio-card .btn { margin-top: auto; align-self: flex-start; }

.trio-card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.trio-card.dark p { color: rgba(255, 255, 255, 0.72); }

.trio-card.green { background: var(--forest); border-color: var(--forest); color: #fff; }
.trio-card.green h3 { color: var(--lime); }
.trio-card.green p { color: rgba(255, 255, 255, 0.78); }

.trio-card .card-media {
  border-radius: 14px;
  overflow: hidden;
  margin: 22px 0 6px;
}

.trio-app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------- services */

.services { padding: 96px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(28, 87, 44, 0.35);
}

.service-emoji {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.service-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

.services-note {
  margin-top: 34px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-2);
}
.services-note a { color: var(--green); font-weight: 600; }

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

.how { padding: 96px 0; background: var(--bg-2); border-radius: var(--radius-lg); margin: 0 16px; }

.how .container { max-width: 1160px; }

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.step {
  flex: 1 1 250px;
  max-width: 330px;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
}

.step-num {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }

/* ---------------------------------------------------------------- safety */

.safety { padding: 96px 16px; }

.safety-band {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px);
  color: #fff;
}

.safety-band .eyebrow { color: var(--lime); }

.safety-band .h2 { color: #fff; }

.safety-band .lead { color: rgba(255, 255, 255, 0.68); }

.safety-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}

.safety-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.safety-item p { font-size: 14px; color: rgba(255, 255, 255, 0.66); }

.safety-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(159, 232, 112, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

/* -------------------------------------------------------------- carousel */

.gallery { padding: 40px 0 96px; }

.gallery-track {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 40px) 28px;
}

.gallery-track img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------- provider band */

.provider-band { padding: 24px 16px 96px; }

.provider-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(140deg, var(--forest), var(--green-dark) 70%);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.provider-inner::before {
  content: "";
  position: absolute;
  bottom: -55%; left: -12%;
  width: 55%; height: 130%;
  background: radial-gradient(closest-side, rgba(159, 232, 112, 0.16), transparent 70%);
  pointer-events: none;
}

.provider-inner .eyebrow { color: var(--lime); }

.provider-inner .h2 { color: #fff; max-width: 760px; margin: 0 auto; }

.provider-inner .h2 .script-accent { color: var(--lime); }

.provider-inner .lead {
  color: rgba(255, 255, 255, 0.75);
  margin: 20px auto 0;
}

.provider-stats {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  margin: 48px 0 44px;
  flex-wrap: wrap;
}

.pstat { text-align: center; }

.pstat .num {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lime);
  line-height: 1.1;
}

.pstat .cap { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }

/* -------------------------------------------------------------- download */

.download { padding: 40px 0 110px; text-align: center; }

.download-icon {
  width: 84px; height: 84px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-soft);
}

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

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 10px 22px 10px 16px;
  min-height: 60px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.badge-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.badge-btn svg { flex: none; }

.badge-btn .badge-text { text-align: left; line-height: 1.25; }
.badge-btn .badge-text small { display: block; font-size: 11px; font-weight: 400; opacity: 0.75; }
.badge-btn .badge-text strong { font-size: 16.5px; font-weight: 600; }

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

.footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 40px;
}

.footer-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-news-copy h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-news-copy p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  max-width: 440px;
}

.news-form { flex: 1 1 340px; max-width: 460px; }

.news-input-wrap { display: flex; gap: 10px; }

.news-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.news-input-wrap input::placeholder { color: rgba(255, 255, 255, 0.45); }

.news-input-wrap input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
}

.news-form .btn { height: 54px; flex: none; }

.news-msg { font-size: 13px; margin-top: 12px; min-height: 17px; }
.news-msg.ok { color: var(--lime); }
.news-msg.err { color: #ff8a80; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }

.footer-brand img.footer-badge {
  height: 52px;
  width: 52px;
  border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.6); max-width: 280px; }

.footer h3 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 12px; }

.footer ul a { font-size: 14.5px; color: rgba(255, 255, 255, 0.82); transition: color 0.15s ease; }
.footer ul a:hover { color: var(--lime); }

.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================================== provider page ===== */

.p-hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  text-align: center;
}

.p-hero .display { font-size: clamp(40px, 6.4vw, 76px); max-width: 860px; margin: 0 auto; }

.benefits { padding: 24px 0 96px; }

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

.benefit {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(28, 87, 44, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--text-2); }

.requirements {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  margin: 0 16px;
  padding: 80px 0;
}

.req-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px;
}

.req-card ul { list-style: none; margin-top: 8px; }

.req-card li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--bg-2);
  font-size: 15px;
}

.req-card li:last-child { border-bottom: none; }

.req-card li svg { color: var(--green); flex: none; margin-top: 4px; }

.req-card li small { display: block; color: var(--text-2); font-size: 13.5px; }

/* ---- registration form ---- */

.register { padding: 96px 0; }

.form-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 52px);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field label span.opt { color: var(--text-2); font-weight: 400; }

fieldset.field { border: none; padding: 0; margin-inline: 0; min-width: 0; }

.field legend {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  background: #fff;
  outline: none;
}

.field input.invalid, .field select.invalid { border-color: var(--error); }

.err { display: none; color: var(--error-text); font-size: 12.5px; margin-top: 6px; }
.err.show { display: block; }

.cat-hint { font-size: 13px; color: var(--text-2); margin: -4px 0 14px; }

/* ---- category cards ---- */

.cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: #d2d2d2; }
.cat-card:focus-visible { outline: 3px solid rgba(28, 87, 44, 0.45); outline-offset: 2px; }
.cat-card.picked { border-color: var(--forest); box-shadow: 0 0 0 1.5px var(--forest); }

.cat-card-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--chip);
  overflow: hidden;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cat-card:hover .cat-card-img img { transform: scale(1.06); }

.cat-card-tick {
  position: absolute;
  top: 8px; right: 8px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: var(--lime);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-card-tick svg { width: 15px; height: 15px; }
.cat-card.picked .cat-card-tick { opacity: 1; transform: scale(1); }

.cat-card-body { padding: 11px 13px 13px; }
.cat-card-name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.cat-card-meta { display: block; font-size: 12px; color: var(--text-2); margin-top: 3px; }
.cat-card.picked .cat-card-meta { color: var(--green); font-weight: 600; }

.cat-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-2);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.cat-summary b { color: var(--ink); }

/* ---- service picker modal ---- */

body.modal-open { overflow: hidden; }

.svc-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.svc-modal[hidden] { display: none; }

.svc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(3px);
  animation: svcFade 0.2s ease both;
}

.svc-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  animation: svcPop 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes svcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes svcPop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.svc-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.svc-thumb { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; background: var(--chip); }
.svc-headtext { flex: 1; min-width: 0; }
.svc-headtext h3 { font-size: 17px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.svc-headtext p { font-size: 12.5px; color: var(--text-2); margin: 2px 0 0; }

.svc-close {
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: none;
  background: var(--chip);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.svc-close:hover { background: #e4e6e9; }

.svc-tools { display: flex; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }

.svc-tools input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  font: inherit;
  font-size: 14px;
}

.svc-tools input:focus { outline: none; border-color: var(--forest); background: #fff; }

.svc-all {
  flex: none;
  padding: 0 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.svc-all:hover { border-color: var(--forest); background: var(--bg-2); }

.svc-body { flex: 1; overflow-y: auto; padding: 8px 18px 18px; overscroll-behavior: contain; }
.svc-empty { font-size: 14px; color: var(--text-2); padding: 24px 0; text-align: center; }

.svc-group + .svc-group { margin-top: 6px; }

.svc-group-title {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 14px 0 7px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin: 4px 0;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.14s ease;
}

.svc-row:hover { background: var(--bg-2); }
.svc-row.on { background: rgba(28, 87, 44, 0.07); }
.svc-row input { position: absolute; opacity: 0; width: 0; height: 0; }

.svc-box {
  flex: none;
  width: 21px; height: 21px;
  border-radius: 7px;
  border: 1.8px solid #cfcfcf;
  background: #fff;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.svc-box svg { width: 13px; height: 13px; }
.svc-row.on .svc-box { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.svc-row input:focus-visible + .svc-box { outline: 3px solid rgba(28, 87, 44, 0.45); outline-offset: 2px; }

.svc-name { font-size: 14px; line-height: 1.4; }

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.svc-clear {
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  padding: 8px 2px;
}

.svc-clear:hover { color: var(--error-text); }
.svc-done { padding: 12px 30px; font-size: 14px; }

@media (max-width: 560px) {
  .cat-cards { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 11px; }
  .svc-modal { padding: 0; }
  .svc-panel { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .svc-tools { flex-wrap: wrap; }
  .svc-all { width: 100%; padding: 11px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .cat-card, .cat-card-img img, .cat-card-tick { transition: none; }
  .cat-card:hover { transform: none; }
  .svc-panel, .svc-backdrop { animation: none; }
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-2);
  margin: 26px 0;
}

.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }

.consent a { color: var(--green); font-weight: 600; }

.form-card .btn { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.form-error {
  display: none;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.35);
  color: var(--error-text);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 20px;
}
.form-error.show { display: block; }

.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.show { display: block; }

.success-check {
  width: 76px; height: 76px;
  border-radius: 999px;
  background: rgba(28, 87, 44, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.form-success p { color: var(--text-2); font-size: 15px; max-width: 480px; margin: 0 auto; }

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

.faq { padding: 0 0 110px; }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-2);
  transition: transform 0.2s ease;
  flex: none;
}

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

.faq-item .faq-body { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-2); }

/* -------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }

.reveal-left { transform: translate3d(-46px, 0, 0); }
.reveal-right { transform: translate3d(46px, 0, 0); }
.reveal-scale { transform: scale(0.9); filter: blur(6px); }
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible { transform: none; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .trio-grid { grid-template-columns: 1fr; }
  .trio-card { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .showcase-cards { grid-template-columns: 1fr; gap: 16px; }
  .showcase-cards img { transform: none !important; }
  .showcase-copy { max-width: none; }
  .gallery-track { grid-template-columns: 1fr; gap: 16px; max-width: 560px; }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .how, .requirements { margin: 0 8px; }
  .safety { padding: 72px 8px; }
  .provider-band { padding: 16px 8px 72px; }
  .news-form { flex-basis: 100%; max-width: none; }
  .news-input-wrap { flex-wrap: wrap; }
  .news-input-wrap input { flex-basis: 100%; }
  .news-form .btn { width: 100%; }
}

/* ==========================================================================
   Premium motion layer — entrances, micro-interactions, ambient life.
   Transform/opacity/filter only. Fully disabled under prefers-reduced-motion
   (see the final block in this file).
   ========================================================================== */

/* ---- scroll progress bar (element injected by main.js) ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--lime) 60%, var(--orange));
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}

/* ---- hero load cascade ---- */
@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 32px, 0); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero > .container > *,
.p-hero > .container > * {
  opacity: 0;
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero > .container > *:nth-child(1),
.p-hero > .container > *:nth-child(1) { animation-delay: 0.10s; }
.hero > .container > *:nth-child(2),
.p-hero > .container > *:nth-child(2) { animation-delay: 0.20s; }
.hero > .container > *:nth-child(3),
.p-hero > .container > *:nth-child(3) { animation-delay: 0.32s; }
.hero > .container > *:nth-child(4),
.p-hero > .container > *:nth-child(4) { animation-delay: 0.44s; }
.hero > .container > *:nth-child(5),
.p-hero > .container > *:nth-child(5) { animation-delay: 0.54s; }

/* signature: the cursive accent springs in */
@keyframes scriptPop {
  0%   { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.82) rotate(-3deg); }
  60%  { opacity: 1; transform: translate3d(0, 0, 0) scale(1.06) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}
.hero .display .script-accent,
.p-hero .display .script-accent {
  display: inline-block;
  transform-origin: 50% 85%;
  animation: scriptPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both;
}

/* ---- nav condense on scroll + logo life ---- */
.nav { transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease; }
.nav.scrolled {
  height: 62px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px -20px rgba(10, 10, 10, 0.4);
}
.nav-logo img { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav.scrolled .nav-logo img { transform: scale(0.88); }
.nav-logo:hover img { transform: scale(1.07) rotate(-4deg); }

/* ---- nav link underline sweep ---- */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 2px; width: 100%;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a { position: relative; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---- button sheen sweep ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 65%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { left: 150%; }
.btn-lime::before,
.btn-light::before { background: linear-gradient(100deg, transparent, rgba(28, 87, 44, 0.18), transparent); }

/* ---- badge buttons lift + sheen shares .btn? no — add subtle ---- */
.badge-btn { position: relative; overflow: hidden; }

/* ---- light-card cursor glow + 3D tilt ---- */
.service-card, .benefit { position: relative; overflow: hidden; }
.service-card > *, .benefit > * { position: relative; z-index: 1; }
.service-card::before, .benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, -20%),
              rgba(28, 87, 44, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before, .benefit:hover::before { opacity: 1; }

.tilt { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.tilt.is-tilting { transition: transform 0.08s ease-out; }

/* ---- service emoji delight ---- */
.service-emoji { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease; }
.service-card:hover .service-emoji { transform: translateY(-3px) scale(1.12) rotate(-7deg); background: var(--lime); }

/* ---- ambient idle floats (no JS transform on these) ---- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
.trio-app-icon { animation: floatY 5s ease-in-out infinite; }
.download-icon { animation: floatY 6s ease-in-out infinite; }

/* ---- living gradient bands ---- */
@keyframes bandShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.showcase-band, .provider-inner {
  background-size: 165% 165%;
  animation: bandShift 18s ease-in-out infinite;
}

/* ---- stat tiles ---- */
.pstat .num { transition: transform 0.3s ease; }
.pstat:hover .num { transform: scale(1.07); }

/* ---- gallery image hover ---- */
.gallery-track img { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease; }
.gallery-track:not(.dragging) img:hover { transform: scale(1.02) translateY(-5px); }

/* ---- success check pop on reveal ---- */
.form-success.show .success-check {
  animation: scriptPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ---- category marquee ---- */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 26px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--orange);
  margin-left: 52px;
  flex: none;
}
.marquee-item.muted { color: var(--muted); font-weight: 600; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Reduced-motion: strip all of the above back to a calm, static site.
   ========================================================================== */
@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero > .container > *,
  .p-hero > .container > *,
  .hero .display .script-accent,
  .p-hero .display .script-accent { opacity: 1 !important; animation: none !important; transform: none !important; }
  .trio-app-icon, .download-icon,
  .showcase-band, .provider-inner,
  .marquee-track { animation: none !important; }
  .scroll-progress { display: none !important; }
}
/* ------------------------------------------------ registration wizard */

.wiz-steps {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  counter-reset: none;
}

.wiz-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  position: relative;
}

.wiz-steps li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(-50% + 18px);
  right: calc(50% + 18px);
  height: 2px;
  background: var(--line);
}

.wiz-steps li:first-child::before { display: none; }
.wiz-steps li.on ~ li::before, .wiz-steps li.on::before { background: var(--line); }
.wiz-steps li.done::before, .wiz-steps li.on::before { background: var(--forest); }

.wiz-num {
  width: 29px; height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--chip);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.wiz-steps li.on .wiz-num { background: var(--forest); color: var(--lime); }
.wiz-steps li.done .wiz-num { background: var(--forest); color: var(--lime); }

.wiz-label { font-size: 11.5px; font-weight: 500; color: var(--text-2); line-height: 1.3; }
.wiz-steps li.on .wiz-label { color: var(--ink); font-weight: 600; }

.wiz-pane[hidden] { display: none; }

.wiz-title { font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.wiz-sub { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 0 0 26px; }
.wiz-h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.wiz-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; }

.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.wiz-back {
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  padding: 10px 2px;
}

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

/* ---- pill choices ---- */

.pills { display: flex; flex-wrap: wrap; gap: 9px; }

.pill {
  padding: 10px 17px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pill:hover { border-color: #cfcfcf; background: var(--bg-2); }
.pill.on { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 600; }
.pill:focus-visible { outline: 3px solid rgba(28, 87, 44, 0.45); outline-offset: 2px; }

/* ---- document uploads ---- */

.up-list { display: flex; flex-direction: column; gap: 10px; }

.up {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  background: var(--bg-2);
  flex-wrap: wrap;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.up.has-file { border-color: var(--forest); background: rgba(28, 87, 44, 0.05); }

.up-text { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.up-label { font-size: 14px; font-weight: 600; }
.up-hint { font-size: 12.5px; color: var(--text-2); }

.up-btn {
  flex: none;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.up-btn:hover { background: var(--ink); color: #fff; }

.up-file {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
  word-break: break-all;
}

.up-file.bad { color: var(--error-text); }

.up-progress { margin-top: 18px; }
.up-bar { height: 6px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.up-bar span { display: block; height: 100%; width: 0; background: var(--forest); border-radius: 999px; transition: width 0.3s ease; }
.up-progress p { font-size: 12.5px; color: var(--text-2); margin: 8px 0 0; }

/* ---- repeatable rows ---- */

.repeat { display: flex; flex-direction: column; gap: 10px; }

.repeat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  background: var(--bg-2);
}

.repeat-row > input,
.repeat-row > .ref-grid { flex: 1; min-width: 0; }

.repeat-row input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.repeat-row input:focus { outline: none; border-color: var(--forest); }

.ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.repeat-del {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.repeat-del:hover { background: rgba(255, 59, 48, 0.1); color: var(--error-text); }

.add-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px dashed #cfcfcf;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.add-row:hover { border-color: var(--forest); color: var(--forest); background: var(--bg-2); }

.ref-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---- work photos ---- */

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.work-grid:empty { display: none; }

.work-tile { position: relative; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--chip); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.work-del {
  position: absolute;
  top: 5px; right: 5px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 10, 0.62);
  color: #fff;
  cursor: pointer;
}

.work-del:hover { background: var(--error); }

/* ---- completion progress ---- */

.progress-card {
  margin: 26px auto 0;
  max-width: 340px;
  text-align: left;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.progress-card h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

.progress-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.progress-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.progress-list li::before {
  content: "";
  flex: none;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid #d5d5d5;
}

.progress-list li.done { color: var(--ink); font-weight: 500; }

.progress-list li.done::before {
  border-color: var(--forest);
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fe870' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

@media (max-width: 620px) {
  .wiz-label { display: none; }
  .wiz-steps { gap: 0; }
  .wiz-steps li::before { top: 14px; left: calc(-50% + 16px); right: calc(50% + 16px); }
  .ref-grid { grid-template-columns: 1fr; }
  .up { gap: 10px; }
  .up-btn { width: 100%; text-align: center; }
  .wiz-nav { flex-direction: column-reverse; align-items: stretch; }
  .wiz-nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pill, .up, .up-bar span, .wiz-num { transition: none; }
}
/* ------------------------------------------------- step 1 sign-in */

.sso-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.sso-btn:hover { border-color: #cfcfcf; background: var(--bg-2); }
.sso-btn:focus-visible { outline: 3px solid rgba(28, 87, 44, 0.45); outline-offset: 2px; }
.sso-btn:disabled { cursor: default; opacity: 0.55; }
.sso-btn.done { border-color: var(--forest); background: rgba(28, 87, 44, 0.06); opacity: 1; }

.sso-note { font-size: 12.5px; color: var(--green); font-weight: 600; margin: 10px 0 0; }
.sso-note.bad { color: var(--error-text); }

.sso-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.sso-or::before, .sso-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
}

.otp-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  border: 1.5px solid var(--forest);
  background: rgba(28, 87, 44, 0.05);
}

.otp-lead { font-size: 13.5px; color: var(--text); margin: 0 0 14px; line-height: 1.6; }
.otp-lead b { font-weight: 700; }

.otp-row { display: flex; gap: 10px; }

.otp-row input {
  flex: 1 1 auto;
  /* wide enough for six spaced digits; .form-card .btn would otherwise
     collapse this to a few pixels */
  min-width: 190px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* keeps the tracking from shifting the digits left */
  text-align: center;
}

.otp-row input:focus { outline: none; border-color: var(--forest); }

/* Overrides `.form-card .btn { width: 100% }` — in this row the button sizes
   to its label so the code field keeps the space. */
.otp-row .otp-confirm {
  width: auto;
  flex: 0 0 auto;
  padding: 0 30px;
  font-size: 14.5px;
}

.otp-again {
  margin-top: 12px;
  border: none;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}

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

/* the invisible reCAPTCHA host — takes no space until it challenges */
#recaptcha:empty { display: none; }

@media (max-width: 560px) {
  .otp-row { flex-direction: column; }
  .otp-confirm { width: 100%; }
}

/* --------------------------------------------- already-applied notice */

.already-applied {
  display: none;
  text-align: center;
  padding: 10px 4px 6px;
}

.already-applied.show { display: block; }

.already-icon {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(252, 151, 41, 0.14);
  color: var(--orange);
}

.already-applied h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.already-applied p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin: 0 auto; max-width: 430px; }
.already-note { font-size: 13px !important; margin-top: 18px !important; }
