@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@700;800;900&display=swap");

:root {
  --ink: #19181c;
  --paper: #fffaf6;
  --paper-strong: #fff;
  --pink: #ff4f86;
  --pink-deep: #f23372;
  --pink-soft: #ffe1eb;
  --yellow: #ffd86b;
  --mint: #9ce5cd;
  --coral: #ff957e;
  --lavender: #d9d0ff;
  --line: rgba(25, 24, 28, 0.13);
  --shadow: 0 18px 50px rgba(85, 40, 55, 0.13);
  --radius-lg: 36px;
  --radius-md: 24px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 216, 107, 0.23), transparent 22rem),
    radial-gradient(circle at 92% 8%, rgba(255, 79, 134, 0.16), transparent 26rem),
    var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  display: block;
  width: 150px;
  height: auto;
  mix-blend-mode: multiply;
}

.site-header nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
}

.site-header nav a,
footer nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a::after,
footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a[aria-current="page"]::after,
footer nav a:hover::after,
footer nav a:focus-visible::after,
footer nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 2rem;
  padding: 5rem 0 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: #66545b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  letter-spacing: 0.04em;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
}

h1 em {
  position: relative;
  display: inline-block;
  color: var(--pink-deep);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: -0.09em;
  left: 0;
  height: 0.12em;
  border-radius: 100%;
  background: var(--yellow);
  content: "";
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 650px;
  margin: 0 0 2rem;
  color: #574950;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

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

.button-secondary {
  background: white;
}

.testing-note {
  margin: 1.1rem 0 0;
  color: #806e74;
  font-size: 0.82rem;
}

.hero-art {
  position: relative;
  min-height: 530px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 44% 56% / 44% 42% 58% 56%;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.9) 0 7px, transparent 8px),
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.75) 0 4px, transparent 5px),
    linear-gradient(145deg, var(--pink-soft), #ffd6a6);
  box-shadow: 12px 14px 0 var(--ink);
  isolation: isolate;
}

.hero-art::after {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -22px;
  width: 82%;
  height: 22%;
  border-radius: 50%;
  background: rgba(25, 24, 28, 0.14);
  content: "";
  filter: blur(15px);
}

.hero-art > img {
  position: absolute;
  right: -2%;
  bottom: -3%;
  width: 103%;
  max-height: 550px;
  object-fit: contain;
  object-position: bottom;
}

.speech-bubble {
  position: absolute;
  z-index: 3;
  top: 7%;
  left: -7%;
  display: grid;
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
  background: white;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.speech-bubble small {
  color: #796a70;
  font-family: "DM Sans", sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spark {
  position: absolute;
  z-index: 4;
  color: var(--pink-deep);
  font-size: 2rem;
}

.spark-one {
  top: 27%;
  right: 3%;
}

.spark-two {
  top: 13%;
  right: 17%;
  color: #ffbd25;
  font-size: 1.2rem;
}

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: white;
}

.ticker div {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 0.95rem 2rem;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticker i {
  color: var(--pink);
  font-style: normal;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 3rem;
}

.section h2,
.closing h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child,
.preview-copy > p,
.about p {
  color: #68585f;
  font-size: 1.08rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 7px 8px 0 var(--ink);
}

.step-card.coral {
  background: #ffd7ce;
}

.step-card.yellow {
  background: #ffefb9;
}

.step-card.mint {
  background: #d6f5e9;
}

.step-number {
  display: block;
  margin-bottom: 1.2rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
}

.mini-scene {
  display: grid;
  min-height: 130px;
  margin-bottom: 1.5rem;
  place-content: center;
  border: 2px dashed rgba(25, 24, 28, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  text-align: center;
  transform: rotate(-1deg);
}

.step-card:nth-child(2) .mini-scene {
  transform: rotate(1deg);
}

.mini-scene span {
  font-family: "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.mini-scene b {
  color: #79656c;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.65rem;
}

.step-card p {
  margin: 0;
  color: #5f5055;
}

.lesson-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 5rem;
}

.preview-card {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 12px 12px 0 var(--pink);
  transform: rotate(-1.5deg);
}

.preview-topbar {
  display: flex;
  min-height: 54px;
  padding: 0 1.2rem;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--ink);
  background: #fff3f7;
}

.preview-topbar p {
  margin: 0 0 0 auto;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.dot.pink {
  background: var(--pink);
}

.dot.yellow-dot {
  background: var(--yellow);
}

.dot.green {
  background: var(--mint);
}

.preview-body {
  padding: 3.4rem 2rem 3rem;
  text-align: center;
}

.jp-line {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
}

.romaji {
  margin: 0 0 2.4rem;
  color: #947d86;
}

.word-pills {
  display: flex;
  margin-bottom: 2rem;
  justify-content: center;
  gap: 0.65rem;
}

.word-pills span {
  display: grid;
  min-width: 88px;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.word-pills span:nth-child(1) {
  background: var(--pink-soft);
}

.word-pills span:nth-child(2) {
  background: #fff0ad;
}

.word-pills span:nth-child(3) {
  background: #ccf2e4;
}

.word-pills b {
  font-family: "Nunito", sans-serif;
  font-size: 1.1rem;
}

.word-pills small {
  color: #74636a;
  font-size: 0.7rem;
}

.meaning {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  margin: 1.8rem 0 0;
  padding: 0;
  gap: 0.7rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.check-list li::before {
  position: absolute;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-content: center;
  border-radius: 50%;
  background: var(--mint);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 5rem;
  border-top: 1px solid var(--line);
}

.about p:first-child {
  margin-top: 0;
}

.closing {
  position: relative;
  display: flex;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  min-height: 330px;
  margin: 0 auto 7rem;
  padding: 4rem;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--pink);
  color: white;
  box-shadow: 10px 11px 0 var(--ink);
}

.closing > div {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.closing .eyebrow {
  color: white;
}

.closing h2 {
  margin: 0;
}

.closing img {
  position: absolute;
  right: -4%;
  bottom: -37%;
  width: 310px;
  transform: rotate(-8deg);
}

footer {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 3rem 0;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 135px;
}

footer > p {
  margin: 0;
  color: #77666d;
  font-size: 0.84rem;
}

footer nav {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.copyright {
  margin-top: 0.2rem;
  font-size: 0.75rem;
}

.legal-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 6rem 0 8rem;
}

.legal-heading {
  margin-bottom: 2.5rem;
}

.legal-heading h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(3.3rem, 8vw, 6.2rem);
}

.legal-heading > p:last-child {
  color: #7a6970;
}

.legal-card {
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
  box-shadow: 10px 11px 0 var(--pink-soft);
}

.legal-card h2 {
  margin: 2.6rem 0 0.7rem;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.legal-card h2:first-of-type {
  margin-top: 2rem;
}

.legal-card p,
.legal-card li {
  color: #51464a;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 0.55rem;
}

@media (max-width: 850px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(520px, 94%);
    min-height: 480px;
    margin: 1.5rem auto 0;
  }

  .steps,
  .lesson-preview,
  .about {
    grid-template-columns: 1fr;
  }

  .lesson-preview,
  .about {
    gap: 3rem;
  }

  .preview-card {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .closing {
    padding-right: 10rem;
  }

  .closing img {
    right: -9%;
    width: 270px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 84px;
  }

  .brand img {
    width: 118px;
  }

  .site-header nav {
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .site-header nav a {
    font-size: 0.78rem;
  }

  .site-header nav a:nth-child(-n + 2) {
    display: none;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding-top: 3.2rem;
  }

  .hero-art {
    min-height: 390px;
    box-shadow: 7px 8px 0 var(--ink);
  }

  .speech-bubble {
    left: -2%;
    font-size: 1.05rem;
  }

  .ticker div {
    justify-content: flex-start;
  }

  .ticker div span:nth-of-type(n + 4),
  .ticker div i:nth-of-type(n + 4) {
    display: none;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 5rem 0;
  }

  .step-card {
    min-height: auto;
  }

  .word-pills {
    gap: 0.35rem;
  }

  .word-pills span {
    min-width: 0;
    padding: 0.6rem;
  }

  .closing {
    width: min(100% - 28px, 1180px);
    min-height: 390px;
    margin-bottom: 5rem;
    padding: 2.2rem 2rem 11rem;
    align-items: flex-start;
  }

  .closing img {
    right: 50%;
    bottom: -37%;
    width: 250px;
    transform: translateX(50%) rotate(-5deg);
  }

  footer {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  footer nav {
    margin: 1.1rem 0;
    grid-column: 1;
    grid-row: auto;
  }

  .legal-shell {
    width: min(100% - 28px, 920px);
    padding: 4rem 0 6rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.publish-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.publish-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem 3rem;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, var(--pink-soft));
  box-shadow: 9px 10px 0 var(--ink);
}

.publish-intro h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
}

.publish-intro p:last-child {
  max-width: 680px;
  margin: 0;
  color: #574950;
  font-size: 1.1rem;
}

.publish-intro img {
  width: 230px;
  margin: -1.5rem 0 -4rem;
  transform: rotate(4deg);
}

.notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  font-weight: 700;
}

.notice[data-tone="success"] {
  background: #dff8ef;
}

.notice[data-tone="error"] {
  background: #ffe5e5;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 1.5rem;
}

.studio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.connection-card {
  display: flex;
  min-height: 220px;
  padding: 2.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.connection-card > div {
  max-width: 690px;
}

.connection-card h2,
.publish-form h2,
.review-card h2 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
}

.card-kicker {
  margin: 0 0 0.4rem;
  color: var(--pink-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tiktok-button {
  flex: 0 0 auto;
  background: #111017;
  color: #fff;
}

.publish-form {
  padding: 2rem;
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.creator-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.creator-line img {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

.creator-line h2,
.creator-line p {
  margin: 0;
}

.creator-line p {
  color: #6d5d63;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pink-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.form-section {
  margin: 0;
  padding: 1.7rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.form-section legend {
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
}

.form-section > label:not(.choice-card, .file-drop, .toggle-line, .consent-line),
.form-section > div + label {
  display: block;
  margin: 1.1rem 0 0.45rem;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.choice-card {
  display: flex;
  min-height: 108px;
  padding: 1rem;
  align-items: flex-start;
  gap: 0.7rem;
  border: 2px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--pink-soft);
}

.choice-card input {
  margin-top: 0.3rem;
}

.choice-card strong,
.choice-card small,
.toggle-line strong,
.toggle-line small {
  display: block;
}

.choice-card small,
.toggle-line small {
  margin-top: 0.2rem;
  color: #6f6066;
  line-height: 1.4;
}

.file-drop {
  display: grid;
  min-height: 130px;
  padding: 1.5rem;
  place-items: center;
  border: 2px dashed #b79ca6;
  border-radius: 20px;
  background: #fffafc;
  cursor: pointer;
  text-align: center;
}

.file-drop:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.file-drop input {
  width: min(100%, 340px);
  margin-top: 0.8rem;
}

.field-help {
  margin: 0.45rem 0 0;
  color: #76656c;
  font-size: 0.83rem;
}

#video-preview {
  width: min(100%, 390px);
  max-height: 600px;
  margin: 1rem auto 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #111;
}

textarea,
select {
  width: 100%;
  border: 2px solid #c8b9be;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  padding: 0.9rem 1rem;
  resize: vertical;
}

select {
  min-height: 50px;
  padding: 0.55rem 0.8rem;
}

textarea:focus,
select:focus {
  border-color: var(--pink);
  outline: 3px solid var(--pink-soft);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.check-grid label,
.nested-options label {
  display: flex;
  min-height: 52px;
  padding: 0.8rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 700;
}

.check-grid label.is-disabled {
  color: #9c9296;
  background: #f1eeee;
}

.toggle-line,
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.toggle-line + .toggle-line {
  margin-top: 1rem;
}

.toggle-line input,
.consent-line input,
.check-grid input,
.nested-options input,
.choice-card input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--pink-deep);
}

.nested-options {
  display: grid;
  margin: 1rem 0;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--pink-soft);
}

.consent-section a {
  color: var(--pink-deep);
  font-weight: 800;
}

.submit-button {
  width: 100%;
}

.submit-button:disabled {
  border-color: #b9b0b3;
  background: #d8d2d4;
  box-shadow: none;
  color: #81777b;
  cursor: not-allowed;
  transform: none;
}

.form-error {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #ffe5e5;
  color: #8f2537;
  font-weight: 700;
}

.review-card {
  position: sticky;
  top: 1.5rem;
  padding: 1.7rem;
}

.review-card .check-list {
  margin-top: 1.2rem;
}

.status-panel {
  display: flex;
  margin-top: 1.4rem;
  padding: 1rem;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 15px;
  background: #e6f9f2;
}

.status-panel[data-tone="error"] {
  background: #ffe5e5;
}

.status-panel p {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #24ae7b;
  box-shadow: 0 0 0 5px rgba(36, 174, 123, 0.15);
}

.support-card .button {
  margin-top: 0.7rem;
}

@media (max-width: 900px) {
  .publish-intro {
    grid-template-columns: 1fr 140px;
  }

  .publish-intro img {
    width: 180px;
  }

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

  .review-card {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .publish-shell {
    width: min(100% - 28px, 1180px);
    padding: 2.5rem 0 5rem;
  }

  .publish-intro {
    grid-template-columns: 1fr;
    padding: 2rem 1.4rem;
  }

  .publish-intro img {
    display: none;
  }

  .connection-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .publish-form {
    padding: 1.2rem;
  }

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