:root {
  --ink: #173844;
  --ink-soft: #21424a;
  --sea: #a8cdd7;
  --sea-soft: #d7eaef;
  --sand: #d9c8ad;
  --sand-deep: #b89662;
  --cream: #fbf7f1;
  --paper: #fffdfa;
  --line: rgba(23,56,68,.12);
  --shadow: 0 24px 60px rgba(23,56,68,.12);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 { font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; }
p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand-deep);
}
.eyebrow::before {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #0f2c36; }
.btn-secondary { background: rgba(255,255,255,.78); color: var(--ink); border-color: rgba(23,56,68,.14); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: white; }
.btn-light { background: var(--paper); color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,250,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  gap: 22px;
}

.brand img {
  width: min(300px, 28vw);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: .94rem;
  font-weight: 600;
}
.nav-links a {
  opacity: .84;
}
.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.login-link {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  background-image:
    linear-gradient(90deg, rgba(251,247,241,.95) 0%, rgba(251,247,241,.88) 26%, rgba(251,247,241,.60) 45%, rgba(251,247,241,.18) 64%, rgba(251,247,241,.18) 100%),
    url("var(--hero-art)");
  background-size: cover, cover;
  background-position: center center, right center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,205,215,.32), rgba(168,205,215,0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 0 52px;
}

.hero-panel {
  width: min(600px, 100%);
  padding: 0;
}

.hero h1 {
  margin: 20px 0 22px;
  color: var(--ink);
}

.hero h1 em {
  color: var(--sand-deep);
  font-style: italic;
}

.hero-copy {
  font-size: 1.16rem;
  max-width: 560px;
  color: rgba(23,56,68,.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  display: inline-flex;
  align-items: flex-start;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(23,56,68,.08);
  color: rgba(23,56,68,.68);
  font-size: .86rem;
  backdrop-filter: blur(10px);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(23,56,68,.7);
}
.trust-item:last-child { border-right: 0; }

.section {
  padding: 100px 0;
}

.section-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head p {
  max-width: 620px;
  color: rgba(23,56,68,.68);
  font-size: 1.06rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  min-height: 360px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.service-card:nth-child(1) {
  background: linear-gradient(145deg, rgba(168,205,215,.42), white 66%);
}
.service-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(217,200,173,.42), white 66%);
}
.service-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(156,173,176,.18), white 66%);
}
.service-number {
  font-size: .75rem;
  letter-spacing: .18em;
  color: var(--sand-deep);
  font-weight: 800;
}
.service-card h3 {
  margin: 72px 0 16px;
  font-size: 2rem;
}
.service-card p {
  color: rgba(23,56,68,.66);
}
.service-link {
  position: absolute;
  left: 32px;
  bottom: 30px;
  font-weight: 800;
  font-size: .88rem;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.how {
  background: var(--ink);
  color: white;
}
.how .eyebrow {
  color: var(--sea);
}
.how .section-head p {
  color: rgba(255,255,255,.68);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.step strong {
  display: block;
  color: var(--sea);
  font-size: .78rem;
  letter-spacing: .18em;
  margin-bottom: 18px;
}
.step h3 {
  margin-bottom: 12px;
  color: white;
}
.step p {
  color: rgba(255,255,255,.66);
}

.portal {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper), #f4efe5);
}
.portal-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.portal-copy {
  padding: 54px;
}
.portal-copy h2 {
  margin: 16px 0 20px;
}
.portal-copy > p {
  max-width: 560px;
  color: rgba(23,56,68,.66);
}
.portal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 34px;
}
.portal-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  font-weight: 650;
}