/* =========================================================
   保育士試験 合格キャンバス — Landing Page
   Design system: soft cream paper, rounded friendly cards,
   green (安心) / blue (学習) / orange (行動) accents.
   ========================================================= */

:root {
  /* paper & ink */
  --cream:       #FBF6EC;
  --cream-deep:  #F4ECDC;
  --paper:       #FFFDF8;
  --ink:         #38332C;
  --ink-soft:    #6E665B;
  --ink-faint:   #9C9285;
  --line:        #EDE3D1;

  /* accents — shared chroma/lightness, varied hue (oklch) */
  --green:       oklch(0.66 0.10 152);
  --green-deep:  oklch(0.52 0.10 152);
  --green-tint:  oklch(0.95 0.035 152);
  --green-skin:  oklch(0.92 0.05 152);

  --blue:        oklch(0.66 0.10 244);
  --blue-deep:   oklch(0.52 0.10 244);
  --blue-tint:   oklch(0.95 0.035 244);

  --orange:      oklch(0.72 0.13 58);
  --orange-deep: oklch(0.62 0.14 50);
  --orange-tint: oklch(0.95 0.04 62);

  --yellow-tint: oklch(0.96 0.045 92);

  /* shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(80, 64, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(90, 70, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(90, 70, 40, 0.14);
  --shadow-cta: 0 12px 26px oklch(0.62 0.14 50 / 0.34);

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }

.bg-cream  { background: var(--cream); }
.bg-deep   { background: var(--cream-deep); }
.bg-paper  { background: var(--paper); }
.bg-green  { background: var(--green-tint); }
.bg-blue   { background: var(--blue-tint); }
.bg-yellow { background: var(--yellow-tint); }

/* soft top wave divider via radius */
.curve-top { border-radius: 44px 44px 0 0; margin-top: -44px; padding-top: clamp(72px, 9vw, 128px); position: relative; z-index: 1; }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--green-deep);
  background: var(--paper);
  border: 1.5px solid var(--green-skin);
  padding: 7px 16px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.eyebrow.blue  { color: var(--blue-deep);  border-color: oklch(0.88 0.05 244); }
.eyebrow.orange{ color: var(--orange-deep);border-color: oklch(0.88 0.05 58); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 4.6vw, 42px);
  line-height: 1.45;
  margin-top: 18px;
  letter-spacing: 0.005em;
}
.section-head .lead { margin-top: 20px; color: var(--ink-soft); font-size: clamp(15.5px, 1.7vw, 18px); }

.hl { color: var(--green-deep); }
.hl-blue { color: var(--blue-deep); }
.hl-orange { color: var(--orange-deep); }
.marker {
  background: linear-gradient(transparent 58%, oklch(0.92 0.06 92) 58%);
  padding-inline: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  border: none; cursor: pointer; text-align: center; white-space: nowrap;
  min-height: 56px; padding: 0 30px;
  border-radius: var(--r-pill);
  font-size: 17px; letter-spacing: 0.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-cta {
  background: linear-gradient(180deg, oklch(0.74 0.13 60), var(--orange-deep));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 36px oklch(0.62 0.14 50 / 0.42); }
.btn-cta:active { transform: translateY(-1px); }
.btn-cta .free-icon { font-size: 19px; }
.btn-ghost {
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { min-height: 64px; font-size: 18.5px; padding: 0 40px; }
.btn-block { width: 100%; }

.btn-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-faint); line-height: 1.7; }

/* small reassurance row under CTAs */
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.reassure span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }
.reassure .tick { color: var(--green-deep); font-weight: 700; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.98 0.012 85 / 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(0.9 0.02 80 / 0.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 17.5px; }
.brand > span:not(.logo) { white-space: nowrap; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: linear-gradient(150deg, var(--green), var(--blue));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand .logo svg { width: 25px; height: 25px; display: block; }
.brand .logo .logo-stroke { stroke: currentColor; }
.brand small { display: block; font-size: 11.5px; color: var(--ink-faint); font-weight: 500; font-family: var(--font-body); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 13px; border-radius: var(--r-pill); transition: background .15s, color .15s; white-space: nowrap; }
.nav a:hover { background: var(--green-tint); color: var(--green-deep); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 46px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.menu-btn { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; background:
   radial-gradient(120% 80% at 85% -10%, var(--green-tint), transparent 55%),
   radial-gradient(90% 70% at -5% 110%, var(--blue-tint), transparent 50%),
   var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero-copy h1 {
  font-size: clamp(30px, 4.8vw, 48px);
  line-height: 1.32;
  letter-spacing: 0.005em;
  margin-top: 20px;
}
.hero-copy .subcopy { margin-top: 24px; font-size: clamp(15.5px, 1.9vw, 19px); color: var(--ink-soft); line-height: 1.95; }
.hero-cta-wrap { margin-top: 32px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 15px;
  font-size: 13.5px; font-weight: 700; font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
}
.hero-badge .ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; flex: none; }
.hero-badge.g .ic { background: var(--green); }
.hero-badge.b .ic { background: var(--blue); }
.hero-badge.o .ic { background: var(--orange); }

/* floating soft blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; pointer-events: none; }

/* =========================================================
   PHONE MOCKUP
   ========================================================= */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(330px, 84vw); aspect-ratio: 330 / 680;
  background: #1f1c18; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px oklch(0.85 0.02 80) inset;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; background: var(--cream); border-radius: 36px;
  overflow: hidden; display: flex; flex-direction: column;
  position: relative;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #1f1c18; border-radius: 0 0 16px 16px; z-index: 5; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 11px 20px 6px; font-size: 12px; font-weight: 700; color: var(--ink); }
.app-top { padding: 6px 18px 12px; display: flex; align-items: center; justify-content: space-between; }
.app-top .app-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.app-top .app-name .av { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(150deg, var(--green), var(--blue)); }
.trial-chip { font-size: 11px; font-weight: 700; color: var(--orange-deep); background: var(--orange-tint); border: 1px solid oklch(0.86 0.05 58); padding: 4px 9px; border-radius: var(--r-pill); }

.app-body { flex: 1; padding: 4px 16px 16px; overflow: hidden; }
.ai-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--blue-deep); background: var(--blue-tint); padding: 5px 11px; border-radius: var(--r-pill); }
.ai-pill .spark { font-size: 12px; }
.today-card {
  margin-top: 10px; background: var(--paper); border-radius: 22px; padding: 16px 16px 18px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.today-card .ttl { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.5; }
.today-card .meta { margin-top: 8px; font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.stumble {
  margin-top: 12px; background: var(--orange-tint); border: 1px solid oklch(0.88 0.05 58);
  border-radius: 13px; padding: 10px 12px; font-size: 11.5px; line-height: 1.6;
}
.stumble b { color: var(--orange-deep); }
.qbtns { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qbtns .qb { font-size: 11px; font-weight: 700; padding: 9px; border-radius: 11px; text-align: center; font-family: var(--font-display); }
.qb.solid { background: linear-gradient(180deg, oklch(0.74 0.13 60), var(--orange-deep)); color: #fff; }
.qb.soft { background: var(--green-tint); color: var(--green-deep); }
.next-note { margin-top: 12px; font-size: 11px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.next-note .arr { color: var(--green-deep); font-weight: 800; }
.mini-progress { margin-top: 14px; }
.mini-progress .row { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ink-faint); font-weight: 600; margin-bottom: 6px; }
.bar { height: 8px; border-radius: 99px; background: var(--cream-deep); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--blue)); }

/* little floating cards around phone */
.float-card {
  position: absolute; z-index: 3; background: var(--paper);
  border-radius: 16px; padding: 11px 14px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; font-family: var(--font-display);
  display: flex; align-items: center; gap: 9px;
}
.float-card .emo { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; color: #fff; flex: none; }
.fc-1 { top: 1%; left: -7%; }
.fc-1 .emo { background: var(--green); }
.fc-2 { bottom: 12%; right: -8%; }
.fc-2 .emo { background: var(--blue); }

/* =========================================================
   GENERIC CARDS
   ========================================================= */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* icon chip */
.chip-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; flex: none; }
.chip-ic.g { background: var(--green-tint); }
.chip-ic.b { background: var(--blue-tint); }
.chip-ic.o { background: var(--orange-tint); }

/* =========================================================
   EMPATHY — lifestyle scene cards
   ========================================================= */
.scene-grid { margin-top: 44px; }
.scene {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 28px 24px; color: var(--ink);
  border: 1px solid var(--line);
}
.scene .time { font-family: var(--font-display); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); box-shadow: var(--shadow-sm); }
.scene h3 { font-size: 19px; margin-top: 18px; }
.scene p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.scene .sun { position: absolute; top: -30px; right: -20px; width: 110px; height: 110px; border-radius: 50%; opacity: .4; }
.scene.morning { background: linear-gradient(160deg, var(--yellow-tint), var(--paper)); }
.scene.morning .sun { background: oklch(0.88 0.09 80); }
.scene.day { background: linear-gradient(160deg, var(--blue-tint), var(--paper)); }
.scene.day .sun { background: oklch(0.86 0.07 244); }
.scene.night { background: linear-gradient(160deg, oklch(0.94 0.03 280), var(--paper)); }
.scene.night .sun { background: oklch(0.8 0.06 280); }

/* =========================================================
   WORRY CHECKLIST
   ========================================================= */
.check-list { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.check-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-skin); }
.check-box {
  width: 28px; height: 28px; border-radius: 9px; flex: none; margin-top: 1px;
  background: var(--green-tint); color: var(--green-deep);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.check-item p { font-size: 15.5px; line-height: 1.7; }
.check-closer {
  margin-top: 36px; text-align: center; max-width: 680px; margin-inline: auto;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 24px); line-height: 1.7;
}

/* =========================================================
   FLOW DIAGRAM (why-not-continue + AI section)
   ========================================================= */
.compare-flows { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.flow-col { border-radius: var(--r-lg); padding: 28px 24px; border: 1px solid var(--line); }
.flow-col.bad { background: var(--paper); }
.flow-col.good { background: linear-gradient(170deg, var(--green-tint), var(--paper)); border-color: var(--green-skin); box-shadow: var(--shadow-md); }
.flow-col .flow-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 15px; padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 8px; }
.flow-col.bad .flow-label { background: var(--cream-deep); color: var(--ink-soft); }
.flow-col.good .flow-label { background: var(--green); color: #fff; }
.flow-steps { margin-top: 14px; }
.flow-node {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 16px; font-size: 14.5px; font-weight: 600; text-align: center; line-height: 1.55;
}
.flow-col.good .flow-node { border-color: var(--green-skin); }
.flow-col.good .flow-node.accent { background: var(--green); color: #fff; border-color: transparent; font-weight: 700; }
.flow-arrow { text-align: center; color: var(--ink-faint); font-size: 18px; padding: 6px 0; }
.flow-col.good .flow-arrow { color: var(--green); }

/* =========================================================
   AI STEP DIAGRAM — the centerpiece
   ========================================================= */
.ai-hero { background:
   radial-gradient(90% 70% at 100% 0%, var(--blue-tint), transparent 55%),
   radial-gradient(80% 60% at 0% 100%, var(--green-tint), transparent 50%),
   var(--paper);
}
.ai-steps { margin-top: 50px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.ai-step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 18px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.ai-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ai-step .num {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 16px;
}
.ai-step:nth-child(odd) .num { background: var(--green); }
.ai-step:nth-child(even) .num { background: var(--blue); }
.ai-step h3 { font-size: 17px; line-height: 1.5; }
.ai-step p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.ai-step .glyph { margin-top: auto; padding-top: 16px; font-size: 30px; opacity: .85; }
.ai-step .connector { position: absolute; top: 44px; right: -14px; width: 28px; z-index: 4; color: var(--blue); display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.ai-step:last-child .connector { display: none; }

/* difficulty curve strip */
.difficulty-strip {
  margin-top: 46px; background: linear-gradient(120deg, var(--green-tint), var(--blue-tint));
  border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center;
  border: 1px solid var(--line);
}
.difficulty-strip h3 { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.55; }
.difficulty-strip p { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }
.curve-vis { background: var(--paper); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.curve-track { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.curve-bar { flex: 1; border-radius: 10px 10px 4px 4px; position: relative; transition: height .3s; }
.curve-bar span { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--ink-faint); font-weight: 600; }
.curve-legend { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.curve-legend span { font-size: 12px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.curve-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.feat-grid { margin-top: 44px; }
.feat-card { display: flex; flex-direction: column; gap: 14px; }
.feat-card h3 { font-size: 18px; }
.feat-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.compare-wrap { margin-top: 44px; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
table.compare { width: 100%; border-collapse: collapse; background: var(--paper); }
table.compare th, table.compare td { padding: 20px 22px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.7; border-bottom: 1px solid var(--line); }
table.compare thead th { font-family: var(--font-display); font-size: 15.5px; }
table.compare thead .c-them { color: var(--ink-soft); background: var(--cream-deep); }
table.compare thead .c-us { color: var(--green-deep); background: var(--green-tint); }
table.compare tbody th { font-family: var(--font-display); font-weight: 700; width: 22%; color: var(--ink); background: var(--cream); }
table.compare td.them { color: var(--ink-soft); width: 34%; }
table.compare td.us { width: 44%; background: oklch(0.97 0.02 152); font-weight: 600; }
table.compare td.us .ck { color: var(--green-deep); font-weight: 800; margin-right: 6px; }
table.compare tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }

/* =========================================================
   SUBJECTS
   ========================================================= */
.subjects-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.stat-row { display: flex; gap: 28px; margin-top: 8px; }
.stat-row .stat { text-align: center; }
.stat-row .stat b { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); color: var(--green-deep); display: block; line-height: 1.1; }
.stat-row .stat small { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.subj-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.subj {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.subj:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.subj .n { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.subj:nth-child(3n+1) .n { background: var(--green); }
.subj:nth-child(3n+2) .n { background: var(--blue); }
.subj:nth-child(3n+3) .n { background: var(--orange); }
.subj b { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.note-line { margin-top: 26px; font-size: 13px; color: var(--ink-faint); text-align: center; }

/* =========================================================
   STEP FLOW (trial -> billing)
   ========================================================= */
.steps { margin-top: 48px; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 28px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s, box-shadow .18s;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step .sidx {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; text-align: center; line-height: 1.1;
  background: linear-gradient(160deg, var(--green), var(--blue));
}
.step .sidx small { display: block; font-size: 10px; opacity: .85; font-weight: 600; }
.step .sidx b { font-size: 30px; }
.step:nth-child(2) .sidx { background: linear-gradient(160deg, var(--blue), oklch(0.6 0.1 270)); }
.step:nth-child(4) .sidx { background: linear-gradient(160deg, var(--orange), var(--green)); }
.step:nth-child(5) .sidx { background: linear-gradient(160deg, var(--green-deep), var(--green)); }
.step h3 { font-size: 19px; }
.step p { margin-top: 7px; color: var(--ink-soft); font-size: 14.5px; }
.step .safe-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--green-deep); background: var(--green-tint); padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap; }

/* =========================================================
   PRICING
   ========================================================= */
.price-wrap { margin-top: 46px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: stretch; }
.price-card { border-radius: var(--r-xl); padding: 36px 34px; display: flex; flex-direction: column; }
.price-free { background: linear-gradient(165deg, var(--green-tint), var(--paper)); border: 1.5px solid var(--green-skin); }
.price-paid { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.price-tag { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.price-big { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin-top: 10px; }
.price-free .price-big { font-size: clamp(46px, 7vw, 64px); color: var(--green-deep); }
.price-paid .price-big { font-size: clamp(38px, 6vw, 54px); }
.price-big small { font-size: 18px; font-weight: 700; }
.price-sub { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.price-list { margin-top: 20px; display: grid; gap: 10px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.price-list .ck { color: var(--green-deep); font-weight: 800; }
.price-breakdown { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.price-breakdown div { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.price-breakdown b { font-family: var(--font-display); font-size: 20px; color: var(--blue-deep); display: block; white-space: nowrap; }
.price-breakdown small { font-size: 11.5px; color: var(--ink-faint); }
.price-cta-wrap { margin-top: auto; padding-top: 26px; }
.price-quote { text-align: center; max-width: 620px; margin: 38px auto 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.6vw, 23px); line-height: 1.7; }

/* =========================================================
   MAKER'S NOTE
   ========================================================= */
.maker { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.maker-visual { background: linear-gradient(160deg, var(--green-tint), var(--blue-tint)); border-radius: var(--r-xl); aspect-ratio: 4/4.4; display: grid; place-items: center; border: 1px solid var(--line); position: relative; overflow: hidden; }
.maker-visual .big-emo { font-size: clamp(80px, 14vw, 140px); }
.maker-body p { color: var(--ink-soft); font-size: 16px; line-height: 2; }
.maker-body p + p { margin-top: 20px; }

/* placeholder utility */
.ph {
  background-color: var(--cream-deep);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 9px, oklch(0.88 0.02 80 / .6) 9px, oklch(0.88 0.02 80 / .6) 18px);
  border-radius: var(--r-md); display: grid; place-items: center;
  color: var(--ink-faint); font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: .04em;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { margin-top: 40px; max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; background: none; border: none; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq-q .qmark { width: 30px; height: 30px; border-radius: 9px; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; flex: none; font-size: 15px; font-weight: 800; }
.faq-q .chev { margin-left: auto; flex: none; color: var(--ink-faint); transition: transform .25s; font-size: 18px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px 70px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { background:
   radial-gradient(80% 100% at 100% 0%, var(--green-tint), transparent 60%),
   radial-gradient(80% 100% at 0% 100%, var(--orange-tint), transparent 55%),
   var(--cream-deep);
   text-align: center;
}
.final-cta h2 { font-size: clamp(26px, 4.6vw, 44px); line-height: 1.5; }
.final-cta .lead { margin: 22px auto 0; max-width: 560px; color: var(--ink-soft); font-size: 17px; }
.final-cta .btn { margin-top: 34px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: oklch(0.85 0.01 80); padding-block: 56px 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: oklch(0.7 0.01 80); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { font-size: 14px; color: oklch(0.82 0.01 80); }
.footer-nav a:hover { color: #fff; }
.footer-note { margin-top: 34px; padding-top: 24px; border-top: 1px solid oklch(0.32 0.01 80); font-size: 12.5px; color: oklch(0.68 0.01 80); line-height: 1.9; }

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: oklch(0.98 0.012 85 / 0.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none; box-shadow: 0 -6px 24px rgba(80,64,40,.1);
}
.sticky-cta .btn { width: 100%; }
.sticky-cta small { display: block; text-align: center; font-size: 11px; color: var(--ink-faint); margin-top: 6px; }

/* =========================================================
   REVEAL — content is always visible (no entrance gate)
   ========================================================= */
.reveal { }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .difficulty-strip { grid-template-columns: 1fr; }
  .maker { grid-template-columns: 1fr; gap: 28px; }
  .price-wrap { grid-template-columns: 1fr; }
  .ai-steps { grid-template-columns: 1fr 1fr; }
  .ai-step .connector { display: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { order: -1; margin-bottom: 8px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .nav, .header-cta .btn span.long { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
  .header-cta .btn { padding: 0 16px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr 1fr; }
  .feat-grid.cols-3 { grid-template-columns: 1fr; }
  .scene-grid.cols-3 { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .compare-flows { grid-template-columns: 1fr; }
  .subj-grid { grid-template-columns: 1fr 1fr; }
  .ai-steps { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 84px; }
  table.compare th, table.compare td { padding: 14px 14px; font-size: 13.5px; }
  table.compare tbody th { width: auto; }
}

@media (max-width: 480px) {
  .cols-3, .cols-4, .subj-grid { grid-template-columns: 1fr; }
  .btn { font-size: 15px; padding: 0 18px; }
  .btn-lg { font-size: 15.5px; padding: 0 20px; min-height: 58px; }
  .step { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .step .sidx { width: 60px; height: 60px; }
  .stat-row { gap: 18px; }
  .price-card { padding: 28px 24px; }
}
