/* livsb.com — v2 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f5f2ed;
  --warm: #edeae4;
  --soft: #fbfaf7;
  --ink: #050e3d;
  --muted: #676574;
  --rule: #d8d3cb;
  --accent: #f84c6c;
  --accent-soft: #fde9ee;
  --white: #ffffff;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1120px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4rem, 8vw, 7rem);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  background: rgba(245, 242, 237, 0.95);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
}

.brand {
  font-family: var(--heading);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.page {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  grid-template-areas:
    "logo photo"
    "copy photo";
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: calc(100svh - 76px);
  padding: clamp(3rem, 7vw, 6rem) 0 var(--section);
}

.hero-logo-block {
  grid-area: logo;
}

.hero-logo {
  width: min(470px, 100%);
  margin-bottom: 2rem;
}

.hero-copy {
  grid-area: copy;
}

.eyebrow,
.section-label {
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.55rem, 6vw, 5rem);
}

.hero-copy h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3.2vw, 3.2rem);
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-photo {
  grid-area: photo;
  overflow: hidden;
  border-radius: 12px;
  background: var(--warm);
  border: 1px solid rgba(5, 14, 61, 0.08);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  background: var(--warm);
}

.intro-strip {
  background: var(--ink);
  color: var(--white);
}

.intro-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: 0;
}

.intro-item {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
}

.intro-item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--heading);
  font-size: 1rem;
  color: var(--white);
}

.intro-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: var(--section) 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-bottom: 2.4rem;
}

.section-header h2,
.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-header p,
.page-hero p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--soft);
  border: 1px solid rgba(5, 14, 61, 0.08);
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.content-card ul {
  margin: 1rem 0 0 1.1rem;
}

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: stretch;
}

.coverage-panel {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.coverage-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.coverage-panel h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.area-list a,
.mini-link {
  display: block;
  padding: 1rem;
  background: var(--soft);
  border: 1px solid rgba(5, 14, 61, 0.08);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.area-list a:hover,
.mini-link:hover {
  background: var(--warm);
  border-color: rgba(5, 14, 61, 0.18);
}

.area-list a span,
.mini-link span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--soft);
  border: 1px solid rgba(5, 14, 61, 0.08);
  border-radius: 8px;
}

.faq-item h2,
.faq-item h3 {
  max-width: 28ch;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.faq-item p {
  color: var(--muted);
}

.bio-band,
.contact-band {
  background: var(--warm);
}

.bio {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.bio-note {
  padding: 2rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  line-height: 1.25;
}

.bio-copy p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.bio-copy h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.role {
  color: var(--accent);
  font-family: var(--heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 var(--section);
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.content-card {
  margin-bottom: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--soft);
  border: 1px solid rgba(5, 14, 61, 0.08);
  border-radius: 8px;
}

.content-card h2,
.content-card h3 {
  margin-bottom: 0.75rem;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 96px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  font-family: var(--heading);
  font-size: 0.85rem;
}

.comparison-table td {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.contact h2 {
  max-width: 16ch;
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact p {
  max-width: 54ch;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 230px;
}

.contact-actions a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(5, 14, 61, 0.4);
}

.site-footer {
  padding: 2rem var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-logo {
  width: 130px;
}

.footer-compliance {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .site-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 242, 237, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gutter);
    gap: 0.85rem;
    z-index: 19;
  }

  .site-nav.nav-open .nav-links a {
    font-size: 0.95rem;
    color: var(--ink);
  }

  .site-nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .section-header,
  .coverage,
  .bio,
  .content-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "logo"
      "photo"
      "copy";
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-photo img {
    max-height: none;
  }

  .intro-strip-inner,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-cta {
    padding-inline: 0.9rem;
    font-size: 0.7rem;
  }

  .page {
    width: min(100% - 2rem, var(--max));
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-compliance {
    text-align: left;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
