:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #f0592a;
  --accent-soft: #f0592a1a;
  --border: #e5e5e7;
  --radius: 14px;
  --max-width: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 250, 250, 0.8);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

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

.site-nav .lang {
  font-size: 13px;
}

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

.hero {
  padding: 96px 24px 72px;
  text-align: center;
  background: radial-gradient(
      1000px 480px at 50% -120px,
      var(--accent-soft),
      transparent
    ),
    var(--bg);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 16px;
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero .actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(240, 89, 42, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero .meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

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

section {
  padding: 72px 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 17px;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* ---------- Pro banner ---------- */

.pro {
  background: linear-gradient(135deg, #1d1d1f, #3a3a3c);
  color: #f5f5f7;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
}

.pro h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
}

.pro p {
  margin-top: 14px;
  color: #a1a1a6;
  font-size: 16px;
}

.pro .badges {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pro .badge {
  padding: 6px 14px;
  border: 1px solid #48484a;
  border-radius: 999px;
  font-size: 13px;
  color: #d2d2d7;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.site-footer .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}

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

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

/* ---------- Legal / privacy ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 88px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal .updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 10px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.legal p,
.legal li {
  color: #3a3a3c;
  font-size: 15.5px;
}

.legal ul {
  padding-left: 22px;
  margin: 10px 0;
}

.legal li {
  margin: 6px 0;
}

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

/* ---------- Support ---------- */

.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 8px;
}

.legal code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

.legal .contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0 20px;
}

.legal .contact p + p {
  margin-top: 8px;
}

.legal .contact .email {
  font-size: 18px;
  font-weight: 600;
  word-break: break-all;
}

@media (max-width: 640px) {
  .site-nav a:not(.lang) {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }
}
