:root {
  --bg: #f5efe6;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 250, 242, 0.84);
  --surface-strong: #fff8ed;
  --text: #18212b;
  --muted: #56626f;
  --line: rgba(24, 33, 43, 0.12);
  --brand: #d66c32;
  --brand-deep: #8f3c12;
  --cyan: #0b7f86;
  --rose: #a23a58;
  --slate: #22313f;
  --shadow: 0 22px 60px rgba(39, 31, 23, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1120px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 108, 50, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 127, 134, 0.1), transparent 26%),
    linear-gradient(180deg, #fcf5ea 0%, #f3ece2 100%);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 245, 234, 0.72);
  border-bottom: 1px solid rgba(24, 33, 43, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-nav a:not(.button) {
  color: var(--muted);
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero,
.page-hero,
.product-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero::after,
.page-hero::after,
.product-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(214, 108, 50, 0.16);
  filter: blur(20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.product-hero h1,
.section-heading h2,
.split-panel h2,
.cta-card h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0.4rem 0 1rem;
}

.page-hero h1,
.product-hero h1,
.section-heading h2,
.split-panel h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.lede {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 65ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.hero-points li,
.check-list div,
.summary-card li,
.compare-card li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.hero-points li::before,
.check-list div::before,
.summary-card li::before,
.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero-panel,
.metric-card,
.feature-card,
.service-card,
.cta-card,
.summary-card,
.mini-card,
.compare-card,
.table-card,
.legal-card {
  border: 1px solid rgba(24, 33, 43, 0.07);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 248, 237, 0.9), rgba(252, 240, 228, 0.8));
}

.metric-card {
  padding: 1.6rem;
  border-radius: calc(var(--radius-lg) - 8px);
  background: rgba(255, 255, 255, 0.56);
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.metric-card h2 {
  margin: 0.45rem 0 1.3rem;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-grid div {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.metric-grid strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.metric-grid span,
.status-band span {
  color: var(--muted);
}

.status-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.status-band span {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.section,
.page-main {
  padding-bottom: 2rem;
}

.page-hero,
.product-hero {
  padding: 4rem 0 1.2rem;
}

.section {
  padding-top: 2rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.76), rgba(255, 244, 231, 0.92));
}

.section-heading {
  margin-bottom: 1.6rem;
}

.feature-grid,
.service-grid,
.compare-grid,
.mini-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.feature-card,
.service-card,
.compare-card,
.mini-card,
.summary-card,
.legal-card,
.table-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.feature-card h3,
.service-card h3,
.compare-card h2,
.mini-card h3,
.summary-card h3,
.legal-card h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.feature-card p,
.service-card p,
.compare-card p,
.mini-card p,
.summary-card,
.legal-card p {
  color: var(--muted);
  line-height: 1.75;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.16;
}

.accent-amber::after {
  background: var(--brand);
}

.accent-cyan::after {
  background: var(--cyan);
}

.accent-rose::after {
  background: var(--rose);
}

.accent-slate::after {
  background: var(--slate);
}

.service-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.service-card a,
.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--brand-deep);
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.cta-section {
  padding-bottom: 4rem;
}

.cta-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(34, 49, 63, 0.94), rgba(118, 51, 17, 0.88));
  color: #fff;
}

.cta-card .eyebrow,
.cta-card .button-ghost {
  color: #fff;
}

.cta-card .button-ghost {
  border-color: rgba(255, 255, 255, 0.26);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.4rem;
  align-items: start;
}

.summary-card ul,
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.compare-card ul {
  margin-bottom: 0.4rem;
}

.table-card {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

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

.comparison-table th {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.comparison-table td a {
  color: var(--brand-deep);
  font-weight: 700;
}

.legal-card {
  display: grid;
  gap: 1.1rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(24, 33, 43, 0.07);
  box-shadow: var(--shadow);
}

.legal-toc a {
  color: var(--muted);
  font-weight: 600;
}

.legal-card section {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.legal-card section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-note {
  margin-top: 1rem;
  color: var(--brand-deep);
  font-weight: 700;
}

.site-footer {
  padding: 1rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 1rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(24, 33, 43, 0.08);
}

.brand-footer {
  margin-bottom: 0.7rem;
}

.brand-footer img {
  width: auto;
  height: 48px;
  max-width: 240px;
}

.footer-grid h3 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a,
.footer-bottom p {
  color: var(--muted);
}


.footer-grid a {
  display: block;
  margin-bottom: 0.65rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 33, 43, 0.08);
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .service-grid,
  .split-panel,
  .product-layout,
  .legal-layout,
  .footer-grid,
  .mini-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 1rem;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 248, 237, 0.98);
    border: 1px solid rgba(24, 33, 43, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 36px;
    max-width: 180px;
  }

  .brand-footer img {
    height: 42px;
    max-width: 200px;
  }

  .hero,
  .page-hero,
  .product-hero {
    padding-top: 3rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .product-hero h1 {
    font-size: 2.2rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}
