/* Dugout — dugoutstatsapp.com
   Shares the app's palette and type so the site and the product read as one thing. */

:root {
  --navy:      #17245E;
  --navy-2:    #26337A;
  --teal:      #16AEC8;
  --teal-deep: #11869A;
  --coral:     #FF6A3D;
  --magenta:   #E22E97;
  --yellow:    #FFD23C;
  --paper:     #FBFCFD;
  --paper-2:   #EEF3F5;
  --white:     #FFFFFF;
  --line:      rgba(23, 36, 94, 0.12);
  --muted:     rgba(23, 36, 94, 0.66);
  --faint:     rgba(23, 36, 94, 0.45);
  --grad:      linear-gradient(95deg, #FF7BB0 0%, #E22E97 38%, #9B2FA8 70%, #7C2FA0 100%);

  --f-display: "Anton", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --f-body:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono:    "Spline Sans Mono", ui-monospace, Menlo, monospace;

  --col: 68ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: calc(var(--col) + 4rem); margin: 0 auto; padding: 0 22px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 0 8px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--yellow); position: relative; overflow: hidden;
  box-shadow: inset 0 -3px 8px rgba(0, 0, 0, 0.12);
}
/* The two curved seams that make it a softball rather than a dot. */
.mark::before, .mark::after {
  content: ""; position: absolute; top: -18%; bottom: -18%; width: 60%;
  border: 2px solid var(--coral); border-radius: 50%;
}
.mark::before { left: -32%; }
.mark::after  { right: -32%; }

.brand-name { font-family: var(--f-display); font-size: 25px; letter-spacing: 1.2px; line-height: 1; }
.head-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.head-links a { color: var(--muted); text-decoration: none; }
.head-links a:hover { color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: 44px 0 8px; }
.kicker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px;
}
h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 0.94; letter-spacing: 0.5px;
  margin: 0 0 18px; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--teal); }
.hero p { font-size: 1.14rem; color: var(--muted); max-width: 54ch; margin: 0 0 26px; }

.cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white); text-decoration: none;
  border-radius: 14px; padding: 13px 22px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.2px;
}
.badge:hover { background: var(--navy-2); }
.badge-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.5px; }

/* ── Screenshots ────────────────────────────────────────────── */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; margin: 46px 0 8px;
}
.shot {
  border-radius: 22px; overflow: hidden; background: var(--paper-2);
  border: 1px solid var(--line); aspect-ratio: 375 / 812;
  box-shadow: 0 16px 40px rgba(23, 36, 94, 0.13);
}
/* Alt text stays for screen readers but never paints, so a screenshot that has
   not been dropped in yet shows a clean panel instead of spilled text. */
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; color: transparent; }
.shot-caption {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--faint); text-align: center; margin-top: 9px;
}

/* ── Sections ───────────────────────────────────────────────── */
section { padding: 58px 0; }
.section-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px;
}
h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.03; letter-spacing: 0.4px;
  margin: 0 0 16px; text-wrap: balance;
}
h3 { font-size: 1.06rem; font-weight: 800; margin: 0 0 6px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px 34px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.feature .icon { font-size: 24px; line-height: 1; margin-bottom: 10px; }

/* ── Privacy panel ──────────────────────────────────────────── */
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 32px; box-shadow: 0 10px 30px rgba(23, 36, 94, 0.06);
}
.panel h2 { margin-bottom: 12px; }
.panel p { color: var(--muted); max-width: var(--col); }
.promises { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.promises li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; }
.promises .tick { color: var(--teal); font-weight: 800; flex-shrink: 0; }

/* ── Long-form pages ────────────────────────────────────────── */
.doc { padding: 30px 0 70px; }
.doc h1 { font-size: clamp(2.1rem, 6vw, 3rem); margin-bottom: 10px; }
.doc .updated {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--faint); margin-bottom: 34px;
}
.doc h2 {
  font-size: 1.45rem; margin-top: 44px; padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.doc h3 { margin-top: 26px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--navy); font-weight: 700; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc .lead { font-size: 1.1rem; color: var(--navy); }

.callout {
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--teal); border-radius: 12px;
  padding: 18px 22px; margin: 26px 0;
}
.callout p { margin: 0; }

dl.faq { display: grid; gap: 26px; margin: 0; }
dl.faq dt { font-weight: 800; font-size: 1.02rem; margin-bottom: 5px; }
dl.faq dd { margin: 0; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line); margin-top: 40px;
  padding: 28px 0 46px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.site-foot a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-foot a:hover { color: var(--navy); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.copyright { font-family: var(--f-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.5px; }

@media (max-width: 560px) {
  .head-links { display: none; }
  section { padding: 44px 0; }
  .panel { padding: 26px 22px; }
}
