/* Self hosted studio fonts, same files as the rest of ookiipup.com */
@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces-Variable.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/fonts/Outfit-Variable.woff2') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto Mono'; src: url('/fonts/RobotoMono-Variable.woff2') format('woff2-variations'); font-weight: 100 700; font-style: normal; font-display: swap; }

/* Layout: full bleed neon scene per screen, dog on one side, one frosted panel on the other. */
:root {
  --ink: #0b0a2e;
  --ink-2: #14104a;
  --panel: rgba(18, 14, 58, 0.62);
  --panel-line: rgba(176, 150, 255, 0.28);
  --field: rgba(9, 8, 36, 0.72);
  --text: #f4f0ff;
  --muted: #c3bce6;
  --pink: #f15ad8;
  --lilac: #b98bff;
  --btn-text: #1a0f3d;
  --focus: #ffb86b;
  --warn: #ffb4c8;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "Roboto Mono", Consolas, "Courier New", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--text); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.55; min-height: 100vh; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--text); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 18px 26px;
  background: linear-gradient(180deg, rgba(11, 10, 46, 0.78) 0%, rgba(11, 10, 46, 0) 100%);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 54px; width: auto; filter: drop-shadow(0 0 10px rgba(241, 90, 216, 0.4)); }
.brand span { font-weight: 800; font-style: italic; font-size: 26px; line-height: 0.95; letter-spacing: -0.01em; text-shadow: 0 0 14px rgba(120, 90, 255, 0.6); }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 17px; font-weight: 600; }
.nav a:not(.btn) { text-decoration: none; color: var(--text); text-shadow: 0 1px 8px rgba(5, 3, 30, 0.9); }
.nav a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 48px; padding: 0 22px; font-size: 16px; font-weight: 800; color: var(--btn-text); box-shadow: 0 6px 24px rgba(241, 90, 216, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border: 0; border-radius: 10px; cursor: pointer;
  background: linear-gradient(100deg, var(--pink), var(--lilac));
  color: var(--btn-text); font: 700 16px/1 var(--font-body); text-decoration: none;
  box-shadow: 0 8px 28px rgba(241, 90, 216, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: var(--btn-text); transform: translateY(-1px); box-shadow: 0 10px 34px rgba(241, 90, 216, 0.5); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.wide { width: 100%; min-height: 56px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--panel-line); box-shadow: none; }
.btn.ghost:hover { color: #fff; border-color: var(--lilac); }
.btn svg { width: 18px; height: 18px; flex: none; }
/* the main calls to action breathe with a soft neon glow */
.btn.glow { position: relative; animation: btn-glow 2.6s ease-in-out infinite; }
.btn.glow::after {
  content: ""; position: absolute; inset: -3px; border-radius: 13px; pointer-events: none;
  border: 2px solid rgba(255, 170, 240, 0.85); opacity: 0;
  animation: btn-ring 2.6s ease-out infinite;
}
.btn.glow:hover { animation-play-state: paused; }
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 6px 22px rgba(241, 90, 216, 0.4), 0 0 0 0 rgba(241, 90, 216, 0); filter: brightness(1); }
  50% { box-shadow: 0 8px 34px rgba(241, 90, 216, 0.75), 0 0 26px 4px rgba(185, 139, 255, 0.45); filter: brightness(1.08); }
}
@keyframes btn-ring {
  0% { opacity: 0.8; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.12, 1.35); }
}
.linkish { background: none; border: 0; padding: 6px 2px; color: var(--muted); font: inherit; font-size: 14.5px; text-decoration: underline; cursor: pointer; }
.linkish:hover { color: var(--text); }

/* scenes */
.scene { position: relative; min-height: 100vh; display: flex; overflow: hidden; isolation: isolate; }
.scene > picture img, .scene > img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene.dog-right::after { background: linear-gradient(90deg, rgba(11, 10, 46, 0.86) 0%, rgba(11, 10, 46, 0.55) 45%, rgba(11, 10, 46, 0) 70%); }
.scene.dog-left::after { background: linear-gradient(270deg, rgba(11, 10, 46, 0.86) 0%, rgba(11, 10, 46, 0.55) 45%, rgba(11, 10, 46, 0) 70%); }
.scene.dog-right picture img { object-position: 78% center; }
.scene.dog-left picture img { object-position: 18% center; }

.stage {
  width: 100%; max-width: 1760px; margin: 0 auto; display: flex; align-items: center;
  padding-block: 120px 64px;
  padding-left: max(20px, 5vw, env(safe-area-inset-left, 0px));
  padding-right: max(20px, 5vw, env(safe-area-inset-right, 0px));
}
.dog-left .stage { justify-content: flex-end; }

.panel {
  width: 100%; max-width: 560px; min-width: 0;
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 22px;
  padding: 36px; backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(5, 3, 30, 0.55);
  display: flex; flex-direction: column; gap: 20px;
}
.panel.center { text-align: center; align-items: center; }
.panel .icon { width: 74px; height: auto; filter: drop-shadow(0 0 16px rgba(185, 139, 255, 0.55)); }

h1, h2 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; }
h3 { margin: 0; font-size: 17px; font-weight: 700; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 18px; max-width: 34em; }
.sub { color: var(--muted); }

/* home hero */
.hero-copy { max-width: 680px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.gone { display: inline-block; height: 1.2em; width: auto; vertical-align: -0.526em; margin-left: 0.04em; filter: drop-shadow(0 0 18px rgba(241, 90, 216, 0.45)); }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.steps li {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 16px;
  padding: 18px 14px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--lilac)); color: var(--btn-text);
  font-weight: 800; font-size: 14px;
}
.steps p { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.steps img, .steps svg { width: 64px; height: 64px; object-fit: contain; margin-top: 6px; filter: drop-shadow(0 0 12px rgba(185, 139, 255, 0.5)); }

/* home hero: the frame keeps the photo's own 16:9 shape on wide screens so the whole puppy shows */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(560px, 56.25vw, 100vh);
}
.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 10, 46, 0.85) 0%, rgba(11, 10, 46, 0.5) 38%, rgba(11, 10, 46, 0) 60%),
              linear-gradient(0deg, rgba(11, 10, 46, 0.9) 0%, rgba(11, 10, 46, 0) 22%);
}
.hero-inner {
  height: 100%; display: flex; align-items: center;
  padding-block: 96px 120px;
  padding-left: max(20px, 6vw, env(safe-area-inset-left, 0px));
  padding-right: max(20px, 6vw, env(safe-area-inset-right, 0px));
}
.steps-band {
  position: relative; z-index: 2; margin-top: -92px; padding-bottom: 8px;
  padding-left: max(20px, 6vw, env(safe-area-inset-left, 0px));
  padding-right: max(20px, 6vw, env(safe-area-inset-right, 0px));
}
.steps-band .steps { margin: 0; }
/* large screens: hero fills the screen and the five steps sit inside it, under the headline */
@media (min-width: 1200px) {
  .hero { height: max(660px, 100vh); height: max(660px, 100svh); }
  .hero-inner { align-items: flex-start; padding-top: max(120px, 15vh); padding-bottom: 230px; }
  .steps-band { margin-top: -214px; padding-bottom: 36px; }
  .steps-band .steps { max-width: min(57vw, 1120px); gap: 10px; }
  .steps-band .steps li { padding: 12px 10px 14px; gap: 5px; }
  .steps-band .steps h3 { font-size: 15px; }
  .steps-band .steps img, .steps-band .steps svg { width: 40px; height: 40px; margin-top: 2px; }
  .steps-band .steps p { font-size: 12.5px; }
}
@media (min-width: 1500px) {
  .hero-inner { padding-top: max(150px, 18vh); padding-bottom: 260px; }
  .steps-band { margin-top: -240px; padding-bottom: 44px; }
  .steps-band .steps li { padding: 14px 12px 16px; }
  .steps-band .steps h3 { font-size: 17px; }
  .steps-band .steps img, .steps-band .steps svg { width: 48px; height: 48px; }
  .steps-band .steps p { font-size: 13.5px; }
  .hero h1 { font-size: clamp(78px, 5vw, 124px); }
  .hero .lede { font-size: clamp(18px, 1vw, 22px); }
  .hero-copy { max-width: min(46vw, 900px); }
}

/* moving light laid over the baked ribbons */
.ribbons {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none;
  mix-blend-mode: screen;
}
.hero-art .ribbons { z-index: 0; }
.hero-art::after { z-index: 1; }

/* info sections below the hero */
.info {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding-block: 72px 80px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.info-inner { max-width: 1040px; margin: 0 auto; display: grid; gap: 64px; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.why div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.why img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(185, 139, 255, 0.5)); }
.why p { max-width: 32ch; }
.why p, .faq p { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--panel-line); border-radius: 14px; padding: 4px 20px; background: rgba(20, 16, 70, 0.45); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lilac); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 16px; max-width: 62ch; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; font-weight: 700; color: var(--lilac); }

/* forms */
label, .label { font-weight: 700; font-size: 15px; }
.field {
  width: 100%; background: var(--field); color: var(--text);
  border: 1.5px solid var(--panel-line); border-radius: 12px; padding: 14px 16px;
  font: 16px/1.5 var(--font-body);
}
.field::placeholder { color: #8f88b8; }
.field:focus { border-color: var(--lilac); outline: none; box-shadow: 0 0 0 3px rgba(185, 139, 255, 0.3); }
textarea.field { min-height: 170px; resize: vertical; }
.count { align-self: flex-end; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -10px; }
.count.over { color: var(--warn); }
.stack { display: flex; flex-direction: column; gap: 8px; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt {
  border: 1px solid var(--panel-line); border-radius: 14px; background: rgba(9, 8, 36, 0.5);
  padding: 14px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; align-items: start;
}
.opt img { width: 34px; height: 34px; object-fit: contain; grid-row: span 2; }
.opt .hint { font-size: 13px; color: var(--muted); line-height: 1.4; grid-column: 2; }
.opt select, .opt input { grid-column: 1 / -1; margin-top: 8px; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c3bce6' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row .field { flex: 999 1 240px; min-width: 0; }
.row .btn { flex: 1 0 auto; }
.mono { font-family: var(--font-mono); font-size: 14.5px; }

.note-box {
  width: 100%; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere;
  background: var(--field); border: 1.5px solid var(--panel-line); border-radius: 12px;
  padding: 18px; min-height: 120px; max-height: 50vh; overflow: auto;
}
.callout {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left;
  border: 1px solid var(--panel-line); border-radius: 12px; padding: 14px 16px; background: rgba(9, 8, 36, 0.5);
  font-size: 14.5px; color: var(--muted);
}
.callout svg { width: 22px; height: 22px; flex: none; color: var(--lilac); margin-top: 1px; }
.error { color: var(--warn); font-size: 14.5px; font-weight: 600; }
.status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.back { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: 15px; background: none; border: 0; cursor: pointer; padding: 4px 0; font-family: inherit; }
.back:hover { color: var(--text); }
.back svg { width: 18px; height: 18px; }
.ring { width: 76px; height: 76px; }

.preview-tag {
  border: 1.5px dashed var(--focus); color: var(--focus); border-radius: 12px; padding: 12px 14px;
  font-size: 14px; display: flex; flex-direction: column; gap: 10px; width: 100%; text-align: left;
}

footer.foot {
  background: var(--ink-2); color: var(--muted); font-size: 13.5px;
  padding-block: 22px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.foot-inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot a { color: var(--muted); }

/* tablets and phones: the photo becomes a banner sized to the puppy, copy sits below it */
@media (max-width: 900px) {
  .hero { height: auto; display: flex; flex-direction: column; background: var(--ink); padding-top: 76px; }
  .hero-art { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; max-width: 100%; }
  .hero-art img { object-position: 70% 50%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(11, 10, 46, 0.7) 0%, rgba(11, 10, 46, 0) 26%, rgba(11, 10, 46, 0) 70%, var(--ink) 100%); }
  .hero-inner { height: auto; padding-block: 4px 32px; margin: 0; max-width: none; }
  .steps-band { margin-top: 0; }
}
@media (max-width: 600px) {
  .hero-art { aspect-ratio: 4 / 3; }
  .hero-art img { object-position: 74% 40%; }
}

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: 1 / -1; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .scene.dog-right::after, .scene.dog-left::after { background: rgba(11, 10, 46, 0.62); }
  .dog-left .stage { justify-content: center; }
  .stage { justify-content: center; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .panel { padding: 24px 20px; border-radius: 18px; }
  .options { grid-template-columns: minmax(0, 1fr); }
  .stage { padding-block: 104px 40px; }
  .brand img { height: 42px; }
  .brand span { font-size: 21px; }
  .nav .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
#why { align-items: center; text-align: center; }
.server-note { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; color: var(--muted); max-width: 46ch; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (min-width: 1200px) and (max-width: 1499px) {
  .hero-inner { padding-top: 108px; }
  .hero h1 { font-size: clamp(52px, 4.6vw, 70px); }
  .hero-copy { gap: 16px; }
}
/* shorter laptop screens: full step cards stay above the fold; the hero copy tightens up to make room */
@media (min-width: 1200px) and (max-height: 860px) {
  .hero-inner { padding-top: 92px; padding-bottom: 200px; }
  .hero h1 { font-size: clamp(44px, 3.9vw, 60px); }
  .hero .lede { font-size: 17px; }
  .hero-copy { gap: 14px; }
  .steps-band { margin-top: -186px; padding-bottom: 18px; }
  .steps-band .steps li { padding: 10px 10px 12px; gap: 4px; }
  .steps-band .steps .num { width: 24px; height: 24px; font-size: 12px; }
  .steps-band .steps h3 { font-size: 14px; }
  .steps-band .steps p { font-size: 12px; line-height: 1.35; }
  .steps-band .steps img, .steps-band .steps svg { width: 34px; height: 34px; margin-top: 2px; }
}
}
/* big monitors: scale the panels and header so they hold their own on wide screens */
@media (min-width: 1600px) {
  .panel { max-width: 680px; padding: 44px; gap: 24px; font-size: 17.5px; }
  .panel h2 { font-size: clamp(44px, 2.6vw, 56px); }
  .panel .sub, .panel .status, .callout, .opt .hint { font-size: 16.5px; }
  .panel .icon { width: 92px; }
  .field { font-size: 17px; }
  textarea.field { min-height: 210px; }
  .btn.wide { min-height: 62px; font-size: 19px; }
  .ring { width: 92px; height: 92px; }
}
@media (min-width: 1900px) {
  .top { padding-block: 24px 30px; }
  .brand img { height: 64px; }
  .nav { font-size: 19px; gap: 34px; }
  .nav .btn { min-height: 52px; padding: 0 26px; font-size: 17px; }
}
/* shorter laptop screens: fit the create form without scrolling */
@media (min-width: 901px) and (max-height: 820px) {
  .stage { padding-block: 92px 24px; }
  .panel { padding: 26px 30px; gap: 14px; }
  .panel h2 { font-size: 34px; }
  textarea.field { min-height: 104px; }
  .opt { padding: 10px 12px; }
}
/* calmer scene: soften the photo itself and deepen the dusk layer */
.scene.dog-right::after { background: linear-gradient(90deg, rgba(11, 10, 46, 0.8) 0%, rgba(11, 10, 46, 0.45) 45%, rgba(11, 10, 46, 0) 68%); }
.scene.dog-left::after { background: linear-gradient(270deg, rgba(11, 10, 46, 0.8) 0%, rgba(11, 10, 46, 0.45) 45%, rgba(11, 10, 46, 0) 68%); }
.ribbons { opacity: 0.55; }

/* headings focused by script after a screen change get no ring; keyboard focus still shows on controls */
[tabindex="-1"]:focus { outline: none; }
.nav a:focus:not(:focus-visible) { outline: none; }

/* desktop: the panel owns its half of the screen and its content scales with it */
@media (min-width: 1100px) {
  .stage { min-height: 100vh; }
  .panel { max-width: clamp(560px, 46vw, 1080px); padding: clamp(32px, 3vw, 60px); gap: clamp(18px, 1.6vw, 30px); font-size: clamp(16px, 1.05vw, 20px); }
  .panel h2 { font-size: clamp(38px, 3.3vw, 68px); }
  .panel .sub, .panel .status, .callout, .opt .hint, .note-box { font-size: clamp(15.5px, 1.05vw, 20px); }
  .panel label, .panel .label { font-size: clamp(15px, 1vw, 19px); }
  .field { font-size: clamp(16px, 1.05vw, 20px); padding: clamp(14px, 1vw, 20px) clamp(16px, 1.1vw, 22px); }
  textarea.field { min-height: clamp(150px, 24vh, 320px); }
  .note-box { min-height: clamp(130px, 20vh, 300px); }
  .panel .icon { width: clamp(76px, 5.4vw, 116px); }
  .ring { width: clamp(76px, 5.4vw, 116px); height: clamp(76px, 5.4vw, 116px); }
  .btn.wide { min-height: clamp(56px, 3.8vw, 76px); font-size: clamp(17px, 1.2vw, 23px); }
  .panel .btn:not(.wide) { min-height: clamp(50px, 3.2vw, 64px); font-size: clamp(16px, 1.05vw, 20px); padding: 0 clamp(24px, 1.8vw, 36px); }
  .opt img { width: clamp(34px, 2.4vw, 48px); height: clamp(34px, 2.4vw, 48px); }
  .options { gap: clamp(12px, 1vw, 20px); }
}
@media (min-width: 1100px) and (max-height: 820px) {
  .stage { padding-block: 92px 24px; }
  .panel { padding: 26px 32px; gap: 14px; }
  .panel h2 { font-size: 36px; }
  textarea.field { min-height: 104px; }
  .note-box { min-height: 100px; }
  .panel .icon, .ring { width: 64px; height: auto; }
  .opt { padding: 10px 12px; }
}
/* Create screen: everything down to the Create private link button fits on the first screen.
   The note box starts compact and can be dragged taller. */
#create-form { gap: clamp(12px, 1.6vh, 22px); }
#create-form textarea.field { min-height: clamp(92px, 13vh, 170px); height: clamp(92px, 13vh, 170px); }
#create-form .count { margin-top: -6px; }
#create-form .opt { padding: clamp(10px, 1.2vh, 16px) clamp(12px, 1vw, 18px); }
#create-form .opt select, #create-form .opt input { margin-top: 6px; }
#create-form .back { padding: 0; }
@media (min-width: 901px) {
  [data-screen="create"] .stage { padding-block: clamp(84px, 11vh, 130px) clamp(16px, 3vh, 40px); align-items: flex-start; }
  [data-screen="create"] .scene { min-height: 100vh; min-height: 100svh; }
}
