:root {
  --bg: #f4eee5;
  --paper: rgba(255, 250, 244, 0.82);
  --paper-strong: rgba(255, 255, 255, 0.9);
  --ink: #172227;
  --muted: #58656d;
  --line: rgba(23, 34, 39, 0.1);
  --teal: #0d7668;
  --teal-deep: #123d45;
  --amber: #c46a2f;
  --sand: #f0e2cf;
  --shadow: 0 26px 70px rgba(31, 38, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: min(1200px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(13, 118, 104, 0.16), transparent 28%),
    radial-gradient(circle at 88% 7%, rgba(196, 106, 47, 0.2), transparent 20%),
    radial-gradient(circle at 82% 78%, rgba(18, 61, 69, 0.11), transparent 24%),
    linear-gradient(180deg, #f7f2eb 0%, #f2ebe1 48%, #f8f6f2 100%);
}

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

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

.site-shell,
.site-main,
.site-footer__inner {
  width: var(--content-width);
  margin: 0 auto;
}

.site-shell {
  padding-top: 22px;
}

.site-shell__bar,
.hero-stage__copy,
.hero-stage__panel,
.tool-card,
.platform-grid__story,
.step-card,
.principle-card,
.cta-banner,
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-lift,
.tool-card,
.content-card {
  animation: rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-lift:nth-child(2),
.tool-card:nth-child(2),
.principle-card:nth-child(2) {
  animation-delay: 0.08s;
}

.card-lift:nth-child(3),
.tool-card:nth-child(3),
.principle-card:nth-child(3) {
  animation-delay: 0.14s;
}

.site-shell__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.site-brand {
  display: grid;
  gap: 4px;
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #1bb39d);
  box-shadow: 0 0 0 8px rgba(27, 179, 157, 0.12);
}

.site-brand__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(18, 61, 69, 0.12);
}

.site-nav__ghost {
  background: linear-gradient(135deg, rgba(13, 118, 104, 0.12), rgba(255, 255, 255, 0.92)) !important;
}

.site-main {
  padding: 30px 0 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #1bb39d);
  box-shadow: 0 0 0 8px rgba(27, 179, 157, 0.12);
}

.section-kicker--warm {
  color: var(--amber);
}

.section-kicker--warm::before {
  background: linear-gradient(135deg, var(--amber), #efb16a);
  box-shadow: 0 0 0 8px rgba(239, 177, 106, 0.14);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-bottom: 20px;
}

.hero-stage__copy,
.hero-stage__panel,
.platform-grid__story,
.step-card,
.principle-card,
.tool-card,
.cta-banner,
.content-card {
  padding: 28px;
}

.hero-stage__copy::after,
.hero-stage__panel::after,
.cta-banner::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(13, 118, 104, 0.16), transparent 64%);
  pointer-events: none;
}

.hero-stage h1,
.section-headline h2,
.platform-grid__story h2,
.cta-banner h2,
.content-card h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.section-headline h2,
.platform-grid__story h2,
.cta-banner h2,
.content-card h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-stage__lead,
.tool-card p,
.platform-grid__story p,
.step-card p,
.principle-card p,
.site-footer__muted,
.content-card p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-stage__actions,
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.tool-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible,
.tool-card__link:hover,
.tool-card__link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(18, 61, 69, 0.14);
}

.button--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
}

.button--soft {
  background: linear-gradient(135deg, rgba(196, 106, 47, 0.12), rgba(255, 255, 255, 0.92));
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.metric-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 34, 39, 0.07);
}

.metric-card strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
}

.metric-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-stage__panel h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  font-family: "Fraunces", Georgia, serif;
}

.hero-stack {
  display: grid;
  gap: 12px;
}

.stack-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(23, 34, 39, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.stack-card__label {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-card__copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.stack-card__path,
.tool-card__path {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(18, 61, 69, 0.08);
  color: var(--teal-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.signal-strip span {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 34, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.88rem;
  animation: drift 7s ease-in-out infinite;
}

.signal-strip span:nth-child(2n) {
  animation-delay: 0.5s;
}

.signal-strip span:nth-child(3n) {
  animation-delay: 1s;
}

.section-block {
  margin-bottom: 28px;
}

.section-headline {
  margin-bottom: 16px;
}

.section-headline h2 {
  max-width: 16ch;
}

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

.tool-card h2,
.principle-card h3,
.step-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1.02;
}

.tool-card__eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tool-card__list {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tool-card__list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.tool-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), #1bb39d);
}

.tool-card__link {
  margin-top: 18px;
  width: fit-content;
}

.tool-card--data {
  background: linear-gradient(180deg, rgba(13, 118, 104, 0.1), rgba(255, 255, 255, 0.88));
}

.tool-card--access {
  background: linear-gradient(180deg, rgba(18, 61, 69, 0.1), rgba(255, 255, 255, 0.88));
}

.tool-card--backup {
  background: linear-gradient(180deg, rgba(196, 106, 47, 0.11), rgba(255, 255, 255, 0.88));
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.platform-grid__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card__index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.principle-card h3 {
  font-size: 1.5rem;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.content-shell {
  display: grid;
  gap: 18px;
}

.entry-content {
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  padding: 0 0 44px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.site-footer__title {
  margin: 0;
  font-weight: 800;
}

.site-footer__muted {
  margin: 6px 0 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 1080px) {
  .hero-stage,
  .platform-grid,
  .tools-grid,
  .principles-grid,
  .platform-grid__steps {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-shell__bar,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stage__copy,
  .hero-stage__panel,
  .tool-card,
  .platform-grid__story,
  .step-card,
  .principle-card,
  .cta-banner,
  .content-card {
    padding: 22px;
  }

  .hero-stage h1,
  .section-headline h2,
  .platform-grid__story h2,
  .cta-banner h2,
  .content-card h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}
