:root {
  --navy: #0C447C;
  --navy-deep: #082F57;
  --navy-ink: #0A2540;
  --amber: #F2A93B;
  --amber-deep: #D98E1F;
  --ink: #1F2937;
  --muted: #5B6675;
  --line: #E3E8EF;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --green: #22A35A;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy-ink); line-height: 1.2; text-wrap: balance; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--mist); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy-ink); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy-ink); font-weight: 800; font-size: 1.15rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--navy); }
.nav .btn { padding: 0.6rem 1.1rem; min-height: 42px; font-size: 0.95rem; }
@media (max-width: 860px) { .nav .link { display: none; } }
@media (max-width: 420px) { .nav .btn .label-long { display: none; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, #1A5FA3 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding-block: clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero h1 { color: var(--white); }
.hero .lead { color: #D6E2F0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero .eyebrow { color: var(--amber); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; margin: 0; list-style: none; color: #D6E2F0; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.tick { width: 18px; height: 18px; flex: none; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Phone mock */
.phone {
  width: min(320px, 100%);
  margin-inline: auto;
  background: #0B1B2E;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.08);
}
.screen { background: #F3F5F8; border-radius: 28px; overflow: hidden; color: var(--ink); }
.screen-top { background: var(--white); padding: 14px 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.screen-top .who { font-weight: 700; font-size: 0.95rem; color: var(--navy-ink); }
.screen-top .sub { font-size: 0.75rem; color: var(--muted); }
.thread { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; line-height: 1.4; }
.missed { align-self: center; display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #B42318; background: #FDECEC; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.stamp { align-self: center; font-size: 0.7rem; color: var(--muted); }
.bubble { max-width: 85%; padding: 9px 12px; border-radius: 16px; }
.bubble.out { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.bubble.in { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble .meta { display: block; font-size: 0.68rem; opacity: 0.75; margin-top: 4px; }

/* Problem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.scenes { display: grid; gap: 12px; }
.scene { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.scene svg { width: 28px; height: 28px; flex: none; color: var(--navy); }
.scene strong { color: var(--navy-ink); }
.scene span { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.steps > * { min-width: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; text-align: left; box-shadow: var(--shadow); }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.cards > * { min-width: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: #E8F0F9; color: var(--navy); display: grid; place-items: center; margin-bottom: 12px; }
.card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* Trades */
.trades { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--navy-ink); }
.about-box { background: var(--navy); color: #D6E2F0; border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.about-box h3 { color: var(--white); font-size: 1.3rem; }
.about-box p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 780px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--navy-ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--navy); font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--navy); flex: none; margin-top: 3px; }
.contact-list .label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list .value { font-weight: 600; color: var(--navy-ink); text-decoration: none; word-break: break-word; }
form.card-form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.5vw, 32px); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 > * { min-width: 0; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
label { font-weight: 600; font-size: 0.92rem; color: var(--navy-ink); }
input, select, textarea {
  font: inherit; font-size: 1rem; width: 100%;
  padding: 0.75rem 0.9rem; border: 1.5px solid #CBD4E0; border-radius: 10px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(12,68,124,0.18); border-color: var(--navy); }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
.hidden { position: absolute; left: -9999px; }
form .btn { width: 100%; }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); border-radius: 24px; padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D6E2F0; max-width: 36rem; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--navy-ink); color: #AFC0D4; padding-block: 48px 36px; font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .brand { color: var(--white); margin-bottom: 10px; }
.site-footer a { color: #DCE6F2; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding-top: 20px; font-size: 0.85rem; line-height: 1.7; }
.legal p { margin: 0; }

/* Text pages */
.page-head { background: var(--mist); padding-block: 48px 36px; border-bottom: 1px solid var(--line); }
.prose, .page-head .wrap { max-width: 800px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { color: var(--muted); }

/* Four "How we work" cards: one row on desktop, 2x2 on tablet, stacked on phone */
#included .cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { #included .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #included .cards { grid-template-columns: 1fr; } }

/* Logo */
.brand-logo { height: 52px; width: auto; display: block; }
.footer-logo { height: 64px; margin-bottom: 4px; }
@media (max-width: 420px) { .site-header .brand-logo { height: 42px; } }
