:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-section: #fbfbfd;
  --border: #d2d2d7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-header .inner {
  max-width: 980px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 52px;
}
.site-logo { font-size: 21px; font-weight: 600; letter-spacing: -0.4px; color: var(--text); }
.site-logo:hover { text-decoration: none; color: var(--text); }
.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: 13px; color: var(--text-secondary); }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* Footer */
.site-footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding: 40px 24px; }
.site-footer .inner { max-width: 980px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.footer-brand { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }

/* Layout */
.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Scroll animations */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* Hero */
.hero { text-align: center; padding: 80px 24px 0; background: var(--bg); }
.hero .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: 80px; font-weight: 700; letter-spacing: -3px; line-height: 1.0; color: var(--text); margin-bottom: 24px; }
.hero p { font-size: 22px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px; line-height: 1.5; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #fff;
  padding: 14px 28px; border-radius: 980px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.1px;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: #3a3a3c; color: #fff; text-decoration: none; transform: scale(1.02); }
.btn-blue { background: var(--accent); }
.btn-blue:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* iPhone frame */
.phone-frame {
  position: relative; width: 100%; max-width: 280px; margin: 0 auto;
  aspect-ratio: 9 / 19.5; background: #1a1a1a; border-radius: 40px; padding: 6px;
  box-shadow: 0 0 0 1px #3d3d3d, 0 40px 100px rgba(0,0,0,0.20), 0 10px 30px rgba(0,0,0,0.10);
}

.phone-frame .screen {
  width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #000; position: relative;
}
.phone-frame .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone-frame-lg { max-width: 300px; }
.hero-device { max-width: 340px; margin: 0 auto; }

/* Feature sections */
.feature-section {
  padding: 120px 24px; max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.feature-section.reverse { direction: rtl; }
.feature-section.reverse > * { direction: ltr; }
.feature-text .label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.feature-text h2 { font-size: 48px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.08; color: var(--text); margin-bottom: 20px; }
.feature-text p { font-size: 18px; color: var(--text-secondary); line-height: 1.65; max-width: 420px; }
.feature-device { display: flex; justify-content: center; align-items: center; }

.section-divider { height: 1px; background: var(--border); max-width: 980px; margin: 0 auto; }

/* Values */
.values-section { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 100px 24px; text-align: center; }
.values-section .section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.values-section h2 { font-size: 48px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 64px; }
.values-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; text-align: left; }
.value-item .icon { font-size: 32px; margin-bottom: 16px; display: block; }
.value-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.value-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* Download CTA */
.download-section { padding: 100px 24px; text-align: center; }
.download-section h2 { font-size: 48px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 16px; }
.download-section p { font-size: 19px; color: var(--text-secondary); margin-bottom: 40px; }
.download-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* App page hero */
.page-hero { text-align: center; padding: 80px 24px 64px; border-bottom: 1px solid var(--border); margin-bottom: 64px; }
.page-hero .app-icon { font-size: 80px; display: block; margin-bottom: 24px; line-height: 1; }
.page-hero h1 { font-size: 48px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 12px; }
.page-hero p { font-size: 19px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; line-height: 1.5; }
.page-nav { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-nav a { font-size: 14px; color: var(--text-secondary); padding: 7px 18px; border: 1px solid var(--border); border-radius: 980px; transition: all 0.15s; }
.page-nav a:hover { border-color: var(--text-secondary); color: var(--text); text-decoration: none; }
.page-nav a.active { background: var(--text); color: #fff; border-color: var(--text); }

/* Prose */
.prose { padding-bottom: 80px; }
.prose .meta { font-size: 14px; color: var(--text-muted); margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin: 52px 0 14px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 32px 0 10px; }
.prose p { font-size: 16px; color: #3a3a3c; line-height: 1.75; margin-bottom: 16px; }
.prose ul { margin: 12px 0 16px 22px; }
.prose ul li { font-size: 16px; color: #3a3a3c; line-height: 1.75; margin-bottom: 8px; }
.prose strong { font-weight: 600; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; border: 1px solid var(--border); overflow: hidden; }
.prose th { text-align: left; padding: 12px 16px; background: var(--bg-subtle); font-weight: 600; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: #3a3a3c; }
.prose tr:last-child td { border-bottom: none; }

/* Support */
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.faq-item p, .faq-item ul { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.faq-item ul { margin: 8px 0 0 18px; }
.faq-item ul li { margin-bottom: 6px; }
.contact-box { background: var(--bg-subtle); border-radius: var(--radius); padding: 52px 40px; text-align: center; margin-top: 64px; }
.contact-box h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 12px; }
.contact-box p { font-size: 17px; color: var(--text-secondary); margin-bottom: 28px; }

/* Responsive */
@media (max-width: 860px) {
  .feature-section { grid-template-columns: 1fr; gap: 48px; padding: 80px 24px; text-align: center; }
  .feature-section.reverse { direction: ltr; }
  .feature-text p { max-width: 100%; }
  .feature-device { order: -1; }
  .phone-frame { max-width: 220px; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 734px) {
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero p { font-size: 18px; }
  .feature-text h2 { font-size: 34px; }
  .values-section h2 { font-size: 34px; }
  .download-section h2 { font-size: 34px; }
  .footer-top { flex-direction: column; gap: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-box { padding: 40px 24px; }
}
/* Studio homepage */
.studio-hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 980px;
  margin: 0 auto;
}
.studio-hero .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.studio-hero h1 { font-size: 72px; font-weight: 700; letter-spacing: -2.5px; line-height: 1.05; color: var(--text); margin-bottom: 24px; }
.studio-hero p { font-size: 21px; color: var(--text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.5; }

.studio-apps {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.studio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-radius: 24px;
  padding: 48px 52px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  min-height: 220px;
}
.studio-card:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.10); text-decoration: none; color: var(--text); }
.studio-card-body { display: flex; align-items: flex-start; gap: 28px; flex: 1; }
.studio-card-icon { font-size: 52px; line-height: 1; flex-shrink: 0; }
.studio-card-text h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 10px; }
.studio-card-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; max-width: 420px; margin-bottom: 16px; }
.studio-card-badge { display: inline-block; font-size: 12px; font-weight: 500; background: rgba(0,113,227,0.1); color: var(--accent); border-radius: 980px; padding: 4px 12px; }
.studio-card-badge--soon { background: rgba(0,0,0,0.06); color: var(--text-muted); }
.studio-card-preview { flex-shrink: 0; margin-left: 40px; }
.phone-sm { max-width: 140px; border-radius: 24px; padding: 4px; }

.phone-sm .screen { border-radius: 21px; }

@media (max-width: 734px) {
  .studio-hero h1 { font-size: 44px; letter-spacing: -1.5px; }
  .studio-card { flex-direction: column; padding: 36px 28px; align-items: flex-start; min-height: auto; }
  .studio-card-preview { display: none; }
  .studio-card-body { flex-direction: column; gap: 16px; }
}
