/* hourback site styles. Brand: assets/brand + MBS_Project/docs/brand.md */
:root {
  --navy: #17233B;
  --navy-2: #22314F;
  --orange: #E8912D;
  --orange-text: #A85F10; /* readable orange for text on white */
  --orange-light: #F6B65C;
  --slate: #5A6478;
  --slate-on-navy: #B9C1D1;
  --bg: #FFFFFF;
  --bg-soft: #F4F5F7;
  --line: #E3E6EC;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-text); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--orange); }
.muted { color: var(--slate); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand img { width: 150px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-text); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; width: 100%; }
  .nav .btn { margin: 8px 16px 16px; width: auto; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-light); color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.on-navy .btn-ghost { color: #fff; }
.on-navy .btn-ghost:hover { background: #fff; color: var(--navy); }
.nav .btn { color: var(--navy); }

/* Sections */
section { padding: 88px 0; }
@media (max-width: 600px) { section { padding: 56px 0; } }
.soft { background: var(--bg-soft); }
.on-navy { background: var(--navy); color: #fff; }
.on-navy .muted { color: var(--slate-on-navy); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--orange-text); margin-bottom: 12px; }
.on-navy .eyebrow { color: var(--orange-light); }
.lead { font-size: 1.2rem; max-width: 640px; }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-art { justify-self: center; width: min(320px, 80%); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: 140px; justify-self: start; }
}

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--orange); }

.product { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.product img.icon-lg { width: 120px; border-radius: 26px; }
@media (max-width: 600px) { .product { grid-template-columns: 1fr; } .product img.icon-lg { width: 88px; border-radius: 20px; } }
.tag { display: inline-block; background: #FDF1E3; color: var(--orange-text); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 24px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }

.notice { border-left: 4px solid var(--orange); background: var(--bg-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 15px; }

/* CTA band */
.cta { text-align: center; }
.cta .lead { margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--slate-on-navy); padding: 48px 0 32px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 140px; margin-bottom: 12px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--navy-2); padding-top: 20px; margin-top: 8px; font-size: 13px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
