:root {
  --ink: #172A3A;
  --sage: #4F7168;
  --sage-dark: #35534C;
  --sage-soft: #E8EFEC;
  --stone: #D8D0C2;
  --ivory: #F6F4EF;
  --graphite: #33383D;
  --muted: #667176;
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(23, 42, 58, .08);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--graphite); background: var(--ivory); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(216,208,194,.85); background: rgba(246,244,239,.94); backdrop-filter: blur(16px); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--ink); font-size: 14px; letter-spacing: .16em; line-height: 1; }
.brand-copy span { color: var(--muted); font-size: 9px; letter-spacing: .10em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a { color: #4a555a; font-size: 13px; font-weight: 650; }
.nav a:hover, .nav a.active { color: var(--sage-dark); }
.header-cta, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 18px; border: 1px solid var(--sage); border-radius: 999px; font-weight: 750; font-size: 13px; transition: .18s ease; cursor: pointer; }
.header-cta, .btn.primary { color: white; background: var(--sage); }
.header-cta:hover, .btn.primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-1px); }
.btn.secondary { color: var(--ink); background: transparent; border-color: var(--stone); }
.btn.secondary:hover { border-color: #aab7b2; background: white; }
.btn.disabled { cursor: not-allowed; opacity: .55; }
.mobile-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--stone); border-radius: 10px; color: var(--ink); background: transparent; }

.hero { padding: 104px 0 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(350px,.75fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--sage); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); margin-top: 0; }
h1 { max-width: 860px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 680; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 650; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.lead { max-width: 760px; margin: 0; color: #526066; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-card { position: relative; min-height: 420px; overflow: hidden; padding: 34px; border-radius: 30px; color: white; background: var(--ink); box-shadow: var(--shadow); }
.hero-card:before { content: ''; position: absolute; right: -100px; top: -95px; width: 330px; height: 330px; border-radius: 50%; background: var(--sage); opacity: .42; }
.hero-card:after { content: ''; position: absolute; left: 30px; right: 30px; bottom: 31px; height: 1px; background: rgba(216,208,194,.28); }
.hero-mark { width: 70px; height: 70px; padding: 8px; border-radius: 14px; background: var(--ivory); }
.hero-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.hero-card p { margin: auto 0 48px; color: #d9e2df; font-size: 16px; line-height: 1.65; }
.hero-card strong { display: block; color: var(--stone); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }

.section { padding: 88px 0; }
.section.white { background: white; }
.section.ink { color: white; background: var(--ink); }
.section.ink h2, .section.ink h3 { color: white; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.section.ink .section-head p { color: #c5cfcc; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { min-height: 410px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--stone); border-radius: var(--radius); background: white; transition: .18s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b8c4bf; }
.service-num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 58px; border-radius: 10px; color: var(--sage-dark); background: var(--sage-soft); font-size: 12px; font-weight: 800; }
.service-card h3 { margin-bottom: 14px; font-size: 25px; }
.service-card p { margin: 0; color: var(--muted); }
.service-card a { margin-top: auto; padding-top: 32px; color: var(--sage-dark); font-size: 13px; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.prose p { color: #526066; font-size: 16px; }
.prose p:first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.feature-list { display: grid; gap: 12px; margin-top: 26px; }
.feature { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; padding: 16px 0; border-top: 1px solid var(--stone); }
.feature:first-child { border-top: 0; }
.feature-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--sage-dark); background: var(--sage-soft); font-size: 11px; font-weight: 900; }
.feature strong { display: block; margin-bottom: 4px; color: var(--ink); }
.feature span { color: var(--muted); font-size: 14px; }

.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.info-card { padding: 26px; border: 1px solid var(--stone); border-radius: var(--radius); background: white; }
.info-card h3 { margin-bottom: 10px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card .mini { display: block; margin-bottom: 18px; color: var(--sage); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.band { padding: 32px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); background: rgba(255,255,255,.45); }
.band-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.band-item { padding: 8px 20px; border-left: 1px solid var(--stone); }
.band-item:first-child { border-left: 0; }
.band-item strong { display: block; color: var(--ink); font-size: 15px; }
.band-item span { color: var(--muted); font-size: 12px; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.step { padding: 22px; border-top: 3px solid var(--sage); background: rgba(255,255,255,.05); }
.step span { color: var(--stone); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.step strong { display: block; margin-top: 20px; color: white; font-size: 16px; }
.step p { margin-bottom: 0; color: #bdc9c6; font-size: 13px; }

.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.price-card { padding: 30px; border: 1px solid var(--stone); border-radius: var(--radius); background: white; }
.price-card.featured { border-color: var(--sage); box-shadow: var(--shadow); }
.price-card .price { display: block; margin: 22px 0 10px; color: var(--ink); font-size: 38px; font-weight: 650; letter-spacing: -.04em; }
.price-card p { color: var(--muted); }

.portal-cycle { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 34px; }
.portal-cycle div { min-height: 110px; padding: 18px; border: 1px solid rgba(216,208,194,.28); border-radius: 12px; background: rgba(255,255,255,.04); }
.portal-cycle span { color: #9bb0aa; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.portal-cycle strong { display: block; margin-top: 20px; color: white; font-size: 14px; }

.contact-section { padding: 80px 0 92px; background: white; }
.contact-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 42px; border: 1px solid var(--stone); border-radius: 26px; background: var(--ivory); }
.contact-box p { color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; color: #59656a; font-size: 11px; font-weight: 750; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--stone); border-radius: 9px; color: var(--ink); background: white; outline: none; }
.contact-form textarea { min-height: 122px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(79,113,104,.12); }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; }
.form-status { grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 9px; color: var(--sage-dark); background: var(--sage-soft); font-size: 12px; }
.form-status.show { display: block; }

.site-footer { padding: 38px 0 30px; color: #c4cfcb; background: #102432; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; padding: 5px; border-radius: 9px; background: var(--ivory); }
.footer-brand strong { display: block; color: white; font-size: 12px; letter-spacing: .15em; }
.footer-brand span { display: block; color: #aab8b4; font-size: 9px; text-transform: uppercase; letter-spacing: .10em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(216,208,194,.15); font-size: 10px; }

.page-hero { padding: 92px 0 68px; border-bottom: 1px solid var(--stone); }
.page-hero h1 { max-width: 950px; font-size: clamp(44px, 5.3vw, 70px); }
.page-hero .lead { max-width: 840px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.anchor-nav a { padding: 8px 11px; border: 1px solid var(--stone); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 750; background: rgba(255,255,255,.45); }
.quote { padding: 30px; border-left: 4px solid var(--sage); background: white; }
.quote p { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.45; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .nav.open { position: absolute; top: 86px; left: 0; right: 0; display: grid; gap: 0; padding: 10px 20px 18px; border-bottom: 1px solid var(--stone); background: var(--ivory); }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid rgba(216,208,194,.55); }
  .hero-grid, .split, .contact-box, .section-head { grid-template-columns: 1fr; }
  .hero-card { min-height: 330px; }
  .service-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps, .portal-cycle, .band-inner { grid-template-columns: 1fr 1fr; }
  .band-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 76px; }
  .brand { min-width: 0; }
  .brand-copy span { display: none; }
  .hero, .page-hero { padding: 72px 0 56px; }
  .section { padding: 66px 0; }
  .service-grid, .cards-3, .price-grid, .steps, .portal-cycle, .band-inner { grid-template-columns: 1fr; }
  .band-item { border-left: 0; border-top: 1px solid var(--stone); }
  .band-item:first-child { border-top: 0; }
  .contact-box { padding: 28px 20px; gap: 34px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .footer-grid, .footer-bottom { display: grid; grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .hero-card { padding: 25px; }
}
