:root {
  --emerald: #1b684e;
  --emerald-deep: #082c22;
  --emerald-tint: #f2f7f4;
  --emerald-line: #dbe8e1;
  --gold: #c8a96e;
  --ink: #111111;
  --body: #404040;
  --muted: #5a6473;
  --footer: #061f18;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.eyebrow {
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.eyebrow-light { color: #e3cf9f; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 15px 32px; border-radius: 8px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #ffffff; color: var(--emerald-deep); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-ghost { color: #ffffff; border: 1px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--emerald-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: 260px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #dcebe4; text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: #ffffff; }
.site-nav a.nav-cta {
  background: #ffffff; color: var(--emerald-deep); padding: 9px 18px; border-radius: 6px; font-weight: 600;
}
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #ffffff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center;
  background: url('/img/hero-autumn.jpg') 50% 72% / cover no-repeat var(--emerald-deep);
  color: #ffffff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 44, 34, .96) 0%, rgba(8, 44, 34, .9) 30%, rgba(8, 44, 34, .6) 55%, rgba(8, 44, 34, .25) 80%, rgba(8, 44, 34, .08) 100%);
}
.hero-inner { position: relative; width: 100%; padding-top: 72px; padding-bottom: 72px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.04; font-weight: 500; letter-spacing: -.01em;
  max-width: 11ch; margin-top: 18px;
}
.hero-sub { font-size: 20px; line-height: 1.6; color: #dff0e8; max-width: 520px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Intro */
.intro { padding-top: 96px; text-align: center; }
.headline { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; font-weight: 500; max-width: 820px; margin: 0 auto; }
.lead { font-size: 20px; line-height: 1.7; color: var(--body); max-width: 720px; margin: 24px auto 0; }
.lead strong { color: var(--emerald); font-weight: 600; }
.licensed {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  background: var(--emerald-tint); border: 1px solid var(--emerald-line); color: var(--emerald);
  font-size: 15px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
}
.licensed svg { width: 18px; height: 18px; stroke: var(--emerald); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Cards */
.protect { padding-top: 80px; padding-bottom: 104px; }
.protect > .eyebrow { text-align: center; margin-bottom: 58px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 26px; }
.card {
  background: #ffffff; border: 1px solid var(--emerald); border-radius: 10px;
  box-shadow: -10px -10px 0 0 var(--emerald-deep);
  padding: 0 22px 28px; text-align: center;
}
.card .ic {
  width: 74px; height: 74px; border-radius: 50%; background: var(--emerald);
  display: flex; align-items: center; justify-content: center; margin: -26px auto 18px;
}
.card .ic svg { width: 36px; height: 36px; stroke: #ffffff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 23px; font-weight: 600; color: var(--emerald); margin-bottom: 10px; }
.card p { font-size: 16px; line-height: 1.62; color: var(--muted); }

/* How it works */
.how-band { background: var(--emerald-tint); border-top: 1px solid var(--emerald-line); border-bottom: 1px solid var(--emerald-line); }
.how-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding-top: 88px; padding-bottom: 88px; align-items: start; }
.section-title { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.15; margin-top: 14px; }
.how-copy p { font-size: 18px; line-height: 1.75; color: #2d3a4a; }
.how-copy p + p { margin-top: 18px; }
.how-copy .how-note { font-size: 16px; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 16px; margin-top: 26px; }

/* Partners */
.partners { padding-top: 88px; padding-bottom: 96px; text-align: center; }
.partners .eyebrow { margin-bottom: 22px; }
.partners p:not(.eyebrow) { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 760px; margin: 0 auto; }

/* About: Part of Rosefinch */
.about-band { background: var(--emerald-tint); border-top: 1px solid var(--emerald-line); }
.about-band .wrap { padding-top: 88px; padding-bottom: 88px; }
.about-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.about-lead { font-size: 18px; line-height: 1.7; color: var(--body); margin-top: 16px; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.brand-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.brand-tile { display: flex; align-items: center; justify-content: center; aspect-ratio: 2.4 / 1; border-radius: 10px; padding: 0 12%; margin-bottom: 10px; transition: transform .15s ease, box-shadow .15s ease; }
.brand-tile img { width: 100%; height: auto; max-height: 46%; object-fit: contain; }
.tile-ria { background: radial-gradient(120% 130% at 15% 8%, #35577f 0%, #2d4a6e 40%, #1e3350 80%, #16273f 100%); }
.tile-ria img { max-height: 40%; width: 72%; }
.tile-black { background: #000000; }
.tile-rrm { background: linear-gradient(45deg, #1b684e 0%, #082c22 100%); }
.tile-ri { background: linear-gradient(120deg, #0f766e 0%, #4338ca 100%); }
.brand-card:hover .brand-tile { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(8, 44, 34, .16); }
.brand-card.is-current .brand-tile { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--gold); }
.brand-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.brand-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.brand-name em { display: block; font-style: normal; font-weight: 500; color: var(--muted); font-size: 14px; }
.about-links { text-align: center; margin-top: 40px; font-size: 16px; color: var(--muted); }
.about-links a { color: var(--emerald); font-weight: 600; text-decoration: none; }
.about-links a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .brand-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .brand-grid { grid-template-columns: 1fr; } .about-band .wrap { padding-top: 64px; padding-bottom: 64px; } }

/* CTA */
.cta-band { background: linear-gradient(45deg, var(--emerald) 0%, var(--emerald-deep) 100%); color: #ffffff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 500; }

/* Footer */
.site-footer { background: var(--footer); color: #b9c6c0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 36px; }
.foot-brand img { width: 240px; }
.foot-brand p { font-size: 14px; margin-top: 16px; }
.foot-brand a, .foot-contact a { color: #ffffff; text-decoration: none; }
.foot-brand a:hover, .foot-links a:hover, .foot-contact a:hover { text-decoration: underline; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; justify-content: start; }
.foot-links a { color: #b9c6c0; text-decoration: none; font-size: 14px; }
.foot-contact { font-size: 15px; justify-self: end; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot-contact address { font-style: normal; line-height: 1.6; color: #ffffff; }
.foot-social { display: inline-flex; align-items: center; gap: 8px; }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }
.foot-disc { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 28px; padding-bottom: 28px; }
.foot-disc p { font-size: 12px; line-height: 1.7; color: #8e9c96; }
.foot-disc p + p { margin-top: 10px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; color: #8e9c96; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-contact { justify-self: start; }
}
@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--emerald-deep); padding: 8px 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; font-size: 17px; }
  .site-nav a.nav-cta { margin-top: 10px; width: auto; padding: 11px 18px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 200px; }
  .hero { min-height: 72vh; background-position: 60% 72%; }
  .hero::before { background: linear-gradient(90deg, rgba(8, 44, 34, .95) 0%, rgba(8, 44, 34, .78) 100%); }
  .hero-sub { font-size: 18px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .intro { padding-top: 64px; }
  .lead { font-size: 18px; }
  .cards { grid-template-columns: 1fr; gap: 48px; }
  .card { margin-left: 10px; }
  .protect { padding-bottom: 72px; }
  .how-grid, .partners { padding-top: 64px; padding-bottom: 64px; }
  .foot-top { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
