:root {
  --harbor: #24615c;
  --harbor-deep: #1a4844;
  --harbor-wash: #e6efed;
  --mist: #f2f5f4;
  --stone: #e4eae8;
  --paper: #ffffff;
  --ink: #17262b;
  --ink-soft: #5b6b70;
  --amber: #b7791f;
  --amber-wash: #fbf3e4;
  --radius: 18px;
  --max: 1120px;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--harbor); text-underline-offset: 3px; }
a:hover { color: var(--harbor-deep); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--stone);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .lang { border: 1px solid var(--stone); border-radius: 999px; padding: 4px 12px; font-size: 0.88rem; }

.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; white-space: nowrap; }
.nav .lang { white-space: nowrap; }

@media (max-width: 760px) {
  .nav .hide-sm { display: none; }
  .nav { gap: 10px; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav .btn-sm { padding: 7px 12px; font-size: 0.86rem; }
  .nav .lang { padding: 4px 9px; font-size: 0.82rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.2;
}
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-primary { background: var(--harbor); color: #fff; }
.btn-primary:hover { background: var(--harbor-deep); color: #fff; }
.btn-ghost { border-color: var(--stone); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--harbor); color: var(--harbor-deep); }
span.btn[aria-disabled="true"] { cursor: default; color: var(--ink-soft); }
span.btn[aria-disabled="true"]:hover { border-color: var(--stone); color: var(--ink-soft); }
.band span.btn[aria-disabled="true"], .band span.btn[aria-disabled="true"]:hover { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.4); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--harbor); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.small { font-size: 0.92rem; color: var(--ink-soft); }
.hero-phones { position: relative; display: flex; justify-content: center; }
.hero-phones { padding-bottom: 40px; }
.hero-phones .phone:first-child { width: 60%; transform: translateX(-30%) rotate(-3deg); }
.hero-phones .phone:nth-child(2) { position: absolute; left: 44%; top: 48px; width: 56%; transform: rotate(3deg); }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phones { max-width: 420px; margin: 0 auto; }
}

.phone {
  border-radius: 34px; background: var(--ink); padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(23, 38, 43, 0.35), 0 8px 20px -10px rgba(23, 38, 43, 0.25);
}
.phone img { border-radius: 27px; width: 100%; }

/* Sections */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.tint { background: var(--mist); }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.promises li { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 24px; }
.promises strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.promises span { color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 26px; }
.feature p { color: var(--ink-soft); margin: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--harbor-wash); color: var(--harbor); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .features, .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .features, .promises { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.showcase figure { margin: 0; }
.showcase figcaption { margin-top: 14px; font-weight: 600; text-align: center; }
.showcase figcaption span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: repeat(4, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .showcase figure { scroll-snap-align: center; }
}
@media (max-width: 600px) {
  .showcase { grid-template-columns: repeat(4, 80%); }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--harbor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--harbor); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius); padding: 28px; }
.card-accent { background: var(--harbor); color: #fff; border: 0; }
.card-accent p, .card-accent .small { color: rgba(255, 255, 255, 0.85); }
.card-accent a { color: #fff; }

.verify-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.verify-form input {
  flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--stone);
  font: inherit; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--paper);
}
.verify-form input:focus { border-color: var(--harbor); outline: none; }
.card-accent .verify-form input { border-color: transparent; }
.card-accent .btn-primary { background: var(--ink); }
.card-accent .btn-primary:hover { background: #000; }

.band { background: var(--harbor-deep); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.85); max-width: 40em; margin-left: auto; margin-right: auto; }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.band .btn-ghost:hover { border-color: #fff; color: #fff; }
.band .cta-row { justify-content: center; }

.notice { background: var(--amber-wash); border-left: 4px solid var(--amber); border-radius: 10px; padding: 16px 20px; margin: 0 0 28px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--stone); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.07rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--harbor); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

/* Legal / prose */
.page-head { background: var(--mist); padding: 56px 0 40px; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; margin: 0; }
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.center { text-align: center; }
