@font-face {
  font-family: "Comfortaa";
  src: url("../assets/fonts/Comfortaa-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../assets/fonts/Comfortaa-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Local";
  src: url("../assets/fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Nauryz";
  src: url("../assets/fonts/NauryzRedKeds.woff2") format("woff2");
  font-display: swap;
}

:root {
  --accent: #ff4d6d;
  --accent-dark: #e63758;
  --ink: #281722;
  --muted: #74656d;
  --line: #eee2e5;
  --page: #fff8f6;
  --card: rgb(255 255 255 / 88%);
  --theme-bg: linear-gradient(145deg, #fff4f5, #ffe5df);
  --theme-soft: #fff0f2;
  --theme-contrast: #ff4d6d;
}

body[data-theme="night"] {
  --accent: #8d7cff;
  --accent-dark: #7664eb;
  --page: #171424;
  --ink: #f7f2ff;
  --muted: #aaa0bd;
  --line: #3c354e;
  --card: rgb(38 32 55 / 90%);
  --theme-bg: linear-gradient(145deg, #28223c, #171523);
  --theme-soft: #302943;
  --theme-contrast: #a092ff;
}

body[data-theme="mint"] {
  --accent: #2a9d78;
  --accent-dark: #208667;
  --page: #f4fbf7;
  --theme-bg: linear-gradient(145deg, #f3fff8, #dff5e8);
  --theme-soft: #e8f8ef;
  --theme-contrast: #2a9d78;
}

body[data-theme="peach"] {
  --accent: #ef7654;
  --accent-dark: #d96041;
  --page: #fff9f0;
  --theme-bg: linear-gradient(145deg, #fff8ef, #ffe5cc);
  --theme-soft: #fff0df;
  --theme-contrast: #ef7654;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, rgb(255 255 255 / 70%), transparent 27%),
    var(--page);
  color: var(--ink);
  font-family: "Comfortaa", system-ui, sans-serif;
  transition: background 300ms ease, color 300ms ease;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

.meeting-header,
.meeting-footer {
  position: relative;
  z-index: 30;
  display: flex;
  width: min(100% - 40px, 1200px);
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.meeting-header {
  min-height: 78px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-family: "Nauryz", "Segoe Script", cursive;
  font-size: 30px;
  letter-spacing: 0;
}

.wordmark > span:last-child > span {
  color: var(--accent);
}

.wordmark-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 17px;
}

.home-link {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

.intro-screen {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.intro-hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding-block: 60px 100px;
}

.eyebrow,
.step-kicker {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 6%, white);
}

.intro-copy h1 {
  max-width: 690px;
  margin: 22px 0;
  font-family: "Roboto Local", sans-serif;
  font-size: clamp(54px, 6.4vw, 82px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.intro-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.intro-copy > p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.main-button,
.next-button,
.generate-button,
.yes-button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 23%, transparent);
  color: white;
  font-weight: 600;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.main-button {
  min-height: 56px;
  margin-top: 29px;
  padding: 0 25px;
  font-size: 13px;
}

.main-button span {
  margin-left: 13px;
}

.main-button:hover,
.next-button:hover,
.generate-button:hover,
.yes-button:hover:not(:disabled) {
  box-shadow: 0 18px 39px color-mix(in srgb, var(--accent) 31%, transparent);
  transform: translateY(-2px);
}

.intro-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.intro-notes span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.intro-preview {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.preview-glow {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe0e2, #fff1dc);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%);
}

.demo-phone,
.preview-phone {
  position: relative;
  width: 275px;
  height: 545px;
  padding: 8px;
  border-radius: 47px;
  background: #231d21;
  box-shadow: 0 40px 90px rgb(62 34 48 / 24%);
}

.demo-phone {
  transform: rotate(3deg);
}

.phone-island {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  width: 86px;
  height: 23px;
  border-radius: 999px;
  background: #231d21;
  transform: translateX(-50%);
}

.demo-screen,
.preview-screen {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px 23px 28px;
  overflow: hidden;
  border-radius: 39px;
  background: var(--theme-bg);
  text-align: center;
}

.preview-screen {
  --theme-bg: linear-gradient(145deg, #fff4f5, #ffe5df);
  --theme-contrast: #e63758;
  --accent: var(--theme-contrast);
  --muted: #74656d;
  --preview-ink: #281722;
  --preview-brand: var(--theme-contrast);
  --preview-secondary-bg: rgb(255 255 255 / 76%);
  --preview-secondary-text: #74656d;
  color: var(--preview-ink);
  transition: background 320ms ease, color 220ms ease;
}

.preview-screen[data-preview-theme="night"] {
  --theme-bg: linear-gradient(150deg, #302a49 0%, #1d1930 56%, #12101d 100%);
  --theme-contrast: #6757d9;
  --muted: #c8c1da;
  --preview-ink: #fbfaff;
  --preview-brand: #bbb2ff;
  --preview-secondary-bg: rgb(255 255 255 / 11%);
  --preview-secondary-text: #f3f0ff;
}

.preview-screen[data-preview-theme="mint"] {
  --theme-bg: linear-gradient(145deg, #f3fff8, #dff5e8);
  --theme-contrast: #237a5e;
  --muted: #557066;
  --preview-ink: #17362c;
  --preview-brand: #237a5e;
  --preview-secondary-bg: rgb(255 255 255 / 72%);
  --preview-secondary-text: #456158;
}

.preview-screen[data-preview-theme="peach"] {
  --theme-bg: linear-gradient(145deg, #fff8ef, #ffe5cc);
  --theme-contrast: #c95839;
  --muted: #7b6258;
  --preview-ink: #3a221a;
  --preview-brand: #c95839;
  --preview-secondary-bg: rgb(255 255 255 / 72%);
  --preview-secondary-text: #70574d;
}

.mini-brand,
.preview-brand {
  position: absolute;
  top: 50px;
  color: var(--preview-brand, var(--theme-contrast));
  font-family: "Nauryz", cursive;
  font-size: 16px;
  font-weight: 400;
}

.demo-icon,
.preview-scenario-icon {
  display: block;
  margin-bottom: 18px;
  font-size: 62px;
  filter: drop-shadow(0 12px 18px rgb(48 25 37 / 14%));
}

.demo-image,
.preview-image,
.recipient-image {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  flex: 0 0 auto;
  width: 158px;
  height: 132px;
  margin-bottom: 14px;
  border-radius: 22px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgb(48 25 37 / 10%));
}

.demo-image {
  width: 175px;
  height: 150px;
}

.demo-screen small,
.preview-screen small {
  color: var(--muted);
  font-size: 9px;
}

.demo-screen h2,
.preview-screen h3 {
  margin: 12px 0;
  font-family: "Roboto Local", sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.demo-screen p,
.preview-screen p {
  max-width: 195px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.demo-screen > div:last-child,
.preview-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 0.65fr;
  gap: 7px;
  margin-top: 24px;
}

.demo-screen > div:last-child span,
.preview-actions span {
  padding: 11px 5px;
  border-radius: 999px;
  background: var(--theme-contrast);
  color: white;
  font-size: 8px;
  font-weight: 600;
}

.demo-screen > div:last-child span:last-child,
.preview-actions span:last-child {
  border: 1px solid color-mix(in srgb, var(--theme-contrast) 28%, transparent);
  background: var(--preview-secondary-bg, rgb(255 255 255 / 72%));
  color: var(--preview-secondary-text, var(--muted));
}

.demo-tag {
  position: absolute;
  z-index: 5;
  min-width: 160px;
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 17px;
  background: rgb(255 255 255 / 85%);
  box-shadow: 0 16px 40px rgb(74 37 55 / 12%);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
  backdrop-filter: blur(12px);
}

.demo-tag b {
  color: var(--ink);
  font-family: "Roboto Local", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.tag-top {
  top: 15%;
  right: -4%;
  transform: rotate(-2deg);
}

.tag-bottom {
  bottom: 16%;
  left: -6%;
  transform: rotate(2deg);
}

.intro-how {
  padding: 75px 50px 58px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgb(255 255 255 / 62%);
  text-align: center;
}

.intro-section-title > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.intro-section-title h2 {
  margin: 10px 0 40px;
  font-family: "Roboto Local", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.intro-how ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.intro-how li {
  min-height: 190px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.intro-how li b {
  color: var(--accent);
  font-family: "Roboto Local", sans-serif;
  font-size: 11px;
}

.intro-how li span {
  display: block;
  margin: 34px 0 8px;
  font-family: "Roboto Local", sans-serif;
  font-size: 17px;
}

.intro-how li p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.secondary-cta {
  min-height: 50px;
  margin-top: 30px;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.builder-screen {
  min-height: calc(100vh - 140px);
  padding: 28px 20px 80px;
}

.builder-shell {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-button,
.builder-head > div button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.builder-head > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.builder-head > div span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
}

.builder-head > div button {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.progress {
  position: relative;
  display: flex;
  width: min(100% - 40px, 760px);
  align-items: center;
  justify-content: space-between;
  margin: 24px auto 30px;
  counter-reset: builder-step;
}

.progress[hidden] {
  display: none;
}

.progress::before {
  position: absolute;
  z-index: 0;
  right: 20px;
  left: 20px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, white);
  content: "";
}

.progress span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 17%, white);
  color: var(--accent-dark);
  counter-increment: builder-step;
  font-size: 12px;
  font-weight: 700;
  transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.progress span::after {
  content: counter(builder-step);
}

.progress span.is-active {
  background: var(--accent);
  color: white;
  transform: scale(1.08);
}

.builder-layout {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  align-items: start;
  gap: 25px;
}

.builder-layout[hidden] {
  display: none;
}

.form-card {
  grid-column: 2;
  grid-row: 1;
}

.form-card,
.result-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 24px 70px rgb(70 36 53 / 9%);
  backdrop-filter: blur(16px);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step h1,
.form-step h2,
.result-card h2 {
  margin: 10px 0;
  font-family: "Roboto Local", sans-serif;
  font-size: clamp(32px, 5vw, 43px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.step-description {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

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

.scenario-option input,
.theme-grid input,
.effect-list input,
.segmented-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scenario-option > span {
  display: flex;
  min-height: 124px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(255 255 255 / 72%);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.scenario-option > span:hover {
  transform: translateY(-2px);
}

.scenario-option i {
  margin-bottom: 10px;
  font-size: 31px;
  font-style: normal;
}

.scenario-option b {
  font-family: "Roboto Local", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.scenario-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.scenario-option input:checked + span {
  border-color: var(--accent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 8%, transparent);
}

.next-button,
.generate-button {
  display: inline-flex;
  min-width: 150px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 25px;
  padding: 0 22px;
  font-size: 11px;
}

.next-button {
  float: right;
}

.next-button span {
  font-size: 17px;
}

.field-pair,
.choice-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

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

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

.field > span,
.segmented-field legend,
.design-fieldset legend {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.field > span {
  display: flex;
  justify-content: space-between;
}

.field > span small {
  color: #a99ba2;
  font-size: 8px;
}

.field input,
.field textarea,
.recipient-date-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: rgb(255 255 255 / 76%);
  color: var(--ink);
  font-size: 11px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input {
  min-height: 47px;
  padding: 0 13px;
}

.field textarea {
  padding: 13px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.recipient-date-fields input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
}

.segmented-field,
.design-fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.preset-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.preset-grid label > span {
  display: grid;
  min-height: 92px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
}

.preset-grid img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.preset-grid label:hover img {
  transform: scale(1.05);
}

.preset-grid input:checked + span {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 9%, transparent);
}

.segmented-field > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 9px;
  padding: 5px;
  border-radius: 14px;
  background: #f3ecef;
}

.segmented-field label span {
  display: grid;
  min-height: 39px;
  place-items: center;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
}

.segmented-field input:checked + span {
  background: white;
  box-shadow: 0 5px 15px rgb(50 28 39 / 7%);
  color: var(--ink);
  font-weight: 600;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
}

.step-actions .next-button,
.step-actions .generate-button {
  float: none;
  margin: 0;
}

.prev-button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.theme-grid label > span {
  display: grid;
  min-height: 75px;
  place-items: center;
  gap: 5px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 65%);
  cursor: pointer;
}

.theme-grid i {
  width: 32px;
  height: 22px;
  border-radius: 8px;
}

.theme-rose i {
  background: linear-gradient(135deg, #ffb8c3, #ffe4d7);
}

.theme-night i {
  background: linear-gradient(135deg, #28223c, #8d7cff);
}

.theme-mint i {
  background: linear-gradient(135deg, #b8e2ca, #ecfff4);
}

.theme-peach i {
  background: linear-gradient(135deg, #ffcba8, #fff1de);
}

.theme-grid b {
  font-size: 8px;
  font-weight: 600;
}

.theme-grid input:checked + span {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 9%, transparent);
}

.compact-effect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.compact-effect-grid--five {
  grid-template-columns: repeat(5, 1fr);
}

.compact-effect-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.compact-effect-grid label > span {
  display: grid;
  min-height: 70px;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(255 255 255 / 65%);
  cursor: pointer;
  text-align: center;
}

.compact-effect-grid i {
  color: var(--accent);
  font-family: "Roboto Local", sans-serif;
  font-size: 19px;
  font-style: normal;
}

.compact-effect-grid b {
  font-size: 7px;
  font-weight: 600;
}

.compact-effect-grid input:checked + span {
  border-color: var(--accent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 8%, transparent);
}

.effect-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.effect-list label > span {
  display: flex;
  min-height: 83px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 65%);
  cursor: pointer;
  flex-wrap: wrap;
}

.effect-list i {
  width: 29px;
  font-size: 19px;
  font-style: normal;
}

.effect-list b {
  width: calc(100% - 29px);
  font-family: "Roboto Local", sans-serif;
  font-size: 10px;
  font-weight: 500;
}

.effect-list small {
  width: 100%;
  margin: 7px 0 0 29px;
  color: var(--muted);
  font-size: 7px;
}

.effect-list input:checked + span {
  border-color: var(--accent);
  background: var(--theme-soft);
}

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

.summary-grid div {
  min-height: 72px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 58%);
}

.summary-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 8px;
}

.summary-grid b {
  font-family: "Roboto Local", sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.summary-grid .summary-address {
  grid-column: 1 / -1;
  min-height: auto;
}

.save-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--theme-soft);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.generation-error {
  margin-top: 13px;
  padding: 11px 13px;
  border: 1px solid #ffc8ce;
  border-radius: 12px;
  background: #fff0f1;
  color: #b72f45;
  font-size: 9px;
}

.generate-button i {
  font-style: normal;
}

.live-preview {
  position: sticky;
  top: 25px;
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  flex-direction: column;
  padding: 22px 20px 18px;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 29px;
  background: var(--card);
  box-shadow: 0 24px 70px rgb(70 36 53 / 9%);
  backdrop-filter: blur(16px);
}

.preview-phone {
  width: 270px;
  height: 535px;
  border-radius: 41px;
  box-shadow: 0 26px 55px rgb(54 29 42 / 22%);
}

.preview-refresh {
  position: absolute;
  z-index: 8;
  top: 16px;
  right: 17px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 5px 14px rgb(79 36 56 / 14%);
  color: var(--accent);
  font: 700 17px/1 sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.preview-refresh:hover {
  transform: translateY(-1px);
}

.preview-refresh.is-spinning {
  animation: preview-refresh-spin 600ms ease;
}

@keyframes preview-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.preview-phone .phone-island {
  top: 14px;
  width: 76px;
  height: 20px;
}

.preview-phone .preview-screen {
  padding-inline: 18px;
  border-radius: 34px;
}

.preview-phone .preview-brand {
  top: 43px;
}

.preview-scenario-icon {
  font-size: 52px;
}

.preview-phone .preview-screen h3 {
  font-size: 20px;
}

.preview-phone .preview-image {
  width: 132px;
  height: 105px;
  margin-bottom: 10px;
}

.live-preview > p {
  max-width: 250px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.5;
  text-align: center;
}

.result-card {
  width: min(100%, 680px);
  margin: 30px auto;
  text-align: center;
}

.result-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8f8ee;
  color: #20874d;
  font-size: 24px;
}

.result-card > p {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.short-url {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.short-url input {
  min-width: 0;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: white;
  color: var(--ink);
  font-size: 11px;
}

.short-url button {
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 600;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.result-actions button,
.result-actions a {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
}

.short-url button:disabled,
.result-actions button:disabled,
.result-actions a[aria-disabled="true"] {
  opacity: 0.42;
  cursor: not-allowed;
}

.result-actions a[aria-disabled="true"] {
  pointer-events: none;
}

.telegram-connect {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border-radius: 13px;
  background: #2aabee;
  color: white;
  font-size: 9px;
  font-weight: 600;
}

.telegram-connect[hidden],
.telegram-connect-card[hidden] {
  display: none;
}

.telegram-connect-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgb(42 171 238 / 24%);
  border-radius: 17px;
  background: rgb(42 171 238 / 7%);
  text-align: left;
}

.telegram-connect-card.is-connected {
  border-color: rgb(55 182 115 / 28%);
  background: rgb(55 182 115 / 8%);
}

.telegram-connect-card.is-unavailable {
  border-color: rgb(219 39 119 / 22%);
  background: rgb(219 39 119 / 6%);
}

.telegram-connect-card > strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
}

.telegram-connect-card > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.telegram-connect-card .telegram-connect {
  margin-top: 11px;
}

.telegram-connect-card > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 7px;
  text-align: center;
}

.create-another {
  margin-top: 20px;
  padding: 6px;
  border: 0;
  border-bottom: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-size: 8px;
}

.recipient-loading,
.recipient-error,
.recipient-flow,
.accepted-screen {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.recipient-loading.is-active,
.recipient-error.is-active,
.recipient-flow.is-active,
.accepted-screen.is-active {
  display: flex;
}

.recipient-loading {
  flex-direction: column;
  color: var(--muted);
  font-size: 10px;
}

.loader-heart {
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 58px;
  animation: heartbeat 1.2s ease-in-out infinite;
}

.error-card,
.recipient-card,
.accepted-card {
  position: relative;
  width: min(100%, 540px);
  padding: clamp(30px, 6vw, 54px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--theme-contrast) 12%, white);
  border-radius: 34px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: 0 30px 90px rgb(54 28 42 / 15%);
  text-align: center;
  backdrop-filter: blur(16px);
}

.error-card > span {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--theme-soft);
  color: var(--accent);
  font-size: 24px;
}

.error-card h1,
.recipient-card h1,
.accepted-card h1 {
  margin: 20px 0 12px;
  font-family: "Roboto Local", sans-serif;
  font-size: clamp(33px, 7vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.error-card p,
.recipient-card > p,
.accepted-card > p {
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.error-card a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 600;
}

.recipient-progress {
  position: absolute;
  top: 30px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 40px), 460px);
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  transform: translateX(-50%);
}

.recipient-progress span {
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.recipient-progress span.is-active,
.recipient-progress span.is-done {
  background: var(--accent);
}

.ambient-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.ambient-layer i {
  position: absolute;
  bottom: -28px;
  color: color-mix(in srgb, var(--accent) 46%, transparent);
  font-style: normal;
  animation: ambient-rise var(--duration, 6s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.ambient-layer[data-effect="bubbles"] i {
  width: var(--size, 16px);
  height: var(--size, 16px);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 50%;
  color: transparent;
}

.ambient-layer[data-effect="stars"] i {
  color: color-mix(in srgb, var(--accent) 53%, transparent);
}

.recipient-card > *:not(.ambient-layer),
.accepted-card > *:not(.ambient-layer) {
  position: relative;
  z-index: 2;
}

.recipient-brand {
  position: absolute;
  top: 22px;
  left: 50%;
  color: var(--accent);
  font-family: "Nauryz", cursive;
  font-size: 16px;
  font-weight: 400;
  transform: translateX(-50%);
}

.recipient-image {
  width: min(100%, 230px);
  height: 180px;
  margin: 16px auto 12px;
  border-radius: 24px;
  object-fit: contain;
}

.recipient-image--confirm {
  height: 190px;
}

.recipient-image--schedule {
  height: 150px;
  margin-top: 22px;
}

.recipient-icon,
.confirm-emoji,
.accepted-heart {
  display: block;
  margin: 18px 0 16px;
  font-size: 64px;
  line-height: 1;
}

.recipient-card > small,
.accepted-card > small {
  color: var(--muted);
  font-size: 9px;
}

.answer-zone {
  position: relative;
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr 0.65fr;
  gap: 9px;
}

.yes-button,
.no-button {
  min-height: 52px;
  padding: 0 18px;
  font-size: 10px;
}

.no-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 82%, white);
  color: var(--muted);
  transition: transform 180ms ease, opacity 180ms ease;
}

.gentle-hint {
  margin-top: 15px;
  color: var(--accent);
  font-size: 9px;
}

.full-button {
  width: 100%;
}

.recipient-fixed-date,
.ticket {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0 17px;
}

.recipient-fixed-date div,
.ticket div {
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--theme-soft);
}

.recipient-fixed-date small,
.ticket span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 7px;
}

.recipient-fixed-date b,
.ticket b {
  font-family: "Roboto Local", sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.recipient-location {
  display: grid;
  gap: 5px;
  margin: -6px 0 17px;
  padding: 14px;
  border-radius: 14px;
  background: var(--theme-soft);
  text-align: left;
}

.recipient-location small,
.recipient-location span {
  color: var(--muted);
  font-size: 8px;
}

.recipient-location b {
  font-family: "Roboto Local", sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.recipient-location[hidden],
.ticket .ticket-address[hidden] {
  display: none;
}

.recipient-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 23px 0 16px;
}

.recipient-date-fields label {
  display: grid;
  gap: 7px;
  text-align: left;
}

.recipient-date-fields span {
  color: var(--muted);
  font-size: 8px;
}

.recipient-date-fields input {
  min-height: 47px;
  padding: 0 10px;
}

.recipient-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 23px 0 15px;
}

.recipient-choices button {
  display: flex;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 82%, white);
  font-size: 10px;
  text-align: center;
}

.recipient-choices button span {
  font-size: 30px;
  line-height: 1;
}

.recipient-choices button b {
  max-width: 100%;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
}

.recipient-choices button.is-selected {
  border-color: var(--accent);
  background: var(--theme-soft);
  color: var(--accent-dark);
}

.recipient-choices button.is-selected b {
  font-weight: 700;
}

.choice-card .yes-button:disabled {
  opacity: 0.38;
}

.accepted-screen {
  position: relative;
}

.accepted-card {
  width: min(100%, 590px);
}

.accepted-heart,
.accepted-choice-icon {
  display: block;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 74px;
  animation: heartbeat 1.8s ease-in-out infinite;
}

.accepted-choice-icon {
  margin: 16px 0 10px;
  font-size: 84px;
  filter: drop-shadow(0 14px 18px rgb(54 28 42 / 12%));
}

.ticket[hidden] {
  display: none !important;
}

.ticket {
  grid-template-columns: repeat(2, 1fr);
}

.ticket .ticket-address {
  grid-column: 1 / -1;
}

.sender-sign {
  margin-bottom: 15px !important;
  color: var(--ink) !important;
  font-weight: 600;
}

.acceptance-status {
  display: block;
  margin: -4px 0 16px;
  color: var(--muted);
}

.made-with {
  color: var(--accent);
  font-size: 8px;
}

.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: -30px;
  width: 8px;
  height: 14px;
  border-radius: 3px;
  animation: confetti-fall 3s linear forwards;
}

.meeting-footer {
  min-height: 72px;
  color: var(--muted);
  font-size: 9px;
}

.meeting-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #a99ca3;
  font-size: 9px;
}

.entry-pop {
  animation: card-pop 620ms cubic-bezier(0.18, 0.85, 0.28, 1.18) both;
}

.entry-slide {
  animation: card-slide 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.entry-bounce {
  animation: card-bounce 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.entry-flip {
  animation: card-flip 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  backface-visibility: hidden;
}

.effect-shake {
  animation: yes-shake 650ms ease both;
}

.effect-pulse {
  animation: yes-pulse 700ms ease both;
}

.effect-sparkles {
  animation: yes-sparkles 780ms ease both;
}

.kiss-overlay {
  position: absolute;
  z-index: 8;
  width: 68px;
  height: 68px;
  pointer-events: none;
  animation: kiss-pop 520ms cubic-bezier(0.2, 0.9, 0.2, 1.25) both;
}

@keyframes ambient-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
  }
  15% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 18px), -620px, 0) rotate(280deg) scale(1.15);
  }
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes card-slide {
  from {
    opacity: 0;
    transform: translateX(90px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes card-bounce {
  0% {
    opacity: 0;
    transform: translateY(-70px) scale(0.92);
  }
  55% {
    opacity: 1;
    transform: translateY(13px) scale(1.02);
  }
  75% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes card-flip {
  from {
    opacity: 0;
    transform: perspective(800px) rotateY(-72deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: perspective(800px) rotateY(0) scale(1);
  }
}

@keyframes yes-shake {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  18% {
    transform: translateX(-12px) rotate(-2deg);
  }
  36% {
    transform: translateX(12px) rotate(2deg);
  }
  54% {
    transform: translateX(-8px) rotate(-1deg);
  }
  72% {
    transform: translateX(8px) rotate(1deg);
  }
}

@keyframes yes-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  }
  70% {
    box-shadow: 0 0 0 45px color-mix(in srgb, var(--accent) 0%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes yes-sparkles {
  0%,
  100% {
    filter: brightness(1);
  }
  35% {
    filter: brightness(1.22) saturate(1.35);
    box-shadow: 0 0 35px color-mix(in srgb, var(--accent) 52%, transparent);
  }
}

@keyframes kiss-pop {
  0% {
    opacity: 0;
    transform: scale(0.15) rotate(-18deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.18) rotate(8deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.12);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.08);
  }
}

@keyframes confetti-fall {
  to {
    transform: translate3d(var(--drift), calc(100vh + 60px), 0) rotate(720deg);
  }
}

@media (max-width: 920px) {
  .intro-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intro-copy > p {
    margin-inline: auto;
  }

  .intro-notes {
    justify-content: center;
  }

  .intro-preview {
    margin-top: -30px;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .form-card {
    grid-column: auto;
    grid-row: 2;
  }

  .live-preview {
    position: static;
    grid-column: auto;
    grid-row: 1;
  }

  .live-preview > p {
    display: none;
  }

  .preview-phone {
    width: 205px;
    height: 405px;
  }
}

@media (max-width: 680px) {
  .meeting-header,
  .meeting-footer,
  .intro-screen {
    width: calc(100% - 28px);
  }

  .meeting-header {
    min-height: 68px;
  }

  .wordmark {
    font-size: 19px;
  }

  .wordmark-icon {
    width: 30px;
    height: 30px;
  }

  .home-link {
    padding: 8px 11px;
    font-size: 9px;
  }

  .intro-hero {
    gap: 35px;
    padding-block: 40px 75px;
  }

  .intro-copy h1 {
    font-size: clamp(47px, 14vw, 64px);
  }

  .intro-copy > p {
    font-size: 13px;
  }

  .intro-preview {
    min-height: 510px;
    transform: scale(0.88);
  }

  .tag-top {
    right: -8%;
  }

  .tag-bottom {
    left: -8%;
  }

  .intro-how {
    padding: 52px 18px 38px;
  }

  .intro-how ol {
    grid-template-columns: 1fr;
  }

  .intro-how li {
    min-height: 155px;
  }

  .intro-how li span {
    margin-top: 25px;
  }

  .builder-screen {
    padding: 20px 12px 60px;
  }

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

  .builder-head > div {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
  }

  .form-card,
  .result-card {
    padding: 25px 17px;
    border-radius: 24px;
  }

  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-pair,
  .choice-inputs {
    grid-template-columns: 1fr;
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-effect-grid,
  .compact-effect-grid--five {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .effect-list label > span {
    min-height: 68px;
  }

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

  .short-url,
  .result-actions {
    grid-template-columns: 1fr;
  }

  .short-url button {
    min-height: 48px;
  }

  .recipient-progress {
    top: 15px;
  }

  .recipient-flow,
  .accepted-screen {
    align-items: flex-start;
    padding-top: 50px;
  }

  .recipient-card,
  .accepted-card {
    padding: 42px 20px 28px;
    border-radius: 27px;
  }

  .answer-zone,
  .recipient-fixed-date,
  .recipient-date-fields,
  .ticket {
    grid-template-columns: 1fr;
  }

  .meeting-footer {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

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

/* Landing page based on the original Only Teplo meeting experience. */
body[data-active-screen="intro"] {
  overflow-x: hidden;
  background: #fef1f8;
}

body[data-active-screen="intro"] > .meeting-header {
  display: none;
}

body:not([data-active-screen="intro"]) > .reference-footer {
  display: none;
}

.intro-screen.reference-landing {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #fef1f8;
  color: #2d1926;
  isolation: isolate;
}

.landing-hearts {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 420px;
  overflow: hidden;
  pointer-events: none;
}

.landing-hearts img {
  position: absolute;
  top: -90px;
  width: 74px;
  height: 74px;
  object-fit: contain;
  opacity: 0.42;
  animation: landing-heart-fall 5.6s linear infinite;
}

.landing-hearts img:nth-child(1) {
  left: 14%;
  animation-delay: 0s;
  --landing-heart-rotation: 95deg;
}

.landing-hearts img:nth-child(2) {
  left: 38%;
  animation-delay: 1.25s;
  animation-duration: 6.2s;
  --landing-heart-rotation: -135deg;
}

.landing-hearts img:nth-child(3) {
  left: 62%;
  animation-delay: 2.5s;
  --landing-heart-rotation: 175deg;
}

.landing-hearts img:nth-child(4) {
  left: 85%;
  animation-delay: 3.75s;
  animation-duration: 6.2s;
  --landing-heart-rotation: -215deg;
}

.landing-header {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1000px);
  margin-inline: auto;
  padding-top: 48px;
}

.landing-header > a {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.landing-header > .landing-wordmark {
  display: inline-flex;
  font-size: 37px;
}

.landing-wordmark .wordmark-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 19px;
}

.landing-header > a img {
  display: block;
  width: 250px;
  height: 40px;
}

.landing-progress {
  display: flex;
  width: min(100%, 700px);
  align-items: center;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}

.landing-progress li {
  position: relative;
  display: grid;
  flex: 1 1 0;
  place-items: center;
}

.landing-progress li::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 50%;
  width: 100%;
  height: 8px;
  background: #f1c6d2;
  content: "";
  transform: translateY(-50%);
}

.landing-progress li:first-child::before {
  display: none;
}

.landing-progress span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #f1c6d2;
  color: #831843;
  font-size: 20px;
}

.landing-progress .is-current span {
  background: #ed6990;
  box-shadow: 0 8px 22px rgb(219 39 119 / 18%);
  color: #fff;
}

.reference-hero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 32px, 1000px);
  min-height: 638px;
  grid-template-columns: 346px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin-inline: auto;
  padding: 24px 0 92px;
}

.reference-phone {
  width: 346px;
  padding: 8px;
  border-radius: 42px;
  background: #e8afbc;
  box-shadow: 0 24px 48px rgb(94 46 67 / 20%);
}

.reference-video {
  position: relative;
  height: 568px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(rgb(255 255 255 / 35%), rgb(255 255 255 / 35%)),
    #cc8791;
}

.reference-video iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 34px;
  opacity: 0;
  transition: opacity 500ms ease;
}

.reference-video-poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-video.is-loaded iframe {
  opacity: 1;
}

.reference-card {
  display: flex;
  min-width: 0;
  min-height: 584px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 54px 46px 38px;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 22px 45px rgb(94 46 67 / 14%);
  text-align: center;
}

.reference-eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgb(219 39 119 / 18%);
  border-radius: 999px;
  background: rgb(251 220 230 / 55%);
  color: #831843;
  font-size: 14px;
  font-weight: 600;
}

.reference-card h1 {
  margin: 24px 0 0;
  font-family: "Roboto Local", sans-serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.reference-card h1 span {
  display: block;
  font-size: 28px;
}

.reference-card h1 em {
  display: block;
  margin-top: 4px;
  color: #db2777;
  font-family: "Nauryz", "Apple Chancery", cursive;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
}

.reference-card h2 {
  max-width: 500px;
  margin: 24px 0 0;
  font-family: "Comfortaa", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.reference-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-width: 275px;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  margin-top: 44px;
  padding: 0 24px;
  overflow: hidden;
  border: 0;
  border-radius: 60px;
  background: linear-gradient(to right top, #e34f7b, #f895b3);
  box-shadow: 0 12px 28px rgb(219 39 119 / 18%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.reference-cta::before {
  position: absolute;
  z-index: -1;
  inset: -15% auto -15% -55%;
  width: 34%;
  background: linear-gradient(
    105deg,
    transparent,
    rgb(255 255 255 / 22%) 30%,
    rgb(255 255 255 / 72%) 50%,
    rgb(255 255 255 / 22%) 70%,
    transparent
  );
  content: "";
  filter: blur(2px);
  transform: skewX(-18deg);
  animation: landing-shimmer 3.1s ease-in-out infinite;
}

.reference-cta:hover {
  box-shadow: 0 17px 36px rgb(219 39 119 / 26%);
  transform: translateY(-2px);
}

.reference-cta:active {
  transform: scale(0.98);
}

.social-proof {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  margin-top: auto;
  padding-top: 52px;
}

.social-proof > div {
  display: flex;
  justify-content: center;
}

.social-proof img {
  display: block;
  width: 44px;
  height: 44px;
  margin-left: -12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fbdce6;
  object-fit: cover;
}

.social-proof img:first-child {
  margin-left: 0;
}

.social-proof p {
  margin: 0;
  color: rgb(74 58 66 / 75%);
  font-size: 13px;
  font-weight: 500;
}

.reference-section {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1000px);
  margin: 0 auto 32px;
  padding: 0 16px 40px;
}

.reference-heading {
  margin-bottom: 26px;
  text-align: center;
}

.reference-heading h2 {
  margin: 0;
  color: #2d1926;
  font-family: "Roboto Local", sans-serif;
  font-size: 28px;
  font-weight: 500;
}

.reference-heading p {
  margin: 2px 0 0;
  color: #db2777;
  font-family: "Nauryz", cursive;
  font-size: 30px;
  line-height: 1;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0 12px;
  list-style: none;
}

.how-list > li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(94 46 67 / 5%);
}

.how-video {
  position: relative;
  flex: 0 0 240px;
  height: 180px;
  overflow: hidden;
  border-radius: 18px;
  background: #fbdce6;
  transform: translateZ(0);
}

.how-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  transform: scale(1.04);
}

.how-list > li > div:last-child {
  min-width: 0;
}

.how-list b {
  display: inline-flex;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 12px;
  background: linear-gradient(to right top, #e34f7b, #f895b3);
  color: #fff;
  font-size: 15px;
}

.how-list h3 {
  margin: 13px 0 0;
  color: #2d1926;
  font-family: "Roboto Local", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.how-list p {
  margin: 8px 0 0;
  color: rgb(45 25 38 / 70%);
  font-size: 15px;
  line-height: 1.65;
}

.how-list a,
.faq-panel a {
  color: #db2777;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reference-cta-row {
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.reference-cta-row .reference-cta {
  margin-top: 32px;
}

.faq-section {
  padding-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 34px;
}

.faq-item {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(94 46 67 / 5%);
  transform-origin: 50% 0;
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.faq-item:hover {
  box-shadow: 0 10px 24px rgb(94 46 67 / 9%);
  transform: scale(0.995);
}

.faq-item > button {
  display: flex;
  width: 100%;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border: 0;
  background: transparent;
  color: #2d1926;
  text-align: left;
}

.faq-item > button span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item > button i {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: #fef1f8;
  transition: background 220ms ease, transform 300ms ease;
}

.faq-item > button i::before,
.faq-item > button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq-item > button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open > button i {
  background: #fbdce6;
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 360ms ease, opacity 260ms ease;
}

.faq-panel p {
  margin: 0;
  padding: 0 76px 26px 28px;
  color: rgb(45 25 38 / 72%);
  font-size: 15px;
  line-height: 1.7;
  transform: translateY(-8px);
  transition: transform 300ms ease;
}

.faq-item.is-open .faq-panel {
  max-height: 220px;
  opacity: 1;
}

.faq-item.is-open .faq-panel p {
  transform: translateY(0);
}

.reviews-section {
  margin-bottom: 64px;
}

.reviews-lead {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgb(45 25 38 / 70%);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.reviews-carousel {
  position: relative;
  width: min(100%, 880px);
  margin-inline: auto;
  padding-inline: 38px;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  transform: translate3d(var(--review-shift, 0px), 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 0.72, 0.18, 1);
  will-change: transform;
}

.reviews-track figure {
  flex: 0 0 calc((100% - 12px) / 2);
  margin: 0;
  overflow: hidden;
  border: 1px solid #f3ccd5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 12px rgb(94 46 67 / 6%);
}

.reviews-track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.carousel-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid #f3ccd5;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 16px rgb(94 46 67 / 10%);
  color: #831843;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.carousel-button:hover:not(:disabled) {
  background: #fef1f8;
  transform: translateY(-50%) scale(1.06);
}

.carousel-button:disabled {
  cursor: default;
  opacity: 0.34;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.reference-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 156px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 24px 28px;
  background: #edced6;
  color: #664853;
}

.reference-footer nav {
  display: flex;
  max-width: 460px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 18px;
}

.reference-footer a {
  font-size: 11px;
  transition: color 180ms ease;
}

.reference-footer nav a:hover {
  color: #db2777;
}

.reference-footer p {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.reference-footer .footer-logo {
  display: inline-flex;
  font-size: 25px;
}

.reference-footer .footer-logo .wordmark-icon {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  font-size: 14px;
}

.reference-footer .footer-logo img {
  display: block;
  width: 120px;
  height: 20px;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

.motion-ready .reveal-left {
  transform: translateX(-28px);
}

.motion-ready .reveal-right {
  transform: translateX(28px);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate(0);
}

.how-list .reveal:nth-child(2),
.faq-list .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.how-list .reveal:nth-child(3),
.faq-list .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.faq-list .reveal:nth-child(4) {
  transition-delay: 210ms;
}

.faq-list .reveal:nth-child(5) {
  transition-delay: 280ms;
}

@keyframes landing-heart-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0) rotate(0);
  }
  14% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: translate3d(22px, 470px, 0) rotate(var(--landing-heart-rotation));
  }
}

@keyframes landing-shimmer {
  0%,
  16% {
    left: -55%;
  }
  55%,
  100% {
    left: 125%;
  }
}

@media (max-width: 920px) {
  .reference-card {
    padding-inline: 28px;
  }

  .reference-card h1 span {
    font-size: 26px;
  }

  .reference-card h1 em {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .landing-hearts {
    height: 340px;
  }

  .landing-hearts img {
    width: 58px;
    height: 58px;
    opacity: 0.3;
  }

  .landing-header {
    width: 100%;
    padding: 48px 16px 0;
  }

  .landing-header > a img {
    width: 200px;
    height: 32px;
  }

  .landing-progress {
    gap: 7px;
    margin-top: 23px;
  }

  .landing-progress li {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: #f1cbd5;
  }

  .landing-progress li::before {
    display: none;
  }

  .landing-progress span {
    display: none;
  }

  .landing-progress .is-current {
    background: #e76991;
  }

  .reference-hero {
    display: block;
    width: 100%;
    min-height: 797px;
    padding: 24px 16px 84px;
  }

  .reference-phone {
    display: none;
  }

  .reference-card {
    width: 100%;
    min-height: 376px;
    padding: 40px 28px 38px;
    border-radius: 40px;
    box-shadow: 0 18px 34px rgb(94 46 67 / 13%);
  }

  .reference-eyebrow,
  .social-proof {
    display: none;
  }

  .reference-card h1 {
    margin-top: 0;
  }

  .reference-card h1 span {
    max-width: 300px;
    font-size: 25px;
    line-height: 1.04;
  }

  .reference-card h1 em {
    margin-top: 21px;
    font-size: clamp(32px, 9vw, 38px);
  }

  .reference-card h2 {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.5;
  }

  .reference-card > .reference-cta {
    width: min(100%, 275px);
    min-width: 0;
    min-height: 66px;
    margin-top: 28px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .reference-section {
    width: 100%;
    margin-bottom: 32px;
    padding-inline: 16px;
  }

  .reference-heading {
    margin-bottom: 22px;
  }

  .reference-heading h2 {
    font-size: 26px;
  }

  .reference-heading p {
    font-size: 28px;
  }

  .how-list {
    gap: 18px;
    padding: 0;
  }

  .how-list > li {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .how-video {
    width: 100%;
    height: auto;
    flex-basis: auto;
    aspect-ratio: 4 / 3;
  }

  .how-list h3 {
    font-size: 19px;
  }

  .how-list p {
    font-size: 14px;
  }

  .reference-cta-row {
    padding: 0;
  }

  .reference-cta-row .reference-cta {
    width: 100%;
    min-width: 0;
  }

  .faq-list {
    padding: 0;
  }

  .faq-item > button {
    min-height: 80px;
    padding: 16px 18px 16px 21px;
  }

  .faq-item > button span {
    font-size: 14px;
  }

  .faq-item > button i {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .faq-panel p {
    padding: 0 62px 22px 21px;
    font-size: 13px;
  }

  .reviews-lead {
    font-size: 14px;
  }

  .reviews-carousel {
    padding-inline: 24px;
  }

  .reviews-track figure {
    flex-basis: 100%;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
  }

  .reference-footer {
    min-height: 240px;
    flex-direction: column;
    gap: 20px;
    padding: 30px 24px;
  }

  .reference-footer nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .landing-hearts {
    display: none;
  }
}

/* Original-style constructor screens. */
body[data-active-screen="builder"] {
  overflow-x: hidden;
  background: #fef1f8;
  color: #2d1926;
}

body[data-active-screen="builder"] > .meeting-header {
  display: none;
}

.builder-screen {
  position: relative;
  min-height: 100vh;
  padding: 48px 16px 88px;
  overflow: hidden;
  background: #fef1f8;
}

.builder-hearts {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 430px;
  overflow: hidden;
  pointer-events: none;
}

.builder-hearts img {
  position: absolute;
  top: -88px;
  width: 70px;
  height: 70px;
  object-fit: contain;
  opacity: 0.35;
  animation: landing-heart-fall 5.8s linear infinite;
}

.builder-hearts img:nth-child(1) {
  left: 14%;
  animation-delay: 0s;
  --landing-heart-rotation: 95deg;
}

.builder-hearts img:nth-child(2) {
  left: 38%;
  animation-delay: 1.3s;
  animation-duration: 6.3s;
  --landing-heart-rotation: -135deg;
}

.builder-hearts img:nth-child(3) {
  left: 62%;
  animation-delay: 2.6s;
  --landing-heart-rotation: 175deg;
}

.builder-hearts img:nth-child(4) {
  left: 85%;
  animation-delay: 3.9s;
  animation-duration: 6.3s;
  --landing-heart-rotation: -215deg;
}

.builder-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  margin-inline: auto;
}

.builder-logo {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  font-size: 37px;
}

.builder-logo .wordmark-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 19px;
}

.builder-logo img {
  display: block;
  width: 250px;
  height: 40px;
}

.builder-head {
  display: none;
}

.builder-head button {
  pointer-events: auto;
}

.builder-head > div {
  gap: 12px;
}

.back-button,
.builder-head > div button {
  color: #805e6b;
  font-size: 10px;
}

.builder-head > div span {
  color: #db2777;
  font-size: 10px;
}

.progress {
  width: min(100%, 700px);
  margin: 24px auto;
}

.progress::before {
  right: 24px;
  left: 24px;
  height: 8px;
  background: #f1c6d2;
}

.progress span {
  width: 48px;
  height: 48px;
  border: 0;
  background: #f1c6d2;
  color: #831843;
  font-size: 17px;
  font-weight: 500;
  box-shadow: none;
}

.progress span.is-active {
  background: #ed6990;
  box-shadow: 0 8px 22px rgb(219 39 119 / 17%);
  color: #fff;
  transform: none;
}

.builder-layout {
  grid-template-columns: 346px minmax(0, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.form-card {
  min-width: 0;
  min-height: 584px;
  padding: 48px;
  border: 0;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 22px 45px rgb(94 46 67 / 14%);
  backdrop-filter: none;
}

.form-step.is-active {
  animation: builder-card-in 420ms cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

.form-step > .step-kicker {
  display: table;
  margin: 0 auto 18px;
  padding: 9px 14px;
  border: 1px solid rgb(219 39 119 / 18%);
  border-radius: 999px;
  background: rgb(251 220 230 / 55%);
  color: #831843;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.form-step h1,
.form-step h2 {
  margin: 0;
  color: #2d1926;
  font-family: "Roboto Local", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: center;
}

.step-description {
  max-width: 500px;
  margin: 12px auto 28px;
  color: rgb(45 25 38 / 62%);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.field-pair,
.choice-inputs {
  gap: 12px;
}

[data-fixed-fields][hidden] {
  display: none !important;
}

.choice-editor-list {
  display: grid;
  gap: 13px;
  margin-top: 26px;
}

.choice-editor {
  overflow: hidden;
  border: 1px solid #efccd7;
  border-radius: 20px;
  background: #fff;
}

.choice-editor > header {
  display: flex;
  min-height: 68px;
  align-items: stretch;
}

.choice-editor > header > button {
  border: 0;
  background: transparent;
}

.choice-editor > header > [data-choice-toggle] {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  color: #db2777;
  text-align: left;
}

.choice-editor > header > [data-choice-toggle] > span:first-child {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
}

.choice-editor > header > [data-choice-toggle] > span:first-child::after {
  display: inline-block;
  margin-left: 7px;
  content: "›";
  transition: transform 180ms ease;
}

.choice-editor.is-open > header > [data-choice-toggle] > span:first-child::after {
  transform: rotate(90deg);
}

.choice-editor-summary {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #553e49;
}

.choice-editor-summary i {
  font-size: 24px;
  font-style: normal;
}

.choice-editor-summary b {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-remove-button {
  flex: 0 0 auto;
  padding: 0 18px;
  color: #a5486c;
  font-size: 10px;
}

.choice-remove-button:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.choice-editor-body {
  display: grid;
  gap: 15px;
  padding: 0 18px 20px;
  border-top: 1px solid #f6e8ed;
}

.choice-editor-body[hidden] {
  display: none;
}

.choice-editor-body fieldset {
  margin: 17px 0 0;
  padding: 0;
  border: 0;
}

.choice-editor-body legend {
  margin-bottom: 9px;
  color: #553e49;
  font-size: 11px;
  font-weight: 600;
}

.choice-editor-body .field {
  margin-top: 0;
}

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

.choice-icon-grid button {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 1px solid #ead9df;
  border-radius: 14px;
  background: #fff8fb;
  font-size: 24px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.choice-icon-grid button:hover {
  transform: translateY(-1px);
}

.choice-icon-grid button.is-selected {
  border-color: #eb6990;
  background: #fef1f8;
  box-shadow: 0 0 0 3px rgb(235 105 144 / 10%);
}

.add-choice-button {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  border: 1px solid #eb6990;
  border-radius: 16px;
  background: #fff;
  color: #db2777;
  font-size: 11px;
  font-weight: 700;
}

.add-choice-button[hidden] {
  display: none;
}

.template-variables {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -10px 0 20px;
  color: #8d6475;
  font-size: 10px;
}

.template-variables button {
  padding: 6px 9px;
  border: 1px solid #efccd7;
  border-radius: 999px;
  background: #fff8fb;
  color: #db2777;
  font: inherit;
  font-weight: 700;
}

.telegram-field-note {
  margin: 9px 0 0;
  color: #9b7d8a;
  font-size: 9px;
  line-height: 1.55;
}

.telegram-field-note a {
  color: #db2777;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field {
  gap: 8px;
  margin-top: 16px;
}

.field > span,
.segmented-field legend,
.design-fieldset legend {
  color: #553e49;
  font-size: 12px;
  font-weight: 600;
}

.field > span small {
  color: #a98a98;
  font-size: 10px;
}

.field input,
.field textarea {
  border-color: #ead9df;
  border-radius: 16px;
  background: #fff;
  color: #2d1926;
  font-size: 13px;
}

.field input {
  min-height: 52px;
  padding: 0 16px;
}

.field textarea {
  min-height: 82px;
  padding: 15px 16px;
}

.field input:focus,
.field textarea:focus {
  border-color: #eb6990;
  box-shadow: 0 0 0 4px rgb(235 105 144 / 10%);
}

.segmented-field,
.design-fieldset {
  margin-top: 24px;
}

.segmented-field > div {
  gap: 7px;
  margin-top: 10px;
  padding: 6px;
  border-radius: 18px;
  background: #f8eaf0;
}

.segmented-field label span {
  min-height: 44px;
  border-radius: 13px;
  color: #805e6b;
  font-size: 11px;
}

.segmented-field input:checked + span {
  color: #831843;
  box-shadow: 0 5px 16px rgb(94 46 67 / 8%);
}

.preset-grid {
  gap: 10px;
  margin-top: 12px;
}

.preset-grid label > span {
  min-height: 100px;
  border-color: #ead9df;
  border-radius: 17px;
}

.preset-grid img {
  height: 98px;
}

.preset-grid input:checked + span,
.theme-grid input:checked + span,
.compact-effect-grid input:checked + span,
.effect-list input:checked + span {
  border-color: #eb6990;
  background: #fef1f8;
  box-shadow: 0 0 0 3px rgb(235 105 144 / 10%);
}

.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.scenario-option > span {
  position: relative;
  min-height: 126px;
  border-color: #ead9df;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(94 46 67 / 5%);
}

.scenario-option > span::after {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #ead9df;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.scenario-option i {
  transition: transform 180ms ease;
}

.scenario-option > span:hover i {
  transform: scale(1.1) rotate(-4deg);
}

.scenario-option input:checked + span {
  border-color: #eb6990;
  background: #fef1f8;
  box-shadow: 0 12px 28px rgb(219 39 119 / 11%);
}

.scenario-option input:checked + span::after {
  border-color: #eb6990;
  background:
    #eb6990
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 2.8 2.8 6.2-6.1' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.theme-grid,
.compact-effect-grid,
.effect-list {
  gap: 9px;
  margin-top: 11px;
}

.theme-grid label > span,
.compact-effect-grid label > span,
.effect-list label > span {
  border-color: #ead9df;
  background: #fff;
}

.theme-grid label > span {
  min-height: 82px;
  border-radius: 16px;
}

.compact-effect-grid label > span {
  min-height: 77px;
  border-radius: 16px;
}

.compact-effect-grid i {
  color: #db2777;
}

.compact-effect-grid b,
.theme-grid b {
  color: #553e49;
  font-size: 9px;
}

.effect-list label > span {
  min-height: 88px;
  border-radius: 17px;
}

.effect-list b {
  font-size: 11px;
}

.effect-list small {
  font-size: 8px;
}

.step-actions {
  margin-top: 32px;
}

.next-button,
.generate-button {
  position: relative;
  isolation: isolate;
  min-width: 190px;
  min-height: 58px;
  gap: 10px;
  overflow: hidden;
  border-radius: 60px;
  background: linear-gradient(to right top, #e34f7b, #f895b3);
  box-shadow: 0 12px 28px rgb(219 39 119 / 18%);
  color: #fff;
  font-size: 13px;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.next-button::before,
.generate-button::before {
  position: absolute;
  z-index: -1;
  inset: -15% auto -15% -55%;
  width: 34%;
  background: linear-gradient(
    105deg,
    transparent,
    rgb(255 255 255 / 22%) 30%,
    rgb(255 255 255 / 72%) 50%,
    rgb(255 255 255 / 22%) 70%,
    transparent
  );
  content: "";
  filter: blur(2px);
  transform: skewX(-18deg);
  animation: landing-shimmer 3.1s ease-in-out infinite;
}

.next-button:hover,
.generate-button:hover {
  box-shadow: 0 17px 36px rgb(219 39 119 / 26%);
  transform: translateY(-2px);
}

.prev-button {
  min-height: 50px;
  padding: 0 20px;
  border-color: #ead9df;
  border-radius: 60px;
  background: #fff;
  color: #805e6b;
  font-size: 11px;
}

.summary-grid {
  gap: 10px;
  margin-top: 24px;
}

.summary-grid div {
  min-height: 76px;
  padding: 15px;
  border-color: #ead9df;
  border-radius: 17px;
  background: #fff;
}

.summary-grid span {
  color: #8b6d79;
  font-size: 9px;
}

.summary-grid b {
  color: #2d1926;
  font-size: 12px;
}

.save-note {
  padding: 14px 16px;
  border-radius: 15px;
  background: #fef1f8;
  color: #805e6b;
  font-size: 9px;
}

.live-preview {
  position: sticky;
  top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.preview-phone {
  width: 346px;
  height: 584px;
  padding: 8px;
  border-radius: 42px;
  background: #e8afbc;
  box-shadow: 0 24px 48px rgb(94 46 67 / 20%);
}

.preview-phone .preview-screen {
  border-radius: 34px;
  background: var(--theme-bg);
}

.live-preview > p {
  max-width: 300px;
  margin-top: 14px;
  color: #8b6d79;
  font-size: 8px;
}

.compact-scenario-fieldset {
  margin: 30px 0 8px;
  padding: 0;
  border: 0;
}

.compact-scenario-fieldset > legend {
  margin-bottom: 10px;
  color: #553e49;
  font-size: 12px;
  font-weight: 600;
}

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

.scenario-compact .scenario-option > span {
  min-height: 52px;
  flex-direction: row;
  gap: 7px;
  padding: 9px 26px 9px 10px;
  border-radius: 16px;
  box-shadow: none;
}

.scenario-compact .scenario-option i {
  margin: 0;
  font-size: 18px;
}

.scenario-compact .scenario-option b {
  font-size: 10px;
}

.scenario-compact .scenario-option > span::after {
  top: 50%;
  right: 8px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
}

.screen-editor-card {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid #f1c7d3;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(94 46 67 / 5%);
}

.screen-editor-card > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid #f4e1e7;
}

.screen-editor-card > header > span {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fce8f0;
  color: #d92c6c;
  font-size: 9px;
  font-weight: 700;
}

.screen-editor-card > header > div {
  display: grid;
  gap: 3px;
}

.screen-editor-card > header b {
  color: #2d1926;
  font-size: 13px;
}

.screen-editor-card > header small {
  color: #9b7d8a;
  font-size: 8px;
}

.screen-editor-card .design-fieldset {
  margin-top: 18px;
}

.screen-editor-card .preset-grid label > span {
  min-height: 82px;
}

.screen-editor-card .preset-grid img {
  height: 80px;
}

.button-effect-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.button-effect-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.button-effect-fieldset > legend {
  margin-bottom: 9px;
  color: #553e49;
  font-size: 11px;
  font-weight: 600;
}

.button-effect-options {
  display: grid;
  gap: 7px;
}

.button-effect-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.button-effect-options label > span {
  display: grid;
  min-height: 64px;
  align-content: center;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid #ead9df;
  border-radius: 15px;
  background: #fff8fb;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button-effect-options label > span:hover {
  transform: translateY(-1px);
}

.button-effect-options b {
  color: #553e49;
  font-size: 10px;
}

.button-effect-options small {
  color: #a38491;
  font-size: 8px;
  line-height: 1.35;
}

.button-effect-options input:checked + span {
  border-color: #eb6990;
  background: #fef1f8;
  box-shadow: 0 0 0 3px rgb(235 105 144 / 9%);
}

.button-behavior-demo {
  position: relative;
  display: flex;
  min-height: 172px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 11px;
  padding: 15px;
  overflow: hidden;
  border-radius: 19px;
  background: #fff5f8;
}

.button-behavior-demo > small {
  min-height: 32px;
  color: #a38491;
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.button-behavior-demo > button {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94c7b, #f07fa0);
  box-shadow: 0 10px 22px rgb(219 39 119 / 14%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transform-origin: center;
}

.button-behavior-demo--no > button {
  background: #d7d3e2;
  box-shadow: none;
  color: #655f72;
}

.interaction-hint {
  margin: 13px 0 0;
  color: #a38491;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.preview-tabs {
  display: flex;
  align-self: center;
  gap: 8px;
  margin-bottom: 11px;
}

.preview-tabs[hidden] {
  display: none;
}

.preview-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #ed6990;
  border-radius: 999px;
  background: transparent;
  color: #d92c6c;
  font-size: 9px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.preview-tabs button.is-active {
  background: #ed6990;
  box-shadow: 0 7px 17px rgb(219 39 119 / 18%);
  color: #fff;
}

.preview-tabs button:focus-visible {
  outline: 3px solid rgb(235 105 144 / 18%);
  outline-offset: 2px;
}

.preview-screen {
  position: relative;
}

.preview-screen[data-preview-mode="schedule"] .preview-image {
  width: 112px;
  height: 88px;
  margin-bottom: 7px;
}

.preview-screen[data-preview-mode="schedule"] h3 {
  max-width: 250px;
  margin: 8px 0 4px;
  font-size: 18px;
}

.preview-screen[data-preview-mode="choice"] {
  justify-content: flex-start;
  padding-top: 92px;
}

.preview-screen[data-preview-mode="choice"] h3 {
  max-width: 260px;
  margin: 8px 0 5px;
  font-size: 19px;
}

.preview-screen[data-preview-mode="choice"] > p {
  max-width: 260px;
}

.preview-image[hidden],
.preview-choice-grid[hidden] {
  display: none !important;
}

.preview-choice-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.preview-choice-grid button {
  display: flex;
  min-height: 80px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px 5px;
  border: 1px solid color-mix(in srgb, var(--theme-contrast) 24%, transparent);
  border-radius: 16px;
  background: var(--preview-secondary-bg);
  color: var(--preview-ink);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.preview-choice-grid button:hover {
  transform: translateY(-1px);
}

.preview-choice-grid button.is-selected {
  border-color: var(--theme-contrast);
  background: color-mix(in srgb, var(--theme-contrast) 11%, var(--preview-secondary-bg));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-contrast) 10%, transparent);
}

.preview-choice-grid span {
  font-size: 27px;
  line-height: 1;
}

.preview-choice-grid b {
  max-width: 100%;
  overflow: hidden;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.preview-screen[data-preview-mode="final"] {
  justify-content: center;
  padding: 70px 18px 28px;
}

.preview-final-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  place-items: center;
  padding: 34px 20px 30px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 28px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 18px 34px rgb(82 42 61 / 16%);
  color: #2d1926;
}

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

.preview-final-icon {
  display: block;
  margin-bottom: 17px;
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 10px 14px rgb(54 28 42 / 12%));
}

.preview-final-card h3 {
  margin: 0 0 7px;
  color: #db2777;
  font-size: 19px;
  font-weight: 700;
}

.preview-final-card p {
  max-width: 250px;
  margin: 0;
  color: #8b536c;
  font-size: 10px;
  line-height: 1.45;
}

.preview-actions button {
  min-width: 0;
  padding: 11px 5px;
  border: 0;
  border-radius: 999px;
  background: var(--theme-contrast);
  color: white;
  font-size: 8px;
  font-weight: 600;
  transition: opacity 180ms ease, transform 220ms ease;
}

.preview-actions button:last-child {
  border: 1px solid color-mix(in srgb, var(--theme-contrast) 28%, transparent);
  background: var(--preview-secondary-bg, rgb(255 255 255 / 72%));
  color: var(--preview-secondary-text, var(--muted));
}

.preview-confirm-button {
  width: 100%;
  min-height: 42px;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--theme-contrast);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.preview-confirm-button[hidden],
.preview-actions[hidden],
.preview-schedule[hidden] {
  display: none;
}

.preview-actions button.is-pressed,
.preview-confirm-button.is-pressed,
.preview-schedule > button.is-pressed,
.button-behavior-demo > button.is-pressed {
  animation: preview-button-press 420ms ease;
}

.preview-schedule {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-top: 14px;
}

.preview-schedule-fields {
  display: grid;
  gap: 7px;
}

.preview-schedule-fields label {
  display: grid;
  gap: 4px;
  text-align: left;
}

.preview-schedule-fields label > span {
  color: var(--muted);
  font-size: 8px;
}

.preview-schedule-fields input {
  width: 100%;
  min-height: 37px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--theme-contrast) 25%, transparent);
  border-radius: 12px;
  background: var(--preview-secondary-bg);
  color: var(--preview-ink);
  font: inherit;
  font-size: 9px;
  color-scheme: light;
}

.preview-schedule-fields input:disabled {
  opacity: 1;
}

.preview-schedule > button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--theme-contrast);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--theme-contrast) 22%, transparent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  transition: opacity 180ms ease;
}

.preview-schedule > button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button-self-explode {
  animation: button-self-explode 820ms cubic-bezier(0.36, 0.08, 0.24, 1) forwards;
}

.button-self-confetti {
  animation: button-self-confetti 760ms cubic-bezier(0.28, 0.74, 0.22, 1) forwards;
}

.button-burst-piece {
  position: absolute;
  z-index: 12;
  color: #ef3f76;
  font-size: var(--burst-size);
  font-style: normal;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
  text-shadow: 0 2px 6px rgb(90 34 57 / 10%);
  transform: translate(-50%, -50%) scale(0.35);
  transition:
    transform 720ms cubic-bezier(0.16, 0.82, 0.24, 1) var(--burst-delay),
    opacity 720ms ease var(--burst-delay);
}

.button-burst-piece[data-tone="1"] {
  color: #ffd166;
}

.button-burst-piece[data-tone="2"] {
  color: #9a8cff;
}

.button-burst-piece.is-flying {
  opacity: 0;
  transform:
    translate(
      calc(-50% + var(--burst-x)),
      calc(-50% + var(--burst-y))
    )
    rotate(var(--burst-rotate))
    scale(1.15);
}

.button-kiss-overlay {
  position: absolute;
  z-index: 8;
  width: 72px;
  height: 72px;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: preview-kiss-pop 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes preview-button-press {
  50% {
    transform: scale(0.9);
  }
}

@keyframes preview-kiss-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(4deg);
  }
}

@keyframes button-self-explode {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  12% {
    transform: scale(1.03) rotate(-3deg);
  }
  24% {
    transform: scale(0.98) rotate(3deg);
  }
  36% {
    transform: scale(1.05) rotate(-4deg);
  }
  48% {
    transform: scale(1.09) rotate(4deg);
  }
  62% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.13) rotate(0);
  }
  100% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(0.08) rotate(16deg);
  }
}

@keyframes button-self-confetti {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  28% {
    transform: scale(0.9);
  }
  52% {
    opacity: 1;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    filter: blur(3px);
    transform: scale(0.12);
  }
}

@keyframes builder-card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 800px) {
  .builder-screen {
    padding: 48px 16px 70px;
  }

  .builder-logo {
    font-size: 31px;
  }

  .builder-logo .wordmark-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 17px;
  }

  .builder-head {
    position: static;
    margin-top: 18px;
  }

  .progress {
    gap: 7px;
    margin: 20px auto 24px;
  }

  .progress::before {
    display: none;
  }

  .progress span {
    display: block;
    width: auto;
    height: 4px;
    flex: 1 1 0;
    border-radius: 999px;
    font-size: 0;
  }

  .progress span::after {
    display: none;
  }

  .builder-layout {
    display: block;
    margin-top: 0;
  }

  .builder-screen .live-preview {
    display: none;
  }

  .form-card {
    min-height: 0;
    padding: 38px 24px 30px;
    border-radius: 40px;
  }
}

@media (max-width: 520px) {
  .builder-head {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .builder-head > div {
    align-items: center;
    flex-direction: row;
  }

  .form-step h1,
  .form-step h2 {
    font-size: 25px;
  }

  .scenario-grid,
  .scenario-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-compact .scenario-option > span {
    min-height: 50px;
  }

  .step-description {
    font-size: 12px;
  }

  .field-pair,
  .choice-inputs,
  .button-effect-pair {
    grid-template-columns: 1fr;
  }

  .screen-editor-card {
    padding: 18px 15px;
    border-radius: 21px;
  }

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

  .choice-editor > header > [data-choice-toggle] {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .preset-grid,
  .theme-grid,
  .compact-effect-grid,
  .compact-effect-grid--five {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .step-actions .next-button,
  .step-actions .generate-button,
  .prev-button {
    width: 100%;
  }

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

  .summary-grid .summary-address {
    grid-column: auto;
  }
}
