:root {
  --bg: #ffffff;
  --panel: #fcfcfc;
  --text: #111111;
  --text-2: #333333;
  --muted: #9e9e9e;
  --faint: #bdbdbd;
  --border: #e0e0e0;
  --accent-top: #D348EB;
  --accent-mid: #CA24A0;
  --accent-bottom: #C10154;
  --accent: #CA24A0;
  --brand-gradient: linear-gradient(180deg, #D348EB 0%, #C10154 100%);
  --line-ko: #f0f0f0;
  --line-vi: #e8f0fe;
  --radius: 12px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 48px;
}

.top {
  width: 100%;
  max-width: 920px;
  margin-bottom: 36px;
}

.brand-mark {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.03em;
}

.hero-wrap {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}

.panel {
  background: var(--panel);
  border-radius: var(--radius);
}

.hero {
  padding: 48px 44px 40px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

h1 {
  margin: 0 0 14px;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}


.tagline {
  margin: 0 0 32px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.45;
  max-width: 36ch;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn:hover {
  background: var(--text-2);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.os-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.os-icon.apple {
  width: 15px;
  height: 18px;
}

.stores {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stores a {
  color: var(--text-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.stores a:hover {
  color: var(--text);
}

.sep {
  color: var(--faint);
  margin: 0 8px;
}

.chrome {
  overflow: hidden;
  min-height: 220px;
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faint);
}

.chrome-title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.02em;
}

.chrome-body {
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.line {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.line.ko {
  background: var(--line-ko);
  color: var(--text);
}

.line.vi {
  background: var(--line-vi);
  color: var(--text);
}

.features {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.feature {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}

.feature-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.note {
  width: 100%;
  max-width: 920px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer {
  width: 100%;
  max-width: 920px;
  color: var(--muted);
  font-size: 13px;
}

.footer nav {
  margin-bottom: 8px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text-2);
}

/* Legal pages */
.legal-page {
  justify-content: flex-start;
  padding: 32px 20px 48px;
}

.legal {
  background: var(--panel);
  border-radius: var(--radius);
  width: 100%;
  max-width: 720px;
  padding: 40px 44px 48px;
  text-align: left;
}

.legal .brand {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal h1 {
  font-size: 28px;
  margin-bottom: 8px;
  text-align: left;
  letter-spacing: -0.04em;
}

.updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.legal h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text-2);
}

.legal p,
.legal li {
  color: var(--text-2);
  font-size: 15px;
}

.legal p {
  margin: 0 0 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--text);
}

.legal-footer {
  width: 100%;
  max-width: 720px;
  margin-top: 20px;
  text-align: center;
}

.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 4px;
}

@media (max-width: 800px) {
  .hero-wrap,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 36px 28px 32px;
  }

  h1 {
    font-size: 48px;
  }

  .tagline {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 20px 16px 40px;
  }

  .top {
    margin-bottom: 24px;
  }

  .hero {
    padding: 28px 22px 24px;
  }

  h1 {
    font-size: 40px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .downloads {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-wrap,
  .features {
    margin-bottom: 24px;
  }

  .legal {
    padding: 28px 22px 36px;
  }
}