:root {
  color-scheme: light;
  --base: #ffffff;
  --surface: #f5f8fc;
  --main: #192a46;
  --main-soft: #2c3f5d;
  --blue: #476da8;
  --blue-soft: #edf2f8;
  --accent: #d7794b;
  --text: #323944;
  --muted: #707987;
  --line: #dfe5ed;
  --shadow: 0 10px 28px rgba(25, 42, 70, 0.055);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--base); }

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic UI", "Yu Gothic", Meiryo, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--base);
}

body::before {
  position: absolute;
  top: 78px;
  right: 0;
  z-index: 0;
  width: 100%;
  height: 650px;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 28%, rgba(255,255,255,.64) 55%, rgba(255,255,255,.18) 100%),
    url("./lil-city-background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: .74;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 76%, transparent 100%);
  transform-origin: center top;
  will-change: transform;
  animation: city-drift 28s ease-in-out infinite alternate;
}

button { font: inherit; }

.standby-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  overflow: hidden;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  color: #fff;
  background: #0b1c36;
  isolation: isolate;
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

.standby-screen__panel {
  position: absolute;
  inset-block: 0;
  z-index: -2;
  width: 50.15%;
  background-image:
    linear-gradient(115deg, rgba(5, 17, 37, .97), rgba(19, 43, 76, .9)),
    url("./lil-city-background.png");
  background-repeat: no-repeat;
  background-size: 200% 106%, 200% auto;
  transition: transform 760ms cubic-bezier(.72, 0, .2, 1);
  animation: standby-depth 18s ease-in-out infinite;
}

.standby-screen__panel--left { left: 0; background-position: left center; }
.standby-screen__panel--right { right: 0; background-position: right center; }

.standby-screen::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(71, 109, 168, .22), transparent 34%),
    linear-gradient(to bottom, rgba(2, 12, 29, .05), rgba(2, 12, 29, .35));
}

.standby-screen__line {
  position: absolute;
  right: -12vw;
  bottom: -25vh;
  left: -12vw;
  height: 34vh;
  border: 1px solid rgba(218, 163, 123, .54);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-3deg);
  transition: opacity 260ms ease, transform 760ms cubic-bezier(.72, 0, .2, 1);
}

.standby-screen__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  text-align: center;
  transition: opacity 260ms ease, transform 500ms cubic-bezier(.2, .8, .2, 1);
  animation: standby-arrive 850ms cubic-bezier(.2, .8, .2, 1) both;
}

.standby-screen__overline {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .58);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .34em;
}

.standby-screen__mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  border-color: rgba(255, 255, 255, .34);
  border-radius: 4px;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -.05em;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 20px 70px rgba(0, 7, 20, .18);
}

.standby-screen__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 6.5vw, 5.35rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
  outline: none;
}

.standby-screen__for {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: clamp(.78rem, 1.25vw, .92rem);
  font-weight: 400;
  letter-spacing: .18em;
}

.standby-screen__message {
  margin: clamp(38px, 6vh, 58px) 0 32px;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.96rem, 1.8vw, 1.14rem);
  font-weight: 300;
  letter-spacing: .08em;
}

.standby-screen__message strong { color: #fff; font-weight: 450; }

.standby-screen__start {
  display: inline-flex;
  min-width: min(300px, 100%);
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 15px 13px 22px;
  border: 1px solid rgba(225, 204, 182, .48);
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 22px 60px rgba(0, 8, 25, .16);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.standby-screen__start:hover { border-color: rgba(245, 225, 207, .82); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.standby-screen__start:focus-visible { outline: 1px solid rgba(231, 190, 158, .9); outline-offset: 5px; }

.standby-screen__key {
  padding: 5px 8px;
  border: 1px solid rgba(229, 181, 146, .22);
  border-radius: 2px;
  color: #e5b592;
  font-size: .62rem;
  letter-spacing: .12em;
  background: rgba(215, 121, 75, .07);
}

.standby-screen__hint {
  position: absolute;
  bottom: clamp(18px, 4vh, 36px);
  margin: 0;
  color: rgba(255, 255, 255, .4);
  font-size: .69rem;
  letter-spacing: .08em;
  transition: opacity 180ms ease;
}

.standby-screen.is-leaving .standby-screen__panel--left { transform: translateX(-101%); }
.standby-screen.is-leaving .standby-screen__panel--right { transform: translateX(101%); }
.standby-screen.is-leaving .standby-screen__content { opacity: 0; transform: scale(.975); }
.standby-screen.is-leaving .standby-screen__line { opacity: 0; transform: translateY(30px) rotate(-3deg); }
.standby-screen.is-leaving .standby-screen__hint { opacity: 0; }
.standby-screen.is-hidden { visibility: hidden; pointer-events: none; }
body.has-standby { overflow: hidden; }
body.has-standby .page { pointer-events: none; }

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 26px 0 22px;
}

.site-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: transparent;
}

.brand:focus-visible { outline: 3px solid rgba(71, 109, 168, .32); outline-offset: 5px; border-radius: 11px; }

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-weight: 850;
  letter-spacing: -.05em;
  background: var(--main);
}

.brand-copy { display: flex; align-items: baseline; gap: 11px; white-space: nowrap; }
.brand-name { color: var(--main); font-size: 1.04rem; font-weight: 850; letter-spacing: .045em; }
.brand-separator { width: 1px; height: 16px; background: #cbd3df; }
.brand-for { color: var(--muted); font-size: .78rem; font-weight: 700; }

.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #d8e0e9;
  border-radius: 999px;
  color: var(--main-soft);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .04em;
  white-space: nowrap;
  background: #f8fafc;
}

.demo-label::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.return-standby {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(25, 42, 70, .3);
  color: var(--main-soft);
  cursor: pointer;
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
  background: transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.return-standby:hover { color: var(--accent); border-color: var(--accent); }
.return-standby:focus-visible { outline: 2px solid rgba(71, 109, 168, .32); outline-offset: 4px; }

main { padding: clamp(34px, 5vw, 58px) 0 26px; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr);
  align-items: end;
  gap: 56px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.overline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
  color: var(--main-soft);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.overline::after {
  width: 44px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--accent) 0 36%, var(--blue) 36% 100%);
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--main);
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.055em;
}

h1 strong { color: var(--blue); font-weight: inherit; }

.intro-copy {
  margin: 0 0 4px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.85;
}

.intro-copy b { display: block; margin-bottom: 2px; color: var(--main-soft); font-size: 1rem; }

.tools-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.tools-heading h2 { margin: 0; color: var(--main); font-size: .93rem; font-weight: 850; letter-spacing: .035em; }
.tools-heading span { color: var(--muted); font-size: .76rem; font-weight: 650; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.tool-card {
  position: relative;
  display: flex;
  min-height: 280px;
  overflow: hidden;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.tool-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: var(--blue);
  opacity: 0;
  transform: scaleX(.5);
  transform-origin: left;
  transition: opacity 170ms ease, transform 170ms ease;
}

.tool-card:hover, .tool-card:focus-within {
  transform: translateY(-7px) rotate(-.22deg);
  border-color: #bdc9da;
  background: #fff;
  box-shadow: 0 16px 38px rgba(25, 42, 70, .10);
}

.tool-card:nth-child(2):hover,
.tool-card:nth-child(2):focus-within {
  transform: translateY(-7px) rotate(.22deg);
}

.tool-card:hover::before, .tool-card:focus-within::before { opacity: 1; transform: scaleX(1); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }

.icon-tile {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  transition: color 170ms ease, background 170ms ease, transform 220ms cubic-bezier(.2,.9,.25,1.35);
}

.icon-tile svg, .launch-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: .69rem;
  font-weight: 850;
  background: var(--main);
  transition: background 170ms ease, transform 220ms cubic-bezier(.2,.9,.25,1.35);
}

.tool-card:hover .icon-tile,
.tool-card:focus-within .icon-tile {
  color: #fff;
  background: var(--blue);
  transform: rotate(-6deg) scale(1.07);
}

.tool-card:hover .tool-number,
.tool-card:focus-within .tool-number {
  background: var(--accent);
  transform: rotate(8deg) scale(1.08);
}

.tool-card h3 { margin: 0 0 8px; color: var(--main); font-size: 1.25rem; font-weight: 850; line-height: 1.35; letter-spacing: -.02em; }
.tool-description { margin: 0 0 23px; color: var(--muted); font-size: .88rem; line-height: 1.75; }

.launch-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px 13px 10px 15px;
  border: 1px solid #cad5e4;
  border-radius: 10px;
  color: var(--main);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
  background: rgba(255, 255, 255, .74);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.launch-button:hover { border-color: var(--main); color: #fff; background: var(--main); }
.launch-button:focus-visible { outline: 3px solid rgba(71, 109, 168, .32); outline-offset: 3px; }

.launch-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; color: #fff; background: var(--accent); }
.launch-icon svg { width: 14px; height: 14px; stroke-width: 2.2; }

.launch-icon {
  transition: transform 190ms cubic-bezier(.2,.9,.25,1.35), background 160ms ease;
}

.launch-button:hover .launch-icon,
.launch-button:focus-visible .launch-icon {
  background: #ed8a58;
  transform: translate(2px, -2px) rotate(5deg);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #87909e;
  font-size: .71rem;
  letter-spacing: .03em;
}

.appraisal-preview {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 42px);
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(8, 20, 40, .72);
  backdrop-filter: blur(10px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.appraisal-preview.is-active { visibility: visible; opacity: 1; }
body.is-previewing-appraisal { overflow: hidden; }
body.is-previewing-appraisal .page { pointer-events: none; }

.appraisal-preview__panel {
  width: min(1100px, 100%);
  max-height: calc(100vh - clamp(36px, 6vw, 84px));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 18px;
  background: #f6f8fb;
  box-shadow: 0 32px 90px rgba(0, 11, 31, .32);
  transform: translateY(18px) scale(.985);
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
}

.appraisal-preview.is-active .appraisal-preview__panel { transform: translateY(0) scale(1); }

.appraisal-preview__header {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 74% 10%, rgba(71, 109, 168, .32), transparent 31%),
    linear-gradient(120deg, #0d203d, #1b355d);
}

.appraisal-preview__brand { display: flex; min-width: 0; align-items: center; gap: 18px; }

.appraisal-preview__mark {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 6px;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-weight: 500;
  background: rgba(255, 255, 255, .07);
}

.appraisal-preview__eyebrow {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, .56);
  font-size: .62rem;
  letter-spacing: .2em;
}

.appraisal-preview__brand h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
  outline: none;
}

.appraisal-preview__brand div > p:last-child { margin: 4px 0 0; color: rgba(255, 255, 255, .66); font-size: .8rem; }
.appraisal-preview__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.appraisal-preview__actions > span { padding: 6px 10px; border: 1px solid rgba(229, 181, 146, .45); border-radius: 999px; color: #efc4a6; font-size: .68rem; letter-spacing: .06em; }

.appraisal-preview__actions button {
  padding: 8px 3px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  cursor: pointer;
  font-size: .76rem;
  background: transparent;
}

.appraisal-preview__actions button:hover { border-color: #e5a278; color: #f4c2a2; }
.appraisal-preview__actions button:focus-visible { outline: 2px solid #e5a278; outline-offset: 5px; }

.appraisal-preview__body { padding: clamp(22px, 3vw, 34px); }
.appraisal-config, .appraisal-results { padding: clamp(18px, 2.4vw, 26px); border: 1px solid #dce3ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(25, 42, 70, .04); }
.appraisal-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.appraisal-section-heading p { margin: 0 0 2px; color: var(--blue); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.appraisal-section-heading h3 { margin: 0; color: var(--main); font-size: 1.03rem; font-weight: 700; }
.appraisal-section-heading > span { color: var(--muted); font-size: .7rem; }

.appraisal-config__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; }
.appraisal-config__grid div { min-width: 0; padding: 12px 14px; border: 1px solid #dde4ed; border-radius: 10px; background: #f8fafc; }
.appraisal-config__grid dt { overflow: hidden; margin-bottom: 4px; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.appraisal-config__grid dd { margin: 0; color: var(--main); font-family: "Avenir Next", "Helvetica Neue", sans-serif; font-size: 1.35rem; font-weight: 500; }
.appraisal-config__grid small { margin-left: 4px; color: var(--muted); font-family: inherit; font-size: .64rem; font-weight: 400; }

.appraisal-document {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
  padding: 19px 22px;
  border: 1px dashed #9dacbf;
  border-radius: 12px;
  background: linear-gradient(120deg, #f8fafc, #f1f5fa);
}

.appraisal-document__icon { display: grid; flex: 0 0 auto; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--blue); background: #e8eef7; }
.appraisal-document__icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.appraisal-document div:nth-child(2) { min-width: 0; }
.appraisal-document p { margin: 0; color: var(--main); font-size: .92rem; font-weight: 700; }
.appraisal-document div:nth-child(2) span { color: var(--muted); font-size: .75rem; }
.appraisal-document__status { margin-left: auto; padding: 6px 10px; border-radius: 999px; color: #426b5a; font-size: .7rem; white-space: nowrap; background: #e9f4ef; }

.appraisal-results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.appraisal-results__grid article { position: relative; overflow: hidden; padding: 18px; border: 1px solid #dce3ec; border-radius: 12px; background: #f8fafc; }
.appraisal-results__grid article::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: var(--blue); }
.appraisal-results__grid article.is-positive::before { background: var(--accent); }
.appraisal-results__grid article > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .72rem; }
.appraisal-results__grid strong { display: block; color: var(--main); font-family: "Avenir Next", "Helvetica Neue", sans-serif; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.2; }
.appraisal-results__grid .is-positive strong { color: #ba633b; }
.appraisal-results__grid strong small { margin-left: 5px; font-family: inherit; font-size: .7rem; font-weight: 500; }
.appraisal-results__grid p { margin: 9px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.appraisal-preview__notice { margin: 16px 2px 0; color: #7a818c; font-size: .7rem; text-align: right; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  max-width: min(390px, calc(100% - 32px));
  padding: 13px 16px;
  border-radius: 11px;
  color: #fff;
  font-size: .88rem;
  background: var(--main);
  box-shadow: 0 14px 35px rgba(25, 42, 70, .24);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }

.launch-gateway {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  overflow: hidden;
  place-items: center;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 24, 50, .97), rgba(20, 51, 91, .92)),
    url("./lil-city-background.png") center / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.launch-gateway::before,
.launch-gateway::after {
  position: absolute;
  right: -12vw;
  left: -12vw;
  height: 34vh;
  border: 2px solid rgba(215, 121, 75, .62);
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(-4deg);
}

.launch-gateway::before { bottom: -25vh; }
.launch-gateway::after { bottom: -29vh; border-color: rgba(255, 255, 255, .13) transparent; transform: rotate(3deg); }

.launch-gateway.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.launch-gateway__content {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity 320ms ease 100ms, transform 430ms cubic-bezier(.2, .8, .2, 1) 100ms;
}

.launch-gateway.is-active .launch-gateway__content { opacity: 1; transform: translateY(0) scale(1); }

.launch-gateway__brand {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .78);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.launch-gateway__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 19px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 16px 45px rgba(0, 8, 25, .24);
}

.launch-gateway__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-gateway__kicker {
  margin: 0 0 8px;
  color: #e69a72;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.launch-gateway__title { margin: 0; color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 850; letter-spacing: -.03em; }
.launch-gateway__status { margin: 8px 0 24px; color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 650; }

.launch-gateway__progress {
  width: min(280px, 72vw);
  height: 2px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.launch-gateway__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #efad79);
  transform: scaleX(0);
  transform-origin: left;
}

.launch-gateway.is-active .launch-gateway__progress span { animation: launch-progress 720ms cubic-bezier(.25, .7, .2, 1) 90ms forwards; }
body.is-launching { overflow: hidden; }
body.is-launching .page { pointer-events: none; }
.launch-button.is-launching { transform: scale(.97); }

.js .site-header,
.js .intro,
.js .tools-heading,
.js .tool-card,
.js footer {
  opacity: 0;
  transform: translateY(14px);
}

.js body.is-ready .site-header,
.js body.is-ready .intro,
.js body.is-ready .tools-heading,
.js body.is-ready .tool-card,
.js body.is-ready footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(.2,.75,.2,1);
}

.js body.is-ready .intro { transition-delay: 80ms; }
.js body.is-ready .tools-heading { transition-delay: 150ms; }
.js body.is-ready .tool-card:nth-child(1) { transition-delay: 210ms; }
.js body.is-ready .tool-card:nth-child(2) { transition-delay: 280ms; }
.js body.is-ready .tool-card:nth-child(3) { transition-delay: 350ms; }
.js body.is-ready footer { transition-delay: 400ms; }

.js body.is-ready .tool-card:hover,
.js body.is-ready .tool-card:focus-within {
  transform: translateY(-7px) rotate(-.22deg);
  transition-delay: 0ms;
}

.js body.is-ready .tool-card:nth-child(2):hover,
.js body.is-ready .tool-card:nth-child(2):focus-within {
  transform: translateY(-7px) rotate(.22deg);
}

@keyframes city-drift {
  from { transform: translate3d(-1.25%, 0, 0) scale(1.045); }
  to { transform: translate3d(1.25%, -3px, 0) scale(1.065); }
}

@keyframes launch-progress { to { transform: scaleX(1); } }

@keyframes standby-depth {
  0%, 100% { background-size: 200% 106%, 200% auto; }
  50% { background-size: 204% 108%, 204% auto; }
}

@keyframes standby-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .page { width: min(100% - 36px, 760px); }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .tool-grid { gap: 12px; }
  .tool-card { min-height: 300px; padding: 19px; }
  .tool-description { font-size: .82rem; }
  .appraisal-config__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body::before {
    top: 72px;
    height: 520px;
    background-position: 64% top;
    opacity: .42;
  }
  .page { width: min(100% - 26px, 520px); padding-top: 16px; }
  .site-header { align-items: flex-start; gap: 12px; }
  .brand-copy { display: block; }
  .brand-separator, .brand-for { display: none; }
  .demo-label { padding: 6px 9px; font-size: .7rem; }
  .header-actions { gap: 9px; }
  .return-standby { font-size: .68rem; }
  main { padding-top: 30px; }
  h1 { font-size: 2.15rem; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 262px; }
  footer { align-items: flex-start; flex-direction: column; gap: 3px; }
  .standby-screen { padding-inline: 20px; }
  .standby-screen__overline { margin-bottom: 18px; }
  .standby-screen__mark { width: 52px; height: 52px; margin-bottom: 17px; }
  .standby-screen__message { margin-top: 28px; }
  .appraisal-preview { padding: 0; place-items: stretch; }
  .appraisal-preview__panel { width: 100%; max-height: 100vh; min-height: 100vh; border: 0; border-radius: 0; }
  .appraisal-preview__header { min-height: auto; align-items: flex-start; padding: 19px 17px; }
  .appraisal-preview__brand { gap: 12px; }
  .appraisal-preview__mark { width: 40px; height: 40px; }
  .appraisal-preview__brand div > p:last-child { display: none; }
  .appraisal-preview__actions > span { display: none; }
  .appraisal-preview__body { padding: 15px; }
  .appraisal-config__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .appraisal-config__grid div:last-child { grid-column: 1 / -1; }
  .appraisal-document { align-items: flex-start; padding: 16px; }
  .appraisal-document__status { display: none; }
  .appraisal-results__grid { grid-template-columns: 1fr; gap: 9px; }
  .appraisal-preview__notice { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .site-header, .js .intro, .js .tools-heading, .js .tool-card, .js footer {
    opacity: 1 !important;
    transform: none !important;
  }
  .launch-gateway__content { opacity: 1; transform: none; }
  .launch-gateway__progress span { transform: scaleX(1); }
  .standby-screen__content { animation: none; }
  .appraisal-preview__panel { transform: none !important; }
  .standby-screen.is-leaving { opacity: 0; }
  .standby-screen.is-leaving .standby-screen__panel--left,
  .standby-screen.is-leaving .standby-screen__panel--right,
  .standby-screen.is-leaving .standby-screen__content,
  .standby-screen.is-leaving .standby-screen__line { transform: none; }
}
