:root {
  --ink: #1f2526;
  --muted: #637071;
  --paper: #fffdf8;
  --soft: #f6efe2;
  --gold: #f5a800;
  --amber: #d77b18;
  --teal: #0f6f6a;
  --line: rgba(31, 37, 38, 0.14);
  --shadow: 0 24px 70px rgba(49, 35, 9, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

nav {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(245, 168, 0, 0.16), transparent 38%),
    linear-gradient(315deg, rgba(15, 111, 106, 0.12), transparent 42%),
    var(--paper);
}

.hero-copy,
.section-heading,
.split-section > div:first-child,
.contact > div:first-child {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.lead {
  max-width: 660px;
  color: #3d4849;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.55);
}

.button:hover {
  transform: translateY(-1px);
}

.portal-card {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mark {
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 8px;
}

.card-label {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.25rem;
  font-weight: 700;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.trust-strip div {
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section,
.split-section,
.contact {
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.service-grid article {
  min-height: 260px;
  padding: 1.4rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.service-grid p,
.split-section p,
.contact p {
  color: var(--muted);
  font-size: 1.03rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background: var(--soft);
}

.portal-panel {
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: rgba(255, 255, 255, 0.68);
}

.panel-row strong {
  text-align: right;
}

.compact {
  background: #ffffff;
}

.fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.fit-list span {
  padding: 0.75rem 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #1f2526, #263d3b);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.75);
}

.contact .button.primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.contact .button.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 2.55rem;
  }

  .button {
    width: 100%;
  }

  .panel-row,
  .site-footer {
    flex-direction: column;
  }

  .panel-row strong {
    text-align: left;
  }
}
