:root {
  --primary: #0f1729;
  --forest: #164e63;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --line: #dbe2ea;
  --ink: #0f1729;
  --muted: #5a6473;
  --success: #16a34a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Manrope, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--forest); color: #fff; font-size: 13px; font-weight: 800; }
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav a { font-size: 13px; color: var(--muted); font-weight: 700; }
nav a:hover { color: var(--forest); }

main { padding-block: 34px 54px; }
.hero { background: linear-gradient(180deg, rgba(22, 78, 99, .08), rgba(255,255,255,.75)); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 24px; grid-template-columns: 1.15fr .85fr; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 12px; background: rgba(22,78,99,.12); color: var(--forest); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1 { margin: 12px 0; font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.03; letter-spacing: -.03em; }
h1 .accent { color: var(--forest); }
p { margin: 0; line-height: 1.7; }
.muted { color: var(--muted); }

.search-shell { margin-top: 20px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 8px; display: grid; gap: 8px; grid-template-columns: 1fr 1fr auto; box-shadow: 0 16px 34px rgba(15, 23, 41, .08); }
.search-field { display: flex; align-items: center; border: 1px solid #edf1f6; background: #f8fafc; border-radius: 11px; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.search-btn { border: 0; background: var(--forest); color: #fff; border-radius: 11px; padding: 0 22px; font-weight: 800; font-size: 14px; }

.hero-panel { border-radius: 18px; border: 1px solid var(--line); background: #fff; padding: 20px; display: grid; align-content: start; gap: 16px; }
.metric { display: grid; gap: 2px; }
.metric b { color: var(--forest); font-size: 1.4rem; }

.section { margin-top: 26px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 15px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .94rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--primary); color: #fff; border-radius: 14px; padding: 16px; }
.step b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: #ffffff1a; margin-bottom: 8px; }

.duo { margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, #0f1729, #164e63); color: #fff; padding: 20px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.duo-box { border: 1px solid #ffffff2b; border-radius: 12px; padding: 14px; }

.crumbs { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.content { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px; display: grid; gap: 14px; }
form { display: grid; gap: 10px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
button { border: 0; width: max-content; background: var(--forest); color: #fff; border-radius: 10px; padding: 11px 16px; font-weight: 800; }

footer { margin-top: 24px; border-top: 1px solid var(--line); background: #fff; }
.foot { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.foot-links { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .search-shell { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  nav { gap: 12px; }
  nav a { font-size: 12px; }
  .wrap { width: min(1200px, 100% - 28px); }
}
