:root {
  --ink: #4a3a2e; --ink-soft: #6f5948; --line: #eadfce;
  --leaf: #287a41; --leaf-deep: #1f6233; --leaf-soft: #e3f4e4;
  --coral: #d9533d; --butter: #ffd45e; --brass: #f2cf72;
  --teal: #25786f; --teal-deep: #1c625b; --wood: #8a5a3c;
  --sky-top: #93d3f2; --sky-mid: #c4ebf7; --sky-peach: #ffe4cf;
  --ground: #eef8fc; --card: #ffffff;
  --display: 'Jua', sans-serif; --body: 'Gowun Dodum', sans-serif;
  --shadow: 0 10px 28px rgba(74, 58, 46, .14), 0 2px 6px rgba(74, 58, 46, .08);
  --press: inset 0 -3px 0 rgba(0, 0, 0, .12);
  --shadow-lg: 0 30px 70px rgba(40, 70, 90, .22), 0 8px 18px rgba(40, 70, 90, .12);
  --wrap: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: var(--ground); caret-color: var(--leaf); -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
::selection { background: var(--butter); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #bcdfee; border-radius: 12px; border: 3px solid var(--ground); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; border-radius: 12px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
.lede { text-wrap: balance; }
code { font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace; font-size: .86em; background: rgba(255, 255, 255, .7); border-radius: 6px; padding: 1px 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 18px var(--display); text-decoration: none; border-radius: 16px; padding: 14px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: #fff; box-shadow: var(--press), 0 10px 22px rgba(31, 98, 51, .26), 0 2px 4px rgba(31, 98, 51, .14); }
.btn-primary:hover { background: var(--leaf-deep); box-shadow: var(--press), 0 14px 28px rgba(31, 98, 51, .3), 0 3px 6px rgba(31, 98, 51, .14); }
.btn-primary:active { box-shadow: inset 0 2px 0 rgba(0, 0, 0, .14), 0 4px 10px rgba(31, 98, 51, .22); }
.btn-quiet { background: rgba(255, 255, 255, .82); color: var(--ink); box-shadow: var(--press), var(--shadow); }
.btn-small { font-size: 15px; padding: 9px 16px; border-radius: 13px; background: var(--leaf); color: #fff; box-shadow: var(--press); }
.btn-block { width: 100%; margin-top: auto; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 10; top: 14px; left: 50%; translate: -50% 0; width: min(var(--wrap), calc(100% - 28px)); display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 18px; border-radius: 20px; background: rgba(28, 98, 91, .9); color: #fff; box-shadow: var(--shadow); backdrop-filter: saturate(1.4) blur(8px); }
.brand { display: flex; align-items: center; gap: 8px; font: 21px var(--display); text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { font: 15px var(--display); text-decoration: none; padding: 8px 12px; border-radius: 12px; opacity: .9; }
.nav nav a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.nav .btn-small { background: var(--butter); color: #5a3e00; box-shadow: var(--press); }
.lang { font: 14px var(--display); color: #fff; background: rgba(255, 255, 255, .14); border: 0; border-radius: 10px; padding: 7px 10px; cursor: pointer; }
.lang:hover { background: rgba(255, 255, 255, .24); }
@media (max-width: 720px) { .lang { margin-left: auto; } }

/* ---------- hero ---------- */
/* art is width-fit and its hilltop sits ~48% down, so height must grow with width to keep the hill under the copy */
.hero { position: relative; margin: 12px; min-height: max(780px, calc(440px + 31.5vw)); border-radius: 32px; overflow: hidden; display: flex; justify-content: center;
  background: url(img/hero-world.webp) center calc(100% + 48px) / max(100%, 1100px) auto no-repeat, var(--sky-top); }   /* art's top row is --sky-top: no seam */
.hero-copy { position: relative; text-align: center; padding: clamp(104px, 13vh, 132px) 24px 0; max-width: 820px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.08; letter-spacing: -.01em; color: #24425a; text-shadow: 0 2px 14px rgba(255, 255, 255, .7); }
.lede { margin: 20px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: #2f4a5c; max-width: 34em; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.fine { margin: 14px 0 0; font-size: 14px; color: #3c566a; }
.hero .fine { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); }

/* ---------- showcase window ---------- */
.showcase { position: relative; z-index: 2; width: min(var(--wrap), calc(100% - 40px)); margin: max(-17vh, -160px) auto 0; }
.window { margin: 0; background: var(--card); border-radius: 22px; padding: 0 10px 10px; box-shadow: var(--shadow-lg); border: 1px solid rgba(74, 58, 46, .08); }
.titlebar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 8px; }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.dots i:nth-child(2) { background: var(--butter); }
.dots i:nth-child(3) { background: #5fb873; }
.wtitle { font: 14px var(--display); color: var(--ink-soft); margin: 0 auto; translate: -30px 0; }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--sky-mid); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.shot.is-on { opacity: 1; transform: none; }
.scenes { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: -26px auto 0; position: relative; padding: 6px; border-radius: 20px; background: var(--teal-deep); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.scenes button { display: flex; align-items: center; gap: 7px; font: 16px var(--display); color: #d6ece8; background: none; border: 0; border-radius: 14px; padding: 9px 16px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.scenes button svg { width: 18px; height: 18px; }
.scenes button:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.scenes button[aria-selected="true"] { background: var(--butter); color: #5a3e00; }
.scene-caption { text-align: center; margin: 14px auto 0; color: var(--ink-soft); min-height: 1.65em; }

/* ---------- floors + elevator shaft ---------- */
.floors { position: relative; width: min(var(--wrap), calc(100% - 40px)); margin: 120px auto 0; padding-left: 84px; display: grid; gap: 28px; }
.shaft { position: absolute; left: 22px; top: 0; bottom: 0; width: 40px; }
.shaft::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 6px; translate: -50% 0; border-radius: 6px;
  background: repeating-linear-gradient(var(--teal) 0 14px, #2f8a80 14px 18px); opacity: .35; }
.car { position: sticky; top: 46vh; width: 40px; color: var(--teal-deep); filter: drop-shadow(0 6px 10px rgba(28, 98, 91, .25)); }
.car svg { width: 40px; height: 52px; fill: var(--butter); stroke-width: 2.4; display: block; }
.car-floor { position: absolute; white-space: nowrap; top: -26px; left: 50%; translate: -50% 0; font: 13px var(--display); background: var(--teal-deep); color: var(--butter); border-radius: 8px; padding: 1px 7px; }
.car.ding svg { animation: ding .5s var(--ease); }
@keyframes ding { 30% { transform: translateY(3px) scaleY(.96); } }

.floor { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--tint); border-radius: 30px; padding: clamp(28px, 4vw, 56px); }
.floor-wide { grid-template-columns: 1fr; }
.stop { position: absolute; left: -84px; top: clamp(30px, 4vw, 58px); width: 60px; text-align: center; font: 18px var(--display); color: #fff3dc;
  background: var(--wood); border-radius: 14px; padding: 6px 0; box-shadow: var(--press), var(--shadow); transition: background .3s, color .3s, transform .4s var(--ease); }
.floor.is-here .stop { background: var(--lamp); color: var(--ink); transform: scale(1.08); box-shadow: var(--press), 0 0 0 5px rgba(255, 255, 255, .7), var(--shadow); }
.copy h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; color: var(--tint-ink); }
.copy > p { margin: 16px 0 0; max-width: 36em; }
.floor-wide .copy > p { max-width: 52em; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.points li > svg { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: var(--card); color: var(--tint-ink); box-shadow: 0 2px 6px rgba(74, 58, 46, .08); }
.points b { display: block; font: 18px var(--display); font-weight: 400; color: var(--ink); }
.plate { margin: 0; border-radius: 18px; overflow: hidden; background: var(--card); padding: 6px; box-shadow: var(--shadow); }
.plate img { border-radius: 13px; }
.crop { position: relative; overflow: hidden; border-radius: 13px; aspect-ratio: calc(var(--w) * 2136) / calc(var(--h) * 1292); }
.crop img { position: absolute; max-width: none; border-radius: 0; width: calc(100% / var(--w)); height: calc(100% / var(--h));
  left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }
.floor-wide .copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(24px, 4vw, 56px); align-items: start; }
.floor-wide .copy > p { margin-top: 0; }
.floor-wide .copy h2 { grid-row: span 2; }   /* lets the points sit right under the paragraph */
.floor-wide .points { margin-top: 18px; grid-column: 2; }
@media (max-width: 900px) { .floor-wide .copy { grid-template-columns: 1fr; } .floor-wide .copy h2 { grid-row: auto; } .floor-wide .points { grid-column: auto; } .floor-wide .copy > p { margin-top: 16px; } }
.plate figcaption { font: 15px var(--display); color: var(--ink-soft); padding: 10px 8px 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- start ---------- */
.start { width: min(var(--wrap), calc(100% - 40px)); margin: 120px auto 0; }
.start h2, .download h2 { font-size: clamp(32px, 4vw, 52px); text-align: center; color: var(--teal-deep); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--card); border-radius: 24px; padding: 30px 26px 26px; box-shadow: var(--shadow); }
.steps .num { position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 20px var(--display); background: var(--butter); color: #5a3e00; box-shadow: var(--press), 0 4px 10px rgba(74, 58, 46, .16); }
.steps h3 { font-size: 22px; margin-top: 6px; }
.steps p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.cmd { display: block; padding: 10px 14px; border-radius: 12px; background: #24343f; color: #d7f0e8; font-size: 15px; }
.cmd::before { content: '$ '; color: var(--butter); }
.link { font: 15px var(--display); color: var(--teal); }
.warn { margin: 26px auto 0; max-width: 760px; background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 4px 22px; }
.warn summary { cursor: pointer; font: 17px var(--display); padding: 14px 0; color: var(--ink); }
.warn p, .warn ul { margin: 0 0 14px; font-size: 16px; }
.warn ul { padding-left: 18px; display: grid; gap: 6px; }
.warn b { font-family: var(--display); font-weight: 400; margin-right: 6px; }
.warn i { font-style: normal; background: var(--leaf-soft); border-radius: 6px; padding: 0 5px; }

/* ---------- download ---------- */
.download { margin: 120px 12px 0; border-radius: 32px; padding: clamp(56px, 8vw, 96px) 24px; text-align: center;
  background: radial-gradient(120% 90% at 50% 120%, #ffd9b8 0%, transparent 60%), linear-gradient(#bfe6f5, #fbe7d6); }
.download > p { margin: 12px 0 0; color: var(--ink-soft); }
.os-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.os { position: relative; display: flex; align-items: center; gap: 16px; min-width: min(360px, 100%); padding: 20px 24px; border-radius: 22px; background: var(--card); text-decoration: none; text-align: left; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.os:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.os.is-soon { opacity: .65; }
.os.is-soon:hover { transform: none; box-shadow: var(--shadow); }
.os > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf); }
.os b { display: block; font: 22px var(--display); font-weight: 400; }
.os small { font-size: 14px; color: var(--ink-soft); }
.os .mine { display: none; position: absolute; top: -12px; right: 18px; font: 13px var(--display); font-style: normal; background: var(--butter); color: #5a3e00; border-radius: 10px; padding: 2px 10px; }
.os.is-mine { outline: 3px solid var(--leaf); }
.os.is-mine .mine { display: block; }
.os.is-mine > svg { background: var(--leaf); color: #fff; }
.download .fine { color: var(--ink-soft); }

.foot { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; padding: 56px 0 48px; font-size: 14px; color: var(--ink-soft); }
.foot-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-brand b { font: 22px var(--display); color: var(--ink); }
.foot-brand p { margin: 6px 0 0; }
.foot-col { display: grid; align-content: start; gap: 8px; font-style: normal; }
.foot-col h2 { font: 15px var(--display); color: var(--ink); margin-bottom: 4px; }
.foot-col a { text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--teal); text-decoration: underline; }
.foot-legal { margin: 24px 0 0; font-size: 13px; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .floor { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav { gap: 10px; justify-content: space-between; }
  .hero { min-height: calc(133vw + 300px); padding-bottom: calc(133vw - 240px);   /* fixed height: the font swap can't shove the window down */ border-radius: 26px;   /* art (220% wide) parks its hill just under the copy */
    background: url(img/hero-world-1280.webp) 44% 100% / 220% auto no-repeat, var(--sky-top); }   /* art's top row is --sky-top: no seam */
  .hero-copy { padding: 104px 16px 0; }
  .hero .fine { font-size: 13px; }
  .lede br, .hero h1 br { display: none; }
  .showcase { width: calc(100% - 24px); margin-top: -40px; }
  .window { padding: 0 6px 6px; border-radius: 18px; }
  .titlebar { height: 32px; }
  .screen { aspect-ratio: 4 / 3; }
  .pair img { aspect-ratio: 1; object-fit: cover; }
  .scenes { margin-top: 12px; width: 100%; }
  .scenes { justify-content: space-between; gap: 2px; }
  .scenes button { flex: 1; justify-content: center; gap: 4px; padding: 8px 4px; font-size: 14px; }
  .scenes button svg { width: 15px; height: 15px; }
  .floors { width: calc(100% - 24px); padding-left: 0; margin-top: 72px; gap: 18px; }
  .shaft { display: none; }
  .floor { padding: 26px 20px 20px; border-radius: 24px; }
  .stop { left: auto; right: 16px; top: 16px; width: 52px; font-size: 16px; padding: 4px 0; }
  .copy h2 { padding-right: 60px; }
  .pair { grid-template-columns: 1fr; }
  .start, .download { margin-top: 80px; }
  .os { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot, .btn, .os, .stop { transition: none; }
  .shot { transform: none; }
  .car.ding svg { animation: none; }
}
