:root {
  color-scheme: dark;
  --paper: #1b2030;
  --ink: #e6e8f0;
  --muted: #b6bfd2;
  --brand: #aab6f4;
  --line: #343d51;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
img { display: block; }
a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #ffaf62; outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1184px); margin-inline: auto; }
#preview, #features { scroll-margin-top: 24px; }

.skip {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
}
.site-footer {
  justify-content: space-between;
  gap: 18px;
}
.site-header { justify-content: space-between; gap: 12px; min-height: 92px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.32rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  width: fit-content;
}
.brand img { border-radius: 10px; }
.language-picker { position: relative; }
.language-picker::after {
  position: absolute;
  inset-inline-end: 14px;
  top: calc(50% - 5px);
  width: 7px;
  height: 7px;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  pointer-events: none;
  content: "";
}
.language-picker select {
  appearance: none;
  min-height: 44px;
  padding-inline: 12px 34px;
  border: 1px solid #596379;
  border-radius: 8px;
  background: #252c3e;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(22px, 5vw, 76px);
  padding-block: 24px 42px;
}
.hero-copy { padding-block: 12px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.eyebrow::before { flex: 0 0 8px; height: 8px; background: #9eacf5; border-radius: 50%; content: ""; }
h1 {
  margin-top: 20px;
  font-size: clamp(2.1rem, 4.7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.085em;
  overflow-wrap: anywhere;
}
:is(:lang(en), :lang(vi)) h1 { letter-spacing: -.045em; text-wrap: balance; }
:is(:lang(zh), :lang(ja), :lang(ko)) .headline-last { display: block; }
:lang(ko) h1 { word-break: keep-all; }
:lang(vi) h1 { line-height: 1.2; }
.title-period { color: var(--brand); }
.hero-description {
  max-width: 25em;
  margin-top: 23px;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.85;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(12px, 2.3vw, 28px);
  width: min(100%, 522px);
  margin-inline: auto;
}
.phone-preview { min-width: 0; }
.phone-frame {
  position: relative;
  padding: clamp(4px, .65vw, 8px);
  border: 1px solid #626c80;
  border-radius: 18% / 8.3%;
  background: #10131b;
  box-shadow: 0 18px 30px #080b145e;
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 16% / 7.4%;
}
.phone-frame::after {
  position: absolute;
  top: 2.65%;
  left: 50%;
  width: 27%;
  height: 2.9%;
  border-radius: 999px;
  background: #090a0e;
  transform: translateX(-50%);
  content: "";
}
.phone-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .875rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 8vw, 116px);
  padding: 38px 0 62px;
  border-top: 1px solid var(--line);
}
.feature-intro h2 { font-size: clamp(1.85rem, 3.25vw, 3.05rem); line-height: 1.21; letter-spacing: -.065em; }
.feature-intro p { max-width: 24em; margin-top: 15px; color: var(--muted); }
.feature-list > div {
  padding: 12px 0 12px 57px;
  border-bottom: 1px solid var(--line);
}
.feature-list > div:first-child { padding-top: 0; }
.feature-list dt { position: relative; font-weight: 740; }
.feature-icon {
  position: absolute;
  top: 0;
  left: -57px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #313b59;
  color: #c0cafa;
  font-weight: 750;
}
.feature-icon.rose { background: #453246; color: #edc0d5; }
.feature-icon.mint { background: #293f40; color: #b7dad1; }
.feature-list dd { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 26px; }
.site-footer .brand { font-size: 1.13rem; }
.site-footer p { color: var(--muted); font-size: .875rem; }

@media (max-width: 700px) {
  .wrap { width: min(100% - 32px, 1184px); }
  .site-header { min-height: 72px; }
  .site-header .brand { font-size: 1.15rem; gap: 7px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .hero, .features { grid-template-columns: minmax(0, 1fr); }
  .hero { row-gap: 30px; padding-block: 12px 36px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2rem, 9.2vw, 3.65rem); }
  .hero-description { margin-top: 15px; }
  .hero-visual { width: min(100%, 430px); }
  .features { padding-block: 44px; gap: 24px; }
  .site-footer { flex-wrap: wrap; gap: 9px; }
}
