:root {
  --bg: #f7efe2;
  --bg-deep: #f3dfcb;
  --surface: rgba(255, 252, 247, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1b2530;
  --muted: #60707d;
  --line: rgba(27, 37, 48, 0.1);
  --accent: #ff8a5b;
  --accent-soft: rgba(255, 138, 91, 0.16);
  --accent-two: #2b9386;
  --accent-three: #4f6bff;
  --shadow: 0 30px 90px rgba(95, 62, 27, 0.14);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background-color: #fff8ef;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 138, 91, 0.26), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(43, 147, 134, 0.2), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(79, 107, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fff8ef 0%, var(--bg) 48%, var(--bg-deep) 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.14) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at center, black 36%, transparent 88%);
  mask-image: radial-gradient(circle at center, black 36%, transparent 88%);
  opacity: 0.42;
}

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

p,
h1,
h2 {
  margin: 0;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.landing {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 1.5rem;
}

.hero-card {
  position: relative;
  width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 240, 0.64));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.9;
  z-index: 0;
}

.hero-card::before {
  top: -90px;
  left: -30px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 138, 91, 0.34) 0%, transparent 72%);
}

.hero-card::after {
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(43, 147, 134, 0.22) 0%, transparent 72%);
}

.hero-copy,
.showcase {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.brand-pill,
.eyebrow,
h1,
h2,
.study-card-word,
.floating-card strong,
.study-stats strong {
  font-family: "Sora", sans-serif;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(102, 74, 43, 0.08);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-pill-link {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-pill-link:hover,
.brand-pill-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(102, 74, 43, 0.12);
}

.eyebrow {
  margin-top: 1.2rem;
  color: var(--accent-two);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 1rem auto 0;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 60ch;
  margin: 1.35rem auto 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.feature-pills span {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(102, 74, 43, 0.06);
  font-size: 0.94rem;
  font-weight: 700;
}

.showcase {
  min-height: 500px;
  margin-top: 2.75rem;
  display: grid;
  place-items: center;
}

.showcase-orbit {
  position: absolute;
  width: min(100%, 720px);
  aspect-ratio: 1.55;
  border-radius: 999px;
  border: 1px solid rgba(79, 107, 255, 0.18);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(135deg, rgba(79, 107, 255, 0.08), rgba(255, 138, 91, 0.04));
  filter: blur(0.2px);
}

.study-panel,
.floating-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 26px 60px rgba(102, 74, 43, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.study-panel {
  position: relative;
  width: min(100%, 440px);
  padding: 1.35rem;
  border-radius: 34px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-chip,
.floating-label {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #b84e29;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-pulse {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-two);
  box-shadow: 0 0 0 0 rgba(43, 147, 134, 0.28);
  animation: pulse 2.8s ease-out infinite;
}

h2 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(1.95rem, 4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.study-card {
  margin-top: 1.4rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(79, 107, 255, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(254, 249, 243, 0.98));
  border: 1px solid rgba(27, 37, 48, 0.06);
}

.study-card-label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.study-card-word {
  margin-top: 0.72rem;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.07em;
}

.study-card-copy {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.study-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.study-stats div,
.floating-card {
  border-radius: var(--radius-md);
}

.study-stats div {
  padding: 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 37, 48, 0.06);
  text-align: left;
}

.study-stats strong,
.floating-card strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.study-stats span,
.floating-card span {
  display: block;
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.floating-card {
  position: absolute;
  max-width: 240px;
  padding: 1rem;
  animation: drift 7.5s ease-in-out infinite;
}

.floating-card-left {
  top: 16%;
  left: 4%;
}

.floating-card-right {
  top: 22%;
  right: 2%;
  animation-delay: 1.2s;
}

.floating-card-bottom {
  bottom: 5%;
  right: 13%;
  max-width: 280px;
  animation-delay: 2.1s;
}

.floating-card strong {
  margin-top: 0.75rem;
}

.footer {
  padding: 0 1rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1rem;
}

.footer-links a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.policy-page {
  overflow-x: clip;
}

.policy-header {
  padding: 1rem 1rem 0;
  display: flex;
  justify-content: center;
}

.policy-main {
  flex: 1;
  width: 100%;
  padding: 1rem 1rem 2rem;
}

.policy-card {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 248, 240, 0.68));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.policy-card h1 {
  max-width: 14ch;
  margin: 1rem 0 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.policy-card h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.1;
}

.policy-lead {
  margin: 1rem 0 0;
}

.policy-sections {
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
}

.policy-sections section {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(27, 37, 48, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(102, 74, 43, 0.06);
}

.policy-sections p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
}

.policy-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.policy-list li + li {
  margin-top: 0.55rem;
}

.policy-card a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 147, 134, 0.28);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(43, 147, 134, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(43, 147, 134, 0);
  }
}

@media (max-width: 980px) {
  .showcase {
    min-height: auto;
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .showcase-orbit {
    width: 100%;
    aspect-ratio: auto;
    inset: 5% 0 auto;
    height: 76%;
  }

  .floating-card,
  .floating-card-left,
  .floating-card-right,
  .floating-card-bottom {
    position: relative;
    inset: auto;
    max-width: 440px;
    width: min(100%, 440px);
  }
}

@media (max-width: 720px) {
  .landing {
    padding-top: 1rem;
  }

  .hero-card {
    padding: 1.25rem;
    border-radius: 30px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .showcase {
    margin-top: 2rem;
  }

  .study-panel {
    padding: 1rem;
    border-radius: 28px;
  }

  .study-stats {
    grid-template-columns: 1fr;
  }

  .feature-pills span,
  .floating-card,
  .study-stats div {
    width: 100%;
  }

  .policy-header,
  .policy-main {
    padding-inline: 0.85rem;
  }

  .policy-card {
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
