:root {
  --bg: #f3f2f2;
  --surf: #eae9e9;
  --card: #ffffff;
  --ink: #201e1d;
  --ink-70: rgba(32, 30, 29, 0.72);
  --ink-55: rgba(32, 30, 29, 0.55);
  --hair: rgba(32, 30, 29, 0.4);
  --hair-soft: rgba(32, 30, 29, 0.16);
  --acc: #ec3013;
  --acc-press: #dd2b0f;
  --acc-ink: #fff8f6;
  --good: #0a7d43;
  --radius: 0px;
  --max: 1120px;
}

/* Lai·Liao is a light-only brand (the app itself ships userInterfaceStyle: "light") —
   the site commits to the same paper-and-ink look rather than shipping a second identity. */

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acc); color: var(--acc-ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
.label {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 242, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.brand-word {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; color: var(--ink);
}
.brand-word b { color: var(--acc); font-weight: 900; }
.nav-cta {
  font-family: 'Archivo Narrow', 'Archivo', sans-serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border: 1px solid var(--ink);
}
.nav-cta:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-inner { display: grid; gap: 28px; max-width: 640px; }
.eyebrow {
  color: var(--acc); font-size: 11.5px; margin: 0 0 4px;
}
h1.hero-title {
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: clamp(38px, 6.6vw, 60px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
h1.hero-title .acc { color: var(--acc); }
.hero-sub { font-size: 18px; color: var(--ink-70); margin: 0; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Download button ---------- */
.dl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  padding: 14px 22px; border: 1px solid var(--ink);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dl-btn:hover { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.dl-btn .glyph { width: 18px; height: 18px; flex: none; background-color: currentColor; }
.dl-btn .glyph.ios {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C60.9 140.4 4 184.8 4 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 37 59 127.8 107.2 126.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-83.5 102.6-120.6-65.2-30.7-61.7-90-61.7-91.3zm-56.6-164c26.9-32 24.5-61.2 23.7-71.7-23.8 1.4-51.4 16.4-67.1 34.9-17.3 19.8-27.5 44.4-25.3 71.2 25.9 2 49.5-11.2 68.7-34.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M318.7 268c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C60.9 140.4 4 184.8 4 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 37 59 127.8 107.2 126.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-83.5 102.6-120.6-65.2-30.7-61.7-90-61.7-91.3zm-56.6-164c26.9-32 24.5-61.2 23.7-71.7-23.8 1.4-51.4 16.4-67.1 34.9-17.3 19.8-27.5 44.4-25.3 71.2 25.9 2 49.5-11.2 68.7-34.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dl-btn .glyph.android {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dl-btn .text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.dl-btn .text .small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.72; }
.dl-btn .text .big { font-size: 16.5px; }
.dl-btn.soon { cursor: default; background: var(--surf); color: var(--ink-55); border-color: var(--hair-soft); }
.dl-btn.soon:hover { background: var(--surf); color: var(--ink-55); border-color: var(--hair-soft); }
.dl-secondary {
  display: flex; gap: 10px;
}
.dl-secondary .dl-btn { padding: 10px 16px; font-size: 13.5px; }
.dl-secondary .dl-btn .text .big { font-size: 13.5px; }
.dl-note { font-size: 13px; color: var(--ink-55); margin: 0; }

#dl-both { display: none; }
#dl-both.show { display: flex; flex-wrap: wrap; gap: 12px; }
#dl-smart.hide { display: none; }

/* ---------- Section chrome ---------- */
section { padding: 56px 0; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
h2 {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.015em; margin: 0 0 10px; text-wrap: balance;
}
.sec-sub { color: var(--ink-70); margin: 0; font-size: 16px; max-width: 56ch; }
.rule { border: none; border-top: 2px solid var(--ink); margin: 0; }

/* ---------- Screenshot strip ---------- */
.shots {
  display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 20px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--hair-soft); }
.shot-card {
  flex: none; width: 220px; scroll-snap-align: start;
  border: 1px solid var(--hair); background: var(--card);
}
.phone-frame {
  aspect-ratio: 9 / 19.5; background: var(--acc); position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 16px; text-align: center; overflow: hidden;
}
.phone-frame .glyph-mark {
  width: 34px; height: 34px; display: grid; grid-template-rows: 1fr 1fr; gap: 3px; margin-bottom: 16px;
}
.phone-frame .glyph-mark span { background: var(--acc-ink); display: block; opacity: 0.92; }
.phone-frame .screen-name {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 15px; color: var(--acc-ink);
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.phone-frame .soon-tag {
  position: absolute; top: 10px; left: 10px; right: 10px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.4); padding: 3px 6px; text-align: center;
}
.shot-caption {
  padding: 12px 14px;
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 13.5px;
  letter-spacing: -0.005em; border-top: 1px solid var(--hair-soft);
}

/* ---------- Feature grid ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hair-soft); border: 1px solid var(--hair-soft);
}
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); padding: 24px 22px; }
.feature .num {
  font-family: 'Archivo Narrow', sans-serif; font-weight: 700; font-size: 12px; color: var(--acc);
  margin-bottom: 10px; display: block;
}
.feature h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; font-family: 'Archivo'; }
.feature p { margin: 0; font-size: 14px; color: var(--ink-70); }

/* ---------- Trust band ---------- */
.trust { background: var(--ink); color: var(--bg); }
.trust h2 { color: var(--bg); }
.trust .sec-sub { color: rgba(243,242,242,0.68); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px;
}
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item .k {
  font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 26px; color: var(--acc); margin-bottom: 4px;
}
.trust-item .d { font-size: 13.5px; color: rgba(243,242,242,0.68); }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; padding: 72px 0; }
.cta-band h2 { margin: 0 auto 20px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--hair-soft); padding: 32px 0 48px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-size: 13.5px; color: var(--ink-70); }
.foot-links a:hover { color: var(--acc); }
.foot-meta { font-size: 12.5px; color: var(--ink-55); }

/* ---------- Legal / policy pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: 'Archivo'; font-weight: 900; font-size: clamp(30px,5vw,40px); letter-spacing: -0.015em; margin: 0 0 8px; }
.legal .updated { color: var(--ink-55); font-size: 13.5px; margin: 0 0 40px; }
.legal h2 { font-size: 19px; border-top: 2px solid var(--ink); padding-top: 14px; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-70); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--acc); text-decoration: underline; }
.legal strong { color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13.5px; color: var(--ink-70); margin-bottom: 28px; }
.back-link:hover { color: var(--acc); }
