
:root {
  --orange: #ff5a1f;
  --orange-deep: #f2470f;
  --orange-soft: #ff7a45;
  --ink: #172033;
  --muted: #5e6c7d;
  --line: #e6ebf1;
  --peach: #ffe8dc;
  --white: #fff;
  --dark: #09090b;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
  --radius: 28px;
  --header: 84px;
  font-family: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font: inherit; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.12; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  color: var(--orange);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo svg { width: 36px; height: 36px; }
.logo-light { color: #fff; }
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover { color: var(--orange); }
.header .pill { justify-self: end; }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  color: transparent;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }

.pill, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.pill {
  background: var(--orange);
  color: #fff;
  padding: 12px 18px;
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.28);
}
.btn { padding: 14px 22px; }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #d5dbe3; }
.btn-white { background: #fff; color: var(--orange-deep); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 10px;
  min-height: 560px;
}
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; max-width: 14ch; }
.hero-copy p { margin-top: 18px; color: var(--muted); max-width: 46ch; font-size: 17px; }
.hero-copy .hero-kk { margin-top: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-collage {
  display: grid;
  grid-template-columns: 1.45fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 520px;
}
.shot {
  margin: 0;
  background: linear-gradient(160deg, #ff8a4c, var(--orange-deep));
  border-radius: 32px;
  padding: 10px;
  overflow: hidden;
}
.shot-main { grid-row: 1 / span 2; }
.shot-mascot { padding: 0; background: #ff5a1f; }
.shot-mascot img { border-radius: 32px; object-position: center top; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 36px;
}
.marquee-track {
  display: flex;
  gap: 54px;
  width: max-content;
  padding: 22px 0;
  animation: slide 28s linear infinite;
}
.marquee-track span {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: #98a2b0;
  white-space: nowrap;
}
.marquee-track span:nth-child(3n) { color: #ff5a1f; }
.marquee-track span:nth-child(4n) { color: #1f2a3d; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.why { width: min(1180px, calc(100% - 48px)); margin: 72px auto; }
.why-banner {
  position: relative;
  min-height: 360px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 88% 70%, rgba(255, 214, 120, 0.45), transparent 28%),
    linear-gradient(90deg, #ff6a2a 0%, #ff4e12 70%);
  color: #fff;
  overflow: hidden;
}
.why-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 28px;
  text-align: center;
}
.why-copy h2 { font-size: clamp(32px, 3vw, 44px); }
.why-copy p { margin: 16px 0 12px; color: rgba(255, 255, 255, 0.92); }
.why-banner .eyebrow {
  background: rgba(255, 255, 255, 0.95);
  color: var(--orange-deep);
}
.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.why-actions .btn { margin: 0; }
.why-banner .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.why-glow {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 280px;
  height: 280px;
  fill: none;
  stroke: #ffd56a;
  stroke-width: 10;
  stroke-linecap: round;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(255, 196, 70, 0.8));
}

.about {
  width: min(1180px, calc(100% - 48px));
  margin: 40px auto 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.about-collage {
  display: grid;
  grid-template-columns: 0.72fr 1.15fr;
  grid-template-rows: 180px 230px;
  gap: 16px;
}
.blob { margin: 0; overflow: hidden; background: #f3f5f8; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-a { grid-column: 1; grid-row: 1; border-radius: 28px 28px 70px 28px; }
.blob-b { grid-column: 1; grid-row: 2; border-radius: 28px 80px 28px 28px; }
.blob-c { grid-column: 2; grid-row: 1 / span 2; border-radius: 36px 36px 48px 90px; }
.about-copy p + p { margin-top: 14px; color: var(--muted); }
.about-copy .btn { margin-top: 22px; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow-solid { background: var(--orange); color: #fff; }

.subject-shops {
  width: min(1100px, calc(100% - 48px));
  margin: 28px auto 48px;
}
.subject-shops h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}
.subject-shops .lead {
  margin-left: 0;
  margin-bottom: 28px;
}
.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.subject-tile {
  display: grid;
  gap: 8px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(145deg, #fff 0%, #fff7f2 100%);
  border: 1.5px solid #f0d8c8;
  border-radius: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.subject-tile:hover,
.subject-tile:focus-visible {
  border-color: var(--orange);
  background: #fff;
  transform: translateY(-2px);
  outline: none;
}
.subject-lang {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.subject-tile strong {
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.subject-go {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.subject-tile:hover .subject-go,
.subject-tile:focus-visible .subject-go {
  color: var(--orange-deep);
}

.shop-back-wrap {
  margin: 0 0 12px;
}
.shop-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-deep);
  text-decoration: none;
}
.shop-back:hover { text-decoration: underline; }
.shop-back[hidden] { display: none; }

.intro {
  width: 100%;
  margin: 0 0 8px;
  padding: 40px 0 36px;
  background:
    radial-gradient(ellipse 55% 80% at 86% 30%, #ffd0b4 0%, transparent 70%),
    linear-gradient(180deg, #fff3eb 0%, #ffe4d2 58%, #fff 100%);
}
.intro-inner {
  flex-direction: row;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.intro-mascot {
  width: 80px;
  height: 80px;
  flex: none;
  order: 2;
  margin-left: auto;
  border-radius: 20px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.08);
}

.intro-copy {
  flex: 1;
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.intro h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  max-width: 14ch;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.intro-copy .eyebrow { margin-bottom: 10px; }
.intro-copy p { color: var(--muted); max-width: 46ch; margin: 0; }
.intro-copy p + p { margin-top: 10px; }
.feed {
  width: min(860px, calc(100% - 48px));
  margin: 48px auto 72px;
}
.feed h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 10px; }
.feed .lead { margin-left: 0; }
.news-list { display: grid; gap: 14px; }
.news-list article {
  padding: 22px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #eceff3;
}
.news-list time { color: var(--orange-deep); font-size: 13px; font-weight: 800; }
.news-list h2 { font-size: 22px; margin: 6px 0 8px; }
.news-list p { color: var(--muted); }
.why-copy p + p { margin-top: 0; }
.shop-buy {
  flex-wrap: wrap;
}
.shop-buy .btn {
  flex: 1 1 auto;
  min-width: min(100%, 160px);
  white-space: nowrap;
}

.plans {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 80px;
  text-align: center;
}
.plans h1, .plans h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 auto 12px; max-width: 16ch; }
.lead { color: var(--muted); max-width: 62ch; margin: 0 auto 26px; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.tab {
  border: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: #1b2433; }
.plans-row { display: grid; grid-template-columns: auto minmax(0, 460px); gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  text-align: left;
  padding-top: 16px;
}
.plans-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.plans-grid.cols-1 { grid-template-columns: minmax(0, 340px); justify-content: center; }
.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--peach);
  color: var(--orange-deep);
  font-size: 22px;
  cursor: pointer;
}
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  padding: 0 0 18px;
  box-shadow: var(--shadow);
}
.plan-top {
  position: relative;
  background: linear-gradient(180deg, #ff7a3c, #ff4d12);
  color: #fff;
  border-radius: 28px;
  padding: 36px 18px 22px;
  text-align: center;
  min-height: 168px;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--orange-deep);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.plan-price { font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-price small { font-size: 20px; font-weight: 700; margin-left: 4px; }
.plan-name { margin-top: 6px; font-weight: 700; }
.plan ul {
  list-style: none;
  margin: 16px 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}
.plan li { padding: 6px 0 6px 22px; position: relative; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}
.plan .btn { width: auto; margin: 0; }
.filters { display: grid; gap: 12px; margin: 0 auto 22px; }
.shop-search {
  width: min(460px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
}
.filter-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; margin-top: 8px; }
.filter-selects label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.filter-selects label[hidden] { display: none !important; }
.filter-selects select {
  border: 1.5px solid #d5dbe3;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}
.filter-selects select:focus { outline: 2px solid rgba(255, 90, 31, 0.35); border-color: var(--orange); }
#gradeSelect.junior { border-color: var(--orange); background: #fff4ee; }
.count-line { color: var(--muted); min-height: 1.4em; }
.shop-cover { width: 100%; height: 190px; object-fit: cover; border-radius: 28px 28px 0 0; }
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: #fff4ee;
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px dashed rgba(255, 90, 31, 0.45);
}
.shot .ph { border-radius: 24px; }
.blob .ph { border-radius: inherit; }
.feature-ph { min-height: 420px; background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.float-face.ph { min-height: 0; background: #ffe8dc; }
.shop-cover.ph { border-radius: 28px 28px 0 0; border-left: 0; border-right: 0; border-top: 0; }
.shop-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 18px 18px; text-align: left; flex: 1; }
.shop-body .plan-badge { position: static; transform: none; width: max-content; }
.shop-body h3 { font-size: 22px; }
.shop-meta, .shop-summary { color: var(--muted); font-size: 14px; }
.shop-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.shop-buy b { font-size: 22px; letter-spacing: -0.04em; }
.admin-page { background: #f6f7f9; min-height: 100vh; }
.admin-label { margin: 0; font-weight: 800; }
.admin-main { width: min(860px, calc(100% - 32px)); margin: 28px auto 48px; }
.admin-card { background: #fff; border-radius: 28px; padding: 28px 24px; box-shadow: var(--shadow); }
.admin-card h1 { font-size: 36px; margin-bottom: 8px; }
.admin-card h2 { margin: 28px 0 12px; font-size: 22px; }
.admin-card form { display: grid; gap: 12px; margin-top: 16px; }
.admin-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.admin-card input, .admin-card select, .admin-card textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font-weight: 500;
  background: #fff;
}
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: #b42318; font-weight: 700; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-list span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.admin-list button { border: 0; background: var(--peach); color: var(--orange-deep); border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; }

.benefits { width: min(1180px, calc(100% - 32px)); margin: 0 auto 80px; }
.benefits-banner {
  border-radius: 40px;
  padding: 36px 28px 32px;
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 210, 90, 0.35), transparent 24%),
    radial-gradient(circle at 90% 20%, rgba(255, 210, 90, 0.28), transparent 22%),
    linear-gradient(90deg, #ff6a2a, #ff4f14);
  color: #fff;
  text-align: center;
}
.benefits h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 22px; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.benefit-grid article, .assure-grid article {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 22px 16px 18px;
  text-align: center;
}
.benefit-grid h3, .assure-grid h3 { font-size: 16px; margin: 8px 0; }
.benefit-grid p, .assure-grid p { color: var(--muted); font-size: 14px; }
.ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  color: var(--orange);
}
.ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.reviews {
  position: relative;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 80px;
  padding: 72px 0 10px;
  text-align: center;
}
.reviews h2 { font-size: clamp(32px, 4vw, 42px); }
.float-face {
  position: absolute;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.12);
}
.face-a { left: 0; top: 10px; }
.face-b { right: 4%; top: 0; }
.face-c { left: 8%; bottom: 0; }
.face-d { right: 0; bottom: 20px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
  margin-top: 28px;
}
.review-grid article { padding: 8px 8px 0; }
.review-grid header { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.review-grid header span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.review-grid p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 380px;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 214, 120, 0.35), transparent 26%),
    linear-gradient(90deg, #ff641f, #ff7a32);
  color: #fff;
  overflow: hidden;
}
.feature-copy { width: min(520px, 100%); margin-left: auto; padding: 48px 40px; }
.feature h2 { font-size: clamp(36px, 4vw, 52px); max-width: 12ch; }
.feature-kicker { margin-top: 16px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
.feature-copy p:last-of-type { margin: 8px 0 20px; max-width: 42ch; }
.feature img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
}

.stats {
  width: min(980px, calc(100% - 48px));
  margin: 72px auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 28px 48px;
  align-items: center;
  justify-items: center;
}
.stat-core { grid-column: 2; grid-row: 1 / span 2; text-align: center; }
.stat-num {
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--orange);
}
.stat-core p { margin: 8px 0 16px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }
.stat-side { margin: 0; font-weight: 800; font-size: 22px; color: #9aa3b2; letter-spacing: -0.04em; }

.assure {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 72px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.assure-grid {
  width: min(760px, 100%);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.assure-grid article { background: #1a1a1e; color: #fff; }
.assure-grid p { color: #b7b7c2; }
.shield {
  position: absolute;
  left: -40px;
  top: 50%;
  width: 280px;
  height: 320px;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 120, 40, 0.55), transparent 62%),
    linear-gradient(#ff8a3d, #ff4d12);
  clip-path: polygon(50% 0, 92% 12%, 84% 78%, 50% 100%, 16% 78%, 8% 12%);
  opacity: 0.95;
}
.shield-right { left: auto; right: -40px; }
.assure-btn { position: relative; z-index: 1; }

.faq {
  width: min(860px, calc(100% - 48px));
  margin: 72px auto 56px;
}
.faq h2 { font-size: clamp(36px, 4vw, 48px); margin-bottom: 18px; }
.faq-item { margin-bottom: 10px; }
.faq-item button {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--peach);
  color: var(--orange-deep);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
}
.faq-item button::before { content: "+  "; font-weight: 800; }
.faq-item.open button::before { content: "–  "; }
.faq-panel { display: none; padding: 12px 8px 6px; color: var(--muted); }
.faq-item.open .faq-panel { display: block; }
.faq-photo {
  width: min(420px, 100%);
  height: 460px;
  object-fit: cover;
  object-position: center;
  justify-self: end;
  border-radius: 32px;
  background: #fff4ee;
}

.footer { padding: 0 20px 20px; }
.footer-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 0.8fr;
  gap: 28px;
  background: linear-gradient(180deg, #ff6a2c, #ff4e12);
  color: #fff;
  border-radius: 36px;
  padding: 36px 36px 28px;
}
.footer-card h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-card a, .footer-card p { display: block; color: rgba(255,255,255,0.92); text-decoration: none; margin: 0 0 8px; }
.footer-brand p { max-width: 36ch; margin-top: 16px; }
.news { display: flex; background: #fff; border-radius: 999px; padding: 4px; margin-top: 18px; max-width: 360px; }
.news input { flex: 1; border: 0; outline: 0; padding: 10px 14px; border-radius: 999px; min-width: 0; }
.news button { border: 0; background: var(--orange); color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.legal {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 8px 8px;
  color: #8b95a3;
  font-size: 13px;
  font-weight: 700;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.legal-links a { color: var(--ink); text-decoration: none; }
.legal-links a:hover { color: var(--orange-deep); }
.doc { width: min(760px, calc(100% - 48px)); margin: 40px auto 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin: 8px 0 12px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc-date { font-weight: 800; color: var(--orange-deep); }
.doc ul { margin: 8px 0 0; padding-left: 18px; }
.doc li + li { margin-top: 6px; }
.to-top {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  cursor: pointer;
}
.float svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; }

.modal { border: 0; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(16, 20, 28, 0.46); }
.modal-card {
  width: min(520px, calc(100vw - 28px));
  margin: 0;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px 22px;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
}
.modal-card h2 { font-size: 32px; margin-bottom: 8px; }
.modal-product { font-weight: 700; margin-bottom: 12px; }
.modal-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.modal-card input, .modal-card textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 500;
}
.fine { color: var(--muted); font-size: 13px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.order-result {
  margin-top: 12px;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 12px;
  white-space: pre-wrap;
  font-size: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #1b2433;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  z-index: 40;
}

@media (max-width: 980px) {
  :root { --header: 68px; }
  .header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: var(--header);
    padding: 0 14px;
    gap: 8px;
  }
  .logo {
    font-size: clamp(14px, 4vw, 18px);
    gap: 8px;
    min-width: 0;
  }
  .logo svg { width: 30px; height: 30px; flex-shrink: 0; }
  .menu-btn { display: block; justify-self: end; flex-shrink: 0; }
  .header .pill { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #eef1f5; }
  .nav a:last-child { border-bottom: 0; }
  .hero, .about, .faq, .feature { grid-template-columns: 1fr; }
  .hero { min-height: 0; margin-top: 12px; }
  .hero-collage { height: 380px; }
  .why {
    width: min(1180px, calc(100% - 24px));
    margin: 40px auto;
  }
  .why-banner {
    min-height: 0;
    border-radius: 28px;
    overflow: visible;
  }
  .why-copy {
    margin: 0 auto;
    padding: 20px 18px 28px;
    max-width: none;
  }
  .why-copy h2 { font-size: clamp(26px, 7vw, 36px); }
  .why-actions,
  .hero-actions,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .why-actions .btn,
  .hero-actions .btn,
  .modal-actions .btn {
    width: 100%;
    min-height: 48px;
  }
  .why-glow { display: none; }
  .about-collage { grid-template-rows: 140px 180px; }
  .plans, .feed, .faq, .doc {
    width: min(1100px, calc(100% - 24px));
  }
  .intro-inner { width: min(980px, calc(100% - 28px)); }
  .subject-shops {
    width: min(1100px, calc(100% - 24px));
    margin: 20px auto 36px;
  }
  .subject-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .subject-tile {
    padding: 18px 18px 16px;
    min-height: 108px;
  }
  .plans-grid, .plans-grid.cols-1, .plans-grid.cols-2, .benefit-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .plans-row { grid-template-columns: 1fr; }
  .arrow { display: none; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-core { grid-column: 1 / -1; grid-row: auto; }
  .faq-photo { height: 320px; justify-self: stretch; }
  .faq-item button {
    min-height: 48px;
    padding: 14px 14px;
    font-size: 14px;
  }
  .filter-selects {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tabs {
    justify-content: stretch;
    gap: 8px;
  }
  .tab {
    flex: 1 1 calc(50% - 8px);
    min-height: 44px;
    text-align: center;
  }
  .footer { padding: 0 12px 16px; }
  .footer-card {
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    padding: 28px 20px 22px;
    gap: 20px;
  }
  .legal {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 4px 8px;
  }
  .legal-links { justify-content: flex-start; }
  .shield { display: none; }
  .float-face { width: 56px; height: 56px; }
  .shop-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .shop-buy .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
  }
  .shop-buy b {
    font-size: clamp(18px, 5vw, 22px);
  }
}

@media (max-width: 680px) {
  .intro {
    padding: 24px 0 20px;
  }
  .intro-inner {
    width: min(980px, calc(100% - 28px));
  }
  .intro-mascot {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .intro h1 {
    font-size: clamp(28px, 9vw, 40px);
    max-width: none;
  }
  .intro-copy p { max-width: none; }
  .feed h2, .faq h2, .plans h1 { font-size: clamp(28px, 8vw, 40px); }
  .news-list article { padding: 18px 16px; border-radius: 20px; }
  .hero-collage { grid-template-columns: 1fr 0.7fr; height: 300px; }
  .plans-grid, .plans-grid.cols-1, .plans-grid.cols-2, .benefit-grid, .review-grid, .assure-grid, .footer-card, .legal, .about-collage, .admin-grid, .filter-selects {
    grid-template-columns: 1fr;
  }
  .filter-selects { gap: 10px; }
  .filter-selects select,
  .shop-search {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  .footer-card { grid-template-columns: 1fr; }
  .legal {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .about-collage { grid-template-rows: 180px 160px 220px; }
  .blob-a, .blob-b, .blob-c { grid-column: auto; grid-row: auto; }
  .feature img, .feature-ph { height: 240px; min-height: 240px; }
  .stat-num { font-size: clamp(56px, 18vw, 88px); }
  .face-c, .face-d { display: none; }
  .pill, .btn {
    letter-spacing: 0.02em;
    font-size: 12px;
    padding: 13px 16px;
  }
  .tab {
    flex: 1 1 100%;
  }
}

@media (max-width: 380px) {
  :root { --header: 60px; }
  .header { padding: 0 10px; }
  .logo { font-size: 13px; gap: 6px; }
  .logo svg { width: 26px; height: 26px; }
  .why-copy { padding: 16px 14px 22px; }
  .why,
  .plans,
  .feed,
  .faq,
  .doc,
  .subject-shops {
    width: calc(100% - 16px);
  }
  .why-actions .btn,
  .shop-buy .btn {
    padding-left: 12px;
    padding-right: 12px;
  }
}
