/* Strongr website — same palette as the app: black / white / greys + one orange. */
@font-face { font-family: Geist; src: url(/assets/fonts/Geist_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/Geist_500Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/Geist_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/Geist_800ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --orange: #FC5200;
  --orange-deep: #E84A00;
  --bg: #0A0A0B;
  --surface: #141416;
  --surface-2: #1E1E21;
  --line: #2F2F34;
  --text: #F4F4F5;
  --text-2: #A0A0A8;
  --text-3: #65656C;
  --gain: #22C55E;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo img { height: 22px; width: auto; }
.site-header nav { display: flex; gap: 24px; font-size: 15px; }
.site-header nav a { color: var(--text-2); }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  background: var(--orange); color: #fff;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--orange-deep); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface-2); }

/* Hero */
.hero { padding: 88px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange); background: rgba(252, 82, 0, 0.12);
  padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 84px); line-height: 0.98; font-weight: 800;
  letter-spacing: -0.04em; margin: 20px 0 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 20px; color: var(--text-2); max-width: 520px; margin: 0 0 32px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* iPhone mock-up showing the real app's feed (dark mode colours from src/constants/theme.ts). */
.iphone {
  --app-bg: #141416; --app-canvas: #0A0A0B; --app-surface: #1E1E21; --app-raised: #27272B;
  --app-sep: #2F2F34; --app-map: #1A1A1D; --app-text: #F4F4F5; --app-text-2: #A0A0A8;
  --app-text-3: #65656C; --app-accent: #FF5C14; --app-accent-soft: #2E1709;
  position: relative;
  justify-self: center;
  width: 318px; max-width: 100%;
  aspect-ratio: 71.5 / 149.6;
  border-radius: 54px;
  padding: 11px;
  /* Natural-titanium edge: a brushed metal ring around a black bezel. */
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(145deg, #8d8c88 0%, #3b3a38 18%, #a7a6a1 38%, #4a4946 58%, #9b9a95 80%, #3a3937 100%) border-box;
  border: 3.5px solid transparent;
  box-shadow:
    inset 0 0 0 1.5px #1b1b1d,
    0 50px 120px rgba(252, 82, 0, 0.16),
    0 30px 70px rgba(0, 0, 0, 0.7);
  transform: rotate(2deg);
}
.iphone > span { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5a5955, #9a9994 60%, #4a4946); }
.iphone .btn-action { left: -7px; top: 108px; height: 26px; }
.iphone .btn-vol-up { left: -7px; top: 152px; height: 48px; }
.iphone .btn-vol-down { left: -7px; top: 212px; height: 48px; }
.iphone .btn-power { right: -7px; top: 172px; height: 76px; }

.iphone-screen {
  position: relative;
  height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: var(--app-canvas);
  color: var(--app-text);
  font-family: Geist, -apple-system, sans-serif;
}
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 5; }
.statusbar { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0 30px; background: var(--app-bg); }
.statusbar .clock { font: 600 14px -apple-system, 'SF Pro Text', Geist, sans-serif; letter-spacing: -0.2px; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { fill: var(--app-text); }
.battery { width: 23px; height: 11px; border: 1.2px solid rgba(244, 244, 245, 0.45); border-radius: 3.5px; padding: 1.3px; position: relative; }
.battery::after { content: ''; position: absolute; right: -3.5px; top: 3px; width: 1.6px; height: 3.5px; border-radius: 0 1px 1px 0; background: rgba(244, 244, 245, 0.45); }
.battery span { display: block; height: 100%; width: 82%; border-radius: 1.6px; background: var(--app-text); }

.app-header { display: flex; align-items: center; gap: 9px; padding: 6px 14px 10px; background: var(--app-bg); border-bottom: 1px solid var(--app-sep); }
.app-logo { height: 15px; width: auto; }
.app-search { flex: 1; display: flex; align-items: center; gap: 5px; height: 27px; padding: 0 10px; border-radius: 99px; background: var(--app-surface); color: var(--app-text-3); font-size: 11px; }
.app-bell { position: relative; display: grid; place-items: center; width: 27px; height: 27px; color: var(--app-text); }
.app-bell i { position: absolute; top: -2px; right: -3px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: #E5352B; color: #fff; font: 700 9px/14px -apple-system, sans-serif; text-align: center; font-style: normal; }

.feed { display: flex; flex-direction: column; gap: 7px; }
.app-card { background: var(--app-bg); padding: 12px 0 0; }
.app-card.peek { padding-bottom: 80px; }
.card-head { display: flex; align-items: center; gap: 9px; padding: 0 13px; }
.app-avatar { flex: none; width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(140deg, #6b6b73, #2c2c31); }
.app-avatar.alt { background: linear-gradient(140deg, #8a6a58, #3a2a22); }
.who { flex: 1; min-width: 0; line-height: 1.25; }
.who b { display: block; font-size: 12px; font-weight: 500; }
.who span { display: flex; align-items: center; gap: 3px; font-size: 9.5px; color: var(--app-text-2); white-space: nowrap; overflow: hidden; }
.who svg { color: var(--app-text-3); flex: none; }
.pr-badge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 99px; background: var(--app-accent-soft); color: var(--app-accent); font-size: 9.5px; font-weight: 500; }
.card-title { margin: 9px 13px 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.3px; line-height: 1.25; }
.card-chips { display: flex; gap: 5px; padding: 0 13px; }
.app-chip { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 8px; border-radius: 99px; background: var(--app-surface); border: 1px solid var(--app-sep); font-size: 9.5px; font-weight: 500; }
.card-stats { display: flex; gap: 12px; padding: 10px 13px; }
.card-stats div { display: flex; flex-direction: column; gap: 1px; }
.card-stats div + div { padding-left: 12px; border-left: 1px solid var(--app-sep); }
.card-stats span { font-size: 9.5px; color: var(--app-text-2); }
.card-stats b { font-size: 16px; font-weight: 600; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.card-map { display: flex; justify-content: center; gap: 0; height: 196px; padding: 6px 0; background: var(--app-map); }
.card-map img { height: 100%; width: auto; }
.card-actions { display: flex; margin: 0 13px; border-top: 1px solid var(--app-sep); }
.card-actions span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 38px; font-size: 12px; font-weight: 600; color: var(--app-text); }
.card-actions .liked { color: var(--app-accent); }

/* iOS 26 floating glass tab bar, as NativeTabs draws it. */
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 22px; z-index: 4;
  display: flex; align-items: center; justify-content: space-around;
  height: 54px; padding: 0 6px; border-radius: 30px;
  background: rgba(40, 40, 44, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 42px; font-size: 8.5px; font-weight: 500; color: var(--app-text); }
.tab.active { color: var(--app-accent); }
.tab.start img { width: 34px; height: 34px; }
.tab-avatar { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 600; background: linear-gradient(140deg, #6b6b73, #2c2c31); }
.home-indicator { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 108px; height: 4px; border-radius: 3px; background: rgba(244, 244, 245, 0.85); z-index: 5; }

@media (max-width: 600px) { .iphone { transform: none; width: 290px; } }

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.section-title { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 14px; }
.section-sub { color: var(--text-2); font-size: 19px; max-width: 620px; margin: 0 0 48px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius); padding: 28px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(252, 82, 0, 0.12); display: grid; place-items: center; margin-bottom: 18px; }
.feature .icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-2); font-size: 16px; }

.overload { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gain); background: rgba(34, 197, 94, 0.12); padding: 4px 10px; border-radius: 999px; margin-top: 14px; }

.privacy-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy-band div { padding: 22px; border-radius: var(--radius); background: var(--surface); }
.privacy-band b { display: block; margin-bottom: 6px; }
.privacy-band span { color: var(--text-2); font-size: 15px; }

.cta-band { text-align: center; padding: 96px 0; background: radial-gradient(ellipse at center, rgba(252, 82, 0, 0.16), transparent 65%); }
.cta-band img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 24px; }

/* Legal / support pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 8px; }
.doc .updated { color: var(--text-3); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: #d4d4d8; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text-2); font-weight: 600; }
.callout { background: var(--surface); border-left: 3px solid var(--orange); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; }

.faq details { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--text-2); }

.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); padding: 28px; margin: 24px 0 40px; }
.contact-card b { font-size: 20px; display: block; }
.contact-card span { color: var(--text-2); }

/* Footer */
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 40px 0; color: var(--text-3); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }
footer nav a { color: var(--text-2); }
footer .mark { display: flex; align-items: center; gap: 10px; }
footer .mark img { height: 18px; width: auto; opacity: 0.8; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .features { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header nav { gap: 16px; font-size: 14px; }
  .site-header nav .hide-sm { display: none; }
  .features, .privacy-band { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
}
