@font-face { font-family: "SF Pro Text"; src: url("/fonts/sf/text_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SF Pro Text"; src: url("/fonts/sf/text_medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SF Pro Text"; src: url("/fonts/sf/text_semibold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SF Pro Text"; src: url("/fonts/sf/text_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SF Pro Display"; src: url("/fonts/sf/display_semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "SF Pro Display"; src: url("/fonts/sf/display_bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --color-bg: #000000;
  --color-surface: #1d1d1f;
  --color-surface-elevated: #2c2c2e;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.2);
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #a1a1a6;
  --color-text-tertiary: #6e6e73;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --apple-blue: #0071e3;
  --apple-link: #2997ff;
  color-scheme: dark;
}

html { background: #000; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  background: #000;
  color: #f5f5f7;
}
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display) !important;
  letter-spacing: -0.022em;
}
::selection { background: rgba(41, 151, 255, 0.4); }

/* ---- top bar: full-width translucent, like apple.com ---- */
div.fixed.top-6 {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
  translate: none !important;
  z-index: 50 !important;
}
div.fixed.top-6 > div {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  height: 52px;
  padding: 0 22px !important;
  gap: 24px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  justify-content: space-between;
}
div.fixed.top-6 > div > div.absolute.inset-0 {
  background: rgba(22, 22, 23, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-radius: 0 !important;
  inset: 0 -100vw !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
div.fixed.top-6 button.font-display { font-size: 15px !important; font-weight: 600 !important; }
div.fixed.top-6 nav button {
  font-size: 12px !important;
  letter-spacing: 0 !important;
  opacity: .82;
}
div.fixed.top-6 nav button:hover { opacity: 1; }
div.fixed.top-6 nav button.text-black { color: #f5f5f7 !important; opacity: 1; }
div.fixed.top-6 nav > div.absolute {
  background: rgba(255, 255, 255, 0.14) !important;
  border-radius: 980px !important;
  backdrop-filter: none !important;
}
div.fixed.top-6 nav { gap: 6px; }

/* ---- buttons ---- */
button.bg-white.text-black,
a.bg-white.text-black {
  background: var(--apple-blue) !important;
  color: #fff !important;
  border-radius: 980px !important;
  padding: 11px 22px !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
}
button.bg-white.text-black:hover { background: #0077ed !important; opacity: 1 !important; }
button[class*="border-[#1E1E1E]"] {
  background: transparent !important;
  border: 0 !important;
  color: var(--apple-link) !important;
  padding: 11px 6px !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}
button[class*="border-[#1E1E1E]"]:hover { text-decoration: underline; color: #6cb4ff !important; }

/* ---- hero: black stage, product image faded, big type ---- */
section.min-h-screen {
  min-height: 92vh !important;
  border-radius: 0 !important;
  background: #000 !important;
}
section.min-h-screen > div.absolute.inset-0.bg-cover {
  filter: none !important;
  transform: none !important;
  opacity: .42 !important;
}
section.min-h-screen > div.absolute.inset-0[class*="bg-black/60"] {
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 55%, #000 100%) !important;
}
section.min-h-screen h1.font-display {
  font-size: clamp(56px, 9.5vw, 104px) !important;
  font-weight: 600 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
}
section.min-h-screen p.text-text-secondary {
  font-size: clamp(19px, 2.2vw, 24px) !important;
  line-height: 1.4 !important;
  letter-spacing: -0.015em;
  color: #cfcfd4 !important;
  max-width: 640px !important;
}
section.min-h-screen div[class*="rounded-full"][class*="border-[#1E1E1E]"] {
  background: rgba(255,255,255,.06) !important;
  border-color: transparent !important;
}

/* ---- sections ---- */
section#features { padding-top: 120px !important; padding-bottom: 120px !important; background: #000; }
section.relative.py-16.px-6 { background: #000; }
section#features h2, section.relative h2 {
  font-size: clamp(40px, 6vw, 64px) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.06 !important;
}
section#features div[class*="border"] {
  background: #1d1d1f !important;
  border: 0 !important;
  border-radius: 28px !important;
}
section#features div[class*="border"] p { color: #a1a1a6 !important; }
section#features div[class*="border"] h3 { font-size: 24px !important; font-weight: 600 !important; }

/* framed screenshot block */
div.max-w-5xl.rounded-\[2rem\] {
  border-radius: 28px !important;
  border-color: rgba(255,255,255,.08) !important;
}

/* ---- footer: apple-like small grey legal row ---- */
footer.border-t {
  background: #161617 !important;
  border-top: 0 !important;
  padding: 56px 22px 32px !important;
  color: #a1a1a6;
}
footer a { color: #a1a1a6 !important; font-size: 12px; }
footer a:hover { color: #f5f5f7 !important; text-decoration: underline; }
footer span { color: #86868b !important; }
footer div.border-t { border-top: 1px solid rgba(255,255,255,.12) !important; }

/* ---- form fields ---- */
input:not([type]), input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], input[type="url"], input[type="tel"], textarea, select {
  background: #1d1d1f;
  color: #f5f5f7;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--apple-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.35) !important;
}

/* ---- scrollbars ---- */
* { scrollbar-width: thin; scrollbar-color: #3a3a3c transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #3a3a3c; border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* mobile */
@media (max-width: 720px) {
  div.fixed.top-6 nav { display: none; }
  section.min-h-screen h1.font-display { font-size: 52px !important; }
  section#features { padding-top: 72px !important; padding-bottom: 72px !important; }
}

/* hero background: black stage with a soft blue glow instead of the photo */
section.min-h-screen > div.absolute.inset-0.bg-cover {
  background-image:
    radial-gradient(70% 55% at 50% 0%, rgba(41, 151, 255, 0.28) 0%, rgba(41, 151, 255, 0) 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(0, 113, 227, 0.10) 0%, rgba(0, 113, 227, 0) 70%) !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
section.min-h-screen > div.absolute.inset-0[class*="bg-black/60"] {
  background: transparent !important;
}
section.min-h-screen > div.absolute.inset-0.bg-cover {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%) !important;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%) !important;
}
