@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka_medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka_semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito_regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito_semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito_extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fff7ef;
  --page-raised: #fbf1e7;
  --surface: #ffffff;
  --surface-soft: #fffcf8;
  --surface-high: #f5e8da;
  --ink: #211735;
  --ink-soft: #6a5c80;
  --violet: #6c4cf1;
  --violet-ink: #5432d6;
  --violet-soft: #eae3ff;
  --gold: #ffb020;
  --gold-ink: #8b5700;
  --gold-soft: #ffefcc;
  --coral: #ff4d6d;
  --coral-ink: #c81e42;
  --coral-soft: #ffe2e7;
  --mint: #10b981;
  --mint-ink: #067a54;
  --mint-soft: #d6f6e9;
  --cyan: #06b6d4;
  --cyan-ink: #0e7c93;
  --cyan-soft: #d3f3fa;
  --orange: #fb7a1e;
  --orange-soft: #ffe9d5;
  --fuchsia: #e052b8;
  --fuchsia-soft: #fce0f4;
  --hairline: rgba(33, 23, 53, 0.12);
  --edge: rgba(33, 23, 53, 0.22);
  --shadow: 0 22px 65px rgba(68, 43, 34, 0.11);
  --shadow-small: 0 12px 28px rgba(68, 43, 34, 0.09);
  --max: 1180px;
  --reading: 760px;
  --header: rgba(255, 247, 239, 0.9);
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #0e0b1a;
  --page-raised: #161129;
  --surface: #1d1734;
  --surface-soft: #161129;
  --surface-high: #272043;
  --ink: #f1ebff;
  --ink-soft: #b3a6ce;
  --violet: #a78bfa;
  --violet-ink: #c4b2ff;
  --violet-soft: #3b2585;
  --gold: #ffc24d;
  --gold-ink: #ffd383;
  --gold-soft: #6b4300;
  --coral: #ff7d93;
  --coral-ink: #ffa2b2;
  --coral-soft: #7c1230;
  --mint: #34d399;
  --mint-ink: #6ee7b7;
  --mint-soft: #0b5540;
  --cyan: #38d8ed;
  --cyan-ink: #7be6f5;
  --cyan-soft: #0c4e5c;
  --orange: #ff9e52;
  --orange-soft: #7a3908;
  --fuchsia: #f077d0;
  --fuchsia-soft: #741a5c;
  --hairline: rgba(255, 255, 255, 0.13);
  --edge: rgba(0, 0, 0, 0.48);
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.34);
  --shadow-small: 0 12px 28px rgba(0, 0, 0, 0.26);
  --header: rgba(14, 11, 26, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  transition: background-color 180ms ease, color 180ms ease;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle, rgba(108, 76, 241, 0.09) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 56%);
  pointer-events: none;
}

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

a {
  color: var(--violet-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid color-mix(in srgb, var(--gold) 70%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--page);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--header);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 9px solid var(--violet);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--edge);
}

.brand-mark::after {
  position: absolute;
  right: -12px;
  bottom: -9px;
  width: 18px;
  height: 9px;
  border-radius: 9px;
  background: var(--violet);
  content: "";
  transform: rotate(45deg);
}

.brand-mark::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 13px;
  color: var(--ink-soft);
  font-family: "Fredoka", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--violet-soft);
  color: var(--violet-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--edge);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.icon-button:active,
.menu-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--edge);
}

.theme-glyph {
  font-size: 1.15rem;
  line-height: 1;
}

.menu-button {
  display: none;
  position: relative;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button span { top: 21px; }
.menu-button::before { top: 15px; }
.menu-button::after { top: 27px; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.page-main {
  overflow: clip;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.reading-shell {
  width: min(var(--reading), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 118px);
}

.section-tight {
  padding-block: 54px;
}

.section-alt {
  border-block: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--surface) 48%, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--violet-ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background: var(--gold);
  content: "";
}

h1,
h2,
h3,
h4 {
  margin-block: 0;
  font-family: "Fredoka", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.1rem, 4.3vw, 4.1rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.gradient-text {
  background: linear-gradient(115deg, var(--violet-ink), var(--violet) 48%, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.33rem);
  line-height: 1.65;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  padding-block: clamp(70px, 9vw, 122px) clamp(88px, 11vw, 150px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-actions,
.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 17px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 150ms ease;
}

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

.button:active {
  transform: translateY(3px);
  box-shadow: none;
}

.button-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--violet-ink) 78%, #211735);
}

.button-primary:hover { color: #fff; }

.button-secondary {
  border-color: var(--hairline);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--edge);
}

.button-secondary:hover { color: var(--violet-ink); }

.button-small {
  min-height: 46px;
  padding: 10px 17px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 140ms ease;
}

.text-link:hover::after { transform: translateX(4px); }

.hero-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-note::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px var(--mint-soft);
  content: "";
}

.case-board {
  position: relative;
  min-height: 540px;
}

.case-board::before,
.case-board::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(0.5px);
}

.case-board::before {
  top: 3%;
  right: 0;
  width: 280px;
  height: 280px;
  background: var(--violet-soft);
}

.case-board::after {
  bottom: 2%;
  left: 2%;
  width: 220px;
  height: 220px;
  background: var(--gold-soft);
}

.case-card {
  position: absolute;
  z-index: 2;
  width: min(420px, 88%);
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 7px 0 var(--edge), var(--shadow);
}

.case-card-primary {
  top: 32px;
  left: 0;
  transform: rotate(-3deg);
}

.case-card-secondary {
  right: 0;
  bottom: 52px;
  transform: rotate(3deg);
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.case-label {
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stamp {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 2px solid currentColor;
  border-radius: 8px;
  color: var(--coral-ink);
  font-family: "Fredoka", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.case-question {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.65;
}

.mistake-word {
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral-ink);
  font-weight: 800;
}

.case-options {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.case-option {
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
}

.case-option.correct {
  border-color: color-mix(in srgb, var(--mint) 45%, transparent);
  background: var(--mint-soft);
  color: var(--mint-ink);
}

.progress-track {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-high);
}

.progress-fill {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--coral));
}

.floating-chip {
  position: absolute;
  z-index: 4;
  right: 10%;
  top: 2%;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--gold) 35%, var(--edge));
  transform: rotate(5deg);
}

.trust-strip {
  margin-top: -54px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.trust-item {
  min-height: 122px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--hairline);
}

.trust-value {
  font-family: "Fredoka", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1;
}

.trust-label {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.info-card,
.value-card,
.contact-card {
  border: 1px solid var(--hairline);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--edge);
}

.feature-card {
  min-height: 280px;
  padding: 28px;
}

.feature-number,
.mini-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--violet-soft);
  color: var(--violet-ink);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--violet) 28%, var(--edge));
}

.feature-card:nth-child(2) .feature-number { background: var(--gold-soft); color: var(--gold-ink); }
.feature-card:nth-child(3) .feature-number { background: var(--mint-soft); color: var(--mint-ink); }

.feature-card h3,
.info-card h3,
.value-card h3 {
  margin-top: 24px;
}

.feature-card p,
.info-card p,
.value-card p {
  margin: 13px 0 0;
  color: var(--ink-soft);
}

.product-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.app-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--edge), var(--shadow-small);
}

.product-copy h2 { max-width: 10ch; }

.product-copy p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.tag-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.tag {
  padding: 7px 11px;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-visual {
  position: relative;
  padding: 34px;
  border: 1px solid var(--hairline);
  border-radius: 38px;
  background: var(--violet-soft);
}

.product-visual img {
  border-radius: 24px;
  box-shadow: 0 7px 0 var(--edge), var(--shadow);
}

.category-cloud {
  display: grid;
  grid-template-columns: repeat(7, minmax(105px, 1fr));
  gap: 12px;
}

.category-chip {
  min-height: 105px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
  font-family: "Fredoka", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 0 var(--edge);
}

.category-dot {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--violet);
}

.category-chip:nth-child(2) .category-dot { background: var(--gold); }
.category-chip:nth-child(3) .category-dot { background: var(--coral); }
.category-chip:nth-child(4) .category-dot { background: var(--cyan); }
.category-chip:nth-child(5) .category-dot { background: var(--mint); }
.category-chip:nth-child(6) .category-dot { background: var(--orange); }
.category-chip:nth-child(7) .category-dot { background: var(--fuchsia); }

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.principle-card {
  min-height: 270px;
  padding: 34px;
  border-radius: 30px;
}

.principle-card h3 {
  max-width: 12ch;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.principle-card p {
  max-width: 42ch;
  margin: 18px 0 0;
}

.principle-violet { background: var(--violet-soft); color: var(--ink); }
.principle-gold { background: var(--gold-soft); color: var(--ink); }
.principle-mint { background: var(--mint-soft); color: var(--ink); }
.principle-coral { background: var(--coral-soft); color: var(--ink); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 38px;
  background: var(--ink);
  color: var(--page);
}

.cta-panel::before {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 70px solid var(--violet);
  border-radius: 50%;
  content: "";
  opacity: 0.75;
}

.cta-panel::after {
  position: absolute;
  right: 90px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
  opacity: 0.85;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-content h2 { max-width: 14ch; }
.cta-content p { max-width: 570px; color: color-mix(in srgb, var(--page) 75%, transparent); }
.cta-panel .button-secondary { border-color: transparent; background: var(--page); color: var(--ink); }

.page-hero {
  padding-block: clamp(72px, 9vw, 118px) clamp(58px, 7vw, 92px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(38px, 7vw, 84px);
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.7rem);
}

.page-hero-card {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 6px 0 var(--edge), var(--shadow-small);
}

.page-hero-card p { margin: 0; color: var(--ink-soft); }
.page-hero-card strong { display: block; margin-bottom: 8px; color: var(--ink); font-family: "Fredoka", sans-serif; font-size: 1.25rem; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.content-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.content-copy h3 { margin-top: 38px; }
.content-copy p { color: var(--ink-soft); }
.content-copy p:first-of-type { font-size: 1.12rem; }

.check-list,
.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 38px;
  border-bottom: 1px solid var(--hairline);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 14px;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mint-soft);
  color: var(--mint-ink);
  content: "✓";
  font-size: 0.82rem;
  font-weight: 900;
}

.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
}

.stat-card:nth-child(2) { background: var(--violet-soft); }
.stat-card:nth-child(3) { background: var(--gold-soft); }
.stat-card:nth-child(4) { background: var(--mint-soft); }

.stat-number {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-text {
  display: block;
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.challenge-demo {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--hairline);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: 0 7px 0 var(--edge), var(--shadow);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo-count {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.demo-prompt {
  min-height: 92px;
  margin: 34px 0 24px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.55;
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-option {
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: background 150ms ease, transform 120ms ease;
}

.demo-option:hover { background: var(--violet-soft); }
.demo-option[aria-pressed="true"] { background: var(--mint-soft); color: var(--mint-ink); }
.demo-option.is-wrong { background: var(--coral-soft); color: var(--coral-ink); }

.demo-feedback {
  min-height: 32px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.logo-story {
  min-height: 440px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: 36px;
  background: linear-gradient(145deg, var(--violet-soft), var(--surface) 60%, var(--gold-soft));
  box-shadow: 0 6px 0 var(--edge);
}

.logo-story-mark {
  position: relative;
  width: 190px;
  height: 190px;
  border: 42px solid var(--violet);
  border-radius: 50%;
  filter: drop-shadow(0 12px 0 var(--edge));
}

.logo-story-mark::after {
  position: absolute;
  right: -70px;
  bottom: -45px;
  width: 90px;
  height: 42px;
  border-radius: 30px;
  background: var(--violet);
  content: "";
  transform: rotate(45deg);
}

.logo-story-mark::before {
  position: absolute;
  top: 25px;
  left: 28px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 4px 0 var(--edge);
}

.faq-question {
  width: 100%;
  min-height: 70px;
  padding: 18px 62px 18px 22px;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--violet-soft);
  color: var(--violet-ink);
  content: "+";
  font-size: 1.3rem;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after { content: "−"; }

.faq-answer {
  padding: 0 22px 22px;
  color: var(--ink-soft);
}

.faq-answer p { margin: 0; }

.support-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card,
.contact-card {
  padding: 28px;
}

.info-card .mini-icon { margin-bottom: 20px; }

.info-card a {
  margin-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(34px, 7vw, 80px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.12rem;
}

.contact-card p { margin: 0; color: var(--ink-soft); }

.contact-form {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 6px 0 var(--edge), var(--shadow-small);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--hairline);
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 13px 15px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--violet);
}

.form-note,
.form-status {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.form-status {
  min-height: 24px;
  margin-top: 15px;
  font-weight: 800;
}

.form-status.success { color: var(--mint-ink); }

.legal-hero {
  padding-block: clamp(66px, 8vw, 100px) 44px;
}

.legal-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
}

.legal-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 99px;
  background: var(--violet-soft);
  color: var(--violet-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-document {
  padding-bottom: 100px;
}

.legal-summary {
  margin: 14px 0 36px;
  padding: 22px 24px;
  border-left: 6px solid var(--violet);
  border-radius: 0 18px 18px 0;
  background: var(--violet-soft);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.legal-document h2 {
  margin-top: 48px;
  font-size: 1.75rem;
}

.legal-document h3 {
  margin-top: 32px;
  font-size: 1.3rem;
}

.legal-document p,
.legal-document li {
  color: var(--ink-soft);
}

.legal-document ul,
.legal-document ol {
  padding-left: 24px;
}

.legal-document li + li { margin-top: 8px; }

.legal-nav {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.company-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
}

.company-table th,
.company-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 34%;
  color: var(--ink);
  font-size: 0.86rem;
}

.company-table td { color: var(--ink-soft); }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }

.notice {
  padding: 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--gold-soft);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--surface-soft);
}

.footer-main {
  padding-block: 64px 44px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.75fr);
  gap: 38px;
}

.footer-brand p {
  max-width: 370px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.footer-heading {
  margin: 5px 0 16px;
  font-family: "Fredoka", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover { color: var(--violet-ink); }

.footer-bottom {
  padding-block: 20px 28px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-bottom p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-button { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--hairline);
    background: var(--page);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    width: min(var(--max), 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav-link { background: var(--surface); }

  .hero-grid,
  .page-hero-grid,
  .product-showcase,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 56px; }
  .case-board { max-width: 620px; width: 100%; margin-inline: auto; }
  .page-hero-card { max-width: 620px; }
  .product-visual { order: -1; }
  .product-copy h2 { max-width: none; }
  .category-cloud { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid > :last-child { grid-column: 1 / -1; }
  .support-grid,
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.35fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .nav-shell,
  .shell,
  .reading-shell {
    width: min(100% - 30px, var(--max));
  }

  .nav-shell { min-height: 70px; gap: 14px; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 34px; height: 34px; border-width: 8px; }

  h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }

  .hero { padding-top: 58px; }
  .case-board { min-height: 500px; }
  .case-card { width: 92%; padding: 20px; }
  .case-card-primary { top: 20px; }
  .case-card-secondary { bottom: 50px; }
  .floating-chip { right: 2%; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--hairline); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--hairline); }

  .card-grid,
  .principle-grid,
  .support-grid,
  .legal-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .card-grid > :last-child { grid-column: auto; }
  .category-cloud { grid-template-columns: repeat(2, 1fr); }
  .category-chip:last-child { grid-column: 1 / -1; }
  .demo-options { grid-template-columns: 1fr; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .logo-story { min-height: 350px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th { padding-bottom: 3px; border-bottom: 0; }
  .company-table td { padding-top: 3px; }
}

@media (max-width: 440px) {
  .nav-actions .button { display: none; }
  .nav-list { grid-template-columns: 1fr; }
  .hero-actions .button,
  .button-row .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--hairline); }
  .stats-panel { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-main > :last-child { grid-column: auto; }
}
