:root {
  --garnet: #8d123d;
  --garnet-deep: #430b22;
  --rose: #d66f8e;
  --blush: #f4dce4;
  --paper: #fffafb;
  --paper-deep: #f6eef1;
  --ink: #27151d;
  --muted: #725e67;
  --line: rgba(75, 23, 44, 0.16);
  --shadow: 0 24px 70px rgba(71, 12, 36, 0.12);
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(214, 111, 142, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, #fff 46%, var(--paper-deep) 100%);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--garnet);
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(84, 12, 42, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--garnet);
  background: rgba(141, 18, 61, 0.07);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--garnet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.75fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
  min-height: 700px;
  padding: 54px 0 94px;
}

.hero h1,
.page-header h1,
.article-header h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.9;
}

.hero .lede,
.page-header .lede,
.article-header .lede {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--garnet);
  border-radius: 999px;
  color: #fff;
  background: var(--garnet);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(141, 18, 61, 0.2);
}

.button.secondary {
  color: var(--garnet);
  background: transparent;
  box-shadow: none;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.hero-visual::before {
  position: absolute;
  width: min(94%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(141, 18, 61, 0.17);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 52px rgba(214, 111, 142, 0.055),
    0 0 0 104px rgba(141, 18, 61, 0.025);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(76%, 315px);
  padding: 9px;
  border: 1px solid rgba(52, 15, 30, 0.2);
  border-radius: 46px;
  background: #18070e;
  box-shadow: 0 40px 90px rgba(67, 11, 34, 0.25);
  transform: rotate(2deg);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 38px;
}

.visual-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 52px;
  max-width: 190px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 250, 251, 0.92);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

.product-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(38px, 8vw, 90px);
  align-items: center;
  margin: 10px 0 72px;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(244, 220, 228, 0.62), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow);
}

.product-preview .phone {
  width: min(100%, 300px);
  justify-self: center;
  transform: rotate(-1.5deg);
}

.product-preview h2 {
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.product-preview p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.feature-grid,
.principle-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature,
.principle,
.post-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 52px rgba(67, 11, 34, 0.06);
}

.feature .number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--garnet);
  font-size: 0.85rem;
  font-weight: 800;
}

.feature h3,
.principle h3,
.post-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.feature p,
.principle p,
.post-card p {
  margin: 0;
  color: var(--muted);
}

.timeline-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  color: #fff;
  background: var(--garnet-deep);
}

.timeline-band::after {
  position: absolute;
  top: 0;
  right: 13%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.timeline-band .section-heading h2,
.timeline-band .section-heading p {
  color: #fff;
}

.timeline-band .section-heading p {
  color: #e9cfd8;
}

.moment-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.moment-list li {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
}

.moment-list strong {
  display: block;
  margin-bottom: 8px;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 1.35rem;
}

.moment-list span {
  color: #e9cfd8;
}

.page-header,
.article-header {
  max-width: 900px;
  padding: 94px 0 58px;
}

.page-header h1,
.article-header h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 66px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 1.16rem;
  line-height: 1.78;
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: 1.32rem;
}

.article-body h2 {
  margin: 2.4em 0 0.5em;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.article-body h3 {
  margin: 1.9em 0 0.45em;
  font-size: 1.45rem;
}

.article-body li {
  margin: 0.6em 0;
}

.answer-box,
.truth-box {
  margin: 2em 0;
  padding: 22px 24px;
  border: 1px solid rgba(141, 18, 61, 0.22);
  border-radius: 18px;
  background: rgba(244, 220, 228, 0.45);
}

.answer-box strong,
.truth-box strong {
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.toc strong,
.toc a {
  display: block;
}

.toc strong {
  margin-bottom: 9px;
}

.toc a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

.post-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  border-color: rgba(141, 18, 61, 0.38);
  transform: translateY(-3px);
}

.post-card.featured {
  grid-column: span 2;
  background:
    radial-gradient(circle at 90% 10%, rgba(214, 111, 142, 0.22), transparent 18rem),
    #fff;
}

.post-meta {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cta {
  margin-top: 64px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background: var(--garnet);
}

.cta h2,
.cta p {
  color: #fff;
}

.cta h2 {
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.cta p {
  max-width: 620px;
  margin: 0;
}

.cta .button {
  margin-top: 20px;
  border-color: #fff;
  color: var(--garnet);
  background: #fff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 100px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .section-heading,
  .article-layout,
  .product-preview {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 24px), 1160px);
  }

  .site-nav {
    align-items: flex-start;
  }

  .nav-links a:not([aria-current="page"]):not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .hero-visual {
    min-height: 560px;
  }

  .visual-caption {
    right: 8px;
    bottom: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .feature-grid,
  .principle-grid,
  .post-grid,
  .moment-list {
    grid-template-columns: 1fr;
  }

  .post-card.featured {
    grid-column: auto;
  }

  .page-header,
  .article-header {
    padding-top: 66px;
  }
}
