:root {
  --ink: #352d48;
  --ink2: #695c70;
  --quiet: #887f92;
  --bg: #fff9f9;
  --line: #eedfe8;
  --pink: #f064a4;
  --pink-dark: #bc427a;
  --pale: #fff0f6;
  --blue: #357cf7;
  --lav: #8c70ee;
  --yellow: #ffc64b;
  --mint: #86dfc4;
  --shadow: 0 16px 48px rgba(84,44,86,.09);
  --softshadow: 0 7px 23px rgba(91,61,95,.065);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Trebuchet MS","Avenir Next",Avenir,ui-rounded,system-ui,-apple-system,sans-serif;
  font-size: 15px;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
}
button,input,select,textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .55;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid #867cff;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,h2,h3,h4,p {
  margin-top: 0;
}
h1,h2,h3,h4 {
  letter-spacing: -.045em;
  line-height: 1.17;
}
p {
  color: var(--ink2);
}
.hidden {
  display: none!important;
}
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 24px;
}
.mini {
  font-size: 12px;
}
.muted {
  color: var(--quiet);
}
.strong {
  font-weight: 850;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
button {
  transition: transform .15s,background .15s,border-color .15s,box-shadow .15s;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn {
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 900;
  min-height: 49px;
  padding: 12px 21px;
  border-radius: 15px;
}
.btn-main {
  background: var(--pink);
  color: white;
  box-shadow: 0 6px 0 #d14f88;
}
.btn-main:hover {
  background: #e95398;
}
.btn-blue {
  background: #4a85fa;
  color: white;
  box-shadow: 0 6px 0 #3063c2;
}
.btn-white {
  background: #fff;
  color: #a04778;
  border-color: #efc8db;
}
.btn-ghost {
  background: #fff9fb;
  color: #78556b;
  border-color: var(--line);
}
.btn-dark {
  background: #534267;
  color: white;
}
.btn:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: none;
}
.btn-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 12px;
  border-radius: 11px;
  box-shadow: none;
}
.btn-wide {
  width: 100%;
}
.eyebrow {
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .115em;
  text-transform: uppercase;
  color: #c35489;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 850;
  background: #fff0f7;
  color: #a44b78;
}
.pill-white {
  background: rgba(255,255,255,.19);
  color: white;
  border: 1px solid rgba(255,255,255,.25);
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,251,251,.95);
  border-bottom: 1px solid #f3e7eb;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg,#f88ab9,#ad78ed);
  box-shadow: 0 3px 0 #e8cce2;
  display: grid;
  place-items: center;
  flex: none;
  color: white;
  font-weight: 1000;
  font-size: 24px;
}
.brand-name {
  font-size: 15px;
  line-height: 1.14;
  font-weight: 1000;
  letter-spacing: .013em;
}
.brand-sub {
  font-size: 10px;
  color: #a98098;
  font-weight: 750;
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #79677d;
  font-size: 12px;
  font-weight: 900;
  padding: 10px 13px;
}
.nav-button:hover,.nav-button[aria-current="page"] {
  background: #fff0f6;
  color: #b4427e;
}
.header-cta {
  font-size: 12px;
  padding: 10px 16px;
  min-height: 40px;
  box-shadow: none;
}
/* Hero */
#page-home {
  padding: 26px 0 70px;
}
.hero {
  background: linear-gradient(116deg,#a37af9 0%,#727ef7 46%,#42b1ff 100%);
  border-radius: 34px;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: white;
  box-shadow: var(--shadow);
}
.hero:before,.hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.hero:before {
  width: 370px;
  height: 370px;
  right: -90px;
  top: -135px;
  background: rgba(255,255,255,.09);
}
.hero:after {
  width: 410px;
  height: 410px;
  left: -170px;
  bottom: -260px;
  background: rgba(255,255,255,.07);
}
.hero-copy {
  padding: 61px 0 58px 52px;
  align-self: center;
}
.hero h1 {
  font-size: clamp(40px,4.65vw,63px);
  line-height: 1.09;
  margin: 20px 0 18px;
  color: white;
  letter-spacing: -.065em;
}
.hero h1 span {
  color: #fff6b9;
}
.hero p {
  color: #f5f4ff;
  max-width: 445px;
  line-height: 1.75;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 17px;
}
.hero-figure {
  display: grid;
  place-items: center;
  padding: 33px 46px 27px 0;
  position: relative;
}
.paper {
  background: #fff;
  border: 1px solid #f1e0ee;
  box-shadow: 0 19px 40px rgba(46,30,88,.16);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.hero-paper {
  width: 100%;
  max-width: 327px;
  transform: rotate(4deg);
  transition: transform .28s;
}
.hero-paper:hover {
  transform: rotate(1deg) translateY(-4px);
}
.paper-preview {
  width: 100%;
  display: block;
}
.hero-float {
  position: absolute;
  top: 51px;
  right: 20px;
  transform: rotate(12deg);
  border-radius: 14px;
  padding: 10px 13px;
  background: #ffdd79;
  color: #7c5593;
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 6px 0 rgba(123,63,108,.12);
}
.hero-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #fdfbff;
  font-size: 11px;
  font-weight: 750;
}
.hero-mini span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-mini span:before {
  content: "✓";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #a7e7d3;
  color: #267862;
  font-weight: 900;
}
/* public cards */
.intro {
  padding: 59px 0 16px;
  text-align: center;
}
.intro h2 {
  font-size: clamp(27px,3.2vw,39px);
  margin: 10px 0;
}
.intro p {
  font-size: 14px;
  margin: 0 auto;
  max-width: 565px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  padding: 23px 0 58px;
}
.how-card {
  background: white;
  border: 1.5px solid #f0e2eb;
  border-radius: 23px;
  padding: 26px 25px;
  box-shadow: var(--softshadow);
}
.how-num {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 24px;
  margin-bottom: 17px;
}
.how-card:nth-child(1) .how-num {
  background: #fff0d2;
}
.how-card:nth-child(2) .how-num {
  background: #eaf2ff;
}
.how-card:nth-child(3) .how-num {
  background: #f9e4f4;
}
.how-card h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
.how-card p {
  font-size: 13px;
  margin: 0;
  line-height: 1.65;
}
.promo {
  padding: 30px 34px;
  border-radius: 24px;
  background: #ffebf3;
  border: 1.5px solid #f6d9e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.promo h2 {
  font-size: 25px;
  margin: 0 0 7px;
}
.promo p {
  margin: 0;
  font-size: 13px;
}
/* Access */
.access-wrapper {
  min-height: calc(100dvh - 150px);
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 56px;
  align-items: center;
  padding: 65px 0;
}
.access-left h1 {
  font-size: clamp(36px,4.5vw,54px);
  margin: 14px 0;
}
.access-left p {
  font-size: 15px;
  max-width: 440px;
}
.access-illustration {
  background: #f6efff;
  border: 1px solid #e8d9f4;
  padding: 25px;
  border-radius: 24px;
  margin-top: 28px;
  width: min(100%,400px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.access-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
  flex: none;
}
.access-box {
  background: white;
  border: 1px solid #eadbe9;
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.access-box h2 {
  font-size: 27px;
  margin: 0 0 8px;
}
.access-box p {
  font-size: 13px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}
.form-field label,.form-label {
  font-size: 12px;
  font-weight: 950;
  color: #594864;
}
.form-field input,.form-field textarea,.form-field select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #e8dce9;
  border-radius: 14px;
  background: #fff;
  outline: none;
  padding: 12px 15px;
  color: #3c3048;
}
.form-field textarea {
  min-height: 95px;
  resize: vertical;
}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus {
  border-color: #ee84b4;
  box-shadow: 0 0 0 4px #fff0f8;
}
.form-field input::placeholder,.form-field textarea::placeholder {
  color: #aa9daa;
}
.field-hint {
  font-size: 11px;
  color: #968798;
  margin: 4px 0 0;
}
.pass-row {
  position: relative;
}
.pass-row input {
  padding-right: 85px;
}
.pass-row button {
  position: absolute;
  right: 7px;
  top: 7px;
  border: 0;
  border-radius: 9px;
  padding: 8px 12px;
  color: #a14c7a;
  background: #fff0f6;
  font-weight: 850;
  font-size: 12px;
}
.form-error {
  color: #b93361;
  font-size: 12px;
  min-height: 18px;
  margin: 9px 0;
}
.access-foot {
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #918193;
}
/* studio head */
#page-studio {
  padding: 28px 0 75px;
}
.studio-welcome {
  padding: 32px 36px;
  border-radius: 28px;
  background: linear-gradient(103deg,#a47af6,#557ffc 63%,#24a8f4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.studio-welcome:after {
  content: "♡";
  font-size: 210px;
  line-height: 1;
  position: absolute;
  right: 125px;
  top: -100px;
  opacity: .09;
  transform: rotate(-21deg);
}
.studio-welcome h1 {
  font-size: clamp(27px,3vw,39px);
  margin: 9px 0 7px;
  color: white;
}
.studio-welcome p {
  font-size: 13px;
  color: #f8f5ff;
  max-width: 570px;
  margin: 0;
}
.welcome-tag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  padding: 14px 17px;
  border-radius: 16px;
  text-align: center;
  min-width: 150px;
  position: relative;
  z-index: 1;
}
.welcome-tag strong {
  display: block;
  font-size: 20px;
}
.welcome-tag span {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.progress-track {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 23px 0 24px;
  flex-wrap: wrap;
}
.progress-chip {
  font-size: 11px;
  font-weight: 850;
  color: #978396;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: #fff;
  border: 1px solid #f0e4ec;
  border-radius: 100px;
}
.progress-chip span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #f5e9f0;
  color: #a85c88;
  border-radius: 50%;
}
.progress-chip.active {
  background: #ffe9f2;
  border-color: #f1adc9;
  color: #a84a76;
}
.progress-chip.active span {
  background: #ee79ad;
  color: white;
}
.steps {
  display: grid;
  gap: 20px;
}
.step-card {
  background: #fff;
  border: 1.5px solid #f0e1e9;
  border-radius: 27px;
  box-shadow: var(--softshadow);
  padding: 29px 33px 32px;
  position: relative;
}
.step-card[data-color="pink"] {
  border-top: 5px solid #f38bb9;
}
.step-card[data-color="yellow"] {
  border-top: 5px solid #ffcd67;
}
.step-card[data-color="mint"] {
  border-top: 5px solid #89d9c5;
}
.step-card[data-color="lav"] {
  border-top: 5px solid #b6a3f7;
}
.step-card[data-color="blue"] {
  border-top: 5px solid #87b8ff;
}
.step-header {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 23px;
}
.step-no {
  width: 43px;
  height: 43px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 1000;
  font-size: 20px;
}
.step-card[data-color="pink"] .step-no {
  background: #ffe5f1;
  color: #ce4985;
}
.step-card[data-color="yellow"] .step-no {
  background: #fff2cb;
  color: #ba7f12;
}
.step-card[data-color="mint"] .step-no {
  background: #e3fbf2;
  color: #278b6f;
}
.step-card[data-color="lav"] .step-no {
  background: #ede8ff;
  color: #7460d3;
}
.step-card[data-color="blue"] .step-no {
  background: #e6f1ff;
  color: #347eda;
}
.step-header h2 {
  font-size: 23px;
  margin: 0 0 5px;
}
.step-header p {
  font-size: 12px;
  color: #8b7c90;
  margin: 0;
}
.rule {
  height: 1px;
  background: #f2e7ec;
  margin: 20px 0;
}
.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.input-grid.three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.section-caption {
  font-weight: 950;
  font-size: 12px;
  color: #77637b;
  margin-bottom: 11px;
}
.tag-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-button {
  border: 1.5px solid #f0dce8;
  border-radius: 11px;
  background: #fff8fb;
  color: #78566d;
  min-height: 37px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
}
.quick-button:hover {
  background: #ffe9f3;
  border-color: #efb2ce;
}
.quick-button.selected {
  background: #ffdded;
  color: #a9447b;
  border-color: #ee90bc;
}
.notice {
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.65;
}
.notice.info {
  background: #eff5ff;
  color: #50709d;
}
.notice.cream {
  background: #fff8e7;
  color: #8e713e;
}
.notice.mint {
  background: #eefbf5;
  color: #4d8971;
}
.notice b {
  color: inherit;
}
/* shape */
.shape-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.shape-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid #ece5ee;
  border-radius: 20px;
  background: #fff;
  padding: 18px 11px 14px;
  position: relative;
  min-height: 183px;
  text-align: center;
}
.shape-card:hover {
  border-color: #eeb3cd;
  background: #fffbfd;
}
.shape-card[aria-pressed="true"] {
  background: #fff2f8;
  border-color: #ed6aa5;
  box-shadow: 0 0 0 4px #ffe9f3;
}
.shape-card[aria-pressed="true"]:after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e95c9b;
  color: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.shape-visual {
  height: 83px;
  width: 103px;
  max-width: 100%;
  display: grid;
  place-items: center;
}
.shape-visual svg {
  height: 83px;
  width: 100%;
  max-width: 110px;
}
.shape-card b {
  font-size: 15px;
}
.shape-card small {
  font-size: 11px;
  color: #958598;
  line-height: 1.4;
}
.shape-note {
  margin-top: 16px;
  background: #f8f7ff;
  border-radius: 15px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px;
  color: #726288;
  font-size: 12px;
}
.shape-note b {
  color: #544368;
}
.shape-note .big {
  font-size: 21px;
  line-height: 1.2;
}
/* palettes & options */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}
.palette-card {
  background: #fff;
  border: 2px solid #ede3eb;
  border-radius: 15px;
  min-height: 84px;
  padding: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  color: #68566e;
  position: relative;
}
.palette-card[aria-pressed="true"] {
  border-color: #ee7fb0;
  background: #fff6fb;
  box-shadow: 0 0 0 3px #fff0f7;
}
.palette-card[aria-pressed="true"]:after {
  content: '✓';
  position: absolute;
  right: 10px;
  top: 8px;
  color: #c13f7e;
  font-weight: 1000;
}
.palette-dots {
  display: flex;
  align-items: center;
  padding-left: 2px;
}
.palette-dots i {
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-left: -3px;
  box-shadow: 0 2px 5px #00000010;
}
.palette-card b {
  font-size: 11px;
}
.mode-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.mode-card {
  padding: 15px;
  min-height: 91px;
  text-align: left;
  background: #fff;
  border: 2px solid #eae2e9;
  border-radius: 15px;
}
.mode-card[aria-pressed="true"] {
  border-color: #8d73f3;
  background: #f5f0ff;
  box-shadow: 0 0 0 3px #ede7ff;
}
.mode-card b {
  font-size: 13px;
  display: block;
}
.mode-card span {
  display: block;
  font-size: 11px;
  color: #8d7f94;
  line-height: 1.45;
  margin-top: 5px;
}
.control-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.control-chip {
  min-height: 40px;
  border-radius: 12px;
  background: white;
  border: 1.5px solid #e9e0ea;
  color: #706179;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 850;
}
.control-chip[aria-pressed="true"] {
  border-color: #ec77a9;
  background: #ffecf4;
  color: #ae3f77;
}
.dimensions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.dim-box {
  background: #fbf9fd;
  border: 1px solid #eee6f1;
  padding: 13px 15px;
  border-radius: 16px;
}
.dim-box label {
  display: block;
  font-size: 11px;
  font-weight: 950;
  color: #816f86;
  margin-bottom: 7px;
}
.dim-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dim-input input {
  width: 100%;
  background: white;
  border: 1.5px solid #e7dae8;
  border-radius: 10px;
  padding: 7px 10px;
  min-height: 39px;
  outline: none;
  color: #433248;
  font-weight: 950;
  font-size: 17px;
}
.dim-input input:focus {
  border-color: #ec7bb0;
}
.dim-input span {
  font-weight: 900;
  font-size: 12px;
  color: #97859a;
}
.size-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: 14px;
  background: #effaf5;
  color: #497f66;
  font-size: 12px;
}
.size-status.warning {
  background: #fff0e8;
  color: #ab5734;
}
.size-status.error {
  background: #ffedf0;
  color: #ab4263;
}
.size-status strong {
  font-weight: 950;
}
.size-details {
  font-size: 11px;
  color: inherit;
  opacity: .9;
}
/* preview/output */
.summary-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 15px;
}
.summary-token {
  border: 1px solid #eee1e9;
  background: #fff8fb;
  border-radius: 100px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 850;
  color: #86637e;
}
.preview-wrap {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(270px,.9fr);
  gap: 19px;
  align-items: stretch;
}
.preview-stage {
  background: linear-gradient(140deg,#f1eaff,#e6f5ff 68%,#fff5f4);
  border: 1px solid #e8deed;
  border-radius: 21px;
  padding: 22px;
  min-width: 0;
  display: grid;
  place-items: center;
}
.preview-page {
  background: #fff;
  border: 1px solid #e8d8e4;
  border-radius: 9px;
  box-shadow: 0 16px 29px #7f589333;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 210/297;
  overflow: hidden;
}
.preview-page svg {
  width: 100%;
  height: 100%;
  display: block;
}
.preview-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.preview-aside h3 {
  font-size: 20px;
  margin: 0;
}
.preview-aside p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.preview-aside .notice {
  margin-top: auto;
}
.preview-inset {
  background: #fff8ea;
  border: 1px solid #f7e7c8;
  border-radius: 16px;
  padding: 17px;
}
.preview-inset b {
  font-size: 12px;
  color: #8b6741;
}
.preview-inset p {
  margin: 5px 0 0;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.action-row .btn:first-child {
  min-width: 250px;
}
.output {
  margin-top: 19px;
  border: 1.5px solid #ebdce8;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 19px;
  border-bottom: 1px solid #f0e4ed;
  background: #fcf8fb;
}
.output-head h3 {
  font-size: 16px;
  margin: 0;
}
.output-head p {
  font-size: 11px;
  color: #917f8d;
  margin: 5px 0 0;
}
.output-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.prompt-text {
  border: 0;
  width: 100%;
  min-height: 310px;
  max-height: 580px;
  overflow: auto;
  resize: vertical;
  background: #fff;
  padding: 20px 22px;
  color: #5b4866;
  font: 12px/1.73 ui-monospace,SFMono-Regular,Consolas,monospace;
  outline: none;
}
.placeholder {
  min-height: 155px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
  color: #97879b;
}
.placeholder span {
  font-size: 35px;
  display: block;
  margin-bottom: 7px;
}
.placeholder strong {
  font-size: 13px;
  color: #755d78;
}
.output-foot {
  font-size: 11px;
  color: #9a8796;
  padding: 13px 18px;
  background: #fff9fb;
  border-top: 1px solid #f2e7ee;
}
/* footer */
.footer {
  border-top: 1px solid #f3e6eb;
  padding: 24px 0 36px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #a190a0;
}
.footer-row strong {
  color: #af4b7f;
}
.footer-links {
  display: flex;
  gap: 15px;
}
.footer a {
  text-decoration: none;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%,30px);
  background: #4f3a60;
  color: #fff;
  border-radius: 14px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 10px 36px #4f3a6044;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s,transform .22s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show {
  transform: translate(-50%,0);
  opacity: 1;
}
@media(max-width:900px) {
  .hero {
    grid-template-columns: 1.08fr .92fr;
  }
  .hero-copy {
    padding: 44px 0 44px 36px;
  }
  .hero-figure {
    padding-right: 32px;
  }
  .shape-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .palette-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .preview-wrap {
    grid-template-columns: 1fr .8fr;
  }
  .access-wrapper {
    gap: 28px;
    grid-template-columns: 1fr 380px;
  }
}
@media(max-width:700px) {
  .container {
    padding: 0 15px;
  }
  .header-inner {
    min-height: 63px;
  }
  .brand-badge {
    width: 35px;
    height: 35px;
    font-size: 21px;
    border-radius: 12px;
  }
  .brand-name {
    font-size: 12px;
  }
  .brand-sub {
    font-size: 9px;
  }
  .nav {
    gap: 2px;
  }
  .nav-button {
    font-size: 11px;
    padding: 9px 8px;
  }
  .header-cta {
    min-height: 36px;
    font-size: 11px;
    padding: 8px 11px;
  }
  #page-home {
    padding-top: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    border-radius: 24px;
  }
  .hero-copy {
    padding: 38px 27px 0;
  }
  .hero h1 {
    font-size: 42px;
    margin: 14px 0;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-actions {
    margin: 21px 0 14px;
  }
  .hero-figure {
    padding: 16px 35px 38px;
    min-height: 280px;
  }
  .hero-paper {
    max-width: 270px;
    transform: rotate(3deg);
  }
  .hero-float {
    top: 12px;
    right: 20px;
  }
  .intro {
    padding-top: 44px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 35px;
  }
  .how-card {
    padding: 19px;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 15px;
  }
  .how-card h3 {
    margin: 3px 0 5px;
  }
  .how-card p {
    grid-column: 2;
  }
  .how-num {
    grid-row: span 2;
    margin: 0;
  }
  .promo {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }
  .access-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 45px 0;
  }
  .access-left h1 {
    font-size: 37px;
  }
  .access-illustration {
    margin-top: 15px;
  }
  .access-box {
    padding: 25px;
  }
  #page-studio {
    padding-top: 15px;
  }
  .studio-welcome {
    padding: 26px 21px;
    border-radius: 22px;
  }
  .studio-welcome h1 {
    font-size: 30px;
  }
  .welcome-tag {
    display: none;
  }
  .progress-track {
    flex-wrap: nowrap;
    overflow: auto;
    padding: 2px 1px 8px;
    margin: 15px 0 13px;
    scrollbar-width: thin;
  }
  .progress-chip {
    white-space: nowrap;
    flex: none;
  }
  .steps {
    gap: 14px;
  }
  .step-card {
    padding: 21px 17px 23px;
    border-radius: 22px;
  }
  .step-header {
    gap: 12px;
    margin-bottom: 17px;
  }
  .step-header h2 {
    font-size: 20px;
  }
  .step-no {
    width: 39px;
    height: 39px;
    font-size: 18px;
  }
  .input-grid,.input-grid.three {
    grid-template-columns: 1fr;
  }
  .shape-card {
    min-height: 170px;
    padding: 13px 8px;
  }
  .shape-visual,.shape-visual svg {
    height: 76px;
  }
  .mode-cards {
    grid-template-columns: 1fr;
  }
  .mode-card {
    min-height: 68px;
  }
  .dimensions {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }
  .dim-box {
    padding: 10px 8px;
  }
  .dim-input input {
    font-size: 15px;
    padding: 7px;
    min-width: 0;
  }
  .dim-input {
    gap: 4px;
  }
  .dim-box label {
    font-size: 9px;
  }
  .preview-wrap {
    grid-template-columns: 1fr;
  }
  .preview-page {
    max-width: 325px;
  }
  .preview-aside {
    padding: 0 4px;
  }
  .action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .action-row .btn:first-child {
    grid-column: 1/-1;
    min-width: 0;
  }
  .output-head {
    padding: 14px;
  }
  .prompt-text {
    padding: 16px;
    font-size: 11px;
    min-height: 290px;
  }
}
@media(max-width:370px) {
  .nav-button.home-nav {
    display: none;
  }
  .hero h1 {
    font-size: 35px;
  }
  .palette-grid {
    gap: 8px;
  }
  .palette-card {
    padding: 8px;
  }
  .shape-card b {
    font-size: 13px;
  }
  .shape-card small {
    font-size: 10px;
  }
  .shape-visual,.shape-visual svg {
    height: 64px;
  }
  .nav-button {
    padding: 7px;
  }
  .promo h2 {
    font-size: 22px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}
