/* Meetphant website — shared by / (zh-CN) and /en/ */

:root {
  --bg: #0b1216;
  --bg-elev: #111a20;
  --bg-card: rgba(237, 244, 240, 0.03);
  --fg: #edf4f0;
  --fg-muted: rgba(237, 244, 240, 0.66);
  --fg-subtle: rgba(237, 244, 240, 0.45);
  --line: rgba(237, 244, 240, 0.1);
  --line-strong: rgba(237, 244, 240, 0.18);
  --accent: #69d8bd;
  --accent-ink: #0b1216;
  --accent-soft: rgba(105, 216, 189, 0.12);

  --font-latin-display: "Syne", system-ui, sans-serif;
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC";
  --font-body: system-ui, -apple-system, "Segoe UI", var(--font-cjk), sans-serif;
  --font-display: var(--font-latin-display), var(--font-cjk), sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 140px);
  --shadow-window: 0 1px 0 rgba(237, 244, 240, 0.04) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.65), 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(
      1100px 620px at 50% -180px,
      rgba(105, 216, 189, 0.1),
      transparent 70%
    ),
    linear-gradient(180deg, var(--bg-elev) 0, var(--bg) 900px);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--fg);
  color: var(--accent-ink);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: #84e2cb;
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: rgba(237, 244, 240, 0.35);
  background: rgba(237, 244, 240, 0.04);
}
.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  gap: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 22, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand img {
  height: 32px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 20px);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--fg-subtle);
}
.lang-switch a,
.lang-switch span {
  padding: 4px 8px;
  border-radius: 6px;
}
.lang-switch a:hover {
  color: var(--fg);
}
.lang-switch [aria-current="page"] {
  color: var(--fg);
  background: rgba(237, 244, 240, 0.06);
}

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

.hero {
  padding: clamp(64px, 10vw, 120px) 0 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.4vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero h1 .cjk {
  font-family: var(--font-body);
  letter-spacing: 0;
}
.hero .slogan {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--fg-muted);
  line-height: 1.65;
}
.hero .slogan strong {
  color: var(--fg);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.hero-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--fg-subtle);
}
.hero-note a {
  white-space: nowrap;
}
.hero-shot {
  margin: clamp(56px, 8vw, 88px) auto 0;
  max-width: 1080px;
  position: relative;
}
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -8% 8% auto;
  height: 60%;
  background: radial-gradient(closest-side, rgba(105, 216, 189, 0.16), transparent);
  filter: blur(40px);
  z-index: -1;
}

/* ---------- Window chrome ---------- */

.window {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(237, 244, 240, 0.025);
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(237, 244, 240, 0.14);
}
.window picture {
  display: block;
}
.window img {
  width: 100%;
}

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

.section {
  padding: var(--section-y) 0 0;
}
.section-head {
  max-width: 680px;
  margin: 0 auto clamp(48px, 7vw, 80px);
  text-align: center;
}
.kicker {
  margin: 0 0 14px;
  font-family: var(--font-latin-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section h2,
.download-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.section-head p {
  margin: 18px 0 0;
  color: var(--fg-muted);
  font-size: 17px;
}

/* Features: alternating rows */

.features {
  display: grid;
  gap: clamp(80px, 12vw, 152px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.feature:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.feature:nth-child(even) .feature-copy {
  order: 2;
}
/* Keep CJK title clauses intact; break only between them. */
.nb {
  display: inline-block;
}
.feature-index {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-latin-display);
  font-size: 14px;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
}
.feature-index b {
  color: var(--accent);
  font-weight: 700;
}
.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.feature .lead {
  margin: 16px 0 0;
  color: var(--fg-muted);
  font-size: 17px;
}
.points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.points li {
  position: relative;
  padding-left: 26px;
  color: var(--fg);
  font-size: 15.5px;
  line-height: 1.6;
}
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.points code,
.footnote code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(237, 244, 240, 0.06);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.footnote {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--fg-subtle);
  line-height: 1.65;
}

/* Workflow */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-card);
}
.step + .step {
  border-left: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-latin-display);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.step h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-family: var(--font-display);
}
.step p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15px;
}

/* More capabilities */

.more {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-family: var(--font-display);
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.card-wide {
  grid-column: 1 / -1;
}
.card a,
.hero-note a,
.site-footer span a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.card a:hover,
.hero-note a:hover,
.site-footer span a:hover {
  color: var(--accent);
}

/* Download */

.download {
  padding: var(--section-y) 0;
}
.download-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: radial-gradient(
      600px 300px at 50% 0%,
      rgba(105, 216, 189, 0.12),
      transparent 70%
    ),
    var(--bg-elev);
}
.download-panel img.icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.download-panel p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--fg-muted);
}
.download-panel .hero-cta {
  margin-top: 32px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  font-size: 13.5px;
  color: var(--fg-subtle);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer a:hover {
  color: var(--fg);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .feature,
  .feature:nth-child(even),
  .more {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature:nth-child(even) .feature-copy {
    order: 0;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .step + .step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 26px;
  }
  .header-actions .btn-sm .label-long {
    display: none;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .window-bar {
    height: 24px;
    gap: 5px;
    padding: 0 10px;
  }
  .window-bar i {
    width: 7px;
    height: 7px;
  }
  .window {
    border-radius: 10px;
  }
}

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