/* PepShot web — clinical night, matching the app's design system. */

:root {
  --bg: #0b0d10;
  --surface: #141720;
  --elevated: #1b1f26;
  --hairline: rgba(255, 255, 255, 0.08);
  --divider: rgba(255, 255, 255, 0.06);
  --text: #f2f4f7;
  --text-2: #9aa3ae;
  --accent: #46a0b3;
  --accent-bright: #68bdcf;
  --accent-deep: #286b7e;
  --positive: #4c9e7f;
  --warn: #c7a34d;
  --flag: #c7754d;
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: "New York", "Iowan Old Style", Georgia, "Times New Roman", serif; }

a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Aurora backdrop */
.aurora {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 42% at 24% -6%, rgba(70, 160, 179, 0.20), transparent 70%),
    radial-gradient(46% 38% at 82% 12%, rgba(76, 158, 127, 0.10), transparent 70%),
    var(--bg);
}

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--text); font-size: 18px; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #0b0d10 !important; font-weight: 650; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: scale(1.03); box-shadow: 0 6px 30px rgba(70, 160, 179, 0.35); text-decoration: none; }
.btn.ghost {
  background: var(--elevated); color: var(--accent-bright) !important;
  border: 1px solid var(--hairline);
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2); font-weight: 600;
}

/* Hero */
.hero { padding: 88px 0 40px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.08; font-weight: 600; margin: 14px 0 18px; }
.hero p.sub { font-size: 20px; color: var(--text-2); max-width: 34em; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; color: var(--text-2); margin-top: 14px; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding-top: 56px; } }

/* Phone frame */
.phone {
  border-radius: 44px; border: 1px solid var(--hairline);
  background: #05070a; padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 120px rgba(70, 160, 179, 0.12);
  max-width: 320px; margin: 0 auto;
}
.phone img { width: 100%; display: block; border-radius: 34px; }
.phone.small { max-width: 250px; }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
h2.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; margin-bottom: 10px; }
p.section-sub { color: var(--text-2); max-width: 40em; margin-bottom: 40px; }

/* Proof strip */
.proof {
  display: flex; gap: 0; justify-content: space-around;
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: var(--surface); padding: 22px 12px; flex-wrap: wrap;
}
.proof div { text-align: center; padding: 6px 18px; }
.proof strong { display: block; color: var(--accent-bright); font-size: 19px; }
.proof span { color: var(--text-2); font-size: 14px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 28px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; font-weight: 650; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card .step { color: var(--accent-bright); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.card.linked:hover { border-color: var(--accent-deep); }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }
a.card .more { color: var(--accent-bright); font-size: 14px; font-weight: 600; }

/* Screenshot rail */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.shots .phone { min-width: 240px; max-width: 240px; scroll-snap-align: center; }
.shots figcaption { text-align: center; color: var(--text-2); font-size: 13.5px; margin-top: 10px; }

/* FAQ */
details {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 12px;
}
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::after { content: "+"; color: var(--accent-bright); font-size: 22px; font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); margin-top: 12px; font-size: 15.5px; }

/* Calculator tool */
.calc {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 32px; max-width: 620px; margin: 0 auto;
}
.calc label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin: 20px 0 8px; }
.calc label:first-of-type { margin-top: 0; }
.calc input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--hairline); background: var(--elevated);
  color: var(--text); font-size: 19px; outline: none;
}
.calc input:focus { border-color: var(--accent); }
.calc .chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.calc .chips button {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--elevated); color: var(--text-2); font-size: 14px; cursor: pointer;
}
.calc .chips button:hover { color: var(--text); border-color: var(--accent-deep); }
.calc-result { text-align: center; margin: 30px 0 6px; }
.calc-result .units { font-size: 64px; font-weight: 250; color: var(--text); }
.calc-result .units b { font-size: 24px; color: var(--text-2); font-weight: 500; }
.syringe { height: 20px; border-radius: 6px; background: var(--elevated); position: relative; overflow: hidden; margin: 14px 0 6px; border: 1px solid var(--hairline); }
.syringe .fill { position: absolute; inset: 0; width: 0%; background: linear-gradient(180deg, var(--accent-bright), var(--accent)); transition: width 0.3s ease; }
.syringe .ticks { position: absolute; inset: 0; display: flex; }
.syringe .ticks i { flex: 1; border-right: 1px solid rgba(11, 13, 16, 0.55); }
.calc-note { text-align: center; color: var(--text-2); font-size: 13.5px; }
.calc-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.calc-breakdown div { background: var(--elevated); border-radius: 12px; padding: 14px; text-align: center; }
.calc-breakdown b { display: block; font-size: 18px; font-weight: 600; }
.calc-breakdown span { font-size: 12.5px; color: var(--text-2); }
@media (max-width: 560px) { .calc-breakdown { grid-template-columns: 1fr; } }

/* Article / guide pages */
article.guide { max-width: 720px; margin: 0 auto; padding: 64px 24px; }
article.guide h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; font-weight: 600; margin: 12px 0 18px; }
article.guide h2 { font-size: 26px; margin: 44px 0 14px; font-weight: 650; }
article.guide p, article.guide li { color: #c3cad2; margin-bottom: 14px; }
article.guide ul, article.guide ol { padding-left: 24px; margin-bottom: 16px; }
article.guide .lead { font-size: 20px; color: var(--text-2); }
.callout {
  border: 1px solid var(--accent-deep); border-radius: var(--radius);
  background: rgba(70, 160, 179, 0.07); padding: 20px 24px; margin: 28px 0;
}
.callout.warn { border-color: rgba(199, 117, 77, 0.5); background: rgba(199, 117, 77, 0.07); }
.callout p { margin: 0; font-size: 15px; }
.app-cta {
  display: flex; gap: 24px; align-items: center; margin: 44px 0;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 26px;
}
.app-cta img.appicon { width: 64px; height: 64px; border-radius: 14px; }
.app-cta h3 { margin-bottom: 4px; }
.app-cta p { margin: 0 0 12px; font-size: 15px; }
@media (max-width: 560px) { .app-cta { flex-direction: column; text-align: center; } }

/* CTA band */
.cta-band {
  text-align: center; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 56px 30px;
  background-image: radial-gradient(60% 100% at 50% 0%, rgba(70, 160, 179, 0.14), transparent 70%);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.cta-band p { color: var(--text-2); margin-bottom: 26px; }

/* Footer */
footer { border-top: 1px solid var(--divider); padding: 44px 0 60px; margin-top: 40px; }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--text-2); font-size: 14.5px; display: block; margin-bottom: 8px; }
footer .disclaimer { color: var(--text-2); font-size: 13px; max-width: 46em; margin-top: 26px; opacity: 0.8; }
footer h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
