/* ═══════════════════════════════════════
   Say It Like — macOS-native Web UI
   ═══════════════════════════════════════ */

:root {
  /* Brand */
  --purple:       #3D1054;
  --purple-mid:   #6B2FA0;
  --lavender:     #C084FC;
  --lavender-dim: #A855F7;

  /* macOS system palette */
  --bg:           #F5F5F7;
  --surface:      #FFFFFF;
  --surface-2:    rgba(120, 120, 128, 0.05);
  --fill:         rgba(120, 120, 128, 0.12);
  --sep:          rgba(0, 0, 0, 0.09);
  --sep-opaque:   #D2D2D7;

  /* Labels (Apple's naming) */
  --label:        #1D1D1F;
  --label-2:      #6E6E73;
  --label-3:      #98989D;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--label);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.022em;
}

/* ── Navbar ─────────────────────────── */
.navbar {
  background: rgba(61, 16, 84, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  height: 44px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
}

.navbar-brand img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.navbar-brand span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.016em;
}

.navbar-links {
  display: flex;
  align-items: center;
}

.navbar-link {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0 12px;
  height: 44px;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.navbar-link:hover     { color: rgba(255, 255, 255, 0.9); }
.navbar-link.is-active { color: rgba(255, 255, 255, 0.92); font-weight: 500; }

/* ── Hero ────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #3D1054 0%, #280A38 100%);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(192, 132, 252, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.47;
  letter-spacing: -0.022em;
  margin-bottom: 36px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Capsule buttons — macOS App Store style */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.016em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}

.btn-cta:hover  { opacity: 0.82; }
.btn-cta:active { transform: scale(0.975); opacity: 1; }

.btn-cta-primary {
  background: #FFFFFF;
  color: var(--purple);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

/* ── Grouped panels (macOS System Settings style) ── */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 24px;
}

.section + .section {
  padding-top: 0;
}

.panel-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--label-2);
  margin-bottom: 8px;
  padding: 0 4px;
}

.panel {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

/* ── Generic row ── */
.row {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  gap: 12px;
  transition: background 0.1s;
}

.row + .row {
  border-top: 0.5px solid var(--sep);
}

.row:hover {
  background: var(--surface-2);
}

/* ── Feature rows (index) ── */
.feat-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
}

.feat-row + .feat-row {
  border-top: 0.5px solid var(--sep);
}

.feat-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--lavender-dim);
  min-width: 22px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  flex-shrink: 0;
}

.feat-text {
  font-size: 15px;
  color: var(--label);
  line-height: 1.47;
  letter-spacing: -0.016em;
}

/* ── Key-value rows (download specs) ── */
.kv-row {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  gap: 12px;
}

.kv-row + .kv-row {
  border-top: 0.5px solid var(--sep);
}

.kv-key {
  font-size: 15px;
  color: var(--label);
  flex: 0 0 180px;
  letter-spacing: -0.016em;
}

.kv-val {
  font-size: 15px;
  color: var(--label-2);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.016em;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--fill);
  color: var(--label-2);
}

/* ── Page header (inner pages) ── */
.page-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 36px;
}

.page-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--label-3);
  margin-bottom: 8px;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--label);
  line-height: 1.05;
}

.page-header .lead {
  font-size: 17px;
  color: var(--label-2);
  line-height: 1.47;
  letter-spacing: -0.022em;
  max-width: 480px;
  margin-top: 10px;
}

/* ── Download button ── */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--purple);
  color: #fff;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.016em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  margin-top: 20px;
  margin-bottom: 44px;
}

.dl-btn:hover  { opacity: 0.82; }
.dl-btn:active { transform: scale(0.975); }

/* ── Contact rows (support) ── */
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--label);
  padding: 14px 16px;
  transition: background 0.1s;
}

.contact-link + .contact-link {
  border-top: 0.5px solid var(--sep);
}

.contact-link:hover {
  background: var(--surface-2);
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(61, 16, 84, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
  transition: background 0.15s, color 0.15s;
}

.contact-link:hover .contact-icon {
  background: var(--purple);
  color: #fff;
}

.contact-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--label);
  letter-spacing: -0.016em;
}

.contact-desc {
  font-size: 13px;
  color: var(--label-2);
  margin-top: 1px;
}

/* ── Privacy sections ── */
.policy-section {
  margin-bottom: 24px;
}

.policy-prose {
  padding: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--label);
  letter-spacing: -0.016em;
}

.policy-prose p + p {
  margin-top: 10px;
}

.policy-callout {
  background: rgba(61, 16, 84, 0.05);
  padding: 14px 16px;
  border-top: 0.5px solid var(--sep);
}

.policy-callout + .policy-callout {
  border-top: 0.5px solid var(--sep);
}

.policy-callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 5px;
}

.policy-callout p {
  font-size: 13px;
  color: var(--label-2);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.policy-callout a {
  color: var(--purple-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(107, 47, 160, 0.4);
  transition: text-decoration-color 0.15s;
}

.policy-callout a:hover {
  text-decoration-color: var(--purple-mid);
}

/* ── Effective date ── */
.effective-date {
  font-size: 13px;
  color: var(--label-3);
  margin-top: 6px;
  letter-spacing: -0.01em;
}

/* ── Footer ── */
footer {
  border-top: 0.5px solid var(--sep-opaque);
  padding: 18px 24px;
  margin-top: 8px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  font-size: 12px;
  color: var(--label-3);
  letter-spacing: -0.01em;
}

.footer-inner a {
  color: var(--label-3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-inner a:hover { color: var(--label-2); }

.footer-sep {
  margin: 0 8px;
  color: var(--sep-opaque);
  user-select: none;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .hero        { padding: 52px 20px 64px; }
  .hero-icon   { width: 96px; height: 96px; border-radius: 22px; }
  .page-header { padding: 36px 20px 28px; }
  .section     { padding: 28px 20px; }
  .kv-key      { flex: 0 0 130px; font-size: 14px; }
  .kv-val      { font-size: 14px; }
}
