@font-face {
  font-family: "WEMRU Wordmark";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-800.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f4f6;
  --ink: #232027;
  --muted: #625b67;
  --line: #dbd5db;
  --pink: #e5abc9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #9e3d79;
  outline-offset: 4px;
}
button, input { font: inherit; }
button, a { touch-action: manipulation; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
.wrap { width: min(1216px, calc(100% - 2 * clamp(20px, 5vw, 72px))); margin-inline: auto; }
.skip {
  position: absolute; left: 8px; top: 8px; z-index: 10;
  padding: 8px 16px; background: white; transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.nav-wrap, .site-header nav, .brand, .nav-login, .nav-lang, .button, .text-link {
  display: flex; align-items: center;
}
.nav-wrap { justify-content: space-between; gap: 20px; min-height: 80px; }
.brand {
  width: fit-content;
  min-height: 44px;
  font: 590 24px/1 "WEMRU Wordmark", Manrope, sans-serif;
  letter-spacing: -.065em;
}
.site-header .brand { flex-shrink: 0; }
.site-header .brand img { display: block; width: 156px; height: auto; }
.site-header nav { gap: clamp(14px, 2.3vw, 34px); font-weight: 600; font-size: 14px; }
.site-header nav a { min-height: 38px; align-content: center; }
.site-header a:hover, footer a:hover, .text-link:hover { color: #8b3769; }
.nav-login, .nav-lang { gap: 5px; }
.nav-login { padding: 3px 14px; border: 1px solid #c9c1ca; border-radius: 100px; }
.site-header [aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.about-grid { display: grid; align-items: center; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 80px); }
h1 { font-size: clamp(2.9rem, 5.4vw, 5.3rem); letter-spacing: -.072em; font-weight: 600; line-height: 1.015; text-wrap: balance; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.58; margin-top: 21px; max-width: 45ch; }
.waitlist { margin-top: clamp(25px, 2.7vw, 41px); max-width: 480px; scroll-margin: 30px; }
.waitlist > label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.form-row { display: flex; align-items: stretch; gap: 6px; flex-wrap: wrap; }
.form-row input {
  flex: 1 1 140px; min-width: 0;
  border-radius: 10px; border: 1px solid #bfb7c1; background: #fff;
  color: var(--ink); padding: 11px 14px; min-height: 46px;
}
.form-row input::placeholder { color: #77717a; }
.button {
  width: fit-content; justify-content: center; border: none; border-radius: 10px;
  background: var(--ink); padding: 11px 17px; min-height: 46px;
  font-size: .89rem; font-weight: 800; color: #fff; cursor: pointer;
}
.button:hover { background: #54354d; }
.button:disabled { opacity: .7; cursor: wait; }
.form-note, .form-status { font-size: .78rem; line-height: 1.45; margin-top: 9px; color: var(--muted); }
.form-status:not(:empty) { color: #59314c; font-weight: 600; }
.form-status:empty { display: none; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.product-stage {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  border-radius: 26px; border: 1px solid #decdd8;
  background:
    radial-gradient(ellipse at 90% 95%, #c9c6e8 0, transparent 54%),
    radial-gradient(ellipse at 4% 18%, #f4ccde 0, transparent 50%),
    linear-gradient(127deg, #d6bdcf, #f8e7ef 47%, #dccad7);
  padding: clamp(20px, 3.5vw, 51px) clamp(17px, 3vw, 44px) 14px;
}
.product-stage::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(90deg, #fff3 1px, transparent 1px), linear-gradient(#fff3 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(150deg, transparent, black);
}
.preview {
  color: #f0ecf1; background: #19191f; border-radius: 15px; border: 1px solid #37323a; overflow: hidden;
  box-shadow: 0 17px 35px -12px #42273e63, 0 2px 6px #24111a26;
}
.preview-bar {
  height: 35px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: 13px; background: #202027; border-bottom: 1px solid #33323a; color: #c9c0cb;
  font-size: 10px; font-weight: 600; letter-spacing: .015em;
}
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #726871; }
.preview-avatar { justify-self: end; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #321f2d; background: #deb7cf; }
.preview-body { display: grid; grid-template-columns: 46px minmax(0, 1fr); }
.rail { background: #141418; display: flex; align-items: center; flex-direction: column; gap: 7px; padding: 16px 5px; border-right: 1px solid #292830; }
.rail img { margin-bottom: 8px; }
.rail-item { width: 30px; height: 30px; display: grid; place-items: center; color: #a99eae; }
.rail-item.selected { border-radius: 7px; color: #efc6de; background: #412e3c; }
.mock-main { padding: clamp(14px, 1.9vw, 28px); min-width: 0; }
.mock-date, .mock-counters { display: flex; align-items: center; }
.mock-date { color: #d2c7d3; font-size: .7rem; gap: 6px; }
.mock-date svg { color: var(--pink); }
.mock-main h2 { margin-top: 5px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.06em; line-height: 1.2; }
.mock-counters { gap: 17px; margin: 9px 0 17px; color: #bfb5c2; font-size: 11px; }
.mock-counters b { color: var(--pink); font-weight: 800; }
.agenda { border-top: 1px solid #38333c; padding-top: 10px; }
.agenda h3 { margin-bottom: 8px; font-size: .8rem; font-weight: 600; }
.agenda ol, .flow-grid { list-style: none; padding: 0; }
.agenda li { display: grid; grid-template-columns: 35px minmax(0, 1fr); align-items: start; gap: 6px; margin: 6px 0; }
.agenda time { padding-top: 7px; color: #b8afbd; font-size: .65rem; font-variant-numeric: tabular-nums; }
.event { display: grid; gap: 1px; border-radius: 5px; border-left: 2px solid var(--edge); padding: 6px 9px; background: var(--event); }
.sky { --edge: #a7cce1; --event: #26343f; }
.lilac { --edge: #ceb6f3; --event: #342e41; }
.green { --edge: #b0cdb9; --event: #2c3830; }
.event strong { font-size: .75rem; font-weight: 600; }
.event small { color: var(--edge); font-size: .62rem; }
.product-stage figcaption { color: #604d5c; margin-top: 10px; text-align: right; font-size: .68rem; }

.flow, .story { background: #fffdfd; border-block: 1px solid var(--line); padding: clamp(45px, 6vw, 88px) 0; }
.flow h2, .origin h2, .story h2, .about-cta h2 {
  font-weight: 600; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.1;
  letter-spacing: -.058em; text-wrap: balance;
}
.flow-grid { margin-top: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-card { border-top: 1px solid var(--line); padding: 18px 5px 0 0; }
.flow-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 15px; }
.flow-icon.sky { color: #375c72; background: #e1eef5; }
.flow-icon.lilac { color: #624d83; background: #ece6f5; }
.flow-icon.green { color: #3a604c; background: #e3eee5; }
.flow-card h3 { font-size: clamp(1.04rem, 1.6vw, 1.35rem); letter-spacing: -.035em; margin-bottom: 7px; }
.flow-card p, .origin p, .story p { line-height: 1.65; color: var(--muted); max-width: 57ch; }
.origin, .about-cta { padding: clamp(45px, 5.5vw, 80px) 0; }
.origin-inner, .about-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.origin h2 { max-width: 23ch; }
.origin p { margin-top: 12px; }
.text-link { display: inline-flex; font-weight: 800; white-space: nowrap; font-size: .95rem; }

footer { border-top: 1px solid var(--line); }
.footer-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-block: 24px; }
.footer-wrap .brand { font-size: 21px; }
.footer-wrap small, .footer-wrap > div { font-size: .8rem; color: var(--muted); }
.footer-wrap > div { margin-left: auto; display: flex; align-items: center; gap: 20px; }

.about-intro { padding-block: clamp(54px, 7vw, 106px); }
.about-grid { grid-template-columns: 1.1fr .9fr; }
.section-label { font-size: .9rem; font-weight: 800; margin-bottom: 16px; color: #794763; }
.about-note { background: #25222a; color: #f5edf3; border-radius: 20px; padding: clamp(24px, 3.4vw, 48px); }
.note-top { display: flex; gap: 14px; align-items: center; color: #cdc1cd; font-size: .85rem; }
.about-note h2 { font-size: clamp(1.4rem, 2.1vw, 2.1rem); letter-spacing: -.045em; margin: 22px 0 12px; }
.about-note ul { list-style: none; padding: 0; }
.about-note li { padding: 10px 0; display: flex; gap: 10px; align-items: baseline; border-top: 1px solid #433d47; font-size: .9rem; }
.color-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; }
.color-dot.pink { background: var(--pink); }
.color-dot.lilac, .color-dot.sky { background: var(--edge); }
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 8%; align-items: start; }
.story h2 { max-width: 20ch; }
.story p, .story a { margin-bottom: 14px; }
.about-cta .button { flex-shrink: 0; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div { max-width: 590px; }
  .product-stage { padding-inline: clamp(16px, 7vw, 56px); }
  .mock-main { padding: 20px; }
  .form-row input { flex-basis: 160px; }
  .nav-wrap { min-height: 66px; }
  .flow-grid { gap: 15px; }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; font-size: .78rem; white-space: nowrap; }
  .nav-wrap { gap: 10px; min-height: 61px; }
  .brand { font-size: 23px; }
  .site-header .brand img { width: clamp(108px, 32vw, 138px); }
  .nav-product, .nav-lang svg { display: none; }
  .nav-login { padding: 2px 10px; }
  .lede { margin-top: 16px; }
  .form-row { gap: 7px; }
  .form-row input { flex-basis: 130px; }
  .form-row .button { padding-inline: 11px; font-size: .82rem; gap: 4px; }
  .product-stage { border-radius: 18px; padding: 19px 12px 10px; }
  .preview-body { grid-template-columns: 35px minmax(0,1fr); }
  .preview-bar { height: 28px; }
  .rail { padding-inline: 2px; }
  .mock-main { padding: 12px; }
  .flow-grid, .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .flow-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .flow-icon { grid-row: span 2; }
  .flow-card p { font-size: .9rem; }
  .origin-inner, .about-cta .wrap { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-wrap { gap: 14px; }
  .footer-wrap > div { margin: 0; flex-basis: 100%; }
}
@media (max-width: 360px) {
  .site-header nav { gap: 8px; }
  .nav-login { padding-inline: 8px; }
  .nav-login svg { display: none; }
}
