@font-face {
  font-family: "Crayon Libre";
  src: url("./assets/CrayonLibre-BLVel.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf6ec;
  --bg-soft: #fffaf1;
  --surface: rgba(255, 250, 241, 0.78);
  --surface-strong: rgba(255, 247, 232, 0.94);
  --text: #20303d;
  --muted: #657180;
  --line: rgba(32, 48, 61, 0.1);
  --warm: #e88e2f;
  --warm-deep: #c96d17;
  --mint: #a8d9c8;
  --sky: #cfe6f8;
  --shadow: 0 24px 70px rgba(68, 54, 28, 0.12);
  --shadow-soft: 0 18px 36px rgba(68, 54, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    url("./assets/sheet_tile.jpeg") repeat,
    radial-gradient(circle at top left, rgba(255, 208, 138, 0.46), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(168, 217, 200, 0.4), transparent 22%),
    radial-gradient(circle at 80% 60%, rgba(207, 230, 248, 0.42), transparent 28%),
    linear-gradient(180deg, #fff7ea 0%, var(--bg) 42%, #f9f3e8 100%);
  background-size: 180px 180px, auto, auto, auto, auto;
  background-blend-mode: normal, multiply, normal, normal, normal;
  overflow-x: hidden;
}

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

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 14px;
}

.section-nav {
  position: sticky;
  top: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  background-color: rgba(255, 248, 238, 0.68);
  background-image:
    linear-gradient(rgba(255, 248, 238, 0.22), rgba(255, 248, 238, 0.22)),
    url("./assets/sheet_tile_2.png");
  background-repeat: repeat, repeat;
  background-size: auto, 220px 220px;
  background-position: center, center;
  border: 1px solid rgba(32, 48, 61, 0.12);
  box-shadow: 0 14px 28px rgba(68, 54, 28, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(32, 48, 61, 0.12);
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.section-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(170px, 24vw, 280px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 18px rgba(56, 45, 21, 0.12));
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(32, 48, 61, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-width: 52px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.lang-button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-button.is-active {
  color: #fffaf3;
  background: linear-gradient(180deg, var(--warm), var(--warm-deep));
  box-shadow: 0 10px 18px rgba(201, 109, 23, 0.22);
}

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

.hero {
  min-height: auto;
  display: block;
  padding: 36px 0 40px;
}

.section {
  padding: 46px 0;
}

.hero + .section {
  padding-top: 40px;
}

.section-details {
  display: block;
}

.section-summary {
  list-style: none;
  cursor: pointer;
}

.section-summary::-webkit-details-marker {
  display: none;
}

.section-summary .section-heading {
  position: relative;
  margin-bottom: 0;
  padding-right: 56px;
  max-width: none;
  width: 100%;
}

.section-summary .section-heading::after {
  content: "−";
  position: absolute;
  top: 12px;
  right: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 48, 61, 0.08);
  color: var(--warm-deep);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.section-details:not([open]) .section-heading::after {
  content: "+";
}

.section-details > :not(summary) {
  margin-top: 22px;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 22px;
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm-deep);
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.92;
  max-width: 12ch;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  max-width: none;
}

h3 {
  font-size: 24px;
  line-height: 1.05;
}

p,
li {
  font-size: 18px;
  line-height: 1.65;
}

.card p,
.card li {
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
}

.beta-copy p,
.showcase-copy p,
.faq-item p,
.feature-card li,
.beta-benefits li {
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
  max-width: 28ch;
  color: #2b3f4e;
}

.intro {
  margin: 18px 0 0;
  max-width: 72ch;
  color: var(--muted);
}

.platform-line {
  margin: 16px 0 0;
  color: var(--text);
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.35;
}

.card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 10px 24px rgba(68, 54, 28, 0.06);
}

.hero-copy {
  padding: clamp(28px, 5vw, 56px);
  max-width: 1080px;
  width: 100%;
}

.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .intro {
  max-width: none;
}

.hero-copy h1 {
  max-width: 18ch;
}

.hero-copy .hero-lead {
  max-width: 40ch;
}

.hero-copy .intro {
  max-width: 88ch;
}

.hero-copy .platform-line {
  max-width: none;
}

.app-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.app-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

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

.button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button {
  color: #fffaf3;
  background: linear-gradient(180deg, var(--warm), var(--warm-deep));
  box-shadow: 0 16px 30px rgba(201, 109, 23, 0.24);
}

.link-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(32, 48, 61, 0.09);
}

.button:hover,
.link-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  filter: brightness(1.02);
}

.prose {
  padding: clamp(24px, 4vw, 38px);
}

.prose p + p {
  margin-top: 12px;
}

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

.feature-card,
.faq-item,
.outcome,
.beta-benefits {
  padding: 28px;
}

.feature-card ul,
.beta-benefits ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.feature-card li + li,
.beta-benefits li + li {
  margin-top: 8px;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  overflow: hidden;
}

.outcome {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  border-right: 1px solid rgba(32, 48, 61, 0.08);
  border-bottom: 1px solid rgba(32, 48, 61, 0.08);
}

.outcome span {
  font-size: 24px;
  line-height: 1.1;
  font-family: "Crayon Libre", "Avenir Next", "Nunito", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.outcome:nth-child(2n) {
  border-right: 0;
}

.outcome:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.beta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  padding: clamp(28px, 4vw, 38px);
  border-radius: 34px;
  background: transparent;
  border: 1px solid rgba(201, 109, 23, 0.18);
  box-shadow: 0 16px 32px rgba(68, 54, 28, 0.08);
}

.beta-copy p:last-child {
  max-width: 48ch;
}

.showcase-panel {
  display: block;
  padding: clamp(22px, 4vw, 34px);
  margin-top: 22px;
}

.showcase-copy p + p {
  margin-top: 12px;
}

.showcase-copy h3 {
  margin-top: 6px;
}

.showcase-copy p {
  color: var(--muted);
}

.showcase-inline-image {
  width: min(100%, 920px);
  height: auto;
  display: block;
  margin: 22px auto 0;
}

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

.faq-item p,
.beta-copy p,
.beta-benefits li,
.feature-card li,
.prose p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .beta-panel,
  .showcase-panel,
  .split,
  .faq-list,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 32px;
  }

  h1,
  h2,
  .hero-lead {
    max-width: none;
  }

  .outcome {
    min-height: 96px;
    border-right: 0;
  }

  .outcome:not(:last-child) {
    border-bottom: 1px solid rgba(32, 48, 61, 0.08);
  }

  .outcome:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(32, 48, 61, 0.08);
  }

  .outcome:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1180px);
    padding-bottom: 56px;
  }

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

  .section-nav {
    top: 10px;
    padding: 10px;
  }

  .section-nav a {
    font-size: 14px;
    min-height: 38px;
    padding: 0 12px;
  }

  .section {
    padding: 30px 0;
  }

  .hero-copy,
  .prose,
  .feature-card,
  .faq-item,
  .outcome,
  .beta-benefits,
  .beta-panel {
    border-radius: 24px;
  }

  p,
  li {
    font-size: 17px;
  }

  .actions {
    align-items: stretch;
  }

  .button,
  .link-button {
    width: 100%;
  }
}
