:root {
  --bg: #f5f1e8;
  --bg-soft: #efe6d8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #182235;
  --text-soft: #516078;
  --line: rgba(24, 34, 53, 0.12);
  --accent: #b98341;
  --accent-deep: #8f6030;
  --navy: #122034;
  --shadow: 0 24px 80px rgba(18, 32, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(185, 131, 65, 0.18), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(18, 32, 52, 0.12), transparent 26%),
    linear-gradient(180deg, #faf7f0 0%, #f2ecdf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 85%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto 48px;
}

.site-header,
.site-footer,
.hero,
.section {
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 18px 22px;
  background: rgba(250, 247, 240, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(18, 32, 52, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--navy), #30405c);
  border-radius: 50%;
}

.brand-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.product-links a,
.footer-meta a {
  color: var(--text-soft);
  text-decoration: none;
}

.site-nav a:hover,
.product-links a:hover,
.footer-meta a:hover {
  color: var(--text);
}

.hero,
.section,
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  padding: 56px;
}

.hero::after,
.section::after,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.38), transparent 34%, rgba(18, 32, 52, 0.04));
}

.kicker,
.section-heading p,
.footer-label,
.network-card span,
.network-grid span,
.product-panel span {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-title {
  max-width: 18ch;
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
}

.hero-text,
.overview-grid p,
.capability-card p,
.product-copy p,
.product-points li,
.principles-grid p,
.site-footer p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #2b3d59);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}

.hero-facts div,
.network-card-primary,
.network-grid article,
.capability-card,
.product-panel,
.principles-grid article {
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 32px rgba(18, 32, 52, 0.08);
}

.hero-facts div {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-facts dt {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.network-card-primary {
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(185, 131, 65, 0.18), transparent 35%),
    linear-gradient(160deg, rgba(18, 32, 52, 0.96), rgba(41, 57, 81, 0.94));
  color: #eef3fb;
}

.network-card-primary span,
.network-card-primary p {
  color: rgba(238, 243, 251, 0.76);
}

.network-card-primary strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.network-card-primary p {
  margin: 0;
  line-height: 1.6;
}

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

.network-grid article,
.capability-card,
.principles-grid article {
  padding: 22px;
  border-radius: 22px;
}

.network-grid strong,
.product-panel strong {
  display: block;
  line-height: 1.35;
}

.section,
.site-footer {
  margin-top: 24px;
  padding: 40px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.section-heading p {
  margin-bottom: 0;
}

.section-heading h2,
.site-footer h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.overview-grid,
.product-layout,
.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.capability-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.capability-card h3,
.principles-grid h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.featured-product {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at top right, rgba(185, 131, 65, 0.18), transparent 28%);
}

.policy-copy {
  display: grid;
  gap: 18px;
  max-width: 80ch;
}

.policy-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}

.product-copy p {
  margin-top: 0;
}

.product-points {
  padding-left: 20px;
  margin: 20px 0 24px;
}

.product-points li + li {
  margin-top: 10px;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.product-panel {
  padding: 22px;
  border-radius: 24px;
}

.product-panel-header {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-panel-body {
  display: grid;
  gap: 18px;
}

.product-panel-body div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(24, 34, 53, 0.08);
}

.product-panel-body div:last-child {
  border-bottom: 0;
}

.footer-meta {
  align-self: end;
}

@media (max-width: 980px) {
  .hero,
  .overview-grid,
  .product-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 28px;
  }

  .capability-grid,
  .principles-grid,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section,
  .site-footer {
    padding: 32px 24px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 12px;
  }

  .site-header {
    position: static;
    border-radius: 28px;
    padding: 18px;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

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