:root {
  color-scheme: light;
  --canvas: #f4f0e8;
  --paper: #fffdf8;
  --ink: #211c36;
  --ink-soft: #4f4963;
  --muted: #7d778e;
  --line: rgba(33, 28, 54, 0.12);
  --line-strong: rgba(33, 28, 54, 0.2);
  --violet: #6d5bd0;
  --violet-dark: #33275f;
  --lime: #d8f280;
  --apricot: #f2a46f;
  --mint: #8edbbf;
  --blue: #7aa8ee;
  --shadow: 0 28px 80px rgba(52, 43, 87, 0.13);
  --shadow-soft: 0 14px 34px rgba(52, 43, 87, 0.09);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(216, 242, 128, 0.28), transparent 25rem),
    radial-gradient(circle at 4% 38%, rgba(109, 91, 208, 0.11), transparent 31rem),
    var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
select,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(109, 91, 208, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  opacity: 0;
  transform: translateY(-150%);
  transition: 160ms ease;
}

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

.disclosure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 20px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-align: center;
}

.disclosure strong {
  color: var(--lime);
}

.disclosure__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(216, 242, 128, 0.12);
}

.site-header,
main,
.site-footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 43px;
  height: 43px;
  padding-bottom: 12px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(33, 28, 54, 0.18);
}

.brand__mark i {
  display: block;
  height: 9px;
  border-radius: 7px 7px 3px 3px;
  background: var(--lime);
  transform: rotate(-11deg);
}

.brand__mark i:nth-child(2) {
  height: 17px;
  background: var(--apricot);
  transform: rotate(5deg);
}

.brand__mark i:nth-child(3) {
  height: 13px;
  background: var(--mint);
  transform: rotate(12deg);
}

.brand__copy {
  display: grid;
  line-height: 1.15;
}

.brand__copy strong {
  font-size: 0.94rem;
}

.brand__copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.back-link {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.back-link:hover {
  border-color: var(--violet);
  background: #fff;
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 78px;
  align-items: end;
  padding: 92px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--violet);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 16px 0 25px;
  font-size: clamp(3.25rem, 6.3vw, 6.2rem);
  font-weight: 930;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.hero h1 em {
  color: var(--violet);
  font-family: ui-serif, "Songti SC", "STSong", serif;
  font-weight: 650;
}

.hero__lead {
  max-width: 730px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 23px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts i {
  color: var(--violet);
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.05em;
}

.safety-card {
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(109, 91, 208, 0.2);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.safety-card__top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.safety-card__seal {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.safety-card__top div {
  display: grid;
  line-height: 1.25;
}

.safety-card__top strong {
  font-size: 0.95rem;
}

.safety-card__top small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.safety-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.safety-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.safety-card li > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.preset-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 253, 248, 0.68);
}

.preset-strip h2 {
  margin: 3px 0 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.preset-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(155px, 1fr));
  gap: 9px;
  width: min(660px, 65%);
}

.preset-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.preset-button:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.preset-button.is-active {
  border-color: var(--line-strong);
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(52, 43, 87, 0.08);
}

.preset-button__swatch {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--apricot);
}

.preset-button__swatch::before,
.preset-button__swatch::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.preset-button__swatch::before {
  width: 27px;
  height: 27px;
  right: -6px;
  bottom: -5px;
  border: 6px solid rgba(255, 255, 255, 0.65);
}

.preset-button__swatch::after {
  width: 7px;
  height: 7px;
  top: 7px;
  left: 7px;
  background: var(--ink);
}

.preset-button__swatch--mint {
  background: var(--mint);
}

.preset-button__swatch--blue {
  background: var(--blue);
}

.preset-button > span:last-child {
  display: grid;
  line-height: 1.2;
}

.preset-button strong {
  font-size: 0.78rem;
}

.preset-button small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
}

.studio {
  display: grid;
  grid-template-columns: minmax(320px, 0.38fr) minmax(0, 0.62fr);
  min-height: 850px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.brief-panel {
  padding: 36px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(33, 28, 54, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 54, 0.028) 1px, transparent 1px),
    #faf8f2;
  background-size: 22px 22px;
}

.panel-heading,
.result-heading,
.candidate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2,
.result-heading h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.demo-chip,
.result-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
}

.demo-chip i,
.result-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5abd84;
  box-shadow: 0 0 0 4px rgba(90, 189, 132, 0.13);
}

.brief-form {
  display: grid;
  gap: 27px;
  margin-top: 34px;
}

.field {
  display: grid;
  gap: 10px;
}

.field > span:first-child,
.choice-field legend,
.count-field legend {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 850;
}

.field b,
.choice-field b,
.count-field b {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(109, 91, 208, 0.11);
  color: var(--violet);
  font-size: 0.64rem;
}

.select-shell {
  position: relative;
  display: block;
}

.select-shell select {
  width: 100%;
  height: 50px;
  padding: 0 43px 0 15px;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.83);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 750;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.select-shell select:hover,
.select-shell select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(109, 91, 208, 0.08);
}

.select-shell > i {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--violet);
  font-size: 1rem;
  font-style: normal;
  pointer-events: none;
  transform: translateY(-56%);
}

.choice-field,
.count-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend,
.count-field legend {
  margin-bottom: 11px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid label,
.count-picker label {
  position: relative;
  cursor: pointer;
}

.choice-grid input,
.count-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid label > span {
  display: grid;
  place-items: start;
  min-height: 103px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.choice-grid label:hover > span {
  transform: translateY(-2px);
}

.choice-grid input:checked + span {
  border-color: var(--violet);
  background: rgba(109, 91, 208, 0.08);
  box-shadow: inset 0 0 0 1px rgba(109, 91, 208, 0.12);
}

.choice-grid input:focus-visible + span,
.count-picker input:focus-visible + span {
  outline: 3px solid rgba(109, 91, 208, 0.45);
  outline-offset: 3px;
}

.choice-grid i {
  color: var(--violet);
  font-size: 0.88rem;
  font-style: normal;
}

.choice-grid strong {
  margin-top: 4px;
  font-size: 0.76rem;
}

.choice-grid small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.62rem;
}

.count-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.55);
}

.count-picker span {
  display: grid;
  place-items: center;
  height: 38px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.count-picker input:checked + span {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 7px 16px rgba(33, 28, 54, 0.17);
}

.generate-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 850;
  box-shadow: 0 13px 25px rgba(33, 28, 54, 0.19);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.generate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 31px rgba(33, 28, 54, 0.24);
}

.generate-button i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-style: normal;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -15px 0 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.form-privacy span {
  color: #5abd84;
  font-weight: 950;
}

.result-panel {
  min-width: 0;
  padding: 36px;
  background: #fffdf8;
}

.preview-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  gap: 18px;
  margin-top: 30px;
}

.main-poster {
  --poster-bg: #efaa78;
  --poster-accent: #5e2d35;
  --poster-light: #ffe9c7;
  --poster-food: #ce714d;
  position: relative;
  min-height: 510px;
  padding: 27px;
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(145deg, var(--poster-bg), var(--poster-light));
  color: var(--poster-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 18px 34px rgba(52, 43, 87, 0.13);
  isolation: isolate;
}

.main-poster.theme-mint {
  --poster-bg: #79d2b3;
  --poster-accent: #153f3a;
  --poster-light: #d6f3bf;
  --poster-food: #f7ddb0;
}

.main-poster.theme-blue {
  --poster-bg: #709fe6;
  --poster-accent: #17264f;
  --poster-light: #d3d7ff;
  --poster-food: #f0ad5f;
}

.main-poster.theme-plum {
  --poster-bg: #9b77cb;
  --poster-accent: #291c4e;
  --poster-light: #f0c2cb;
  --poster-food: #e6bb76;
}

.poster-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.17;
  background:
    repeating-linear-gradient(107deg, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(19deg, rgba(33, 28, 54, 0.25) 0 1px, transparent 1px 12px);
  mix-blend-mode: soft-light;
}

.poster-topline,
.poster-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.poster-copy {
  position: relative;
  z-index: 3;
  width: 62%;
  margin-top: 55px;
}

.poster-copy > p:first-child {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.poster-copy h3 {
  margin: 0;
  font-family: ui-serif, "Songti SC", "STSong", serif;
  font-size: clamp(3.1rem, 5vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.91;
  white-space: pre-line;
}

.poster-copy > p:last-child {
  max-width: 220px;
  margin: 18px 0 0;
  font-size: 0.8rem;
  font-weight: 750;
}

.poster-art {
  position: absolute;
  right: 6%;
  bottom: 13%;
  width: 47%;
  aspect-ratio: 1;
}

.art-orbit {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.37;
}

.art-orbit--one {
  inset: -17% -9% 5% 2%;
  transform: rotate(-14deg);
}

.art-orbit--two {
  inset: -5% 8% -12% -8%;
  border-width: 2px;
  transform: rotate(19deg);
}

.art-shadow {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 89%;
  height: 25%;
  border-radius: 50%;
  background: rgba(33, 28, 54, 0.22);
  filter: blur(12px);
  transform: rotate(-8deg);
}

.art-plate {
  position: absolute;
  inset: 15% 2% 2% 8%;
  border: 18px solid rgba(255, 255, 255, 0.73);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset -13px -18px 24px rgba(33, 28, 54, 0.08), 0 20px 28px rgba(33, 28, 54, 0.13);
  transform: rotate(-11deg);
}

.art-food {
  position: absolute;
  inset: 30% 19% 22% 27%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 48% 52% 47% 53%;
  background: var(--poster-food);
  box-shadow: inset -14px -9px 20px rgba(92, 45, 53, 0.18), 0 10px 15px rgba(33, 28, 54, 0.14);
  transform: rotate(15deg);
}

.art-food::before,
.art-food::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.art-food::before {
  inset: 19% 18%;
  border: 5px solid rgba(255, 255, 255, 0.35);
}

.art-food::after {
  width: 12%;
  height: 12%;
  top: 23%;
  right: 22%;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: -31px 46px 0 rgba(255, 255, 255, 0.48), -47px 13px 0 rgba(255, 255, 255, 0.4);
}

.art-food i {
  width: 2px;
  height: 58%;
  border-radius: 999px;
  background: rgba(92, 45, 53, 0.2);
  transform: rotate(17deg);
}

.art-spark {
  position: absolute;
  z-index: 2;
  font-size: 1.2rem;
}

.art-spark--one {
  top: 6%;
  right: 12%;
}

.art-spark--two {
  bottom: 13%;
  left: 5%;
  font-size: 0.7rem;
}

.poster-footer {
  position: absolute;
  right: 27px;
  bottom: 24px;
  left: 27px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
}

.poster-demo-mark {
  position: absolute;
  right: 9px;
  bottom: 48%;
  z-index: 4;
  color: currentColor;
  font-size: 0.47rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  opacity: 0.55;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.direction-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8f5ee;
}

.direction-note > span {
  color: var(--violet);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.direction-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.direction-note h3 {
  margin: 5px 0 10px;
  font-family: ui-serif, "Songti SC", "STSong", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.candidate-toolbar {
  margin-top: 28px;
}

.candidate-toolbar h3 {
  margin: 3px 0 0;
  font-size: 1rem;
}

.stepper {
  display: flex;
  gap: 7px;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.stepper button:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.candidate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.candidate-card {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 88px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.candidate-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.candidate-card.is-active {
  border-color: var(--violet);
  box-shadow: 0 8px 22px rgba(109, 91, 208, 0.12);
}

.candidate-visual {
  --candidate-bg: #efaa78;
  --candidate-ink: #5e2d35;
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--candidate-bg), #ffe9c7);
}

.candidate-visual.theme-mint {
  --candidate-bg: #79d2b3;
  --candidate-ink: #153f3a;
  background: linear-gradient(145deg, var(--candidate-bg), #d6f3bf);
}

.candidate-visual.theme-blue {
  --candidate-bg: #709fe6;
  --candidate-ink: #17264f;
  background: linear-gradient(145deg, var(--candidate-bg), #d3d7ff);
}

.candidate-visual.theme-plum {
  --candidate-bg: #9b77cb;
  --candidate-ink: #291c4e;
  background: linear-gradient(145deg, var(--candidate-bg), #f0c2cb);
}

.candidate-visual__halo {
  position: absolute;
  width: 47px;
  height: 47px;
  top: 4px;
  right: -9px;
  border: 1px solid var(--candidate-ink);
  border-radius: 50%;
  opacity: 0.4;
}

.candidate-visual__plate {
  position: absolute;
  width: 39px;
  height: 39px;
  right: 5px;
  bottom: 4px;
  border: 5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.33);
  transform: rotate(-12deg);
}

.candidate-visual__food {
  position: absolute;
  width: 23px;
  height: 18px;
  right: 13px;
  bottom: 14px;
  border-radius: 50%;
  background: var(--candidate-ink);
  opacity: 0.63;
  transform: rotate(14deg);
}

.candidate-visual small {
  position: absolute;
  top: 8px;
  left: 7px;
  color: var(--candidate-ink);
  font-size: 0.38rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.candidate-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.candidate-number {
  color: var(--violet);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.candidate-name {
  margin-top: 5px;
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-tone {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
}

.candidate-card.is-active .candidate-check {
  display: grid;
}

.boundary-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
  padding: 112px 0 105px;
}

.boundary-section > div:first-child h2 {
  margin: 12px 0 0;
  font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.boundary-grid article {
  min-height: 215px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.69);
}

.boundary-grid article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(109, 91, 208, 0.1);
  color: var(--violet);
  font-size: 0.85rem;
  font-weight: 950;
}

.boundary-grid h3 {
  margin: 35px 0 8px;
  font-size: 0.92rem;
}

.boundary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 45px;
  }

  .studio {
    grid-template-columns: 380px minmax(0, 1fr);
  }

  .brief-panel,
  .result-panel {
    padding: 28px;
  }

  .preview-stage {
    grid-template-columns: 1fr;
  }

  .direction-note {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: start;
    gap: 12px;
  }

  .main-poster {
    min-height: 470px;
  }

  .boundary-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 70px;
  }

  .safety-card {
    max-width: 560px;
  }

  .preset-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .preset-list {
    width: 100%;
  }

  .studio {
    grid-template-columns: 1fr;
  }

  .brief-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .choice-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .boundary-grid article {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  .disclosure {
    flex-wrap: wrap;
    gap: 3px 7px;
    padding-block: 9px;
    font-size: 0.65rem;
  }

  .disclosure__pulse {
    display: none;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1320px);
  }

  .site-header {
    min-height: 74px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__copy small {
    display: none;
  }

  .back-link {
    padding: 8px 11px;
    font-size: 0.68rem;
  }

  .hero {
    padding: 55px 0 47px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .hero__facts {
    display: grid;
  }

  .safety-card ul {
    grid-template-columns: 1fr;
  }

  .preset-strip {
    padding: 20px;
  }

  .preset-list {
    grid-template-columns: 1fr;
  }

  .preset-button {
    width: 100%;
  }

  .brief-panel,
  .result-panel {
    padding: 22px 18px;
  }

  .panel-heading,
  .result-heading {
    align-items: flex-start;
  }

  .panel-heading h2,
  .result-heading h2 {
    font-size: 1.15rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid label > span {
    grid-template-columns: 22px 1fr;
    align-items: center;
    min-height: 70px;
  }

  .choice-grid i {
    grid-row: span 2;
  }

  .choice-grid strong,
  .choice-grid small {
    margin: 0;
  }

  .main-poster {
    min-height: 440px;
    padding: 21px;
    border-radius: 19px;
  }

  .poster-copy {
    width: 76%;
    margin-top: 48px;
  }

  .poster-copy h3 {
    font-size: clamp(2.8rem, 15vw, 4.25rem);
  }

  .poster-art {
    right: 3%;
    bottom: 17%;
    width: 54%;
  }

  .poster-footer {
    right: 21px;
    bottom: 20px;
    left: 21px;
  }

  .poster-demo-mark {
    display: none;
  }

  .candidate-list {
    grid-template-columns: 1fr;
  }

  .boundary-section {
    padding: 80px 0 75px;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
  }

  .boundary-grid article {
    min-height: 0;
  }

  .boundary-grid h3 {
    margin-top: 23px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

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