:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --text: #222222;
  --text-2: #888888;
  --text-3: #bbbbbb;
  --border: #e0e0e0;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
}
.nav-link:hover { color: var(--text); }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-sep {
  font-size: 12px;
  color: var(--text-3);
}
.lang-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-2);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn:hover { color: var(--text); }
.lang-btn-active {
  color: var(--text);
  font-weight: 700;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  text-align: center;
  background: var(--bg);
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 44px;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.7; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ── Showcase sections ── */
.showcase {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.showcase-alt {
  background: var(--bg);
}
.showcase-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 56px;
  align-items: center;
}
.showcase-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.showcase-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.showcase-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 400px;
}
.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.showcase-list li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.showcase-list li:last-child { border-bottom: 1px solid var(--border); }
.showcase-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

/* ── iPhone 15 frames ── */
.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.showcase-phones {
  display: flex;
  gap: 10px;
  align-items: center;
}
.showcase-phones-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.iphone {
  width: 200px;
  height: 432px;
  background: #1c1c1e;
  border-radius: 44px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 32px 80px rgba(0, 0, 0, 0.16),
    0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}
/* Side button (power) */
.iphone::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 96px;
  width: 3px;
  height: 48px;
  background: #3a3a3c;
  border-radius: 0 2px 2px 0;
}
/* Volume buttons */
.iphone::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 80px;
  width: 3px;
  height: 30px;
  background: #3a3a3c;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 #3a3a3c, 0 80px 0 #3a3a3c;
}
.iphone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 39px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Small phone variant */
.iphone-sm {
  width: 120px;
  height: 260px;
  border-radius: 26px;
}
.iphone-sm::before,
.iphone-sm::after { display: none; }
.iphone-sm .iphone-screen { border-radius: 22px; }

/* Dynamic Island */
.iphone-di {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 22px;
  background: #1c1c1e;
  border-radius: 20px;
  z-index: 2;
}
.iphone-di-sm {
  width: 42px;
  height: 13px;
  top: 8px;
}

/* ── Mobile layout ── */
@media (max-width: 640px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .showcase-inner .showcase-visual { order: 2; }
  .showcase-inner .showcase-text { order: 1; }
  .showcase-sub { max-width: none; }
  .iphone {
    width: 160px;
    height: 346px;
  }
  .iphone-sm {
    width: 96px;
    height: 208px;
    border-radius: 21px;
  }
  .iphone-sm .iphone-screen { border-radius: 18px; }
  .iphone-di-sm { width: 34px; height: 10px; top: 7px; }
  .showcase-phones-stack { display: none; }
}

/* ── Footer ── */
.site-footer {
  padding: 48px 0 56px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-link {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
}
.footer-link:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ── Privacy page ── */
.legal { padding: 48px 0 72px; }
.legal h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 32px; }
.legal h3 { font-size: 15px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }

/* ── Keep white bg in dark mode ── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f7f7f7;
    --surface: #ffffff;
    --text: #222222;
    --text-2: #888888;
    --text-3: #bbbbbb;
    --border: #e0e0e0;
  }
}
