/* GOC Tender — distinct from Contour: sidebar search, ink/emerald, Unbounded + Manrope */
:root {
  --ink: #0c1411;
  --panel: #13201b;
  --panel-2: #1a2c25;
  --surface: #eef3f0;
  --surface-2: #ffffff;
  --line: rgba(15, 35, 28, 0.12);
  --text: #14201b;
  --muted: #5a6b63;
  --accent: #0f9f76;
  --accent-deep: #0a7a5a;
  --gold: #d4a017;
  --danger: #c4473a;
  --warn: #c98a1a;
  --ok: #1a9a5c;
  --shadow: 0 18px 50px rgba(10, 24, 18, 0.12);
  --radius: 4px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(15, 159, 118, 0.14), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(212, 160, 23, 0.10), transparent 50%),
    linear-gradient(180deg, #f5f8f6 0%, var(--surface) 40%, #e8efe9 100%);
  min-height: 100vh;
  line-height: 1.5;
}
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(12, 20, 17, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 64px; position: relative;
}
.trial-band .section-title { color: #fff; }
.trial-band .section-lead { color: rgba(255,255,255,.75); }
.brand {
  display: flex; align-items: baseline; gap: .45rem;
  color: #fff; font-family: var(--display); font-weight: 600;
  letter-spacing: -0.02em; font-size: 1.15rem; white-space: nowrap;
}
.brand span { color: var(--accent); font-weight: 500; }
.nav {
  display: flex; align-items: center; gap: .15rem; flex: 1; flex-wrap: wrap;
}
.nav a {
  color: rgba(255,255,255,.78); padding: .45rem .7rem; border-radius: var(--radius);
  font-size: .92rem; font-weight: 500;
}
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.header-actions { display: flex; gap: .5rem; align-items: center; margin-left: auto; }
.header-phone { white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-tg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.15rem; height: 2.15rem; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.header-tg:hover { background: #2AABEE; color: #fff; border-color: #2AABEE; }
@media (max-width: 720px) {
  .header-phone { font-size: .78rem; padding-left: .45rem; padding-right: .45rem; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: .65rem 1.1rem; font-weight: 600; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #06261c; }
.btn-primary:hover { background: #14b886; color: #06261c; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--panel); color: #fff; }
.btn-sm { padding: .4rem .7rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.35rem; font-size: 1rem; }
.btn-block { width: 100%; }

.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-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: .35rem; margin-left: auto; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: transparent; border: 0; color: rgba(255,255,255,.78);
  padding: .45rem .7rem; border-radius: var(--radius); font: inherit; font-weight: 500; cursor: pointer;
}
.nav-drop-btn:hover, .nav-drop-btn.is-open { color: #fff; background: rgba(255,255,255,.08); }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + .35rem); left: 0; min-width: 220px;
  background: #13201b; border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: .4rem; box-shadow: var(--shadow); z-index: 50;
}
.nav-drop-menu.is-open { display: grid; }
.nav-drop-menu a {
  display: block; color: rgba(255,255,255,.85); padding: .55rem .7rem; border-radius: 6px; font-size: .9rem;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }

.flash {
  width: min(100% - 2rem, var(--max)); margin: 1rem auto 0;
  padding: .85rem 1rem; border-radius: var(--radius); font-weight: 500;
}
.flash-success { background: #d9f5e8; color: #0b5c3a; }
.flash-error { background: #fde2de; color: #8a2a20; }

/* Hero — Contour-like clarity, GOC brand */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12,20,17,.94), rgba(19,32,27,.82)),
    linear-gradient(160deg, #0c1411, #16362c 52%, #0a7a5a 130%);
  color: #fff; min-height: min(68vh, 620px);
  display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -30% 40%;
  height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,159,118,.35), transparent 65%);
  pointer-events: none; animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero-inner { position: relative; z-index: 1; padding: 3.75rem 0 3rem; max-width: 760px; }
.hero-eyebrow {
  margin: 0 0 .85rem; font-family: var(--display); font-size: 1.05rem;
  letter-spacing: -.01em; color: var(--accent); animation: rise .7s ease both;
}
.hero-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -.035em;
  font-size: clamp(1.85rem, 4.2vw, 3rem); line-height: 1.12; margin: 0 0 1rem;
  animation: rise .75s ease both;
}
.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.15rem); line-height: 1.55; color: rgba(255,255,255,.78);
  max-width: 40rem; margin: 0 0 1.5rem; animation: rise .8s .08s ease both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; animation: rise .8s .16s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.search-band { margin-top: -2.25rem; position: relative; z-index: 2; padding: 0 0 1rem; }
.search-band .container {
  background: #13201b; color: #fff; border-radius: 14px; padding: 1.35rem 1.35rem 1.15rem;
  box-shadow: 0 24px 60px rgba(8, 18, 14, .28);
}
.search-band-title {
  font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0 0 1rem; letter-spacing: -.02em;
}
.hero-search { display: flex; gap: .55rem; flex-wrap: wrap; align-items: stretch; }
.hero-search input {
  flex: 1; min-width: min(100%, 240px); border: 0; border-radius: 8px;
  padding: .95rem 1rem; background: #fff; color: var(--text);
}
.panel-search {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem; box-shadow: var(--shadow);
}
.search-band-alt { margin: .85rem 0 .75rem; color: rgba(255,255,255,.7); font-size: .95rem; }
.search-band-alt a { color: var(--accent); font-weight: 600; }
.quick-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-link {
  display: inline-flex; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); font-size: .85rem;
  border: 1px solid rgba(255,255,255,.1);
}
.chip-link:hover { background: rgba(15,159,118,.25); color: #fff; }

.stages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stage-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.15rem;
  opacity: 0; transform: translateY(12px); transition: .45s ease;
}
.stage-item.is-in { opacity: 1; transform: none; }
.stage-num {
  display: inline-flex; width: 1.7rem; height: 1.7rem; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(15,159,118,.12); color: var(--accent-deep);
  font-weight: 700; font-size: .85rem; margin-bottom: .7rem;
}
.stage-item h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.stage-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.section-head-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: end;
  margin-bottom: .5rem; flex-wrap: wrap;
}
.section-head-row .section-title, .section-head-row .section-lead { margin-bottom: .35rem; }
.trial-band { background: linear-gradient(135deg, #0c1411, #16362c 60%, #0a7a5a); padding: 2.5rem 0; }
.trial-inner { display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.faq-list { display: grid; gap: .65rem; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: .65rem 0 0; color: var(--muted); }
.hint-box, .hint-inline {
  background: #f3faf6; border: 1px solid rgba(15,159,118,.2); color: #0b5c3a;
  border-radius: 10px; padding: .85rem 1rem; font-size: .92rem;
}
.hint-inline { margin: 0 0 1rem; }
.page-kicker {
  margin: 0 0 .25rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.filters-hint { margin: -.35rem 0 1rem; color: rgba(232,242,237,.7); font-size: .85rem; }
.steps-plain { margin: 0 0 1.25rem; padding-left: 1.2rem; color: var(--muted); line-height: 1.55; }
.docs-form { display: grid; gap: .75rem; margin-bottom: 1rem; }
.docs-form .form-field { margin: 0; }
.docs-form .form-field span { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9rem; }
.docs-form input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem .75rem;
}
.feature-item, .tender-row, .tariff-card {
  opacity: 0; transform: translateY(10px); transition: .4s ease;
}
.feature-item.is-in, .tender-row.is-in, .tariff-card.is-in { opacity: 1; transform: none; }

.section { padding: 3.5rem 0; }
.section-title {
  font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em; margin: 0 0 .5rem;
}
.section-lead { color: var(--muted); margin: 0 0 1.75rem; max-width: 40rem; }

.feature-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.feature-item {
  padding: 1.25rem 1.35rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-item h3 {
  font-family: var(--display); font-size: 1rem; margin: 0 0 .4rem; letter-spacing: -0.01em;
}
.feature-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Search workspace — left filters (not Contour top card) */
.search-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 1.25rem;
  align-items: start; padding: 1.5rem 0 3rem;
}
.filters {
  position: sticky; top: 80px;
  background: var(--panel); color: #e8f2ed;
  border-radius: var(--radius); padding: 1.1rem;
  box-shadow: var(--shadow);
}
.filters h2 {
  font-family: var(--display); font-size: .95rem; margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.field { margin-bottom: .9rem; }
.field label {
  display: block; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: .35rem;
}
.filters .field input, .filters .field select, .filters .field textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.14);
  background: var(--panel-2); color: #fff; border-radius: var(--radius);
  padding: .6rem .7rem;
}
.filters .field input::placeholder, .filters .field textarea::placeholder { color: rgba(255,255,255,.35); }
.check-list { display: grid; gap: .35rem; }
.check-list label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; color: rgba(255,255,255,.85); text-transform: none; letter-spacing: 0;
  cursor: pointer;
}
.results-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  align-items: end; margin-bottom: 1rem;
}
.results-count {
  font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.02em; margin: 0;
}
.results-meta { color: var(--muted); font-size: .9rem; margin: .2rem 0 0; }
.results-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.tender-list { display: grid; gap: .75rem; }
.tender-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
  transition: border-color .15s ease, transform .15s ease;
}
.tender-row:hover { border-color: rgba(15,159,118,.45); transform: translateX(2px); }
.tender-row h3 { margin: 0 0 .35rem; font-size: 1.05rem; line-height: 1.35; }
.tender-row h3 a { color: var(--text); }
.tender-row h3 a:hover { color: var(--accent-deep); }
.tender-meta {
  display: flex; flex-wrap: wrap; gap: .4rem .7rem;
  color: var(--muted); font-size: .86rem; margin-bottom: .55rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .15rem .45rem; border-radius: 2px;
  background: rgba(15,159,118,.1); color: var(--accent-deep); font-size: .78rem; font-weight: 600;
}
.chip-law { background: rgba(12,20,17,.08); color: var(--text); }
.chip-stage { background: rgba(212,160,23,.15); color: #8a6808; }
.tender-side { text-align: right; min-width: 140px; }
.tender-price {
  font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.02em; margin: 0 0 .25rem;
}
.tender-deadline { font-size: .82rem; color: var(--muted); }

.pagination {
  display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.25rem;
}
.pagination a, .pagination span {
  min-width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 600;
}
.pagination a:hover, .pagination .is-current {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* Tender card page */
.tender-hero {
  background: var(--panel); color: #fff; padding: 2rem 0 1.5rem;
}
.tender-hero h1 {
  font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: -0.02em; margin: .5rem 0 1rem; max-width: 52rem;
}
.detail-grid {
  display: grid; grid-template-columns: 1.6fr .9fr; gap: 1.25rem;
  padding: 1.5rem 0 3rem;
}
.panel-box {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
}
.panel-box h2 {
  font-family: var(--display); font-size: 1rem; margin: 0 0 .85rem;
}
.kv { display: grid; grid-template-columns: 140px 1fr; gap: .4rem .75rem; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 550; }

.light {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .7rem; border-radius: var(--radius); font-weight: 700; font-size: .9rem;
}
.light-green { background: #d9f5e8; color: #0b5c3a; }
.light-yellow { background: #fff0cc; color: #8a6808; }
.light-red { background: #fde2de; color: #8a2a20; }
.light-dot {
  width: .7rem; height: .7rem; border-radius: 50%;
}
.light-green .light-dot { background: var(--ok); }
.light-yellow .light-dot { background: var(--warn); }
.light-red .light-dot { background: var(--danger); }

/* Board */
.board {
  display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: .75rem; overflow-x: auto; padding-bottom: 1rem;
}
.board-col {
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  border-radius: var(--radius); min-height: 320px; padding: .7rem;
}
.board-col h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 0 0 .7rem;
}
.board-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem; margin-bottom: .55rem; font-size: .9rem;
}
.board-card strong { display: block; margin-bottom: .35rem; line-height: 1.3; }

/* Auth / forms */
.auth-wrap {
  max-width: 440px; margin: 2.5rem auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow);
}
.auth-wrap h1 {
  font-family: var(--display); font-size: 1.4rem; margin: 0 0 1rem;
}
.form-field { margin-bottom: .9rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9rem; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .65rem .75rem; background: #fff; color: var(--text); caret-color: var(--text);
}
.form-field input::placeholder, .form-field textarea::placeholder {
  color: var(--muted); opacity: 1;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid rgba(15,159,118,.35); border-color: var(--accent); outline-offset: 0;
}
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 99999s ease-out;
}
.password-field { position: relative; }
.password-field input { padding-right: 2.85rem !important; }
.password-toggle {
  position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: #8a9690;
  cursor: pointer; padding: 0; border-radius: 6px;
}
.password-toggle:hover { color: var(--text); background: rgba(15,35,28,.05); }
.password-toggle:focus-visible { outline: 2px solid rgba(15,159,118,.4); outline-offset: 1px; }
.password-toggle .eye-off { display: none; }
.password-toggle.is-on .eye-open { display: none; }
.password-toggle.is-on .eye-off { display: block; }

.tariff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.tariff-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; position: relative;
}
.tariff-card.is-rec { border-color: var(--accent); box-shadow: var(--shadow); }
.tariff-card h3 { font-family: var(--display); margin: 0 0 .35rem; }
.tariff-price {
  font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; margin: .5rem 0;
}
.tariff-card ul { padding-left: 1.1rem; color: var(--muted); }
.tariff-card li { margin-bottom: .35rem; }

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.25rem;
}
.stat-box {
  background: var(--panel); color: #fff; border-radius: var(--radius); padding: 1rem 1.1rem;
}
.stat-box b {
  display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.02em;
}
.stat-box span { color: rgba(255,255,255,.65); font-size: .85rem; }

.bar-chart { display: grid; gap: .45rem; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 40px; gap: .5rem; align-items: center; font-size: .85rem; }
.bar-track { height: 8px; background: rgba(15,35,28,.08); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); }

.site-footer {
  margin-top: 2rem; background: var(--ink); color: rgba(255,255,255,.75); padding: 2.5rem 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--accent); }
.site-footer h4 {
  color: #fff; font-family: var(--display); font-size: .9rem; margin: 0 0 .7rem;
}
.footer-brand {
  font-family: var(--display); color: #fff; font-size: 1.15rem; margin-bottom: .5rem;
}
.footer-brand span { color: var(--accent); }

.empty {
  padding: 2rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5);
}

@media (max-width: 980px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .feature-rail, .tariff-grid, .stats-row, .detail-grid, .footer-grid, .stages-grid { grid-template-columns: 1fr 1fr; }
  .tender-row { grid-template-columns: 1fr; }
  .tender-side { text-align: left; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #0c1411; flex-direction: column; padding: .75rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08); z-index: 40;
  }
  .nav.is-open { display: flex; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; background: transparent; padding-left: .5rem; }
  .board { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
  .search-band { margin-top: -1.25rem; }
  .hero-search { flex-direction: column; }
}
@media (max-width: 640px) {
  .board, .stages-grid { grid-template-columns: 1fr; }
  .header-actions .btn-ghost:not(.header-phone) { display: none; }
  .trial-inner { flex-direction: column; align-items: flex-start; }
}

/* Auth pages — Contour-level clarity, email only (no phone) */
.auth-page {
  min-height: 100vh;
  color-scheme: light;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(15,159,118,.12), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(12,20,17,.06), transparent 50%),
    linear-gradient(180deg, #f3f5f4 0%, #e9eeeb 100%);
}
.auth-center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  gap: .85rem;
}
.auth-flash {
  width: min(100%, 420px);
  position: static;
  margin: 0;
}
.auth-card {
  width: min(100%, 420px);
  background: #fff;
  color: var(--text);
  color-scheme: light;
  border: 1px solid rgba(15,35,28,.08);
  border-radius: 12px;
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: 0 18px 50px rgba(10, 24, 18, 0.10);
}
.auth-logo {
  display: inline-flex; align-items: baseline; gap: .4rem;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem;
  color: var(--ink); letter-spacing: -.02em; margin-bottom: .35rem;
}
.auth-logo span { color: var(--accent); font-weight: 600; }
.auth-kicker {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: .95rem;
}
.auth-title {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: .15rem 0 .45rem;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 600;
}
.auth-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.auth-form .form-field label {
  color: #5a6b63;
  font-weight: 500;
  font-size: .9rem;
}
.auth-form .form-field input {
  padding: .78rem .85rem;
  background: #fff;
  color: #14201b;
  -webkit-text-fill-color: #14201b;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
}
.auth-form .form-field input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(15,159,118,.2);
}
.auth-form .password-field input { padding-right: 2.85rem; }
.field-hint {
  margin: .35rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.auth-remember {
  display: flex; align-items: center; gap: .5rem;
  margin: .15rem 0 1rem;
  color: var(--muted); font-size: .9rem; cursor: pointer;
}
.btn-auth {
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  padding: .85rem 1.2rem;
  font-weight: 700;
  margin-top: .15rem;
}
.btn-auth:hover { background: #1a2c25; color: #fff !important; }
.auth-legal {
  margin: .2rem 0 1rem;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}
.auth-legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.auth-agree {
  display: flex; gap: .65rem; align-items: flex-start; cursor: pointer;
}
.auth-agree input {
  margin-top: .2rem; width: 1rem; height: 1rem; flex: none; accent-color: var(--accent, #1f6b4a);
}
.auth-switch {
  margin: 1.15rem 0 0;
  text-align: center;
  font-weight: 700;
}
.auth-switch a { color: var(--ink); }
.auth-switch a:hover { color: var(--accent-deep); }
.auth-site-link {
  margin: .25rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.auth-site-link a { color: var(--muted); }
.auth-check {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .88rem; color: var(--muted); margin: .2rem 0 1rem; cursor: pointer;
}
.auth-check input { margin-top: .2rem; }
.auth-foot {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.code-input {
  text-align: center;
  font-size: 1.45rem !important;
  letter-spacing: .35em;
  font-family: ui-monospace, Consolas, monospace !important;
  font-weight: 700;
}
.optional { font-weight: 500; color: var(--muted); font-size: .82rem; }

.legal-page { padding: 2rem 0 3rem; }
.legal-meta { color: var(--muted); margin: -.25rem 0 1rem; font-size: .92rem; }
.legal-nav {
  display: flex; flex-wrap: wrap; gap: .55rem .9rem;
  margin: 0 0 1.25rem; font-size: .9rem;
}
.legal-nav a { font-weight: 600; }
.legal-body h2 {
  font-family: var(--display); font-size: 1.05rem; margin: 1.35rem 0 .55rem;
  letter-spacing: -.01em;
}
.legal-body p, .legal-body li { color: var(--text); line-height: 1.6; }
.legal-body ul { margin: .35rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.footer-lang { margin-top: .75rem; font-size: .9rem; }
.footer-lang a { color: rgba(255,255,255,.85); }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .85rem 1rem; background: rgba(12,20,17,.96);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -12px 40px rgba(0,0,0,.2);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  width: min(100%, var(--max)); margin: 0 auto;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; max-width: 52rem; line-height: 1.45;
}
.cookie-banner a { color: var(--accent); }

