@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700;1,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ink: #070b12;
  --ink-soft: #0c121d;
  --panel: rgba(14, 21, 33, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --muted: #8791a2;
  --white: #f7f9fb;
  --accent: #45a9dc;
  --accent-bright: #79caf1;
  --blue: #0b5da8;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.app-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 18, 31, 0.35), transparent 35%),
    radial-gradient(circle at 50% 110%, rgba(39, 68, 104, 0.2), transparent 48%),
    var(--ink);
}

.orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(95px);
  opacity: 0.14;
}

.orb-one {
  top: -140px;
  right: -120px;
  background: var(--accent);
}

.orb-two {
  bottom: -160px;
  left: -140px;
  background: #1b64c4;
}

.grid-glow {
  position: absolute;
  right: -90px;
  bottom: -10vh;
  width: 340px;
  height: 58vh;
  opacity: 0.08;
  transform: perspective(400px) rotateY(-20deg) rotateZ(-10deg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 32%, transparent);
}

.mobile-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
}

.brand-header,
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + var(--safe-top)) 22px 12px;
}

.brand-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-identity > span,
.editor-brand > span {
  padding-left: 8px;
  border-left: 1px solid rgba(69, 169, 220, 0.38);
  color: #9caec0;
  font: 700 8px/1.25 "Inter", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.event-pill,
.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #aeb7c5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.event-pill i,
.success-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(69, 169, 220, 0.8);
}

.home-shell {
  display: flex;
  flex-direction: column;
  padding-bottom: calc(16px + var(--safe-bottom));
}

.hero {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  padding: 28px 24px 20px;
}

.hero-mark {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -15px;
  display: flex;
  align-items: center;
  color: transparent;
  font: italic 800 270px/1 "Barlow Condensed", Impact, sans-serif;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  user-select: none;
}

.hero-mark-line {
  position: absolute;
  right: 34px;
  bottom: 52px;
  width: 138px;
  height: 4px;
  transform: skewX(-32deg);
  background: linear-gradient(90deg, transparent, var(--accent));
  box-shadow: 0 0 24px rgba(69, 169, 220, 0.4);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  color: var(--accent);
  font: 700 11px/1 "Inter", sans-serif;
  letter-spacing: 0.2em;
}

.eyebrow::after {
  width: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--accent), transparent);
}

.eyebrow span {
  color: rgba(255, 255, 255, 0.34);
}

.hero h1,
.result-copy h1,
.sheet-card h2,
.editor-header h1,
.error-shell h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(68px, 21vw, 100px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.73;
  letter-spacing: -0.045em;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  color: transparent;
  font-style: inherit;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.85);
}

.hero h1 small {
  display: block;
  margin-top: 19px;
  padding-left: 5px;
  color: #7fc5e9;
  font-family: "Inter", sans-serif;
  font-size: clamp(11px, 3.6vw, 15px);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.38em;
  text-shadow: none;
  -webkit-text-stroke: 0;
  white-space: nowrap;
}

.hero-description {
  max-width: 360px;
  margin: 28px 0 30px;
  color: #a1aab8;
  font-size: 14px;
  line-height: 1.75;
}

.primary-button,
.secondary-button,
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.105em;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease, opacity 180ms ease;
}

.primary-button {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 15px 45px rgba(22, 127, 181, 0.22);
}

.primary-button::before {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-110%) skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: transform 600ms ease;
}

.primary-button:hover::before {
  transform: translateX(110%) skewX(-22deg);
}

.primary-button:active,
.secondary-button:active,
.share-button:active,
.picker-option:active {
  transform: scale(0.98);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.share-button:focus-visible,
.icon-button:focus-visible,
.new-photo-link:focus-visible,
.picker-option:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(0.5);
}

.hero-button {
  width: 100%;
  justify-content: space-between;
  padding: 0 20px 0 22px;
}

.hero-button svg,
.create-button svg {
  width: 23px;
  height: 23px;
  transition: transform 180ms ease;
}

.hero-button:hover svg,
.create-button:hover svg {
  transform: translateX(3px);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 4px 0;
  color: #6f7888;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.privacy-note svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

.series-family {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 30px;
  padding: 0 24px;
  opacity: 0.66;
}

.series-family img:first-child {
  width: 108px;
  height: auto;
}

.series-family img:last-child {
  width: 118px;
  height: auto;
}

.series-family img {
  display: block;
  max-height: 27px;
  object-fit: contain;
}

.series-family i {
  width: 1px;
  height: 19px;
  background: rgba(255, 255, 255, 0.14);
}

.step-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 25px 2px;
  color: #505968;
  font: 700 8px/1 "Inter", sans-serif;
  letter-spacing: 0.14em;
}

.step-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.step-strip b {
  font-size: 7px;
  font-weight: 700;
}

.step-strip span.active {
  color: var(--accent);
}

.step-strip i {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -14px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 102, 102, 0.25);
  border-radius: 10px;
  background: rgba(145, 34, 34, 0.15);
  color: #ffb6b6;
  font-size: 11px;
  line-height: 1.45;
}

.alert span {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 102, 102, 0.16);
  font-weight: 800;
}

.alert p {
  margin: 0;
}

.picker-sheet {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.picker-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 3, 8, 0.76);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 260ms ease;
}

.picker-sheet.is-open .sheet-backdrop {
  opacity: 1;
}

.sheet-card {
  position: relative;
  width: min(100%, 520px);
  padding: 29px 22px calc(23px + var(--safe-bottom));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  background:
    linear-gradient(145deg, rgba(27, 39, 57, 0.55), transparent 40%),
    #0c121d;
  box-shadow: 0 -20px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(105%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.picker-sheet.is-open .sheet-card {
  transform: translateY(0);
}

.sheet-handle {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 37px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.sheet-close {
  position: absolute;
  top: 20px;
  right: 19px;
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.sheet-close svg {
  width: 16px;
  height: 16px;
}

.sheet-card h2 {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sheet-description {
  max-width: 330px;
  margin: 0 0 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.picker-options {
  display: grid;
  gap: 10px;
}

.picker-option {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 10px 15px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.picker-option:hover {
  border-color: rgba(69, 169, 220, 0.35);
  background: rgba(69, 169, 220, 0.045);
}

.picker-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.option-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 13px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #081007;
}

.option-icon svg {
  width: 23px;
  height: 23px;
}

.picker-option > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.picker-option b {
  margin-bottom: 3px;
  font: 700 17px/1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.picker-option small {
  color: #778191;
  font-size: 10px;
}

.option-arrow {
  width: 17px;
  height: 17px;
  color: #657080;
}

.sheet-limit {
  margin: 15px 0 0;
  color: #576171;
  font-size: 9px;
  text-align: center;
  letter-spacing: 0.05em;
}

.sheet-card.compact h2 {
  margin-bottom: 18px;
}

.loading-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  visibility: hidden;
  padding: 24px;
  background: rgba(5, 9, 15, 0.96);
  opacity: 0;
  text-align: center;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.loading-screen.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.loading-screen strong {
  margin-top: 22px;
  font: italic 800 24px/1.1 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.loading-screen p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.loader-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.loader-ring::before,
.loader-ring span {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.loader-ring::before {
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  animation: spin 850ms linear infinite;
}

.loader-ring span {
  inset: 19px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(69, 169, 220, 0.7);
  animation: pulse 1.2s ease-in-out infinite;
}

.loader-ring.small {
  width: 42px;
  height: 42px;
}

.loader-ring.small span {
  inset: 13px;
}

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

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Editor */
.editor-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 620px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
}

.editor-header {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 16px 10px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #d7dce3;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.mini-label {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.editor-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.01em;
}

.editor-logo {
  width: 66px;
  height: auto;
  opacity: 0.82;
}

.editor-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.editor-brand > span {
  max-width: 58px;
  padding-left: 7px;
  font-size: 6px;
}

.editor-workspace {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 0;
  padding: 3px 16px 5px;
}

.story-stage {
  position: relative;
  width: min(calc(100vw - 32px), 330px);
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: #070b12;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(69, 169, 220, 0.06);
  touch-action: none;
  user-select: none;
}

.story-stage canvas,
.frame-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.frame-overlay {
  z-index: 2;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.stage-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  background: #090e17;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.stage-loading.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.gesture-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 27px;
  color: #778191;
  font-size: 9px;
  transition: opacity 250ms ease;
}

.gesture-hint.is-hidden {
  opacity: 0.28;
}

.gesture-hint svg {
  width: 13px;
  height: 13px;
}

.editor-controls {
  padding: 9px 16px calc(12px + var(--safe-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(8, 13, 22, 0.92);
  backdrop-filter: blur(18px);
}

.zoom-row {
  display: grid;
  grid-template-columns: 19px 1fr 19px auto;
  align-items: center;
  gap: 10px;
  min-height: 29px;
  margin-bottom: 9px;
}

.zoom-row > svg {
  width: 17px;
  height: 17px;
  color: #657080;
}

.zoom-row input {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  outline: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.reset-button {
  padding: 6px 0 6px 7px;
  border: 0;
  background: transparent;
  color: #9ca5b3;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.editor-actions {
  display: grid;
  grid-template-columns: 0.76fr 1.45fr;
  gap: 9px;
}

.editor-actions .primary-button,
.editor-actions .secondary-button {
  min-height: 51px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ccd2db;
}

.create-button {
  justify-content: space-between;
  padding: 0 15px 0 18px;
}

.editor-error {
  min-height: 0;
  margin: 7px 0 -2px;
  color: #ff9d9d;
  font-size: 10px;
  text-align: center;
}

.editor-error:empty {
  display: none;
}

/* Result */
.result-shell {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: calc(24px + var(--safe-bottom));
}

.result-header {
  width: 100%;
}

.result-logo {
  width: 94px;
  height: auto;
}

.result-brand > span {
  font-size: 7px;
}

.success-pill {
  border-color: rgba(69, 169, 220, 0.2);
  color: #b7c58f;
}

.result-copy {
  width: 100%;
  padding: 17px 23px 14px;
}

.result-copy h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(48px, 15vw, 68px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.result-copy h1 span {
  font-family: system-ui, sans-serif;
  font-size: 0.55em;
  font-style: normal;
  filter: drop-shadow(0 0 14px rgba(255, 130, 30, 0.28));
}

.result-copy > p:last-child {
  margin: 9px 0 0;
  color: #8f99a8;
  font-size: 12px;
}

.result-preview {
  position: relative;
  width: min(56vw, 265px);
  margin: 2px auto 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  aspect-ratio: 9 / 16;
  background: #0c121d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48), 0 0 0 5px rgba(255, 255, 255, 0.025);
}

.result-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-shine {
  position: absolute;
  top: -20%;
  left: -75%;
  width: 35%;
  height: 140%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shine 2.4s 0.45s ease-out 1;
}

@keyframes shine {
  to { left: 145%; }
}

.result-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 9px;
  width: 100%;
  padding: 0 22px;
}

.download-button,
.share-button {
  min-height: 53px;
}

.download-button {
  gap: 9px;
}

.download-button svg,
.share-button svg,
.new-photo-link svg {
  width: 19px;
  height: 19px;
}

.share-button {
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #f0f3f6;
}

.new-photo-link {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  color: #858f9e;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.new-photo-link svg {
  width: 15px;
  height: 15px;
}

.share-message {
  display: none;
  margin: 4px 24px 0;
  padding: 9px 12px;
  border: 1px solid rgba(69, 169, 220, 0.18);
  border-radius: 9px;
  background: rgba(69, 169, 220, 0.06);
  color: #afba9c;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.share-message.is-visible {
  display: block;
}

/* Error */
.error-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: calc(30px + var(--safe-top)) 24px calc(30px + var(--safe-bottom));
  text-align: center;
}

.error-code {
  margin-top: 52px;
  color: transparent;
  font: italic 800 140px/0.8 "Barlow Condensed", sans-serif;
  -webkit-text-stroke: 1px rgba(69, 169, 220, 0.65);
}

.error-shell h1 {
  margin: 30px 0 10px;
  font-size: 32px;
  font-style: italic;
}

.error-shell p {
  max-width: 330px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.error-shell .primary-button {
  width: 100%;
  max-width: 330px;
}

@media (min-width: 700px) {
  .mobile-shell,
  .editor-shell {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
  }
}

@media (max-height: 720px) {
  .brand-header {
    padding-top: calc(13px + var(--safe-top));
  }

  .brand-logo {
    width: 94px;
  }

  .hero {
    min-height: 440px;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(61px, 18vw, 78px);
  }

  .hero-description {
    margin: 22px 0;
    line-height: 1.55;
  }

  .result-copy {
    padding-top: 7px;
    padding-bottom: 9px;
  }

  .result-preview {
    width: min(45vw, 210px);
    margin-bottom: 12px;
  }
}

@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;
  }
}
