/* The portal pages: landing (/), sign-in (/login), the world list (/worlds) and a world's found-your-town step.
   Same tokens as the game (css/style.css): parchment, ink, terracotta, the painted sea. */
:root {
  --ink: #2e2923;
  --ink-soft: #6b6156;
  --parch: #f7f1e4;
  --parch-2: #efe6d2;
  --line: #ddd0b6;
  --terracotta: #c4623f;
  --terracotta-d: #a54d2f;
  --teal: #3f8590;
  --gold: #e0b04a;
  --sea: #2f7f96;
  --deep: #173f4d;
  --deep-2: #10303b;
  --foam: #e9f1ee;
  --ok: #4f8a45;
  --bad: #b8432f;
  --display: 'Marcellus', Georgia, serif;
  --ui: 'Nunito Sans', system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--ui);
  color: var(--ink);
  background: var(--parch);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 15px/1 var(--ui);
  border: 0; border-radius: 10px;
  padding: 14px 22px;
  cursor: pointer; text-decoration: none;
  transition: transform .08s, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 3px 0 var(--terracotta-d); }
.btn-primary:hover { background: #cf6c48; }
.btn-primary:disabled { background: #bfb3a2; box-shadow: none; cursor: not-allowed; }
.btn-quiet { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn-quiet:hover { background: rgba(255, 255, 255, .24); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { background: #fff; }
.btn-small { padding: 9px 14px; font-size: 14px; }
.btn-big { padding: 17px 30px; font-size: 17px; }

/* ---------------------------------------------------------------- top bar */
.nav {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; align-items: center; gap: 22px;
  padding: 18px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  color: #fff;
}
.wordmark { font: 400 28px/1 var(--display); text-decoration: none; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark svg { width: 22px; height: 22px; flex: none; }
.nav .spacer { flex: 1; }
.nav a.link { font-weight: 700; font-size: 15px; text-decoration: none; opacity: .92; }
.nav a.link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- landing: hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 900px);
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--deep);
}
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  background: url(/assets/login/lantern-tide.webp) center 35% / cover no-repeat;
  animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(16, 40, 50, .92) 0%, rgba(16, 40, 50, .62) 38%, rgba(16, 40, 50, 0) 70%),
    linear-gradient(to bottom, rgba(16, 40, 50, .45), rgba(16, 40, 50, 0) 22%);
}
.hero-copy { padding-bottom: clamp(48px, 9vh, 96px); padding-top: 120px; width: 100%; }
.hero h1 {
  font-size: clamp(46px, 8.2vw, 104px);
  line-height: .98;
  max-width: 11ch;
  text-shadow: 0 2px 24px rgba(10, 25, 30, .45);
  animation: rise 1.1s .35s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .lead {
  margin-top: 22px; max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;
  color: #f3ece0;
  animation: rise 1.1s .5s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; animation: rise 1.1s .62s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- landing: sections */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; }
.section .intro { margin-top: 18px; max-width: 36em; font-size: 18px; color: var(--ink-soft); }

/* your town: copy beside a little cluster of buildings */
.town { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.town ul { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 34em; }
.town li { padding-left: 22px; position: relative; }
.town li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--terracotta); transform: rotate(45deg); }
.town li b { font-weight: 800; }
.cluster { position: relative; aspect-ratio: 1.15; }
.cluster img { position: absolute; filter: drop-shadow(0 18px 18px rgba(60, 40, 20, .12)); }
.cluster .c1 { width: 56%; left: 22%; top: 0; z-index: 2; }
.cluster .c2 { width: 44%; left: 0; bottom: 2%; z-index: 3; }
.cluster .c3 { width: 44%; right: 0; bottom: 6%; z-index: 1; }

/* a look inside: the painted town, wide, in a frame like the game's panels */
.look { padding: clamp(64px, 10vw, 120px) 0 clamp(24px, 4vw, 48px); background: var(--parch); }
.look h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; }
.look .intro { margin-top: 18px; max-width: 36em; font-size: 18px; color: var(--ink-soft); }
.frame {
  margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1320px; width: calc(100% - 2 * var(--gutter));
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px;
  box-shadow: 0 0 0 1px #8a6a3a, 0 0 0 7px #e8d6ae, 0 0 0 8px #8a6a3a, 0 30px 60px -20px rgba(60, 40, 15, .45);
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 66%; transform: scale(1.04); transform-origin: 55% 60%; }
.frame.drift img { animation: drift 26s cubic-bezier(.35, 0, .3, 1) forwards; }
@keyframes drift { from { transform: scale(1.04) translate(1.5%, 1%); } to { transform: scale(1.14) translate(-2.5%, -1%); } }

/* the island's wonders, standing in a meadow; their plaques are the game's name plates */
.meadow {
  position: relative; isolation: isolate; color: #fff;
  padding: clamp(64px, 10vw, 120px) 0;
  background: #7a9a3a url(/assets/landing/meadow.webp) 0 0 / 660px auto repeat;
}
.meadow::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(34, 46, 20, .86), rgba(34, 46, 20, .45) 34%, rgba(34, 46, 20, .1) 70%, rgba(34, 46, 20, .3));
}
.meadow h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 16ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.meadow .intro { margin-top: 18px; max-width: 36em; font-size: 18px; color: #f1eedc; }
.meadow-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stages { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(40, 28, 16, .72); box-shadow: inset 0 0 0 1px rgba(224, 176, 74, .55); }
.stages button { font: 800 14.5px/1 var(--ui); padding: 11px 16px; border: 0; border-radius: 9px; background: transparent; color: #eadfc6; cursor: pointer; }
.stages button[aria-pressed="true"] { background: #f4e6c4; color: #3a2a1e; }
.stages button:hover:not([aria-pressed="true"]) { color: #fff; }
.wonders { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.wonders li { display: grid; justify-items: center; text-align: center; }
.w-art { position: relative; height: 210px; max-width: 100%; margin: 0 auto; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
/* the three stages of a wonder share one frame and one base: the next one fades in over the last, so it grows in place */
.w-art img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 1;
  filter: drop-shadow(0 14px 12px rgba(30, 30, 10, .35)); transition: opacity .5s ease .45s; }
.w-art img.on { opacity: 1; z-index: 2; transition: opacity .9s ease; }
.wonders li:hover .w-art { transform: translateY(-6px); }
@keyframes raise { from { opacity: .2; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.plaque {
  margin-top: 6px; padding: 10px 16px 12px; max-width: 300px; border-radius: 10px;
  background: rgba(46, 33, 22, .9); color: #f4ead2;
  box-shadow: inset 0 0 0 1px #c9a35a, inset 0 0 0 3px rgba(46, 33, 22, .9), inset 0 0 0 4px rgba(201, 163, 90, .5), 0 8px 18px rgba(20, 20, 5, .25);
}
.plaque h3 { font-size: 21px; color: #fff; }
.plaque p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: #e2d6bb; }

/* trade: merchant cogs on the open sea */
.trade {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background: var(--deep) url(/assets/landing/sea.webp) center / cover no-repeat;
}
.trade::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16, 48, 59, .88), rgba(16, 48, 59, .5) 55%, rgba(16, 48, 59, .1)); }
.trade-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; min-height: 520px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.trade h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 14ch; }
.trade p { margin-top: 18px; max-width: 32em; font-size: 18px; color: #e4eef0; }
.goods { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.goods li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15.5px; }
.goods img { width: 40px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.cogs { position: relative; height: 100%; min-height: 340px; }
.cog { position: absolute; width: 46%; filter: drop-shadow(0 16px 14px rgba(0, 20, 30, .35)); animation: bob 6s ease-in-out infinite; }
.cog-1 { left: 8%; top: 8%; }
.cog-2 { left: 46%; top: 44%; width: 38%; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-.6deg); } }

/* war: two battlefields, the fleet on its sea and the army on its meadow before the wall */
.war { background: var(--parch-2); }
.fields { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin: 0; }
.stage { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px #8a6a3a, 0 18px 40px -18px rgba(60, 40, 15, .5); }
.sea-field .stage { aspect-ratio: 16 / 9; background: var(--deep) url(/assets/landing/war_sea.webp) 30% center / cover; }
.land-field .stage { aspect-ratio: 16 / 9; background: #8aa53c url(/assets/landing/war_land.webp) 0 47% / 100% auto; }
.stage .u { position: absolute; left: var(--x); top: var(--y); width: var(--w); filter: drop-shadow(0 6px 5px rgba(20, 20, 0, .2)); transition: transform .3s; }
.field:hover .u { transform: translateX(-4px); }
.field figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }

/* advisors: alliances and research */
.court { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.advisors { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.advisors li { text-align: center; }
.advisors img { width: 100%; max-width: 150px; margin: 0 auto; }
.advisors b { display: block; margin-top: 10px; font: 400 19px/1.2 var(--display); }
.advisors span { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }

/* how it plays: a real sequence, joined by a sea route */
.how { background: var(--parch-2); }
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 2px dashed #c9b796; }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--parch); box-shadow: inset 0 0 0 2px var(--terracotta);
  color: var(--terracotta-d); font: 400 26px/1 var(--display);
  position: relative;
}
.steps h3 { font-size: 22px; margin-top: 18px; }
.steps p { margin-top: 6px; color: var(--ink-soft); font-size: 16px; }

/* the last call */
.call {
  position: relative; isolation: isolate; color: #fff;
  padding: clamp(80px, 13vw, 160px) 0;
  background: var(--deep) url(/assets/login/golden-harbour.webp) center 35% / cover;
}
.call::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 26, 44, .86), rgba(14, 26, 44, .3)); }
.call h2 { font-size: clamp(36px, 5.4vw, 64px); max-width: 13ch; }
.call p { margin: 16px 0 30px; max-width: 30em; color: #e9e2f0; font-size: 18px; }

.foot { background: var(--deep-2); color: #c9d6d6; font-size: 15px; padding: 28px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.foot .wordmark { font-size: 21px; color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .spacer { flex: 1; }

/* ---------------------------------------------------------------- sign-in (/login) and found-your-town */
.gate { min-height: 100svh; display: grid; grid-template-columns: 1.25fr minmax(360px, 1fr); }
.gate-art { position: relative; background: var(--deep) url(/assets/login/island-kingdoms.webp) 30% center / cover; color: #fff; }
.gate-art.night { background-image: url(/assets/login/lantern-tide.webp); }
.gate-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 40, 50, .7), rgba(16, 40, 50, 0) 45%), linear-gradient(to bottom, rgba(16, 40, 50, .5), rgba(16, 40, 50, 0) 25%); }
.gate-art .wordmark { position: absolute; z-index: 1; top: 22px; left: var(--gutter); color: #fff; }
.gate-art blockquote { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 36px; margin: 0; font: 400 clamp(24px, 2.6vw, 34px)/1.2 var(--display); max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.gate-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 5vw, 64px); background: var(--parch); }
.gate-panel h1 { font-size: clamp(34px, 3.4vw, 44px); }
.gate-panel .sub { color: var(--ink-soft); margin-top: 8px; }
.form { margin-top: 28px; display: grid; gap: 16px; max-width: 420px; }
.form label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.form label .opt { font-weight: 400; color: var(--ink-soft); }
.form input {
  font: 400 16px/1.2 var(--ui); color: var(--ink);
  padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fffdf8;
}
.form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 133, 144, .18); }
.form .btn { width: 100%; margin-top: 4px; padding: 15px; font-size: 16px; }
.form .hint { font-size: 13.5px; color: var(--ink-soft); font-weight: 400; }
.form-error { color: var(--bad); font-weight: 700; font-size: 14.5px; min-height: 1.2em; }
.form-note { color: var(--ok); font-weight: 700; font-size: 14.5px; }
.switch { display: inline-flex; margin-top: 26px; padding: 4px; border-radius: 12px; background: var(--parch-2); box-shadow: inset 0 0 0 1px var(--line); max-width: 420px; }
.switch button { flex: 1; font: 800 14.5px/1 var(--ui); padding: 11px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(40, 30, 15, .15); }
.fineprint { margin-top: 22px; font-size: 13.5px; color: var(--ink-soft); max-width: 420px; }
.back { margin-top: 30px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.claim { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 420px; }
.claim h2 { font-size: 22px; }
.claim p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }

/* ---------------------------------------------------------------- the world list (/worlds) */
.atlas-head { position: relative; color: #fff; background: var(--deep) url(/assets/login/island-kingdoms.webp) center 40% / cover; isolation: isolate; }
.atlas-head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(247, 241, 228, 1) 0%, rgba(247, 241, 228, 0) 38%), linear-gradient(to bottom, rgba(16, 40, 50, .7), rgba(16, 40, 50, .2)); }
.atlas-head .nav { position: static; }
.atlas-head .who { font-weight: 700; font-size: 15px; }
.atlas-title { padding: 40px var(--gutter) 90px; max-width: var(--wrap); margin: 0 auto; }
.atlas-title h1 { font-size: clamp(38px, 5vw, 60px); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.atlas { max-width: var(--wrap); margin: -40px auto 0; padding: 0 var(--gutter) 80px; position: relative; }
.atlas h2 { font-size: 26px; margin: 0 0 14px; }
.atlas section + section { margin-top: 44px; }
body[data-page="worlds"] { min-height: 100svh; display: flex; flex-direction: column; }
body[data-page="worlds"] .atlas { flex: 1; width: 100%; }
.banner { padding: 14px 18px; border-radius: 10px; background: #fbeee9; color: var(--bad); font-weight: 700; box-shadow: inset 0 0 0 1px #ecc7bb; margin-bottom: 22px; }
.worlds { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.world {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center;
  padding: 20px 22px; border-radius: 14px; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px rgba(40, 30, 15, .06);
}
.world.mine { box-shadow: inset 0 0 0 2px var(--terracotta), 0 8px 22px rgba(165, 77, 47, .12); }
.world h3 { font-size: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.world .facts { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--ink-soft); font-size: 15px; }
.world .facts b { color: var(--ink); font-weight: 800; }
.world .desc { margin-top: 6px; color: var(--ink-soft); font-size: 15px; max-width: 46em; }
.badge { font: 800 12.5px/1 var(--ui); padding: 6px 9px; border-radius: 999px; }
.badge.open { background: #e3efe0; color: #3b6e33; }
.badge.full { background: #f6ead0; color: #8a6514; }
.badge.soon { background: #dcebef; color: #2b6878; }
.badge.closed { background: #ebe6de; color: #6b6156; }
.badge.down { background: #f4e1db; color: var(--bad); }
.empty { padding: 22px; border-radius: 14px; background: var(--parch-2); color: var(--ink-soft); }
.account { margin-top: 48px; max-width: 520px; }
.account summary { cursor: pointer; font-weight: 800; }
.account .form { margin-top: 16px; }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 920px) {
  .town, .court { grid-template-columns: 1fr; }
  .cluster { max-width: 520px; width: 100%; }
  .wonders { grid-template-columns: repeat(2, 1fr); }
  .trade-in { grid-template-columns: 1fr; min-height: 0; }
  .cogs { min-height: 260px; }
  .fields { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .gate { grid-template-columns: 1fr; }
  .gate-art { min-height: 34svh; }
  .gate-art blockquote { display: none; }
}
@media (max-width: 560px) {
  .hero-art { background-position: 88% 40%; }
  body { font-size: 16px; }
  .nav { gap: 14px; }
  .nav a.link.hide-s { display: none; }
  .wordmark { font-size: 24px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .wonders { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .w-art { height: 130px; }
  .w-art img { max-height: 130px; }
  .plaque { padding: 8px 10px 10px; }
  .plaque h3 { font-size: 17px; }
  .plaque p { font-size: 13.5px; }
  .stages button { padding: 10px 12px; font-size: 14px; }
  .frame { aspect-ratio: 4 / 3; border-radius: 12px; }
  .goods { display: grid; grid-template-columns: 1fr 1fr; }
  .advisors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .world { grid-template-columns: 1fr; }
  .world .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art, .hero h1, .hero .lead, .hero .actions, .cog, .frame.drift img, .w-art img.swap { animation: none; }
  .w-art, .w-art img, .stage .u { transition: none; }
}

/* password reset and the account email */
.linkish { justify-self: start; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14.5px; font-weight: 700;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }
.account + .account { margin-top: 18px; }
.account .summary-note { font-weight: 400; color: var(--ink-soft); }
