/* ShipHound site. Palette and type scale mirror src/lib/theme.ts in the app:
   ink ground, bone type, copper for labels, big type, nothing small. */
:root {
  --ink: #16141F;
  --surface: #262330;
  --bone: #F6F0E6;
  --fg2: rgba(246, 240, 230, 0.78);
  --fg3: rgba(246, 240, 230, 0.62);
  --hairline: rgba(246, 240, 230, 0.16);
  --copper: #D2652D;
  --copper-text: #E07A45;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 22px 32px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* Hero */
.icon {
  width: 112px;
  height: 112px;
  border-radius: 25px; /* iOS icon corner, about 22% of the side */
}

h1 {
  margin: 40px 0 0;
  font-size: clamp(46px, 9vw, 72px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sub {
  margin: 18px 0 0;
  max-width: 24ch;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg2);
}

/* Store badges. These are placeholders sized like the official badges (56px tall),
   so swapping in the real <img> will not move anything. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 9px;
  background: #000;
  border: 1px solid rgba(246, 240, 230, 0.35);
  color: var(--bone);
  text-decoration: none;
  letter-spacing: 0;
  line-height: 1;
}

.badge small {
  font-size: 11px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.badge b {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 64px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  color: var(--fg3);
}

footer a { color: var(--fg3); text-decoration: none; }
footer a:hover { color: var(--bone); }

/* Terms and Privacy */
.home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.home img { width: 40px; height: 40px; border-radius: 9px; }

.doc h1 {
  margin-top: 32px;
  font-size: clamp(36px, 7vw, 46px);
  letter-spacing: -0.03em;
}

.doc .meta { margin: 10px 0 0; font-size: 16px; color: var(--fg3); }
.doc .lede { margin: 28px 0 0; font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; }

.doc h2 {
  margin: 44px 0 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.doc p, .doc li {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--fg2);
}

.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc a { color: var(--copper-text); text-decoration: none; }
.doc a:hover { text-decoration: underline; }

/* Bits you still need to fill in before this goes live */
.fill {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(210, 101, 45, 0.16);
  color: var(--copper-text);
}
