/* OnStage landing page. "Stage lights": the app's presentation blue (#121726),
   the icon's warm spotlight gold, and ivory "house lights" for reading sections. */

:root {
  --night: #0b0f1e;
  --stage: #121726;
  --floor: #070a16;
  --ivory: #f6f3ec;
  --card: #fffdf8;
  --line-light: #e5dfd1;
  --line-dark: rgba(255, 255, 255, 0.07);
  --ink: #121726;
  --ink-muted: #545b70;
  --text: #f4f1ea;
  --text-strong: #f7f3ea;
  --text-muted: #b9c1db;
  --text-faint: #8f98b6;
  --gold: #ffcf70;
  --gold-ink: #8a5b00;
  --blue: #1646c8;
  --blue-soft: #e8eefd;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 60px;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { flex: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

:lang(ko) { word-break: keep-all; }
:lang(ja), :lang(zh-Hans), :lang(zh-Hant) { line-break: strict; }
:lang(de) :is(p, dd, li, h3) { hyphens: auto; -webkit-hyphens: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--gold); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-dark); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 36px; height: 36px; }
.brand__name { font-family: var(--font-display); font-size: 22px; font-weight: var(--w-display); letter-spacing: 0.01em; }

.site-nav ul { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.site-nav a { color: #c3c9dd; transition: color 0.15s; }
.site-nav a:hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(255, 207, 112, 0.5); border-radius: 999px;
  color: var(--gold) !important; font-weight: 600; white-space: nowrap;
  transition: background 0.15s;
}
.pill:hover { background: rgba(255, 207, 112, 0.08); }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  border-radius: 999px; color: #c3c9dd; font-size: 14px;
  list-style: none; cursor: pointer; white-space: nowrap;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  min-width: 180px; padding: 6px;
  border: 1px solid #2a3350; border-radius: 14px;
  background: var(--stage); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.lang__list a {
  display: flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 9px; color: #c3c9dd; font-size: 15px;
}
.lang__list a:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lang__list a[aria-current] { color: var(--gold); }

.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: transparent; cursor: pointer; color: var(--text);
  }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    padding: 8px var(--gutter) 20px;
    background: var(--night);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 48px; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .site-nav__cta { margin-top: 16px; }
  .site-nav .pill { width: 100%; min-height: 48px; border-bottom: 1px solid rgba(255, 207, 112, 0.5); }
  .no-js .site-header__inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav-toggle { display: none; }
}

@media (max-width: 767px) {
  .site-header__inner { gap: 4px; }
  .brand img { width: 30px; height: 30px; }
  .brand__name { font-size: 19px; }
  .lang__current { display: none; }
  .lang summary { padding: 0 10px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding-bottom: 96px; }
.hero__bg {
  position: absolute; left: 0; right: 0; bottom: 0; top: calc(-1 * var(--header-h));
  overflow: hidden; pointer-events: none;
}
.hero__bg::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 1440px; height: 1420px; margin-left: -720px;
  clip-path: polygon(46% 0, 54% 0, 82% 100%, 18% 100%);
  background: linear-gradient(180deg, rgba(255, 207, 112, 0.24) 0%, rgba(255, 207, 112, 0.08) 55%, rgba(255, 207, 112, 0) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; left: 50%; top: -46px;
  width: 360px; height: 92px; margin-left: -180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 170, 0.85), rgba(255, 207, 112, 0));
}

.hero__intro { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 6px 16px;
  border: 1px solid rgba(255, 207, 112, 0.32); border-radius: 999px;
  background: rgba(255, 207, 112, 0.06);
  color: var(--gold); font-size: 14px; line-height: 1.4; letter-spacing: 0.04em;
}
.eyebrow__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #34c759; }

.hero__title {
  margin-top: 32px; max-width: 15em;
  font-family: var(--font-display); font-weight: var(--w-strong);
  font-size: clamp(2.75rem, 1.35rem + 4.6vw, 5.25rem); line-height: 1.12;
  letter-spacing: var(--display-tracking);
  color: var(--text-strong); text-wrap: balance;
}
.hl { color: var(--gold); }

.hero__sub {
  margin-top: 28px; max-width: 700px;
  font-size: clamp(1rem, 0.85rem + 0.55vw, 1.3125rem); line-height: 1.7;
  color: var(--text-muted); text-wrap: pretty;
}

.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border-radius: 14px;
  font-size: 17px; font-weight: 700; text-align: center;
  transition: background 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 40px rgba(255, 207, 112, 0.25); }
.btn--gold:hover { background: #ffd98a; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); font-weight: 500; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }

.hero__price { margin-top: 18px; font-size: 14px; color: var(--text-faint); }

@media (max-width: 767px) {
  .hero { padding-bottom: 56px; }
  .hero__intro { padding-top: 40px; }
  .eyebrow { font-size: 13px; padding: 5px 14px; }
  .hero__title { margin-top: 24px; }
  .hero__sub { margin-top: 18px; }
  .hero__actions { align-self: stretch; margin-top: 28px; }
  .btn { width: 100%; min-height: 54px; }
  .hero .btn--ghost { display: none; }
  .hero__price { margin-top: 14px; font-size: 13px; }
}

/* ---------- Stage animation ---------- */

.stage { --s: 1; position: relative; margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 1099px) { .stage { --s: 0.8; } }
@media (max-width: 899px) { .stage { --s: 0.64; } }
@media (max-width: 699px) { .stage { --s: 0.46; } }
@media (max-width: 479px) { .stage { --s: 0.33; margin-top: 40px; } }

.stage__glow {
  position: absolute; left: 50%; top: calc(600px * var(--s));
  width: calc(1100px * var(--s)); height: calc(180px * var(--s));
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 207, 112, 0.3), rgba(255, 207, 112, 0));
  pointer-events: none;
}

.stage__frame { position: relative; width: calc(1040px * var(--s)); height: calc(718px * var(--s)); }

.monitor {
  position: absolute; left: 0; top: 0; width: 1040px;
  display: flex; flex-direction: column; align-items: center;
  transform: scale(var(--s)); transform-origin: 0 0;
}
.monitor__bezel {
  width: 1040px; height: 650px; padding: 14px; border-radius: 24px;
  background: linear-gradient(180deg, #e4eaf6, #c3cde2);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.monitor__neck { width: 150px; height: 54px; background: linear-gradient(180deg, #a9b4cc, #c9d2e5); }
.monitor__base { width: 340px; height: 14px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #dce3f1, #b4bfd6); }

/* Both captions share one cell and swap visibility, so the row never changes height. */
.stage__caption {
  position: relative; margin-top: 28px;
  width: min(100%, max(calc(1040px * var(--s)), 340px));
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; column-gap: 12px;
  font-size: 15px; line-height: 1.5; color: var(--text-muted); text-align: center;
}
.stage__caption > span { grid-area: 1 / 2; transition: opacity 0.3s ease, visibility 0.3s; }
.stage [data-stage-after], .stage.is-done [data-stage-before] { opacity: 0; visibility: hidden; }
.stage.is-done [data-stage-after] { opacity: 1; visibility: visible; }
.stage__dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #34c759; vertical-align: 0.05em; }
.stage__toggle {
  grid-area: 1 / 3; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%;
  background: transparent; color: var(--text); cursor: pointer;
}
.stage__toggle:hover { background: rgba(255, 255, 255, 0.08); }
.stage__toggle[hidden] { display: none; }
.stage__toggle .icon-play, .stage.is-paused .stage__toggle .icon-pause { display: none; }
.stage.is-paused .stage__toggle .icon-play { display: block; }

@media (max-width: 767px) {
  .stage__caption { margin-top: 20px; font-size: 14px; column-gap: 8px; }
}

/* Screen contents, laid out in the 1012 × 622 px coordinates of the design. */

.screen {
  position: relative; width: 1012px; height: 622px;
  border-radius: 11px; overflow: hidden;
  background: var(--stage);
  color: #1d1d1f; font-family: -apple-system, BlinkMacSystemFont, var(--font-body);
  font-size: 13px; line-height: 1.3; text-align: left;
}
.screen > * { position: absolute; }

.scr-wall { inset: 0; overflow: hidden; background: linear-gradient(165deg, #2e3c8c 0%, #6a55b5 42%, #d6827c 80%, #f0b27e 100%); }
.hill { position: absolute; border-radius: 50%; }
.scr-wall .hill--a { left: -160px; top: 430px; width: 760px; height: 380px; background: #3b2e73; }
.scr-wall .hill--b { left: 380px; top: 470px; width: 900px; height: 400px; background: #251d52; }

.scr-icons {
  left: 14px; top: 44px; width: 164px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px;
  transform-origin: 0 0;
}
.scr-file { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scr-file__name {
  max-width: 76px; font-size: 11px; line-height: 1.3; color: #fff; text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.file { position: relative; width: 38px; height: 48px; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.file b {
  position: absolute; left: 0; right: 0; bottom: 8px; height: 12px;
  font: 700 7px/12px -apple-system, BlinkMacSystemFont, sans-serif; color: #fff; text-align: center;
}
.file--pdf b { background: #d93a3f; }
.file--xlsx b { background: #1f8a4c; }
.file--docx b { background: #2f6fe0; }
.file--img::after {
  content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 26px; border-radius: 2px;
  background: linear-gradient(180deg, #8ec5ff, #f5c28a);
}
.folder { position: relative; width: 52px; height: 48px; }
.folder::before { content: ""; position: absolute; left: 0; top: 6px; width: 22px; height: 10px; border-radius: 3px 3px 0 0; background: #5aa9f0; }
.folder::after { content: ""; position: absolute; left: 0; top: 11px; width: 52px; height: 37px; border-radius: 4px; background: linear-gradient(180deg, #7cc0f7, #4b9be8); }

.win {
  display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4);
}
.win__bar {
  position: relative; flex: none; height: 30px; padding: 0 10px;
  display: flex; align-items: center; gap: 6px;
  background: #f2f2f4; border-bottom: 1px solid #e2e2e6;
}
.win__title {
  position: absolute; left: 64px; right: 64px;
  font-size: 11px; color: #5f5f64; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #c9c9ce; }
.tl--r { background: #ff5f57; }
.tl--y { background: #febc2e; }
.tl--g { background: #28c840; }

.win--pres { left: 186px; top: 114px; width: 640px; height: 420px; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.win--pres .win__bar { height: 34px; padding: 0 12px; gap: 8px; background: #eceae4; border-bottom-color: #dcd8ce; }
.win--pres .tl { width: 12px; height: 12px; }
.win--pres .win__title { font-size: 13px; color: #5f5e5a; }
.slide { flex: 1; padding: 40px 48px; display: flex; flex-direction: column; gap: 10px; }
.slide__kicker { font-size: 13px; letter-spacing: 0.12em; color: #8a5b00; }
.slide__title { font-family: var(--font-display); font-size: 34px; line-height: 1.3; font-weight: var(--w-display); color: #121726; }
.slide__chart { margin-top: 22px; flex: 1; display: flex; align-items: flex-end; gap: 24px; border-bottom: 1px solid #e5e1d8; }
.slide__chart span { width: 72px; border-radius: 6px 6px 0 0; }
.slide__chart span:nth-child(1) { height: 70px; background: #c9d6f5; }
.slide__chart span:nth-child(2) { height: 105px; background: #9db6f0; }
.slide__chart span:nth-child(3) { height: 140px; background: #6b90ea; }
.slide__chart span:nth-child(4) { height: 185px; background: #1d5bf0; }

.win--mail { left: 232px; top: 58px; width: 430px; height: 282px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.mail { padding: 10px 16px; border-bottom: 1px solid #eeeef1; display: flex; flex-direction: column; gap: 3px; }
.mail:last-child { border-bottom: 0; }
.mail__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.mail__from { font-weight: 700; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail__time { flex: none; font-size: 11px; color: #75757a; }
.mail__subject { font-size: 12px; color: #3a3a3c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.win--browser { left: 470px; top: 180px; width: 410px; height: 300px; }
.browser__tabs { flex: none; height: 32px; padding: 0 10px; display: flex; align-items: flex-end; gap: 6px; background: #e4e4e8; }
.browser__lights { display: flex; align-items: center; gap: 6px; height: 32px; padding-right: 8px; }
.browser__tab {
  height: 24px; max-width: 170px; padding: 0 12px;
  display: flex; align-items: center; border-radius: 7px 7px 0 0;
  font-size: 11px; color: #4a4a50; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__tab--active { display: block; line-height: 24px; background: #fff; color: #1d1d1f; }
.browser__page { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.browser__h { font-size: 16px; font-weight: 700; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__line { display: block; height: 8px; border-radius: 4px; background: #e6e6ea; }
.browser__btn {
  margin-top: 12px; align-self: flex-start; height: 30px; padding: 0 16px;
  display: flex; align-items: center; border-radius: 7px;
  background: #0066e0; font-size: 12px; font-weight: 600; color: #fff;
}

.win--chat { left: 600px; top: 360px; width: 290px; height: 240px; }
.chat { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bubble { align-self: flex-start; max-width: 210px; padding: 7px 11px; border-radius: 14px; background: #e9e9eb; font-size: 12px; color: #1d1d1f; }
.bubble--me { align-self: flex-end; background: #0066e0; color: #fff; }

.scr-bar {
  left: 0; top: 0; width: 1012px; height: 26px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 13px; white-space: nowrap;
}
.scr-bar--light { background: rgba(255, 255, 255, 0.62); color: #1d1d1f; }
.scr-bar--dark { background: rgba(255, 255, 255, 0.06); color: #eef0f6; opacity: 0; }
.scr-bar__menus { display: flex; align-items: center; gap: 18px; min-width: 0; overflow: hidden; }
.scr-bar__app { font-weight: 700; }
.scr-bar__right { display: flex; align-items: center; gap: 16px; }
.scr-status { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 20px; border-radius: 5px; }
.scr-status__dot { position: absolute; right: 7px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: #34c759; opacity: 0; }

.scr-menu {
  right: 6px; top: 28px; min-width: 220px; padding: 5px;
  border-radius: 10px; background: rgba(246, 246, 248, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 0.5px rgba(0, 0, 0, 0.2);
  color: #1d1d1f; white-space: nowrap;
}
.scr-menu__item {
  position: relative; height: 22px; padding: 0 12px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-radius: 5px;
}
.scr-menu__item--head { color: #8e8e93; }
.scr-menu__item--start { font-weight: 500; }
.scr-menu__check { position: absolute; left: 8px; top: 6px; }
.scr-menu__sep { height: 1px; margin: 5px 10px; background: #d9d9de; }

.scr-cursor { left: 0; top: 0; transform: translate(520px, 330px); transform-origin: 1.5px 1.5px; }

.scr-cursor { transition: opacity 0.3s ease; }
.stage.is-cursor-hidden .scr-cursor { opacity: 0; }
/* Between loops the cluttered desktop fades back in. */
.stage.is-resetting [data-l]:not(.scr-cursor) { transition: opacity 0.7s ease; }
/* Reduced motion: the stage shows its end state and does not play. */
.stage.is-static .scr-cursor { display: none; }

/* Without JavaScript the stage shows its end state. */
.no-js :is(.scr-wall, .scr-icons, .win--mail, .win--browser, .win--chat, .scr-bar--light, .scr-menu, .scr-cursor) { opacity: 0; }
.no-js :is(.scr-bar--dark, .scr-status__dot) { opacity: 1; }
.no-js .stage [data-stage-before] { opacity: 0; visibility: hidden; }
.no-js .stage [data-stage-after] { opacity: 1; visibility: visible; }

/* ---------- Sections ---------- */

.section { padding-block: 112px; }
.section--night { background: var(--night); border-top: 1px solid var(--line-dark); }
.section--stage { background: var(--stage); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--joined { padding-top: 0; }
.rule { padding-top: 112px; border-top: 1px solid var(--line-light); }

.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.section--ivory .kicker { color: var(--gold-ink); }

.h2 {
  margin-top: 16px;
  font-family: var(--font-display); font-weight: var(--w-display);
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); line-height: 1.25;
  letter-spacing: var(--display-tracking);
  color: var(--text-strong); text-wrap: balance;
}
.section--ivory .h2 { color: var(--ink); }

@media (max-width: 767px) {
  .section { padding-block: 64px; }
  .section--joined { padding-top: 0; }
  .rule { padding-top: 56px; }
  .kicker { font-size: 13px; }
  .h2 { margin-top: 12px; }
}

/* How it works */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: var(--w-display); color: var(--gold); }
.step__title { margin-top: 8px; font-size: 24px; line-height: 1.4; font-weight: 600; color: var(--text); }
.step p { font-size: 16px; line-height: 1.75; color: var(--text-muted); text-wrap: pretty; }

@media (max-width: 767px) {
  .steps { margin-top: 32px; grid-template-columns: 1fr; gap: 28px; }
  .step { padding-top: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; }
  .step__num { grid-row: span 2; font-size: 28px; }
  .step__title { margin: 0; font-size: 19px; }
  .step p { grid-column: 2; font-size: 15px; }
}

/* Features */
.features__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.features__intro { max-width: 460px; font-size: 18px; line-height: 1.75; color: var(--ink-muted); text-wrap: pretty; }
.cards { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { padding: 36px; border: 1px solid var(--line-light); border-radius: 20px; background: var(--card); display: flex; flex-direction: column; }
.card__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.card__title { margin-top: 24px; font-size: 26px; line-height: 1.35; font-weight: 600; }
.card p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--ink-muted); text-wrap: pretty; }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: #f1ece0; font-size: 13px; font-weight: 500; line-height: 1.3; color: #5a4a26; }

@media (max-width: 899px) {
  .features__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .features__intro { max-width: none; }
}
@media (max-width: 767px) {
  .features__intro { font-size: 16px; }
  .cards { margin-top: 32px; grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 20px; border-radius: 16px; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-content: start; }
  .card__icon { grid-row: span 3; width: 40px; height: 40px; border-radius: 11px; }
  .card__icon svg { width: 22px; height: 22px; }
  .card__title { margin: 0; font-size: 19px; }
  .card p { margin-top: 6px; font-size: 15px; line-height: 1.7; }
  .tags { margin-top: 12px; gap: 6px; }
  .tag { min-height: 26px; padding: 3px 10px; font-size: 12px; }
}

/* Presentation background */
.intro { margin-top: 20px; max-width: 720px; font-size: 18px; line-height: 1.75; color: var(--ink-muted); text-wrap: pretty; }
.modes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mode { display: flex; flex-direction: column; gap: 18px; }
.mode figcaption { display: flex; flex-direction: column; gap: 6px; }
.mode__title { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.mode__body { font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

.thumb { position: relative; flex: none; aspect-ratio: 8 / 5; border-radius: 16px; overflow: hidden; background: var(--stage); }
.thumb--wall { background: linear-gradient(165deg, #2e3c8c 0%, #6a55b5 42%, #d6827c 80%, #f0b27e 100%); }
.thumb .hill--a { left: -16%; top: 71%; width: 78%; height: 62%; background: #3b2e73; }
.thumb .hill--b { left: 36%; top: 77%; width: 94%; height: 67%; background: #251d52; }
.mini-win { position: absolute; left: 29%; top: 29%; width: 42%; height: 42%; border-radius: 6px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); overflow: hidden; }
.mini-win::before { content: ""; display: block; height: 12%; background: #eceae4; }
.thumb--image { display: flex; align-items: center; justify-content: center; }
.thumb__picture { width: 70%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, #f2e6cf 0 12px, #eadbbe 12px 24px); }
.thumb__chip { padding: 5px 12px; border-radius: 999px; background: rgba(18, 23, 38, 0.82); font-size: 13px; line-height: 1.4; color: var(--text); }
.thumb__seg { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(18, 23, 38, 0.86); }
.thumb__seg span { padding: 4px 10px; border-radius: 6px; font-size: 12px; line-height: 16px; color: #a9b1cc; }
.thumb__seg .is-on { background: var(--text); color: var(--ink); font-weight: 600; }
.thumb__swatches { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.thumb__swatches span { width: 20px; height: 20px; border-radius: 50%; }
.thumb__swatches span:nth-child(1) { background: var(--stage); box-shadow: 0 0 0 2px var(--stage), 0 0 0 4px var(--text); }
/* The app's default first, then muted colors people often choose. */
.thumb__swatches span:nth-child(2) { background: #8db5a0; }
.thumb__swatches span:nth-child(3) { background: #8ea9c8; }
.thumb__swatches span:nth-child(4) { background: #cfa394; }
.thumb__swatches span:nth-child(5) { background: #ada3d1; }
.thumb__swatches span:nth-child(6) { background: #d2bf93; }

.facts { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 16px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts svg { color: var(--gold-ink); }

@media (max-width: 899px) {
  .modes { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .mode { flex-direction: row; align-items: flex-start; gap: 16px; }
  .thumb { width: 160px; border-radius: 10px; }
  .thumb__chip, .thumb__seg { display: none; }
  .thumb__picture { background: repeating-linear-gradient(135deg, #f2e6cf 0 6px, #eadbbe 6px 12px); }
  .thumb__swatches { left: 8px; bottom: 7px; gap: 4px; }
  .thumb__swatches span { width: 9px; height: 9px; }
  .thumb__swatches span:nth-child(1) { box-shadow: 0 0 0 1px var(--stage), 0 0 0 2px var(--text); }
  .mini-win { border-radius: 3px; }
}
@media (max-width: 767px) {
  .intro { font-size: 16px; margin-top: 14px; }
  .thumb { width: 128px; }
  .mode__title { font-size: 17px; }
  .mode__body { font-size: 14px; line-height: 1.6; }
  .facts { margin-top: 24px; flex-direction: column; gap: 8px; font-size: 15px; }
}

/* Automation */
.automation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.75; color: var(--text-muted); text-wrap: pretty; }
.label { margin-top: 36px; font-size: 14px; letter-spacing: 0.08em; color: var(--text-faint); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); font-size: 15px; line-height: 1.3; color: #e4e8f3;
}
.term { min-width: 0; border: 1px solid #2a3350; border-radius: 16px; overflow: hidden; background: var(--night); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.term__bar { position: relative; height: 44px; padding: 0 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1f2742; }
.term__bar .tl { width: 12px; height: 12px; background: #3a4466; }
.term__title { position: absolute; left: 0; right: 0; font-size: 13px; color: var(--text-faint); text-align: center; pointer-events: none; }
.term__body { margin: 0; padding: 26px 28px 30px; overflow-x: auto; font-family: var(--font-mono); font-size: 15px; line-height: 28px; color: #e4e8f3; }
.term__body .c { color: #7c87ad; }
.term__body .k { color: #7ea6ff; }
.term__body .s { color: var(--gold); }

@media (max-width: 1023px) {
  .automation { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .lead { margin-top: 16px; font-size: 16px; }
  .label { margin-top: 28px; font-size: 13px; }
  .chips { margin-top: 10px; gap: 8px; }
  .chip { min-height: 34px; padding: 5px 12px; font-size: 14px; }
  .term { border-radius: 14px; }
  .term__bar { height: 36px; padding: 0 12px; }
  .term__bar .tl { width: 10px; height: 10px; }
  .term__title { font-size: 12px; }
  .term__body { padding: 18px; font-size: 12px; line-height: 22px; }
}

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 72px; border-top: 1px solid #2a3350; }
.trust__item { display: flex; flex-direction: column; gap: 10px; }
.trust__item svg { color: var(--gold); }
.trust__item h3 { margin-top: 6px; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--text); }
.trust__item p { font-size: 15px; line-height: 1.7; color: #a9b1cc; }

@media (max-width: 1023px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 767px) {
  .trust { gap: 28px 20px; padding-block: 44px 56px; }
  .trust__item { gap: 8px; }
  .trust__item svg { width: 24px; height: 24px; }
  .trust__item h3 { margin-top: 4px; font-size: 16px; }
  .trust__item p { font-size: 13.5px; line-height: 1.6; }
}

/* FAQ */
.faq { display: flex; gap: 80px; }
.faq__aside { flex: 0 0 360px; display: flex; flex-direction: column; gap: 16px; }
.faq__aside .h2 { margin-top: 0; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.3; }
.faq__list { flex: 1; min-width: 0; border-bottom: 1px solid #e0d9c9; }
.faq__item { border-top: 1px solid #e0d9c9; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; list-style: none; cursor: pointer;
  font-size: 20px; line-height: 1.5; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-color: var(--blue); }
.faq__icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: #ece5d6; color: var(--ink);
  transition: transform 0.25s ease, background 0.15s;
}
.faq__icon svg { width: 18px; height: 18px; }
.faq__item summary:hover .faq__icon { background: #e2d9c5; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer { max-width: 720px; padding: 0 58px 26px 0; font-size: 16px; line-height: 1.8; color: var(--ink-muted); text-wrap: pretty; }

/* Where supported, the answer slides open instead of appearing at once. */
@media (prefers-reduced-motion: no-preference) {
  .faq__list { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

@media (max-width: 1023px) {
  .faq { flex-direction: column; gap: 28px; }
  .faq__aside { flex: none; gap: 12px; }
}
@media (max-width: 767px) {
  .faq__item summary { gap: 16px; padding: 20px 0; font-size: 17px; }
  .faq__icon { width: 30px; height: 30px; }
  .faq__answer { padding: 0 0 22px; font-size: 15px; line-height: 1.75; }
}

/* Download */
.download { position: relative; overflow: hidden; padding-block: 160px 150px; background: var(--night); text-align: center; }
.download__bg { position: absolute; inset: 0; pointer-events: none; }
.download__bg::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 100%; margin-left: -550px;
  clip-path: polygon(45% 0, 55% 0, 88% 100%, 12% 100%);
  background: linear-gradient(180deg, rgba(255, 207, 112, 0.22) 0%, rgba(255, 207, 112, 0.06) 60%, rgba(255, 207, 112, 0) 100%);
}
.download__bg::after {
  content: ""; position: absolute; left: 50%; top: -40px; width: 300px; height: 80px; margin-left: -150px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 230, 170, 0.8), rgba(255, 207, 112, 0));
}
.download__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.download__icon { width: 104px; height: 104px; }
.download h2 {
  margin-top: 36px; max-width: 16em;
  font-family: var(--font-display); font-weight: var(--w-strong);
  font-size: clamp(1.875rem, 1rem + 3vw, 3.5rem); line-height: 1.25;
  letter-spacing: var(--display-tracking); color: var(--text-strong); text-wrap: balance;
}
.download p { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--text-muted); text-wrap: balance; }
.download .btn { margin-top: 40px; }

@media (max-width: 767px) {
  .download { padding-block: 80px 72px; }
  .download__icon { width: 76px; height: 76px; }
  .download h2 { margin-top: 24px; }
  .download p { margin-top: 14px; font-size: 15px; }
  .download .btn { margin-top: 28px; }
}

/* Footer */
.site-footer { padding-block: 56px 48px; background: var(--floor); }
.footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.footer__brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.footer__brand img { width: 28px; height: 28px; }
.footer__name { font-family: var(--font-display); font-size: 18px; font-weight: var(--w-display); }
.footer__tagline { font-size: 14px; color: var(--text-faint); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; }
.footer__links a { color: #c3c9dd; }
.footer__links a:hover { color: var(--text); }
.footer__rule { height: 1px; margin-block: 32px; background: #1c2238; }
.footer__bottom { font-size: 13px; line-height: 1.7; color: #7c87ad; }

@media (max-width: 767px) {
  .site-footer { padding-block: 40px 36px; }
  .footer__brand .footer__tagline { flex-basis: 100%; }
  .footer__rule { margin-block: 24px; }
  .footer__bottom { font-size: 12px; }
}

/* Privacy policy */
.doc { padding-block: 88px 112px; background: var(--ivory); color: var(--ink); }
.doc__inner { max-width: 760px; }
.doc h1 {
  font-family: var(--font-display); font-weight: var(--w-strong);
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.2;
  letter-spacing: var(--display-tracking); text-wrap: balance;
}
.doc p { font-size: 16px; line-height: 1.8; color: #3b4154; text-wrap: pretty; }
.doc .doc__intro { margin-top: 24px; font-size: 18px; color: var(--ink); }
.doc section { margin-top: 40px; }
.doc h2 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.doc section p { margin-top: 10px; }
.doc .doc__updated { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 14px; color: var(--ink-muted); }
.doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc :focus-visible { outline-color: var(--blue); }
.footer__links a[aria-current] { color: var(--text); }

@media (max-width: 767px) {
  .doc { padding-block: 48px 72px; }
  .doc .doc__intro { font-size: 16px; }
  .doc section { margin-top: 32px; }
  .doc h2 { font-size: 18px; }
  .doc p { font-size: 15px; line-height: 1.75; }
}

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; }
.not-found__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 80px; text-align: center; }
.not-found h1 { font-family: var(--font-display); font-size: 40px; }
.not-found p { color: var(--text-muted); }
.not-found__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 15px; }
.not-found__langs a { color: #c3c9dd; }
.not-found__langs a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pill, .site-nav a { transition: none; }
}
