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

:root {
  --bg: #f6f8fb;
  --bg-soft: #edf2f7;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --line: #cfd8e3;
  --line-2: #dde5ee;
  --text: #15233a;
  --text-soft: #667790;
  --text-faint: #8a99ad;
  --green: #2f925f;
  --green-soft: #e4f3eb;
  --green-soft-2: #edf8f2;
  --green-dark: #22714a;
  --danger: #d65c67;
  --danger-soft: #fff2f3;
  --danger-line: #f1cbd0;
  --blue: #2e477f;
  --gold: #d39a31;
  --gold-2: #f0d06b;
  --shadow-soft: 0 18px 40px rgba(17, 39, 74, 0.08);
  --shadow-button: 0 12px 24px rgba(47, 146, 95, 0.16);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --page-narrow: 560px;
  --page-medium: 780px;
  --page-wide: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.92), transparent 48%),
    linear-gradient(180deg, #f9fbfd 0%, #f3f6fa 100%);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

#app {
  min-height: 100vh;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}


.page {
  width: min(calc(100% - 24px), var(--page-narrow));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.page.page-medium {
  width: min(calc(100% - 24px), var(--page-medium));
}

.page.page-wide {
  width: min(calc(100% - 24px), var(--page-wide));
}

.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 22px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(47, 146, 95, 0.18);
  background: linear-gradient(180deg, #ffffff, #eef7f2);
  box-shadow: 0 10px 24px rgba(47, 146, 95, 0.08);
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 32px);
  line-height: 1.05;
  font-weight: 800;
}

.brand-subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.card,
.soft-card,
.price-card,
.faq-card,
.small-card,
.sheet-card,
.result-side,
.result-canvas,
.offer-block,
.toast-modal,
.verify-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 20px;
}

.soft-card,
.faq-card,
.offer-block,
.verify-card,
.sheet-card {
  padding: 18px;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 24px);
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
}

.page-subtitle {
  margin: 0 auto 18px;
  max-width: 540px;
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 12px;
  text-align: center;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon-badge {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(47, 146, 95, 0.12);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.intro-title {
  margin: 2px 0 0;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.25;
  font-weight: 800;
}

.intro-copy {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.intro-copy + .intro-copy {
  margin-top: 14px;
}

.intro-copy.soft {
  color: var(--text-soft);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line-2);
}

.mini-row strong {
  font-weight: 800;
}

.mini-row span {
  color: var(--text);
  font-size: 15px;
}

.alert-strip {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(47, 146, 95, 0.22);
  font-weight: 600;
}

.question-bottom {
  margin-top: 22px;
  text-align: center;
}

.question-bottom h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 3vw, 22px);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 14px;
}

.button,
.button-secondary {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

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

.button:disabled,
.button-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.button-secondary {
  background: #eff4f9;
  color: #607188;
  border-color: var(--line-2);
}

.stack-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.category-list {
  display: grid;
  gap: 12px;
}

.category-item {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.category-item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.category-item:active {
  background: var(--surface);
}

.category-item.selected:active {
  background: #fbfefd;
}

.category-item.selected {
  border-color: #97c7ae;
  background: #fbfefd;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef2f6;
  display: grid;
  place-items: center;
  color: #667790;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background 0.18s ease, color 0.18s ease;
}

.category-item.selected .category-icon {
  background: var(--green-soft);
  color: var(--green);
}

.category-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.2;
}

.category-text span {
  display: block;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.35;
}

.category-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  color: transparent;
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.category-item.selected .category-check {
  border-color: #96bfa9;
  color: var(--green);
  background: var(--green-soft);
}

.pill-selected {
  margin-top: 14px;
  min-height: 2.2em;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
}

.quiz-shell {
  width: min(calc(100% - 24px), var(--page-narrow));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #e9eff5;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.25s ease;
}

.quiz-threshold {
  margin-top: 12px;
  text-align: center;
  color: var(--green);
  font-size: 14px;
}

.question-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.question-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 22px);
  line-height: 1.38;
  font-weight: 800;
}

.option-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: var(--surface);
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.option:hover {
  border-color: #b7c4d4;
}

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eef2f6;
  color: #65778f;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}

.option.correct {
  border-color: #9bc5ad;
  background: #fcfffd;
}

.option.correct .option-letter {
  background: var(--green-soft);
  color: var(--green);
}

.option.wrong {
  border-color: var(--danger-line);
  background: var(--danger-soft);
}

.option.wrong .option-letter {
  background: #f9dfe2;
  color: var(--danger);
}

.option.dimmed {
  opacity: 0.45;
}

.option-end {
  margin-left: auto;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.answer-feedback {
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.answer-feedback.correct {
  color: var(--text);
}

.answer-feedback.wrong {
  color: var(--danger);
}

.analysis-shell {
  width: min(calc(100% - 24px), 720px);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 24px 0 48px;
}

.analysis-box {
  width: 100%;
  text-align: center;
}

.analysis-ring {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) calc(var(--progress, 0) * 3.6deg), #e6ebf1 0);
}

.analysis-ring::before {
  content: "";
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bg);
}

.analysis-ring strong {
  position: absolute;
  font-size: 30px;
  font-weight: 800;
}

.analysis-steps {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.analysis-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
}

.analysis-step.done {
  color: var(--text);
}

.analysis-step.current {
  color: var(--green);
}

.analysis-step.faint {
  color: #c2ccd7;
}

.analysis-bar {
  width: min(100%, 450px);
  height: 4px;
  border-radius: 999px;
  background: #e6ebf1;
  margin: 26px auto 0;
  overflow: hidden;
}

.analysis-bar span {
  display: block;
  height: 100%;
  background: var(--green);
}

.result-shell {
  width: min(calc(100% - 24px), var(--page-wide));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.result-top {
  text-align: center;
}

.result-icon {
  margin: 0 auto 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
}

.result-icon.pass {
  color: var(--green);
}

.result-icon.fail {
  color: var(--danger);
}

.result-score {
  margin: 0;
  font-size: clamp(56px, 9vw, 64px);
  line-height: 1;
  color: var(--green);
  font-weight: 800;
}

.result-score.fail {
  color: var(--danger);
}

.result-status {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.result-status.fail {
  color: var(--danger);
}

.result-note {
  margin: 10px auto 0;
  max-width: 480px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.45;
}

.result-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 28px;
}

.result-side {
  padding: 28px 18px;
}

.result-side h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.result-side p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.45;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.form-field label {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #8ebba0;
  background: #fff;
  color: var(--text);
  outline: none;
}

.input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 146, 95, 0.08);
}

.form-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.35;
}

.result-button {
  margin-top: 12px;
}

.result-canvas {
  padding: 0;
  overflow: hidden;
}

.cert-wrap {
  position: relative;
  padding: 18px 22px 18px;
  background: linear-gradient(180deg, #314b84 0%, #314b84 100%);
}

.cert-sheet {
  position: relative;
  min-height: 366px;
  padding: 22px 24px 20px;
  background: #fff;
  border: 1px solid #e0d6bf;
  overflow: hidden;
}

.cert-sheet::before,
.cert-sheet::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  background:
    radial-gradient(circle at bottom right, transparent 48%, var(--gold) 49%, var(--gold) 57%, transparent 58%),
    radial-gradient(circle at bottom right, transparent 61%, var(--blue) 62%, var(--blue) 76%, transparent 77%),
    radial-gradient(circle at bottom right, transparent 78%, var(--blue) 79%, var(--blue) 100%);
}

.cert-sheet::before {
  left: -2px;
  bottom: -2px;
}

.cert-sheet::after {
  right: -2px;
  bottom: -2px;
  transform: scaleX(-1);
}

.cert-top-rule {
  position: relative;
  height: 22px;
  margin: 0 auto 14px;
  max-width: 420px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
}

.cert-top-rule::before,
.cert-top-rule::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 22px;
  background: var(--blue);
}

.cert-top-rule::before {
  left: -18px;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.cert-top-rule::after {
  right: -18px;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.cert-inner {
  position: relative;
  border: 3px solid var(--gold);
  padding: 20px 26px 18px;
  min-height: 286px;
  background: #fff;
}

.cert-corners::before,
.cert-corners::after,
.cert-inner::before,
.cert-inner::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
}

.cert-inner::before {
  left: -3px;
  top: -3px;
  border-left: 3px solid var(--gold);
  border-top: 3px solid var(--gold);
}

.cert-inner::after {
  right: -3px;
  top: -3px;
  border-right: 3px solid var(--gold);
  border-top: 3px solid var(--gold);
}

.cert-body {
  text-align: center;
  position: relative;
}

.cert-logo {
  position: absolute;
  left: 4px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #e7f3ec, #ffffff);
  border: 1px solid rgba(47, 146, 95, 0.28);
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cert-title {
  margin: 8px 0 2px;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1;
  font-weight: 800;
  color: #233457;
  letter-spacing: 0.02em;
}

.cert-subtitle {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #233457;
}

.cert-small {
  margin: 12px 0 6px;
  color: #677791;
  font-size: 11px;
}

.cert-name {
  margin: 0;
  font-family: "Dancing Script", cursive;
  font-size: clamp(36px, 4vw, 42px);
  line-height: 1.05;
  color: #233457;
  font-weight: 700;
}

.cert-name-rule {
  width: 180px;
  height: 2px;
  margin: 4px auto 10px;
  background: #9aa7bc;
}

.cert-paragraph {
  max-width: 500px;
  margin: 0 auto;
  color: #3f4c63;
  font-size: 11px;
  line-height: 1.45;
}

.cert-footer {
  display: grid;
  grid-template-columns: 1fr 84px 78px;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
}

.cert-signature {
  text-align: center;
}

.cert-signature .line {
  width: 88px;
  height: 1px;
  margin: 0 auto 6px;
  background: #233457;
}

.cert-signature strong {
  display: block;
  font-family: "Dancing Script", cursive;
  font-size: 16px;
  color: #233457;
}

.cert-signature span {
  display: block;
  font-size: 8px;
  color: #56667d;
  letter-spacing: 0.1em;
}

.cert-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f7e08c 0, #d9aa2c 65%, #bf8b18 100%);
  border: 3px solid #bb8d1b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
}

.cert-reg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  min-height: 44px;
  border: 1.5px solid #2f3f63;
  border-radius: 4px;
  padding: 3px 4px;
  background: #f4f7fb;
}

.cert-reg-label {
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #5e6f87;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}

.cert-reg-val {
  font-size: 6.5px;
  font-weight: 700;
  color: #203254;
  letter-spacing: 0.3px;
  line-height: 1;
  font-family: "Courier New", monospace;
}

.cert-preview-note {
  padding: 8px 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 12px;
}

.offer-shell {
  width: min(calc(100% - 24px), 760px);
  margin: 0 auto;
  padding: 16px 0 60px;
}

.offer-preview {
  margin-top: 18px;
}

.offer-stack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.offer-center {
  text-align: center;
}

.soft-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(47, 146, 95, 0.2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.status-line {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-headline {
  margin: 18px 0 6px;
  font-size: clamp(28px, 4vw, 32px);
  line-height: 1.15;
  font-weight: 800;
}

.offer-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.offer-section-title {
  margin: 26px 0 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.compare-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.compare-card.bad {
  background: var(--danger-soft);
  border-color: var(--danger-line);
}

.compare-card.good {
  background: #fcfffd;
  border-color: #b9d8c5;
}

.compare-card h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.compare-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

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

.triple-box {
  padding: 12px;
  text-align: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.triple-box strong {
  display: block;
  margin-top: 8px;
  font-size: 11px;
}

.triple-box span {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 11px;
}

.callout-green {
  padding: 16px;
  text-align: center;
  border-radius: 14px;
  background: var(--green-soft-2);
  border: 1px solid #c7e1d2;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.video-card {
  width: min(100%, 150px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.video-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
    linear-gradient(135deg, #6a7c88, #8e9da7);
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 56% 36%, rgba(255, 219, 190, 0.9) 0 14%, transparent 15%),
    radial-gradient(circle at 54% 34%, #c38b63 0 10%, transparent 11%),
    radial-gradient(circle at 56% 38%, #7f4f37 0 4%, transparent 5%),
    radial-gradient(circle at 56% 52%, #d0d8de 0 18%, transparent 19%),
    radial-gradient(circle at 56% 67%, #5a6770 0 26%, transparent 27%);
  opacity: 0.95;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 146, 95, 0.25);
}

.video-caption {
  padding: 7px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.testimonial-list {
  display: grid;
  gap: 10px;
}

.testimonial-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.testimonial-card strong {
  font-size: 12px;
  color: var(--text-soft);
}

.testimonial-card p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
  font-style: italic;
}

.proof-card {
  text-align: center;
}

.proof-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.proof-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.qr-info {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--green-soft-2);
  border: 1px solid #c7e1d2;
}

.qr-info strong {
  display: block;
  font-size: 13px;
}

.qr-info ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.qr-info li {
  color: var(--text-soft);
  font-size: 11px;
}

.price-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.price-top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--green-soft-2);
  border: 1px solid #c7e1d2;
  font-size: 12px;
  font-weight: 700;
}

.price-center {
  text-align: center;
  margin-top: 14px;
}

.price-center small {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
}

.price-value {
  margin-top: 8px;
  font-size: 44px;
  line-height: 1;
  color: var(--green);
  font-weight: 800;
}

.price-value span {
  font-size: 16px;
  color: var(--text-soft);
  font-weight: 600;
}

.price-note {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 12px;
}

.installment-box {
  margin-top: 12px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf5f0;
  color: #476579;
  font-size: 13px;
  font-weight: 700;
}

.item-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.item-list li {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.subbox {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.subbox strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.guarantee-seal {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #22345a 0 46%, transparent 47%),
    radial-gradient(circle at center, #f0cf74 0 64%, #d59d2d 65%, #b7831e 100%);
  border: 3px solid #d3aa4d;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 12px;
}

.payment-chip {
  padding: 4px 8px;
  border-radius: 6px;
  background: #f3f6f9;
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
}

.delivery-block p,
.why-block p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
}

.delivery-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.micro-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.micro-item {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.footer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 12px;
  margin-top: 12px;
}

.generator-shell,
.upsell-shell,
.done-shell {
  width: min(calc(100% - 24px), var(--page-wide));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.generator-grid,
.upsell-grid,
.done-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 43, 0.48);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 30;
}

.toast-modal {
  width: min(100%, 520px);
  padding: 28px;
  text-align: center;
}

.toast-check {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
}

.toggle-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.toggle-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #eff4f8;
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
}

.toggle-button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.card-preview {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f6d97b 0%, #ffe7a7 34%, #e0b75a 100%);
  border: 1px solid rgba(47, 71, 127, 0.12);
  box-shadow: var(--shadow-soft);
  color: #203152;
}

.card-preview h3 {
  margin: 12px 0 6px;
  font-size: 28px;
  line-height: 1.1;
}

.card-preview p {
  margin: 0;
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.card-grid div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
}

.card-grid span {
  display: block;
  color: #5b6c84;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.done-banner {
  text-align: center;
  padding: 18px;
  border-radius: 18px;
  background: var(--green-soft-2);
  border: 1px solid #c7e1d2;
}

.done-banner h2 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.done-banner p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}

.verify-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.verify-result.ok {
  background: var(--green-soft);
  border: 1px solid #b6d6c3;
}

.verify-result.fail {
  background: var(--danger-soft);
  border: 1px solid var(--danger-line);
}


@media (max-width: 920px) {
  .result-grid,
  .generator-grid,
  .upsell-grid,
  .done-grid {
    grid-template-columns: 1fr;
  }

  .result-side {
    order: 2;
  }

  .result-canvas {
    order: 1;
  }
}

@media (max-width: 720px) {
  .compare-grid,
  .triple-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .result-shell,
  .offer-shell,
  .generator-shell,
  .upsell-shell,
  .done-shell {
    width: min(calc(100% - 16px), 100%);
  }

  .page,
  .quiz-shell {
    width: min(calc(100% - 16px), 100%);
  }

  .card,
  .soft-card,
  .faq-card,
  .sheet-card,
  .offer-block,
  .verify-card {
    padding: 16px;
  }

  .cert-wrap {
    padding: 14px 14px 14px;
  }

  .cert-sheet {
    padding: 16px;
  }

  .cert-inner {
    padding: 14px 14px 16px;
  }

  .cert-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
