:root {
  --bg: #eee5d6;
  --bg-strong: #fbf7f1;
  --panel: rgba(255, 255, 255, 0.68);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --ink: #201612;
  --ink-soft: #645149;
  --line: rgba(46, 30, 23, 0.12);
  --line-strong: rgba(46, 30, 23, 0.2);
  --accent: #e77533;
  --accent-deep: #bf5821;
  --accent-soft: #fff0e3;
  --night: #18110f;
  --night-soft: #2a1d18;
  --night-line: rgba(255, 244, 236, 0.12);
  --shadow: 0 32px 90px rgba(63, 36, 20, 0.16);
  --shadow-strong: 0 40px 120px rgba(20, 10, 7, 0.26);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --content-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(231, 117, 51, 0.18), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(204, 130, 84, 0.14), transparent 18%),
    linear-gradient(180deg, #f4ecdf 0%, #eee5d6 100%);
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand {
  font-family: "Fraunces", "Iowan Old Style", serif;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.page-glow {
  position: fixed;
  width: 36vw;
  height: 36vw;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.42;
  z-index: 0;
}

.page-glow-left {
  top: 6vh;
  left: -10vw;
  background: rgba(231, 117, 51, 0.18);
}

.page-glow-right {
  right: -10vw;
  bottom: 10vh;
  background: rgba(152, 117, 88, 0.14);
}

.shell {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
  padding: 22px 0 56px;
}

.topbar,
.hero,
.principles,
.truth-shell,
.cta-card,
.footer {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(70, 38, 19, 0.06);
}

.brand {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  color: #fff8f1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 18px 40px rgba(186, 90, 36, 0.22);
}

.button-secondary,
.button-quiet {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.56);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  gap: 44px;
  align-items: start;
  padding: 40px 0 54px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 34rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 34rem;
}

.pill-row span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 251, 246, 0.74);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(70, 38, 19, 0.05);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 38px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 186, 140, 0.5), transparent 30%),
    radial-gradient(circle at 88% 84%, rgba(111, 86, 72, 0.14), transparent 28%),
    rgba(255, 249, 242, 0.56);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 36, 20, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 36, 20, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  pointer-events: none;
}

.screen-card {
  position: relative;
  padding: 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 50px rgba(78, 44, 25, 0.12);
  transform: rotate(var(--tilt));
  animation: float 9s ease-in-out infinite;
  animation-delay: var(--float-delay);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.screen-card:hover {
  transform: rotate(var(--tilt)) translateY(-6px);
  box-shadow: 0 24px 60px rgba(78, 44, 25, 0.18);
}

.screen-card-large {
  margin-top: 18px;
}

.device-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow-strong);
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #000;
  transform: translateX(-50%);
}

.screen-label {
  margin: 12px 4px 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.principles,
.cta-section {
  padding: 54px 0;
}

.section-intro {
  margin-bottom: 24px;
}

.section-intro h2 {
  margin-bottom: 0;
}

.principle-grid,
.truth-grid {
  display: grid;
  gap: 16px;
}

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

.principle-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 246, 0.7);
  box-shadow: 0 20px 50px rgba(76, 45, 28, 0.08);
}

.truth-band {
  padding: 26px 0;
}

.truth-shell {
  padding: 32px;
  border: 1px solid var(--night-line);
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(231, 117, 51, 0.18), transparent 28%),
    linear-gradient(180deg, #1f1613 0%, #15100e 100%);
  box-shadow: var(--shadow-strong);
}

.section-intro-dark .eyebrow,
.section-intro-dark h2 {
  color: #fff7ef;
}

.section-intro-dark p {
  color: rgba(255, 240, 230, 0.72);
}

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

.truth-card {
  padding: 22px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.truth-card h3 {
  color: #fff7ef;
}

.truth-card p {
  color: rgba(255, 240, 230, 0.72);
}

.cta-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  background:
    radial-gradient(circle at 12% 14%, rgba(231, 117, 51, 0.16), transparent 30%),
    rgba(255, 251, 246, 0.72);
  box-shadow: var(--shadow);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(46, 30, 23, 0.1);
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@media (max-width: 1080px) {
  .hero,
  .principle-grid,
  .truth-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-stage {
    max-width: 700px;
  }

  .screen-card-large {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: min(100vw - 20px, 100%);
  }

  h1,
  h2 {
    max-width: none;
  }

  .shell {
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .topbar-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero {
    padding: 26px 0 44px;
  }

  .hero-stage {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 0;
    padding: 14px;
    border-radius: 30px;
  }

  .screen-card {
    padding: 8px 8px 12px;
    border-radius: 24px;
  }

  .screen-card,
  .screen-card:hover {
    transform: none;
  }

  .device-frame {
    border-radius: 22px;
  }

  .device-frame::before {
    top: 10px;
    height: 16px;
  }

  .principles,
  .cta-section {
    padding: 42px 0;
  }

  .truth-shell,
  .cta-card {
    padding: 24px 18px;
    border-radius: 30px;
  }

  .principle-card,
  .truth-card {
    padding: 20px;
  }

  .footer {
    padding-bottom: 8px;
  }
}
