:root {
  color-scheme: dark;
  --page: #0e1716;
  --surface: #152220;
  --surface-hover: #192926;
  --line: #304541;
  --ink: #f5f8f3;
  --muted: #c1d0c9;
  --accent: #d7fa9c;
  --dark-ink: #142219;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  background: var(--page);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 1.3rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 5rem, 86rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: .65rem;
  left: .65rem;
  padding: .65rem 1rem;
  background: var(--accent);
  color: var(--dark-ink);
  clip-path: inset(50%);
}
.skip-link:focus { clip-path: none; }

.site-header {
  min-height: 5.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.15rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  justify-self: start;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: .77rem;
  background: var(--accent);
}
.brand-mark::before, .brand-mark::after, .brand-mark > span {
  content: "";
  position: absolute;
  background: #183025;
}
.brand-mark::before, .brand-mark::after {
  width: .27rem;
  height: 1.23rem;
  top: .76rem;
  border-radius: .12rem;
  transform: skewX(-25deg);
}
.brand-mark::before { left: .87rem; }
.brand-mark::after { left: 1.48rem; }
.brand-mark > span { top: .63rem; right: .57rem; width: .23rem; height: .23rem; border-radius: 50%; }
.brand-word { display: grid; line-height: 1; }
.brand-word strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.065em; }
.brand-word strong span { color: var(--accent); }
.brand-word small { margin-top: .32rem; font-size: .76rem; font-weight: 650; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.2vw, 3rem); }
.site-nav a {
  min-height: 2.6rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: .97rem;
  font-weight: 650;
}
.site-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .23em; }
.header-cta { justify-self: end; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .68rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { color: var(--dark-ink); background: var(--accent); }
.button-primary:hover { background: #eaffc5; }
.button-line { color: var(--ink); border-color: #80958b; background: #152521a6; }
.button-line:hover { background: #2b4139; border-color: #bdcec2; }
.header-cta { min-height: 2.75rem; background: transparent; }

.hero {
  position: relative;
  z-index: 0;
  display: grid;
  align-items: center;
  min-height: clamp(35rem, 47vw, 43rem);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #2f4646;
  border-radius: 1.35rem;
  background: #091b28;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #07141eea 0%, #07141eb8 33%, #07141e09 72%);
}
.hero-inner { padding: 3.8rem clamp(2.1rem, 6.2vw, 6.15rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .64rem;
  margin-bottom: 1.25rem;
  color: #e1f2e9;
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.25;
  text-transform: uppercase;
}
.eyebrow > span { flex: 0 0 1.4rem; height: 2px; background: var(--accent); }
h1 {
  font-size: clamp(4rem, 8.2vw, 8.1rem);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -.085em;
}
h1 em { color: var(--accent); font-style: normal; }
.hero-description {
  max-width: 28rem;
  margin: 1.65rem 0 1.75rem;
  color: #e7f2ed;
  font-size: clamp(1.05rem, 1.52vw, 1.26rem);
}

.service-section { margin-top: clamp(3.5rem, 6.3vw, 6.4rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(13rem, 22rem);
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 1.65rem;
}
h2 {
  font-size: clamp(2.65rem, 5.3vw, 5.25rem);
  font-weight: 740;
  line-height: 1.01;
  letter-spacing: -.075em;
}
.section-heading p { padding-bottom: .25rem; color: var(--muted); }
.featured, .other-services { display: grid; gap: .9rem; }
.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.other-services { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .9rem; }
.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  transition: background-color .18s ease, border-color .18s ease;
}
.service-card:hover, .service-card:focus-within { background: var(--surface-hover); border-color: #69817a; }
.feature-visual { position: relative; height: clamp(13.5rem, 20vw, 18rem); }
.insurance-visual { background: #173238; }
.feature-visual > img, .card-photo > img { width: 100%; height: 100%; object-fit: cover; }
.insurance-visual img { object-position: 64% 53%; }
.card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(1.25rem, 2.7vw, 2.5rem);
}
.card-inner h3 {
  font-weight: 740;
  line-height: 1.03;
  letter-spacing: -.055em;
}
.feature-card h3 { font-size: clamp(2rem, 4.05vw, 4.05rem); }
.card-inner p { max-width: 37rem; color: var(--muted); margin: .85rem 0 1.45rem; }
.card-inner .actions, .card-inner .text-link { margin-top: auto; }

.sigo-visual {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  isolation: isolate;
  background: radial-gradient(ellipse at 70% 12%, #276258, transparent 62%), #113732;
}
.sigo-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#d6f9e425 1px, transparent 1px), linear-gradient(90deg, #d6f9e425 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
  mask-image: linear-gradient(146deg, transparent 12%, #000 90%);
}
.sigo-window {
  width: min(100%, 24rem);
  border: 1px solid #bee2cd;
  border-radius: .9rem;
  background: #eff8f0;
  box-shadow: 0 1.25rem 2.7rem #071c1970;
  color: #162b24;
}
.sigo-top { display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; border-bottom: 1px solid #d5e5d9; }
.sigo-top strong, .sigo-top small { display: block; line-height: 1.2; }
.sigo-top small { margin-top: .18rem; color: #3f6053; font-size: .8rem; }
.sigo-icon { position: relative; width: 2.25rem; aspect-ratio: 1; flex: 0 0 auto; border-radius: .55rem; background: #143d33; }
.sigo-icon::before, .sigo-icon::after { content: ""; position: absolute; border: 2px solid var(--accent); }
.sigo-icon::before { width: 1rem; height: .72rem; left: .62rem; top: .64rem; border-radius: .22rem; }
.sigo-icon::after {
  width: .28rem;
  height: .27rem;
  left: .82rem;
  top: 1.18rem;
  border-top: 0;
  border-right: 0;
  transform: skewY(-24deg);
  background: #143d33;
}
.sigo-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; padding: .7rem .9rem .85rem; }
.sigo-modes > span {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.45rem;
  padding: .35rem .55rem;
  border: 1px solid #c5dace;
  border-radius: .52rem;
  background: #fbfefb;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.2;
}
.mode-icon { position: relative; width: .95rem; flex: 0 0 auto; }
.mode-voice { height: .85rem; border: 2px solid #28624c; border-top: 0; border-right: 0; border-radius: 0 0 0 .55rem; transform: rotate(-12deg); }
.mode-voice::before, .mode-voice::after { content: ""; position: absolute; width: .29rem; height: .31rem; border-radius: .1rem; background: #28624c; }
.mode-voice::before { left: -.12rem; top: -.04rem; }
.mode-voice::after { right: 0; bottom: -.1rem; }
.mode-video { width: .71rem; height: .62rem; margin-right: .24rem; border: 2px solid #28624c; border-radius: .15rem; }
.mode-video::after {
  content: "";
  position: absolute;
  top: -.03rem;
  left: .56rem;
  width: .31rem;
  height: .45rem;
  background: #28624c;
  clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 69%);
}
.card-photo { height: clamp(10.25rem, 14.5vw, 13.2rem); background: #172e2a; }
.compact-card .card-inner { padding: clamp(1rem, 2.1vw, 1.7rem); }
.compact-card h3 { font-size: clamp(1.52rem, 2.25vw, 2.18rem); }
.compact-card p { margin: .7rem 0 1rem; }
.text-link { color: var(--accent); text-underline-offset: .25em; font-weight: 750; }
.text-link:hover { color: #f0ffd2; text-decoration-thickness: 2px; }

.contact {
  margin-top: clamp(3rem, 5.8vw, 5.3rem);
  padding: clamp(1.35rem, 4.55vw, 4.45rem);
  border-radius: 1.35rem;
  background: #e5f1e4;
  color: var(--dark-ink);
  color-scheme: light;
}
.contact :focus-visible { outline-color: #215948; }
.contact-heading { display: grid; grid-template-columns: 1fr minmax(12rem, 21rem); align-items: end; gap: .85rem; margin-bottom: 1.5rem; }
.contact-heading h2 { font-size: clamp(2.55rem, 4.7vw, 4.65rem); }
.contact-heading p, .contact-card p { color: #3f594c; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.contact-card { padding: clamp(1rem, 2.2vw, 1.75rem); background: #f8fbf8; border: 1px solid #cadfce; border-radius: .9rem; }
.contact-card h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 780; line-height: 1.21; letter-spacing: -.04em; }
.contact-card p { margin: .38rem 0 1rem; }
.contact-card .button { min-height: 2.75rem; }
.button-dark { color: #fff; background: #173d31; }
.button-dark:hover { background: #275b49; }
.button-contact-line { color: #1b4638; border-color: #729487; }
.button-contact-line:hover { background: #e3efe6; border-color: #315f50; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.9rem; }
.site-footer p { color: var(--muted); font-size: .9rem; }

@media (max-width: 58rem) {
  .shell { width: calc(100% - 3rem); }
  .hero-inner { padding-inline: 2.25rem; }
  .section-heading { grid-template-columns: 1fr minmax(13rem, 17rem); }
  .card-inner { padding-inline: 1.25rem; }
  .other-services { gap: .65rem; }
}

@media (max-width: 44rem) {
  .shell { width: calc(100% - 2rem); }
  .site-header { grid-template-columns: 1fr auto; min-height: 0; padding-block: .9rem .6rem; gap: .4rem .75rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .5rem 1rem; }
  .site-nav a { min-height: 2.75rem; }
  .hero { min-height: 0; border-radius: 1rem; }
  .hero-inner { padding: 2.15rem clamp(1.1rem, 5.4vw, 2.15rem) 14rem; }
  .hero-image { inset: auto 0 0; height: 18rem; object-position: 78% center; }
  .hero::after { background: linear-gradient(180deg, #091b28 0%, #091b28 44%, #091b28df 56%, #091b2814 83%); }
  h1 { font-size: clamp(2.9rem, 11.45vw, 5.5rem); }
  .eyebrow { font-size: .78rem; margin-bottom: .95rem; letter-spacing: .085em; }
  .eyebrow > span { flex-basis: .9rem; }
  .hero-description { margin-block: 1.05rem 1.2rem; }
  .hero .button { padding-inline: .85rem; }
  .section-heading, .contact-heading { grid-template-columns: 1fr; align-items: start; gap: .65rem; }
  .section-heading p, .contact-heading p { max-width: 28rem; }
  .featured, .contact-grid { grid-template-columns: 1fr; }
  .other-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-inner { padding: 1.2rem; }
  .feature-visual { height: clamp(11.5rem, 47vw, 16rem); }
  .feature-card br { display: none; }
  .contact { border-radius: 1.05rem; }
}

@media (max-width: 32rem) {
  .other-services { grid-template-columns: 1fr; }
  .card-photo { height: clamp(9rem, 45vw, 13.2rem); }
}

@media (max-width: 26rem) {
  .sigo-modes { grid-template-columns: 1fr; }
  .sigo-modes > span { min-height: 1.85rem; }
  .feature-visual { min-height: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
