/* SmartLearning demo — visual system inspired by editorial monochrome + pastel color-block design.
   Black-and-white frame, oversized pastel story blocks, pill CTAs, mono eyebrows. */

:root {
  --ink: #000000;
  --canvas: #ffffff;
  --inverse-ink: #ffffff;
  --hairline: #e6e6e6;
  --hairline-soft: #f1f1f1;
  --surface-soft: #f7f7f5;
  --block-lime: #dceeb1;
  --block-lilac: #c5b0f4;
  --block-cream: #f4ecd6;
  --block-pink: #efd4d4;
  --block-mint: #c8e6cd;
  --block-coral: #f3c9b6;
  --block-navy: #1f1d3d;
  --magenta: #ff3d8b;
  --success: #1ea64a;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --pill: 50px;
  --font-sans: "Inter", "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern";
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.hidden { display: none !important; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }

section { scroll-margin-top: 76px; }

/* ---------- typography ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 16px;
}

.display {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 480;
  line-height: 1.16;
  letter-spacing: -0.024em;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  max-width: 640px;
  margin: 20px auto 0;
}
@media (min-width: 768px) { .section-lead { font-size: 17px; } }

.section-head { text-align: center; margin-bottom: 56px; }
@media (min-width: 768px) { .section-head { margin-bottom: 72px; } }

/* Body hierarchy comes from weight, not gray — soft text uses lighter weight */
.soft { font-weight: 350; }

/* ---------- buttons: pill only ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  padding: 12px 26px;
  min-height: 44px;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.96); }

.btn-primary { background: var(--ink); color: var(--inverse-ink); }
.btn-primary:hover { background: #2c2c2c; }

.btn-secondary { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.btn-secondary:hover { border-color: var(--ink); }

.btn-sm { padding: 9px 20px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
@media (min-width: 768px) { .header-inner { height: 68px; } }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .en {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-name .sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--ink);
}
@media (min-width: 768px) { .brand-name .en { font-size: 21px; } }

.header-nav { display: none; }
@media (min-width: 1024px) {
  .header-nav { display: flex; align-items: center; gap: 32px; }
  .header-nav > a:not(.btn) {
    font-size: 14px;
    font-weight: 450;
    padding: 6px 2px;
    border-radius: 4px;
  }
  .header-nav > a:not(.btn):hover { opacity: 0.6; }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  background: none;
  border: none;
  color: var(--ink);
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav { border-top: 1px solid var(--hairline); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav nav { display: flex; flex-direction: column; padding: 16px 0 24px; }
.mobile-nav nav > a:not(.btn) {
  padding: 13px 0;
  font-size: 15px;
  font-weight: 450;
  border-bottom: 1px solid var(--hairline-soft);
}
.mobile-nav nav > .btn { margin-top: 16px; }

/* ---------- hero ---------- */

.hero { padding: 64px 0 0; text-align: center; }
@media (min-width: 768px) { .hero { padding-top: 88px; } }

.hero h1 { max-width: 820px; margin: 0 auto 24px; }

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--block-lime) 62%, var(--block-lime) 96%, transparent 96%);
}

.hero-lead {
  font-size: 16px;
  font-weight: 380;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 32px;
}
@media (min-width: 768px) { .hero-lead { font-size: 18px; font-weight: 350; } }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 560px) { .hero-cta { flex-direction: row; justify-content: center; } }
@media (max-width: 559px) { .hero-cta .btn { width: 100%; max-width: 360px; } }

.hero-media { position: relative; margin-bottom: -1px; }
.hero-media-frame {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: var(--surface-soft);
}
.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 8;
  min-height: 260px;
}

/* learning path mock: flat white card floating on the hero image */
.path-card {
  text-align: left;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 380px;
  margin: -48px auto 0;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
@media (min-width: 1024px) {
  .path-card { position: absolute; left: 48px; bottom: 40px; margin: 0; width: 380px; }
}

.path-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.path-steps { display: flex; flex-direction: column; gap: 14px; }
.path-step { display: flex; align-items: center; gap: 14px; }
.path-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.path-step.done .path-num { background: var(--block-lime); }
.path-step.now .path-num { background: var(--ink); color: var(--inverse-ink); }
.path-step.todo .path-num { background: var(--surface-soft); }
.path-body { flex: 1; min-width: 0; }
.path-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.path-detail { font-size: 12px; font-weight: 380; line-height: 1.4; }
.path-check { color: var(--success); flex-shrink: 0; }
.path-step.todo { opacity: 0.5; }

.path-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.path-bar { flex: 1; height: 6px; background: var(--surface-soft); border-radius: 9999px; overflow: hidden; }
.path-bar span { display: block; height: 100%; width: 50%; background: var(--ink); border-radius: 9999px; }
.path-progress em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* ---------- stats strip (marquee-style black ribbon) ---------- */

.stats-strip { background: var(--ink); color: var(--inverse-ink); padding: 28px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num { font-size: clamp(24px, 3.4vw, 38px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.stat-num small { font-size: 0.5em; font-weight: 400; margin-left: 2px; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.75;
}
@media (min-width: 768px) { .stat-label { font-size: 11px; } }

/* ---------- color-block sections (signature) ---------- */

.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }

.block-section { padding: 48px 0; }
@media (min-width: 768px) { .block-section { padding: 56px 0; } }

.block {
  border-radius: 0;
  padding: 64px 20px;
}
@media (min-width: 768px) {
  .block { border-radius: var(--radius-lg); padding: 80px 48px; }
  .block-section > .container { padding: 0 32px; }
}
@media (min-width: 1280px) { .block { padding: 96px 64px; } }
@media (max-width: 767px) {
  /* below tablet the block bleeds to viewport edge for a poster effect */
  .block-section > .container { padding: 0; }
}

.block-lime { background: var(--block-lime); }
.block-lilac { background: var(--block-lilac); }
.block-cream { background: var(--block-cream); }
.block-coral { background: var(--block-coral); }
.block-navy { background: var(--block-navy); color: var(--inverse-ink); }

.block-inner { max-width: 1120px; margin: 0 auto; }

/* ---------- concerns (lilac block, sticky notes) ---------- */

.concerns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 768px) { .concerns-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.concern-note {
  background: var(--canvas);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
@media (min-width: 768px) {
  .concern-note:nth-child(odd) { transform: rotate(-1.1deg); }
  .concern-note:nth-child(even) { transform: rotate(1deg); }
}
.concern-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 3px;
}
.concern-note p { font-size: 15px; font-weight: 450; line-height: 1.7; }

.concerns-answer {
  text-align: center;
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}
.concerns-answer p { font-size: clamp(18px, 2.4vw, 24px); font-weight: 400; line-height: 1.7; letter-spacing: -0.01em; }
.concerns-answer strong { font-weight: 650; }

/* ---------- courses ---------- */

.course-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.course-media { background: var(--surface-soft); }
.course-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }

.course-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.course-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.course-term {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 380;
}
.course-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.4; margin-bottom: 4px; }
.course-stack {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.course-desc { font-size: 13.5px; font-weight: 380; line-height: 1.75; margin-bottom: 20px; flex: 1; }

.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.course-tags li {
  font-size: 11px;
  font-weight: 450;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--surface-soft);
}

.course-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.price-was { font-size: 12px; font-weight: 380; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-now { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price-now .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-now .num { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.course-rate { text-align: right; }
.course-rate dt { font-size: 11px; font-weight: 380; margin-bottom: 2px; }
.course-rate dd { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.course-rate dd small { font-size: 12px; font-weight: 450; }

.course-note { margin-top: 48px; text-align: center; font-size: 13px; font-weight: 380; }

/* ---------- curriculum (cream block) ---------- */

.phase-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .phase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .phase-grid { grid-template-columns: repeat(4, 1fr); } }

.phase-card {
  background: var(--canvas);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.phase-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.phase-label, .phase-week {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.phase-week { font-weight: 400; opacity: 0.7; letter-spacing: 0.06em; text-transform: none; }
.phase-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; margin-bottom: 16px; }

.phase-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline-soft); flex: 1; }
.phase-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 400; line-height: 1.6; }
.phase-list svg { flex-shrink: 0; margin-top: 4px; color: var(--success); }

.phase-deliv-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.phase-deliv { font-size: 13px; font-weight: 600; line-height: 1.5; }

/* ---------- support features ---------- */

.support-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .support-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.support-tile {
  position: relative;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  overflow: hidden;
}
@media (min-width: 768px) { .support-tile { padding: 40px 36px; } }

.support-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.5;
}
.support-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.support-tile h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.4; margin-bottom: 12px; }
.support-tile p { font-size: 14.5px; font-weight: 380; line-height: 1.8; }

/* ---------- instructors ---------- */

.staff-grid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 400px; margin: 0 auto; }
@media (min-width: 768px) { .staff-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: none; } }
@media (min-width: 1120px) { .staff-grid { gap: 48px; } }

.staff-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--surface-soft);
}
.staff-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.staff-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.staff-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.staff-role { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.staff-bio { font-size: 14px; font-weight: 380; line-height: 1.8; margin-bottom: 22px; }

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.staff-stats > div + div { border-left: 1px solid var(--hairline-soft); }
.staff-stats dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.65;
}
.staff-stats dd { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.staff-stats dd small { font-size: 11px; font-weight: 450; }

/* ---------- voices (navy block, paper notes) ---------- */

.block-navy .section-head { color: var(--inverse-ink); }

.voice-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .voice-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.voice-card {
  background: var(--canvas);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 900px) {
  .voice-card:nth-child(1) { transform: rotate(-0.8deg); }
  .voice-card:nth-child(2) { transform: rotate(0.6deg); }
  .voice-card:nth-child(3) { transform: rotate(-0.5deg); }
}

.voice-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.voice-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.5; margin-bottom: 12px; }
.voice-card > p { font-size: 14px; font-weight: 380; line-height: 1.85; margin-bottom: 22px; flex: 1; }

.voice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-soft);
}
.voice-person img { width: 44px; height: 44px; border-radius: 9999px; object-fit: cover; }
.voice-name { font-size: 14px; font-weight: 600; }
.voice-meta { font-size: 11.5px; font-weight: 380; }
.voice-course {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ---------- faq ---------- */

.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hairline); }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: flex-start; gap: 16px; }
.faq-q .mark {
  font-family: var(--font-mono);
  font-size: 14px;
  flex-shrink: 0;
  padding-top: 2px;
}
.faq-q .text { font-size: 15.5px; font-weight: 550; line-height: 1.6; }

.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--ink); color: var(--inverse-ink); }

.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 4px 24px;
}
.faq-a .mark {
  font-family: var(--font-mono);
  font-size: 14px;
  flex-shrink: 0;
  color: var(--success);
}
.faq-a p { font-size: 14.5px; font-weight: 380; line-height: 1.85; }

/* ---------- cta (lime block + white form card) ---------- */

.cta-card {
  background: var(--canvas);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  max-width: 760px;
  margin: 0 auto;
}
@media (min-width: 768px) { .cta-card { padding: 48px; } }

.form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .span-2 { grid-column: 1 / -1; }

.field span {
  display: block;
  font-size: 12.5px;
  font-weight: 550;
  margin-bottom: 8px;
}
.field .req { display: inline; font-weight: 550; color: var(--magenta); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: none; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(0, 0, 0, 0.35); font-weight: 380; }

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.7;
  margin: 20px 0;
}
.form-agree input { margin-top: 3px; accent-color: var(--ink); width: 15px; height: 15px; }
.form-agree a { text-decoration: underline; text-underline-offset: 3px; }
.form-agree a:hover { opacity: 0.6; }

.form-submit { width: 100%; margin-top: 4px; }

.form-note {
  text-align: center;
  font-size: 11.5px;
  font-weight: 380;
  margin-top: 12px;
}

.form-success { text-align: center; padding: 40px 0; }
.form-success .mark {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  border-radius: 9999px;
  background: var(--block-lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.form-success p { font-size: 14px; font-weight: 380; line-height: 1.9; }

.cta-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 24px auto 0;
}
@media (min-width: 640px) { .cta-channels { grid-template-columns: repeat(3, 1fr); } }
.cta-channels .btn { width: 100%; background: var(--canvas); border-color: transparent; }
.cta-channels .btn:hover { border-color: var(--ink); }

/* ---------- footer (white editorial) ---------- */

.site-footer { border-top: 1px solid var(--hairline); padding: 72px 0 40px; }
@media (min-width: 768px) { .site-footer { padding: 96px 0 48px; } }

.footer-word {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 480;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; } }

.footer-brand p { font-size: 14px; font-weight: 380; line-height: 1.8; max-width: 280px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--hairline); }

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 13.5px; font-weight: 400; line-height: 1.7; }
.footer-col a:hover { opacity: 0.6; }
.footer-col .with-icon { display: flex; align-items: flex-start; gap: 8px; }
.footer-col .with-icon svg { flex-shrink: 0; margin-top: 4px; }
.footer-col .fine { font-size: 11.5px; font-weight: 380; }

.footer-bottom {
  border-top: 1px solid var(--hairline-soft);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  font-weight: 380;
  line-height: 1.7;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

/* ---------- floating cta (single magenta promo) ---------- */

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--magenta);
  color: var(--inverse-ink);
  border-radius: var(--pill);
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 550;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta:hover { background: #e62f7c; }

/* ---------- legal subpages ---------- */

.legal-main { padding: 64px 0 96px; }
.legal-head { text-align: center; margin-bottom: 56px; }
.legal-body { max-width: 720px; margin: 0 auto; }
.legal-body > p { font-size: 15px; font-weight: 380; line-height: 1.9; margin-bottom: 32px; }
.legal-body section { margin-bottom: 32px; }
.legal-body h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  margin-bottom: 12px;
}
.legal-body section p { font-size: 14.5px; font-weight: 380; line-height: 1.9; }
.legal-body section ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-body section li { font-size: 14.5px; font-weight: 380; line-height: 1.8; }
.legal-updated { font-size: 12px; font-weight: 380; margin-top: 48px; }

.law-table {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.law-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 22px; }
.law-row + .law-row { border-top: 1px solid var(--hairline-soft); }
@media (min-width: 640px) { .law-row { grid-template-columns: 200px 1fr; gap: 16px; padding: 20px 26px; } }
.law-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.law-row dd { font-size: 14px; font-weight: 400; line-height: 1.8; }

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
