/* Cloud Town's website (server/site): the game's own website with the beta in front. Its look is the owner's choice of
   13 October 2026, art/orders/look-website-3 c, "Nachtblau und Gold" ("Bau es genau so wie da ... Sehr sehr clean"):
   a first screen of calm light-blue sky - soft clouds only at its far sides, a few tiny sparkles, the game's airship
   towing the cream banner with the title, the white line, the green button, two chips - and along its foot a long, low
   band of the island harbour whose rock edge lies over the page below; below it ONE night blue going down to
   blue-black, golden titles between thin golden lines, cream cards with rounded corners and a soft glow, the sign-up
   in a thick golden rim. The navigation and the footer are the frame every page shares (frame.css, the web shop's
   too).

   Phone first: the rules below are a phone's; "a tablet" (700 px and wider) and "a desktop" (1000 px and wider) add to
   them at the foot of the file - the same system, wider, in a column of about 1100 px. Every drawn part is shown at
   its own shape (server/site/pictures.py makes them), every word is set on them by code; nothing comes from another
   host, nothing stands in a style attribute (the page's Content-Security-Policy); what moves is transform and opacity
   alone, and nothing moves for a visitor who asked for less motion. */

@property --t { syntax: "<length>"; inherits: true; initial-value: 1px; }

:root {
  --night: #0c2247;
  --night-low: #091b3a;
  --blue-black: #061430;
  --cream: #fbf4e4;
  --cream-deep: #f7ead1;
  --card: #fdf8ee;
  --navy: #10305a;
  --navy-deep: #0e2348;
  --muted: #4b5b75;
  --gold: #f7d67b;
  --gold-line: #d4b26a;
  --gold-ink: #a8720e;
  --warn: #c42d17;
  --focus: #ffcf3f;
  --gutter: 16px;
  --gap: 44px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--blue-black); }
body {
  margin: 0; min-width: 320px; container-type: inline-size; background: var(--blue-black); color: var(--navy);
  font-family: "Nunito", "Trebuchet MS", system-ui, sans-serif; font-weight: 800; overflow-x: clip;   /* (clip, not hidden: a body that is a container keeps its overflow, and "hidden" would make it the scroller the sticky bar sticks to) */
  -webkit-tap-highlight-color: transparent;
}
body.starting #page { visibility: hidden; }
#page { display: flex; flex-direction: column; min-height: 100vh; }
img { display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
.hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.unreached { padding: 40px; text-align: center; font-size: 24px; color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
a { color: inherit; }
[id] { scroll-margin-top: calc(var(--bar) + 14px); }           /* (a way to a section ends under the sticky bar, not behind it) */

/* ---- the kit's green button (ui/kit/welcome-button): its slices are half the picture's height - drawn half as high as
   the button and its outset each, its caps meet and no band lies between them ---- */

.green {
  --h: 60px; --o: 4px;
  display: inline-flex; align-items: center; justify-content: center; height: var(--h); text-align: center; text-decoration: none; white-space: nowrap;
  border: 0 solid transparent; background: none;
  border-image: url("/site/pictures/kit/welcome-button.webp") 171 fill / calc(var(--h) / 2 + var(--o)) / var(--o) stretch;
  color: #fff; font-weight: 900;
  text-shadow: 0 2px 0 #1f6e16, 1px 0 0 #22781a, -1px 0 0 #22781a, 0 -1px 0 #22781a;
  transition: transform 0.25s cubic-bezier(0.34, 1.6, 0.64, 1), filter 0.12s ease;
}
.green:hover:not(:disabled) { filter: brightness(1.07); }
.green:active:not(:disabled) { transform: translateY(2px) scale(0.97); filter: brightness(0.93); transition-duration: 0.06s; }
.green:disabled { cursor: default; filter: grayscale(0.7) brightness(0.92); }

/* the navy button: a way to another page */
.navy-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #24558f 0%, #143a6b 100%); box-shadow: 0 3px 0 #0b2547, inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 17px; font-weight: 900;
  transition: transform 0.25s cubic-bezier(0.34, 1.6, 0.64, 1), filter 0.12s ease;
}
.navy-button:hover { filter: brightness(1.12); }
.navy-button:active { transform: translateY(2px) scale(0.97); transition-duration: 0.06s; }

/* ================================================================================================================
   The first screen: the sky, the airship towing the banner, the line, the button, the chips, the island band
   ================================================================================================================ */

/* --band-w is the band's width (in shares of the page's width, cqw); its height is that over its shape (2400 x 628), and
   the night blue lies behind its lowest --band-night share (pictures.py: ISLAND_NIGHT, ISLAND_ROWS), under the cloud
   sea's edge, so the scallops stand over the night blue and the sky goes on behind the rest */
.hero {
  --tow-w: min(100%, 560px);
  --band-w: 143cqw; --band-h: calc(var(--band-w) / 3.8217); --band-night: calc(var(--band-h) * 0.1667); --band-tuck: 0.1;
  position: relative; z-index: 2; overflow-x: clip;
  padding: 18px 12px 0; text-align: center;
  background: linear-gradient(180deg, #2689e6 0%, #3e9aec 24%, #6fb3ee 50%, #b2d6f3 calc(100% - var(--band-h) * 0.4), #c6e0f5 calc(100% - var(--band-night)),
              var(--night) calc(100% - var(--band-night)));
}
.hero-cloud { position: absolute; z-index: 0; height: auto; pointer-events: none; opacity: 0.95; }
.hero-cloud-1 { left: -34%; top: 34%; width: 62%; }
.hero-cloud-2 { right: -26%; top: 22%; width: 46%; }
.hero-cloud-3 { right: -40%; top: 52%; width: 72%; }
.hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

/* the tow: the banner's golden ring (BANNER_RING of pictures.py: 55, 178 of 1506 x 337) on the airship's propeller hub
   (AIRSHIP_HUB: 792, 232 of 893 x 772), in shares of the tow's own width - the airship 26, the banner 76 */
.tow { position: relative; width: var(--tow-w); aspect-ratio: 100 / 25; margin-left: 1.8%; container-type: inline-size; transform-origin: 30% 50%; animation: sway 7s ease-in-out infinite; }
.airship { position: absolute; left: 0; top: 2.23cqw; width: 26cqw; height: auto; filter: drop-shadow(0 6px 6px rgba(20, 40, 80, 0.22)); }
.banner { position: absolute; left: 20.29cqw; top: 0; width: 76cqw; }
.banner-picture { width: 100%; height: auto; filter: drop-shadow(0 6px 6px rgba(20, 40, 80, 0.18)); }
/* the title on the banner's cream face, in one line: between the rods, in the band that is cream wherever the cloth
   waves (102 to 219 of 337 down) */
.banner-title {
  position: absolute; left: 58.5%; top: 47.6%; width: 72%; height: 34.7%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; gap: 0.25em;
  font-size: 5.3cqw; font-weight: 900; line-height: 1; letter-spacing: -0.005em; color: #0b2f5e; white-space: nowrap;
}
.banner-line { display: inline; }

.tagline {                                                      /* (it wraps rather than run to the screen's edge: a phone keeps its 16px gutter) */
  max-width: calc(100% - 32px); margin-top: 12px; color: #fff; font-size: 21px; font-weight: 900; line-height: 1.2; text-align: center; text-wrap: balance;
  text-shadow: 0 2px 2px rgba(10, 40, 80, 0.45), 0 0 12px rgba(10, 40, 80, 0.28);
}
.go { --h: 60px; width: min(100%, 420px); margin-top: 14px; padding: 0 18px; font-size: 21px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; white-space: nowrap;
  background: #fbf6ea; box-shadow: 0 3px 8px rgba(15, 45, 85, 0.22), inset 0 -2px 0 rgba(200, 180, 140, 0.25);
  color: var(--navy); font-size: 16px; font-weight: 900;
}
.chip::before { content: ""; flex: none; width: 20px; height: 20px; background: url("/site/pictures/kit/check.webp") 50% 55% / 100% no-repeat; }
@media (max-width: 389px) {                                     /* a small phone: both chips still in one row */
  .chips { gap: 6px; }
  .chip { gap: 5px; padding: 0 11px 0 8px; font-size: 15px; }
  .chip::before { width: 18px; height: 18px; }
  .tagline { font-size: 19px; }
}

/* the band of the islands and the cloud sea: the first screen's foot, its middle's dip under the button and the chips -
   a phone shows its middle and both islands' inner halves */
.island-band {
  position: relative; z-index: 1; width: var(--band-w); height: var(--band-h); margin: calc(var(--band-h) * var(--band-tuck) * -1) 0 0 calc(50% - var(--band-w) / 2);
  pointer-events: none;
}

/* sparkles: tiny four-pointed white stars, twinkling */
.sparkle {
  position: absolute; z-index: 1; width: 12px; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, #ffffff 0 30%, rgba(255, 255, 255, 0.85) 55%, rgba(255, 255, 255, 0.4) 75%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: twinkle 3.2s ease-in-out infinite;
}
.sparkle-1 { left: 7%; top: 18px; }
.sparkle-2 { left: 88%; top: 10px; width: 10px; animation-delay: -1.2s; }
.sparkle-3 { left: 4%; top: 36%; width: 9px; animation-delay: -2.1s; }
.sparkle-4 { left: 93%; top: 30%; width: 11px; animation-delay: -0.7s; }

@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-0.5deg); } 50% { transform: translateY(-4px) rotate(0.6deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes glow { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

/* ================================================================================================================
   Below the first screen: one night blue, a column of cream cards under golden titles
   ================================================================================================================ */

.start, .status, .legal {
  position: relative; z-index: 1; flex: 1 0 auto; padding: 26px 0 56px;
  background: linear-gradient(180deg, var(--night) 0%, #0b2044 45%, var(--night-low) 100%);
}
.part { width: 100%; max-width: calc(1100px + 2 * var(--gutter)); margin: var(--gap) auto 0; padding: 0 var(--gutter); }
.part:first-child { margin-top: 0; }

/* a section's title: gold, between thin golden lines that fade at their ends */
.title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--gold); font-size: clamp(21px, 6.6cqw, 27px); font-weight: 900; line-height: 1.15; text-align: center;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25); }
.title::before, .title::after { content: ""; flex: 1 1 0; min-width: 20px; height: 2px; border-radius: 1px; }
.title > span { flex: 0 1 auto; min-width: 0; text-wrap: balance; }   /* a title longer than the screen breaks into two lines between its golden lines */
.gifts-status .title { font-size: clamp(19px, 5.4cqw, 24px); }
.title::before { background: linear-gradient(90deg, rgba(212, 178, 106, 0) 0%, var(--gold-line) 100%); }
.title::after { background: linear-gradient(90deg, var(--gold-line) 0%, rgba(212, 178, 106, 0) 100%); }

/* a cream panel, and a cream card in a thick golden rim */
.panel {
  border-radius: 18px; background: linear-gradient(180deg, #fbf3e3 0%, var(--cream-deep) 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 190, 0.3), 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 44px rgba(247, 214, 123, 0.08);
}
.card {
  border: 5px solid transparent; border-radius: 22px; padding: 20px 16px 22px;
  background: linear-gradient(180deg, #fcf6e8 0%, #f8edd6 100%) padding-box, linear-gradient(180deg, #ffe08e 0%, #f2bf45 45%, #d6962a 100%) border-box;
  box-shadow: inset 0 0 0 2px rgba(255, 238, 190, 0.9), 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 54px rgba(247, 200, 90, 0.12);
}
.card-title { color: var(--navy-deep); font-size: 29px; font-weight: 900; line-height: 1.15; text-align: center; white-space: nowrap; }

/* ---- the game: one picture at a time in a golden rim, dots under it; a desktop has arrows too ---- */

.gallery { position: relative; }
.gallery-frame {
  overflow: hidden; border: 3px solid transparent; border-radius: 18px;
  background: linear-gradient(180deg, #ffe08e 0%, #f2bf45 50%, #d6962a 100%) border-box;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(247, 200, 90, 0.14);
}
.slides { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 15px; background: #2e6fb5; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; }
.slide-picture { width: 100%; height: auto; }
.dots { display: flex; justify-content: center; margin-top: 4px; }
.dot { display: grid; place-items: center; width: 34px; height: 48px; padding: 0; border: 0; background: none; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: #56657f; transition: background 0.2s ease, transform 0.2s ease; }
.dot[aria-current="true"]::before { background: #f5c842; transform: scale(1.15); }
.arrow { display: none; }

/* ---- the gifts: one cream panel, a cream-white card each, its worth small and quiet ---- */

.gift-panel { padding: 10px 8px 12px; }
.gift-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gift {
  display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; border-radius: 14px; text-align: center;
  background: var(--card); box-shadow: 0 0 0 1px rgba(214, 190, 140, 0.35), 0 3px 8px rgba(120, 90, 40, 0.14);
}
.gift-art { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.1; }
.gift-picture { width: 92%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(90, 60, 10, 0.2)); }
.gift[data-gift="pass"] .gift-picture { animation: glow 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(255, 236, 150, 0.95)) drop-shadow(0 0 10px rgba(255, 196, 50, 0.7)); }
.gift-name { display: flex; align-items: center; justify-content: center; min-height: 2.3em; margin-top: 4px; color: var(--navy); font-size: 15px; font-weight: 900; line-height: 1.15; }
.gift-value { margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #fcefcb; color: var(--gold-ink); font-size: 13px; font-weight: 900; white-space: nowrap; }
.gifts-worth { margin-top: 12px; color: var(--gold-ink); font-size: 16px; font-weight: 900; text-align: center; white-space: nowrap; }

/* ---- how it goes: one cream panel, three columns between thin lines ---- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 4px 18px; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 6px; text-align: center; }
.step + .step::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: #dccdb2; }
.disc {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffe794 0%, #f5c23c 58%, #d9982b 100%); box-shadow: 0 2px 0 #b57a16, inset 0 2px 0 rgba(255, 255, 255, 0.45);
  color: #fff; font-size: 22px; font-weight: 900; text-shadow: 0 1px 0 #a36a0e;
}
.step-word { margin-top: 8px; color: var(--navy); font-size: 17px; font-weight: 900; line-height: 1.15; }
.step-text { margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.3; }

/* ---- the sign-up: a cream card in a thick golden rim ---- */

.signup-card { margin: 0 auto; }
.signup { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.field-cell { display: flex; flex-direction: column; }
.field-row { position: relative; display: block; }
.field {
  width: 100%; height: 56px; padding: 0 18px 0 52px; border: 1.5px solid #dccfb6; border-radius: 999px; outline: none;
  background: #fffcf6; box-shadow: inset 0 2px 3px rgba(120, 90, 40, 0.08); color: var(--navy); font-size: 18px; font-weight: 800;
}
.field::placeholder { color: #6b7487; opacity: 1; }
.field:focus-visible { border-color: #e2a72e; box-shadow: inset 0 2px 3px rgba(120, 90, 40, 0.08), 0 0 0 3px rgba(255, 205, 70, 0.6); }
.field[aria-invalid="true"] { border-color: #e0634c; }
/* a captain and a letter drawn by code, in the field's left end */
.field-icon { position: absolute; left: 19px; top: 50%; width: 21px; height: 21px; transform: translateY(-50%); pointer-events: none; }
.icon-captain::before { content: ""; position: absolute; left: 50%; top: 0; width: 46%; height: 46%; transform: translateX(-50%); border-radius: 50%; background: #4e5d74; }
.icon-captain::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 86%; height: 44%; transform: translateX(-50%); border-radius: 50% 50% 18% 18% / 70% 70% 18% 18%; background: #4e5d74; }
.icon-mail::before { content: ""; position: absolute; left: 0; top: 16%; width: 100%; height: 68%; border-radius: 12%; background: #4e5d74; }
.icon-mail::after { content: ""; position: absolute; left: 12%; top: 16%; width: 76%; height: 40%; background: #fffcf6; clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 62%, 88% 0, 12% 0, 50% 62%, 50% 100%); }
.field-error { padding: 5px 16px 0; color: var(--warn); font-size: 15px; font-weight: 900; line-height: 1.3; text-align: left; }

/* the phones: two pills, the chosen one filled navy */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.platform {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 12px; border-radius: 999px; cursor: pointer; user-select: none;
  border: 1.5px solid #d6cfc2; background: linear-gradient(180deg, #fffdf8 0%, #efe9de 100%); box-shadow: 0 2px 0 rgba(150, 130, 100, 0.25);
  color: var(--navy); font-size: 19px; font-weight: 900; white-space: nowrap;
}
.platform-input:checked + .platform { border-color: #0e2a52; background: linear-gradient(180deg, #24558f 0%, #133768 100%); box-shadow: 0 3px 0 #0a2142; color: #fff; }
.platform-input:focus-visible + .platform { outline: 3px solid var(--focus); outline-offset: 2px; }
/* a phone drawn by code: its frame and its camera's notch (iPhone) or dot (Android) */
.phone { position: relative; flex: none; width: 15px; height: 24px; border: 2.5px solid currentColor; border-radius: 4px; }
.phone::after { content: ""; position: absolute; left: 50%; top: 1px; width: 5px; height: 2.5px; transform: translateX(-50%); border-radius: 2px; background: currentColor; }
.phone-android::after { width: 3px; height: 3px; border-radius: 50%; }

.consent-row { display: flex; align-items: center; gap: 2px; margin-left: -10px; }
/* the box: 48 px to tap, a 24 px rounded square to see */
.check {
  flex: none; width: 48px; height: 48px; margin: 0; cursor: pointer; appearance: none; -webkit-appearance: none; border: 0; border-radius: 15px;
  background: transparent; box-shadow: inset 0 0 0 12px #f9f0de, inset 0 0 0 14px #b4ab9c;
}
.check:checked { background: url("/site/pictures/kit/check.webp") center / 22px no-repeat; box-shadow: inset 0 0 0 12px #f9f0de, inset 0 0 0 14px var(--navy); }
.check:focus-visible { outline-offset: -6px; }
.consent { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 0.25em; min-height: 48px; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.3; cursor: pointer; }
.consent a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 0.15em; }   /* (a finger's 48 px, the line's own height) */
.send { --h: 62px; width: 100%; margin-top: 4px; padding: 0 16px; font-size: 22px; }
.form-hint { color: var(--warn); font-size: 15px; font-weight: 900; text-align: center; }
.limited { color: var(--muted); font-size: 15px; font-weight: 800; line-height: 1.4; text-align: center; }

/* what the card says instead of the form: sent, or the places are all taken */
.note { display: flex; flex-direction: column; align-items: center; margin-top: 12px; text-align: center; }
.note-picture { width: auto; height: 130px; filter: drop-shadow(0 6px 6px rgba(80, 50, 10, 0.22)); }
.note-title { margin-top: 10px; color: var(--navy-deep); font-size: 24px; font-weight: 900; line-height: 1.2; }
.note-text { margin-top: 8px; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.45; }
.note-small { margin-top: 8px; color: var(--muted); font-size: 15px; font-weight: 800; }
.text-button { min-height: 48px; margin-top: 4px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  color: var(--gold-ink); font-size: 17px; font-weight: 900; text-decoration: underline; text-underline-offset: 0.18em; }

/* ---- the web shop: one line and the way there ---- */

.shop-card { display: flex; align-items: center; gap: 14px; padding: 16px; }
.shop-gems { flex: none; width: 84px; height: auto; filter: drop-shadow(0 6px 6px rgba(30, 60, 120, 0.25)); }
.shop-words { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.shop-text { color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.4; }

/* ---- the questions: rows of one cream card, each opening in place ---- */

.questions { padding: 2px 16px; }
.question + .question { border-top: 1px solid #e3d6bc; }
.question-title {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 12px 2px;
  list-style: none; cursor: pointer; color: var(--navy); font-size: 17px; font-weight: 900; line-height: 1.3;
}
.question-title::-webkit-details-marker { display: none; }
.chevron { flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 3px solid #e3a52b; border-bottom: 3px solid #e3a52b; border-radius: 1px; transform: rotate(-45deg); transition: transform 0.2s ease; }
.question[open] .chevron { transform: rotate(45deg); }
.answer { padding: 0 2px 16px; color: var(--muted); font-size: 16px; font-weight: 800; line-height: 1.5; }
.answer a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 0.15em; }

/* ================================================================================================================
   The status page: the card says the sign-up's state - its heading, what the state holds -, the Harbour ID's note
   for an accepted tester, the gifts
   ================================================================================================================ */

.status-card { margin: 0 auto; }
.status > .part { max-width: calc(900px + 2 * var(--gutter)); }
.state { display: flex; flex-direction: column; align-items: center; margin-top: 12px; text-align: center; }
.state-lead { color: var(--navy); font-size: 18px; font-weight: 900; line-height: 1.4; }
.state-picture { width: auto; height: 120px; margin-bottom: 10px; filter: drop-shadow(0 6px 6px rgba(80, 50, 10, 0.22)); }
.state .green.home, .state .green.retry { --h: 58px; width: 100%; max-width: 340px; margin-top: 18px; padding: 0 16px; font-size: 20px; }

/* review: three steps on a golden rail */
.track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 18px; }
.track::before { content: ""; position: absolute; left: 16.67%; right: 16.67%; top: 26px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f2bf45 0%, #f2bf45 70%, #e6dccb 85%); }
.track-step { position: relative; display: flex; flex-direction: column; align-items: center; }
.track-dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.track-done .track-dot { background: radial-gradient(circle at 38% 30%, #ffe794 0%, #f5c23c 58%, #d9982b 100%); box-shadow: 0 2px 0 #b57a16, inset 0 2px 0 rgba(255, 255, 255, 0.45); }
.track-done .track-dot::after { content: ""; width: 12px; height: 22px; margin-top: -5px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; border-radius: 1px; transform: rotate(40deg); filter: drop-shadow(0 1px 0 #a36a0e); }
.track-waiting .track-dot { background: #fffaf0; box-shadow: 0 0 0 3px #f2bf45, 0 2px 4px rgba(120, 80, 10, 0.2); }
.track-hourglass { width: 32px; height: 32px; object-fit: contain; }
.track-label { margin-top: 8px; padding: 0 2px; color: var(--navy); font-size: 15px; font-weight: 900; line-height: 1.2; }

/* accepted: the harbour's code and how to begin, the apps */
.accepted { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 20px; width: 100%; text-align: left; }
.accepted-code { display: flex; flex-direction: column; align-items: center; }
.ready { color: var(--navy); font-size: 20px; font-weight: 900; line-height: 1.2; text-align: center; }
.code-plate { display: flex; align-items: center; justify-content: center; min-width: 220px; height: 56px; margin-top: 10px; padding: 0 28px; border-radius: 999px;
  background: #fffaf0; box-shadow: inset 0 0 0 2px #eab847, 0 2px 0 rgba(150, 110, 30, 0.25); }
.code { color: var(--navy-deep); font-size: 28px; font-weight: 900; letter-spacing: 2px; user-select: all; }
.howto { align-self: stretch; margin-top: 14px; }
.howto li { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--navy); font-size: 17px; font-weight: 800; }
.howto-number { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffe794 0%, #f5c23c 58%, #d9982b 100%); box-shadow: 0 2px 0 #b57a16; color: #fff; font-size: 17px; font-weight: 900; text-shadow: 0 1px 0 #a36a0e; }
.apps { display: flex; flex-direction: column; }
.apps-title { color: var(--navy-deep); font-size: 20px; font-weight: 900; line-height: 1.2; }
.app {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; height: 58px; margin-top: 12px; padding: 0 16px;
  font-size: 18px; font-weight: 900; text-decoration: none; white-space: nowrap;
}
.app-primary { border: 0 solid transparent; border-image: url("/site/pictures/kit/welcome-button.webp") 171 fill / 33px / 4px stretch;
  color: #fff; text-shadow: 0 2px 0 #1f6e16, 1px 0 0 #22781a, -1px 0 0 #22781a, 0 -1px 0 #22781a; }
.app-secondary { border-radius: 999px; background: linear-gradient(180deg, #24558f 0%, #143a6b 100%); box-shadow: 0 3px 0 #0b2547; color: #fff; }
.app[href]:hover { filter: brightness(1.08); }
.app[href]:active { transform: translateY(2px) scale(0.98); }
.app[aria-disabled="true"] { cursor: default; filter: grayscale(0.6) brightness(0.92); opacity: 0.85; }
.app-soon { display: none; padding: 3px 10px; border-radius: 14px; background: #fbf0d0; color: #6a4410; font-size: 14px; font-weight: 900; text-shadow: none; }
.app[aria-disabled="true"] .app-soon { display: inline-block; }
.app-icon { flex: none; }
.app .phone { width: 17px; height: 28px; }
/* a download drawn by code: an arrow into a tray */
.download { position: relative; width: 26px; height: 28px; }
.download::before { content: ""; position: absolute; left: 50%; top: 0; width: 16px; height: 20px; transform: translateX(-50%); background: currentColor;
  clip-path: polygon(35% 0, 65% 0, 65% 52%, 100% 52%, 50% 100%, 0 52%, 35% 52%); }
.download::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border: 4px solid currentColor; border-top: 0; border-radius: 0 0 3px 3px; }

/* accepted: how the harbour is opened, where nobody misses it */
.id-note-card { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 auto; text-align: center; }
.id-note-icon { width: 64px; height: 64px; filter: drop-shadow(0 4px 4px rgba(60, 40, 10, 0.25)); }
.id-note-words { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.id-note-title { display: flex; align-items: center; gap: 10px; color: var(--navy-deep); font-size: 21px; font-weight: 900; line-height: 1.2; }
.id-note-mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, #ff8a6b 0%, #e2452b 60%, #b52b17 100%); box-shadow: 0 2px 0 #8d1d0d; color: #fff; font-size: 18px; }
.id-note-text { color: var(--navy); font-size: 18px; font-weight: 900; line-height: 1.4; }
.id-note-warn { color: #a3361b; font-size: 16px; font-weight: 800; line-height: 1.4; }

/* ---- the legal pages: the owner's own text on a cream card ---- */

.paper { max-width: 900px; margin: 0 auto; padding: 20px 18px 18px; text-align: left; }
.legal-text { color: #1d2f4f; font-size: 17px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.legal-text p { margin: 0 0 14px; white-space: pre-line; }
.legal-soon, .legal-trouble { margin: 6px 0; color: var(--navy); font-size: 20px; font-weight: 900; text-align: center; }
.text-link { display: flex; align-items: center; justify-content: center; width: max-content; min-height: 48px; margin: 8px auto 0; padding: 0 12px; border-radius: 10px;
  color: var(--gold-ink); font-size: 18px; font-weight: 900; text-decoration: underline; text-underline-offset: 0.18em; }

/* ---- the small first screen of the status and legal pages: the banner says hello, or the page's name ---- */

.hero-small { --tow-w: min(100%, 520px); }

/* ================================================================================================================
   A tablet: 700 px and wider
   ================================================================================================================ */

@media (min-width: 700px) {
  :root { --gutter: 28px; --gap: 60px; }
  .hero { --tow-w: min(86%, 760px); --band-w: 118cqw; padding-top: 30px; }
  .start, .status, .legal { padding-top: 36px; }
  .hero-cloud-1 { left: -18%; top: 30%; width: 40%; } .hero-cloud-2 { right: -12%; top: 18%; width: 30%; } .hero-cloud-3 { right: -24%; top: 48%; width: 46%; }
  .tagline { font-size: 32px; margin-top: 18px; }
  .go { --h: 68px; width: 460px; font-size: 24px; margin-top: 18px; }
  .chips { gap: 12px; margin-top: 16px; }
  .chip { height: 46px; gap: 8px; padding: 0 18px 0 12px; font-size: 18px; }
  .chip::before { width: 22px; height: 22px; }
  .title, .gifts-status .title { font-size: 34px; margin-bottom: 18px; }
  .gift-panel { padding: 16px; }
  .gift-list { gap: 14px; }
  .gift { padding: 14px 10px 16px; }
  .gift-name { min-height: 0; font-size: 19px; }
  .gift-value { font-size: 15px; padding: 3px 12px; }
  .gifts-worth { font-size: 19px; margin-top: 16px; }
  .steps { padding: 24px 8px 26px; }
  .disc { width: 50px; height: 50px; font-size: 26px; }
  .step-word { font-size: 21px; margin-top: 10px; }
  .step-text { font-size: 16px; max-width: 15em; }
  .card { padding: 26px 30px 28px; border-width: 6px; }
  .card-title { font-size: 34px; }
  .shop-card { padding: 22px 28px; gap: 24px; }
  .shop-gems { width: 120px; }
  .shop-text { font-size: 19px; }
  .questions { padding: 2px 24px; }
  .question-title { font-size: 19px; min-height: 64px; }
  .answer { font-size: 17px; }
  .accepted { grid-template-columns: 1fr 1fr; column-gap: 36px; align-items: center; }
  .id-note-card { flex-direction: row; gap: 24px; text-align: left; }
  .id-note-words { align-items: flex-start; }
  .id-note-icon { width: 96px; height: 96px; }
  .state-lead { font-size: 21px; }
  .track-label { font-size: 17px; }
  .paper { padding: 28px 34px 26px; }
}

/* ================================================================================================================
   A desktop: 1000 px and wider - the same system in a column of about 1100 px; the sign-up beside the web shop and the
   questions
   ================================================================================================================ */

@media (min-width: 1000px) {
  :root { --gutter: 32px; --gap: 76px; }
  .green { --o: 6px; text-shadow: 0 3px 0 #1f6e16, 1.5px 0 0 #22781a, -1.5px 0 0 #22781a, 0 -1.5px 0 #22781a; }
  .hero { --tow-w: min(66cqw, 1120px); --band-w: 100cqw; --band-tuck: 0.22; padding-top: 40px; }
  .hero-small { --tow-w: min(54cqw, 860px); --band-tuck: 0.4; }
  .start, .status, .legal { padding-top: 46px; padding-bottom: 80px; }
  .hero-cloud-1 { left: -8%; top: 26%; width: 26%; } .hero-cloud-2 { right: -6%; top: 14%; width: 20%; } .hero-cloud-3 { right: -10%; top: 40%; width: 30%; }
  .sparkle { width: 16px; }
  .tagline { font-size: clamp(32px, 2.5vw, 46px); margin-top: clamp(18px, 1.6vw, 30px); }
  .go { --h: clamp(68px, 4.6vw, 84px); width: clamp(460px, 32vw, 600px); font-size: clamp(24px, 1.75vw, 32px); margin-top: clamp(18px, 1.5vw, 28px); }
  .chips { margin-top: clamp(16px, 1.3vw, 24px); }
  .chip { height: 48px; font-size: 19px; padding: 0 20px 0 14px; }

  .start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 36px;
    padding-left: max(var(--gutter), calc(50% - 550px)); padding-right: max(var(--gutter), calc(50% - 550px)); }
  .start > .part { max-width: none; padding: 0; margin-left: 0; margin-right: 0; }
  .start > .part { grid-column: 1 / -1; }                       /* one under the other, as the chosen draft C has them (the owner, 13 October 2026) */
  .start > .boarding, .start > .webshop, .start > .faq { justify-self: center; width: min(100%, 760px); }
  .title { font-size: 38px; margin-bottom: 20px; gap: 20px; }

  .gallery-frame { border-width: 4px; border-radius: 24px; }
  .slides { border-radius: 20px; }
  .arrow {
    position: absolute; top: calc(50% - 50px); z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%;
    background: rgba(251, 244, 228, 0.92); box-shadow: 0 0 0 2px #e9b847, 0 6px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, opacity 0.2s ease;
  }
  .arrow:hover { transform: scale(1.07); }
  .arrow:disabled { opacity: 0; pointer-events: none; }
  .arrow-back { left: 16px; }
  .arrow-next { right: 16px; }
  .arrow-mark { width: 14px; height: 14px; border-right: 4px solid var(--navy); border-bottom: 4px solid var(--navy); border-radius: 2px; }
  .arrow-back .arrow-mark { transform: translateX(3px) rotate(135deg); }
  .arrow-next .arrow-mark { transform: translateX(-3px) rotate(-45deg); }

  .gift-panel { padding: 22px; }
  .gift-list { gap: 22px; }
  .gift { padding: 18px 14px 20px; border-radius: 18px; }
  .gift-art { aspect-ratio: 1.35; }
  .gift-picture { width: 78%; }
  .gift-name { min-height: 0; font-size: 22px; margin-top: 8px; }
  .gift-value { font-size: 16px; margin-top: 8px; }
  .gifts-worth { font-size: 21px; margin-top: 20px; }
  .steps { padding: 30px 10px 32px; }
  .disc { width: 58px; height: 58px; font-size: 30px; }
  .step-word { font-size: 24px; margin-top: 12px; }
  .step-text { font-size: 18px; }

  .card { padding: 30px 34px 32px; }
  .card-title { font-size: 38px; }
  .field { height: 60px; font-size: 19px; }
  .platform { height: 58px; font-size: 20px; }
  .send { --h: 68px; font-size: 25px; margin-top: 6px; }
  .note-picture { height: 160px; }
  .note-title { font-size: 28px; }
  .note-text { font-size: 19px; }

  .shop-card { flex-direction: column; align-items: center; gap: 14px; padding: 26px 30px; text-align: center; }
  .shop-words { align-items: center; }
  .shop-gems { width: 130px; }
  .navy-button { min-height: 52px; font-size: 18px; }

  .accepted { column-gap: 48px; }
  .ready, .apps-title { font-size: 24px; }
  .howto li { font-size: 19px; }
  .app { min-height: 64px; height: 64px; font-size: 20px; }
  .app-primary { border-image-width: 36px; }                   /* (half of its 64 px and its outset: the caps meet) */
  .id-note-title { font-size: 25px; }
  .id-note-text { font-size: 20px; }
  .id-note-warn { font-size: 17px; }
  .state-picture { height: 150px; }
  .code { font-size: 32px; }
  .paper { max-width: 960px; padding: 34px 44px 30px; }
  .legal-text { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tow, .sparkle, .gift-picture { animation: none !important; }
  .sparkle { opacity: 0.8; }
  .green, .navy-button, .app, .arrow, .dot::before, .chevron { transition: none; }
}

/* deleting a harbour without the app (/konto-loeschen, 8-P4): the sign-up's card, three numbered steps, the code */
.delete-page .card-title { white-space: normal; }
.delete-lead { margin-top: 10px; color: var(--navy); font-size: 18px; font-weight: 900; line-height: 1.4; text-align: center; }
.delete-steps { margin: 18px 0 6px; padding-left: 1.6em; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.45; }
.delete-steps li + li { margin-top: 6px; }
.delete-steps li::marker { color: #d08a12; font-weight: 900; }
.delete-what, .delete-lost { margin-top: 14px; color: var(--muted); font-size: 15px; font-weight: 800; line-height: 1.45; text-align: center; }
.delete-lost a { color: var(--navy); }
.delete-page .text-link.home { display: block; margin-top: 18px; text-align: center; }

/* an invitation's address (/i/CODE, 9-P3): the code on its golden plate, and the ways to the stores */
.invite-page .card-title { white-space: normal; }
.invite-code-label { margin-top: 14px; color: var(--muted); font-size: 15px; font-weight: 900; text-align: center; }
.invite-code { margin: 6px auto 0; padding: 10px 22px; width: fit-content; border-radius: 16px; background: linear-gradient(#ffe27a, #f2b52a);
  box-shadow: inset 0 -3px 0 #c98a12; color: var(--navy-deep); font-size: 30px; font-weight: 900; letter-spacing: 0.04em; }
.invite-stores { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.invite-stores .send { text-decoration: none; text-align: center; }
