:root {
  --ink: #271c32;
  --ink-soft: #62566f;
  --paper: #fffaf2;
  --paper-deep: #f7efe6;
  --white: #ffffff;
  --coral: #ff625f;
  --coral-dark: #db3f52;
  --pink: #ff8fa3;
  --yellow: #ffd75e;
  --sky: #7dcfff;
  --blue: #4c9cf0;
  --mint: #9ce1c1;
  --green: #248866;
  --border: #33243e;
  --shadow: 0 22px 60px rgba(62, 39, 75, 0.16);
  --shadow-hard: 5px 5px 0 var(--border);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --ease-bounce: cubic-bezier(0.2, 0.9, 0.28, 1.2);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 215, 94, 0.2), transparent 22rem),
    linear-gradient(135deg, #fffaf1 0%, #fffdf8 45%, #f6fbff 100%);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: clip;
}

button,
textarea,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.12;
  pointer-events: none;
}

.page-glow--coral {
  top: 24rem;
  right: -18rem;
  background: var(--coral);
}

.page-glow--sky {
  top: 70rem;
  left: -20rem;
  background: var(--sky);
}

.site-header,
.hero,
.how,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  filter: drop-shadow(0 5px 0 rgba(39, 28, 50, 0.1));
  transition: transform 300ms var(--ease-bounce);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.08);
}

.brand__mark svg {
  width: 100%;
  overflow: visible;
  fill: var(--coral);
  stroke: var(--border);
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand__mark .brand__spark {
  fill: var(--yellow);
  stroke-width: 1.5;
}

.brand__words {
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.brand__words strong {
  color: var(--coral-dark);
  font-weight: 900;
}

.header-badge {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border: 1.5px solid rgba(51, 36, 62, 0.16);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  min-height: calc(100svh - 92px);
  padding: 44px 0 94px;
}

.hero__copy {
  position: relative;
  min-width: 0;
}

.eyebrow,
.micro-label {
  margin: 0;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--coral-dark);
}

.eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--yellow);
  transform: rotate(10deg);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.65rem, 7vw, 6.75rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--coral);
  text-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.3deg);
}

.hero h1 span::after {
  position: absolute;
  right: 1%;
  bottom: -14px;
  left: 4%;
  height: 14px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 11C67 2 131 15 190 9c45-5 70-3 106 1' fill='none' stroke='%23ffd75e' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__lead {
  max-width: 490px;
  margin: 44px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.hero__lead em {
  color: var(--coral-dark);
  font-style: normal;
}

.hero__body {
  max-width: 490px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__proof span {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
}

.hero__proof b {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
}

.hero__scribble {
  position: absolute;
  right: -62px;
  bottom: -64px;
  width: 200px;
  color: var(--ink-soft);
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 0.95rem;
  font-weight: 700;
  transform: rotate(-6deg);
}

.hero__scribble svg {
  width: 100%;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__scribble span {
  display: block;
  margin: -3px 0 0 36px;
}

.transformer-wrap {
  position: relative;
  min-width: 0;
}

.orbit {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-hard);
  font-size: 1.8rem;
  animation: float 4s ease-in-out infinite;
}

.orbit--one {
  top: 18%;
  right: -32px;
  transform: rotate(9deg);
}

.orbit--two {
  bottom: 14%;
  left: -35px;
  animation-delay: -2s;
  transform: rotate(-11deg);
}

.transformer {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 10px 11px 0 var(--border), var(--shadow);
  transition: background 650ms ease, box-shadow 650ms ease;
  backdrop-filter: blur(18px);
}

.transformer::before {
  display: block;
  height: 9px;
  content: "";
  background: linear-gradient(90deg, var(--coral) 0 30%, var(--yellow) 30% 52%, var(--sky) 52% 74%, var(--mint) 74%);
}

.transformer[data-state="loading"] {
  box-shadow: 10px 11px 0 var(--border), 0 30px 80px rgba(255, 98, 95, 0.24);
}

.transformer[data-state="done"] {
  background: linear-gradient(160deg, #ffffff 0%, #f7fff9 100%);
}

.transformer[data-state="safety"] {
  background: linear-gradient(160deg, #ffffff 0%, #fff4ef 100%);
  box-shadow: 10px 11px 0 var(--coral-dark), 0 30px 80px rgba(255, 98, 95, 0.18);
}

.transformer__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px 19px;
  border-bottom: 1.5px dashed rgba(51, 36, 62, 0.18);
}

.micro-label {
  color: var(--ink-soft);
}

.transformer__status {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 4px 0 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 750;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(156, 225, 193, 0.25);
}

.mood-switch {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 1.05rem;
}

.mood-switch__track {
  position: relative;
  width: 36px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  background: var(--paper-deep);
}

.mood-switch__track i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  transition: left 500ms var(--ease-bounce), background 500ms ease;
}

.transformer[data-state="done"] .mood-switch__track i {
  left: 20px;
  background: var(--green);
}

#transform-form {
  padding: 24px 28px 28px;
}

.field-head {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.field-head label {
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.counter {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.counter[data-warning="true"] {
  color: var(--coral-dark);
}

.textarea-shell {
  position: relative;
}

textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 17px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 -4px 0 rgba(51, 36, 62, 0.04);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea::placeholder {
  color: #9a8fa3;
  font-weight: 500;
}

textarea:hover {
  background: #fffdf8;
}

textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 98, 95, 0.14), inset 0 -4px 0 rgba(51, 36, 62, 0.04);
}

.textarea-shell__corner {
  position: absolute;
  right: 14px;
  bottom: 8px;
  color: rgba(51, 36, 62, 0.28);
  font-size: 1.4rem;
  pointer-events: none;
}

.field-help,
.field-error {
  margin: 7px 2px 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.field-error {
  min-height: 0;
  color: var(--coral-dark);
  font-weight: 750;
}

.field-error:not(:empty) {
  min-height: 18px;
  margin-top: 5px;
}

.examples {
  margin-top: 20px;
}

.examples__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.examples__head p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 850;
}

.examples__head span {
  padding: 3px 8px;
  border-radius: 99px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.example-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  scrollbar-color: rgba(51, 36, 62, 0.2) transparent;
  scrollbar-width: thin;
}

.example-chip {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
  max-width: 190px;
  padding: 8px 11px;
  overflow: hidden;
  border: 1.5px solid rgba(51, 36, 62, 0.18);
  border-radius: 12px;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.example-chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.example-chip:hover {
  border-color: var(--coral);
  color: var(--ink);
  background: #fff8f6;
  transform: translateY(-2px);
}

.example-chip[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
}

.transform-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 57px;
  margin-top: 16px;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 4px 5px 0 var(--border);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.transform-button:hover:not(:disabled) {
  filter: saturate(1.12) brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 5px 7px 0 var(--border);
}

.transform-button:active:not(:disabled) {
  transform: translate(3px, 4px);
  box-shadow: 1px 1px 0 var(--border);
}

.transform-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.transform-button__idle,
.transform-button__loading {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 9px;
  grid-area: 1 / 1;
  align-items: center;
  transition: opacity 180ms ease, transform 260ms var(--ease-smooth);
}

.transform-button__loading {
  opacity: 0;
  transform: translateY(20px);
}

.transform-button__shine {
  position: absolute;
  inset: -80% -20%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42), transparent 70%);
  transform: translateX(-90%) rotate(7deg);
}

.transformer[data-state="loading"] .transform-button__idle {
  opacity: 0;
  transform: translateY(-20px);
}

.transformer[data-state="loading"] .transform-button__loading {
  opacity: 1;
  transform: translateY(0);
}

.transformer[data-state="loading"] .transform-button__shine {
  animation: button-shine 1s ease-in-out infinite;
}

.mini-spark {
  display: inline-block;
  animation: sparkle-spin 900ms linear infinite;
}

.result {
  position: relative;
  padding: 26px 28px 28px;
  border-top: 1.5px dashed rgba(51, 36, 62, 0.18);
}

.result[hidden] {
  display: none;
}

.result.is-entering {
  animation: result-enter 600ms var(--ease-smooth) both;
}

.result__header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.result__header h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.result__seal {
  display: grid;
  width: 57px;
  height: 57px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--green);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--border);
  font-size: 0.57rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  transform: rotate(8deg);
}

.morph-stage {
  position: relative;
  display: grid;
  min-height: 150px;
  margin-top: 18px;
  overflow: hidden;
  place-items: center;
  padding: 24px;
  border: 2px solid var(--border);
  border-radius: 19px;
  background: linear-gradient(145deg, #fff8e9, #edfff3);
  isolation: isolate;
}

.morph-stage::before,
.morph-stage::after {
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  content: "";
  filter: blur(28px);
  opacity: 0.28;
}

.morph-stage::before {
  top: -24px;
  left: -15px;
  background: var(--yellow);
}

.morph-stage::after {
  right: -18px;
  bottom: -30px;
  background: var(--mint);
}

.morph-stage__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  transform: translateX(-110%);
}

.morph-stage.is-morphing .morph-stage__wash {
  animation: morph-wash 800ms var(--ease-smooth) both;
}

.morph-stage__text {
  margin: 0;
  font-size: clamp(1.42rem, 3vw, 1.9rem);
  font-weight: 920;
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.morph-old-token,
.morph-token {
  display: inline-block;
  margin: 0 0.28em 0.12em 0;
}

.morph-old-token {
  opacity: 1;
  color: var(--coral-dark);
  filter: blur(0);
  transform: translateY(0) rotate(0) scale(1);
  transition:
    opacity 250ms ease,
    filter 300ms ease,
    transform 340ms var(--ease-smooth);
}

.morph-old-token.is-leaving {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(-16px) rotate(-4deg) scale(0.82);
}

.morph-token {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px) rotate(4deg) scale(0.85);
  transition:
    opacity 360ms ease,
    filter 420ms ease,
    transform 480ms var(--ease-bounce),
    color 300ms ease;
}

.morph-token.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) rotate(0) scale(1);
}

.morph-token.is-scrambling {
  color: var(--coral-dark);
  filter: blur(1px);
  transform: translateY(-2px) rotate(-2deg) scale(1.06);
}

.morph-stage[data-phase="before"] {
  background: linear-gradient(145deg, #fff3ed, #fff9e7);
}

.morph-stage[data-phase="after"] {
  background: linear-gradient(145deg, #fff8e9, #edfff3);
}

.result[data-mode="safety"] .morph-stage {
  background: linear-gradient(145deg, #fff0ec, #fff8e9);
}

.result[data-mode="safety"] .result__seal {
  color: var(--coral-dark);
  background: #ffd5db;
}

.result[data-mode="safety"] .result__actions {
  display: none;
}

.result__celebration {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: 42%;
  left: 50%;
  font-size: 1.25rem;
  opacity: 0;
  animation: particle-rise var(--duration, 1200ms) var(--delay, 0ms) var(--ease-smooth) both;
}

.result__actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 10px;
  margin-top: 14px;
}

.action-button {
  display: flex;
  min-height: 47px;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 13px;
  background: white;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.action-button:hover {
  background: var(--paper);
  box-shadow: 2px 3px 0 var(--border);
  transform: translateY(-2px);
}

.action-button--primary {
  color: white;
  background: var(--ink);
}

.action-button--primary:hover {
  color: var(--ink);
  background: var(--yellow);
}

.reset-link {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(51, 36, 62, 0.25);
  text-underline-offset: 3px;
}

.reset-link {
  margin-top: 18px;
  color: var(--ink-soft);
}

.privacy-note {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 28px 18px;
  border-top: 1px solid rgba(51, 36, 62, 0.08);
  color: var(--ink-soft);
  background: rgba(247, 239, 230, 0.42);
}

.privacy-note__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(156, 225, 193, 0.3);
  font-size: 1rem;
  font-weight: 900;
}

.privacy-note p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
}

.privacy-note strong {
  color: var(--ink);
}

.how {
  padding: 100px 0 110px;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.help h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading > p:last-child {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 5px 6px 0 var(--border);
  transition: transform 240ms var(--ease-bounce), box-shadow 240ms ease;
}

.step-card:hover {
  box-shadow: 8px 10px 0 var(--border);
  transform: translateY(-5px) rotate(-0.5deg);
}

.step-card--coral { background: #ffb2ae; }
.step-card--yellow { background: #ffe891; }
.step-card--mint { background: #bdebd2; }

.step-card__number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(39, 28, 50, 0.27);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-card__emoji {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 3px 3px 0 var(--border);
  font-size: 2.15rem;
  transform: rotate(-5deg);
}

.step-card:nth-child(2) .step-card__emoji { transform: rotate(4deg); }
.step-card:nth-child(3) .step-card__emoji { transform: rotate(-2deg); }

.step-card h3 {
  margin: 30px 0 7px;
  font-size: 1.48rem;
  font-weight: 920;
  letter-spacing: -0.04em;
}

.step-card p {
  max-width: 280px;
  margin: 0;
  color: rgba(39, 28, 50, 0.73);
  font-size: 0.92rem;
}

.manifesto {
  position: relative;
  display: flex;
  width: min(1080px, calc(100% - 40px));
  min-height: 300px;
  margin: 0 auto 115px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  padding: clamp(38px, 7vw, 78px);
  border: 2px solid var(--border);
  border-radius: 42px;
  color: white;
  background: var(--ink);
  box-shadow: 8px 9px 0 var(--coral);
}

.manifesto::before {
  position: absolute;
  top: -120px;
  right: 12%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
  filter: blur(4px);
  opacity: 0.24;
}

.manifesto__burst {
  position: absolute;
  top: 32px;
  right: 40px;
  color: var(--yellow);
  font-size: 2rem;
}

.manifesto p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.manifesto strong {
  color: var(--yellow);
  font-weight: 950;
}

.manifesto__faces {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  padding-left: 25px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.manifesto__faces i {
  color: var(--yellow);
  font-family: sans-serif;
  font-size: 0.55em;
  font-style: normal;
}

.help {
  display: grid;
  width: min(1080px, calc(100% - 40px));
  grid-template-columns: auto 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 55px);
  align-items: center;
  margin: 0 auto 100px;
  padding: clamp(28px, 5vw, 55px);
  border: 1.5px solid rgba(51, 36, 62, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.help__heart {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 28px;
  background: #ffd5db;
  box-shadow: 4px 5px 0 var(--border);
  font-size: 2.7rem;
  transform: rotate(-5deg);
}

.help h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.help__copy > p:last-child {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.help__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.help__contacts a {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1.5px solid rgba(51, 36, 62, 0.16);
  border-radius: 15px;
  background: white;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.help__contacts a:hover {
  border-color: var(--coral);
  box-shadow: 2px 3px 0 var(--border);
  transform: translateY(-2px);
}

.help__contacts strong {
  font-size: 0.88rem;
}

.help__contacts span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.help__footnote {
  grid-column: 2 / -1;
  margin: -20px 0 0;
  color: var(--ink-soft);
  font-size: 0.65rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 30px 0 42px;
  border-top: 1.5px solid rgba(51, 36, 62, 0.12);
}

.brand--footer .brand__mark {
  width: 35px;
  height: 35px;
}

.brand--footer .brand__words {
  font-size: 1rem;
}

.site-footer > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.71rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer nav a {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

.share-card-dialog {
  width: min(520px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 0;
  overflow: auto;
  border: 2px solid var(--border);
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 9px 10px 0 var(--border), 0 30px 100px rgba(39, 28, 50, 0.4);
}

.share-card-dialog::backdrop {
  background: rgba(39, 28, 50, 0.63);
  backdrop-filter: blur(6px);
}

.share-card-dialog[open] {
  animation: dialog-in 350ms var(--ease-bounce) both;
}

.turnstile-dialog {
  width: min(430px, calc(100% - 30px));
  padding: 32px;
  border: 2px solid var(--border);
  border-radius: 26px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 9px 0 var(--border), 0 30px 100px rgba(39, 28, 50, 0.4);
  text-align: center;
}

.turnstile-dialog::backdrop {
  background: rgba(39, 28, 50, 0.63);
  backdrop-filter: blur(6px);
}

.turnstile-dialog[open] {
  animation: dialog-in 350ms var(--ease-bounce) both;
}

.turnstile-dialog__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 17px;
  place-items: center;
  border: 2px solid var(--border);
  border-radius: 22px;
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--border);
  font-size: 2rem;
  transform: rotate(-4deg);
}

.turnstile-dialog h2 {
  margin: 6px 0 8px;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
}

.turnstile-dialog > p:not(.micro-label) {
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.turnstile-widget {
  display: grid;
  min-height: 70px;
  margin: 24px 0 16px;
  place-items: center;
}

.turnstile-dialog .reset-link {
  width: auto;
  margin: 0 auto;
}

.dialog__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 16px;
}

.dialog__topbar h2 {
  margin: 3px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.share-card {
  margin: 0 24px;
  padding: 25px;
  border: 2px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 215, 94, 0.6), transparent 30%),
    linear-gradient(145deg, #fff6e9, #f1fff6);
  box-shadow: 4px 5px 0 var(--border);
}

.share-card__brand {
  font-size: 0.8rem;
  font-weight: 750;
}

.share-card__brand strong { color: var(--coral-dark); }

.share-card__block {
  margin-top: 20px;
  padding: 17px;
  border-radius: 15px;
}

.share-card [hidden] {
  display: none;
}

.share-card__block--before {
  color: white;
  background: var(--ink);
}

.share-card__block--after {
  border: 1.5px solid var(--border);
  background: var(--yellow);
}

.share-card__block span {
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.share-card__block p {
  margin: 7px 0 0;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.share-card__arrow {
  margin: 6px 0 -13px;
  color: var(--coral-dark);
  font-size: 1.8rem;
  font-weight: 950;
  text-align: center;
}

.share-card > small {
  display: block;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 750;
  text-align: center;
}

.consent-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 20px 24px 0;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--coral);
}

.consent-row span {
  display: flex;
  flex-direction: column;
  font-size: 0.73rem;
}

.consent-row small {
  margin-top: 2px;
  color: var(--ink-soft);
}

.dialog__share {
  width: calc(100% - 48px);
  margin: 18px 24px 10px;
}

.dialog__download {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 5px 10px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(51, 36, 62, 0.25);
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: white;
  background: var(--ink);
  box-shadow: 4px 5px 0 var(--coral);
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 220ms ease, transform 320ms var(--ease-bounce);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal {
  width: min(760px, calc(100% - 36px));
  margin: 70px auto 110px;
  padding: clamp(26px, 6vw, 64px);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 8px 9px 0 var(--border);
}

.legal h1 {
  margin: 18px 0 30px;
  font-size: clamp(2.7rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.legal h2 {
  margin: 34px 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal__back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 850;
  text-underline-offset: 4px;
}

.legal__eyebrow {
  margin-top: 40px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes button-shine {
  from { transform: translateX(-90%) rotate(7deg); }
  to { transform: translateX(90%) rotate(7deg); }
}

@keyframes sparkle-spin {
  to { transform: rotate(360deg) scale(1.15); }
}

@keyframes result-enter {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes morph-wash {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate(0, 10px) rotate(0) scale(0.4); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1.12); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(25px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 74px;
    max-width: 720px;
    padding-top: 70px;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__copy .eyebrow,
  .hero__proof {
    justify-content: center;
  }

  .hero__lead,
  .hero__body {
    margin-inline: auto;
  }

  .hero__scribble {
    display: none;
  }

  .help {
    grid-template-columns: auto 1fr;
  }

  .help__contacts,
  .help__footnote {
    grid-column: 1 / -1;
  }

  .help__footnote { margin-top: -10px; }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .how,
  .site-footer,
  .manifesto,
  .help {
    width: min(calc(100% - 28px), 680px);
  }

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

  .header-badge {
    width: 37px;
    height: 37px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .header-badge span { font-size: 1rem; }

  .hero {
    min-height: auto;
    gap: 55px;
    padding: 45px 0 80px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  .hero__lead { margin-top: 38px; }

  .orbit { display: none; }

  .transformer {
    border-radius: 27px;
    box-shadow: 6px 7px 0 var(--border), var(--shadow);
  }

  .transformer__topbar,
  #transform-form,
  .result {
    padding-right: 20px;
    padding-left: 20px;
  }

  .privacy-note {
    padding-right: 20px;
    padding-left: 20px;
  }

  .how { padding: 75px 0 85px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .step-card { min-height: 230px; }

  .manifesto {
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 85px;
  }

  .manifesto__faces {
    align-self: flex-end;
    padding: 25px 0 0;
  }

  .help {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .help__heart {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    font-size: 2rem;
  }

  .help__contacts,
  .help__footnote {
    grid-column: auto;
  }

  .help__footnote { margin-top: 0; }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-footer nav { justify-content: center; }
}

@media (max-width: 470px) {
  .brand__words { font-size: 1.06rem; }

  .hero__proof { gap: 7px 15px; }

  .transformer__topbar { align-items: flex-start; }

  .mood-switch { margin-top: 5px; }

  .field-head { align-items: flex-start; }

  .field-head label { max-width: 240px; }

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

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

  .share-card-dialog { border-radius: 21px; }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .particle { display: none; }
}

@media (prefers-contrast: more) {
  :root { --ink-soft: #403647; }

  .header-badge,
  .help,
  .help__contacts a {
    border-color: var(--border);
  }
}
