:root {
  --bg: #f8f5f1;
  --ink: #2d2a26;
  --muted: #6f6a62;
  --card: #fffdf9;
  --line: #e7e0d6;
  --accent: #e07856;
  --accent-2: #7aa5a0;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

.language-switcher { position: relative; font-size: 0.9rem; }
.language-switcher summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  white-space: nowrap;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(45, 42, 38, 0.08);
}
.language-menu a {
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
}
.language-menu a:hover { background: var(--bg); color: var(--ink); }
.language-menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.gradient-word {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.button:hover { border-color: var(--ink); }
.button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.button.primary:hover { opacity: 0.9; }

.microcopy { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 36px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.hero-icons { display: flex; gap: 20px; }
.hero-icons img {
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(45, 42, 38, 0.12);
}
.hero-icons img:first-child { transform: rotate(-6deg) translateY(8px); }
.hero-icons img:last-child { transform: rotate(6deg) translateY(-8px); }

.float-note {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Sections */
.section { padding: 64px 0; }

.section-heading { max-width: 56ch; margin-bottom: 36px; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 8px;
}
.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.section-heading p { color: var(--muted); margin: 0; }

/* App cards */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-icon { border-radius: 22px; box-shadow: 0 8px 20px rgba(45, 42, 38, 0.1); margin-bottom: 8px; }

.app-card h3 { margin: 0; font-size: 1.4rem; letter-spacing: -0.01em; }
.app-tag { margin: 0; font-size: 0.85rem; color: var(--accent-2); font-weight: 600; }
.app-card > p:not(.app-tag) { margin: 8px 0 16px; color: var(--muted); flex: 1; }

.app-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Values */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

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

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .hero-art { order: -1; padding: 24px; }
  .hero-icons img { width: 84px; height: 84px; }
  .nav-links { display: none; }
}
