/* scamcam.ai. Tokens from the app's Figma home (file "App export from claude (Copy)", node 2033:21446):
   background #f7f4f2, ink #252525, secondary #747077, pills with a 0 8 40 rgba(0,0,0,.1) shadow. System fonts only
   (SF Pro on Apple devices, as in the app); the wordmark is the app's vector outlines, inline. */
:root {
  --bg: #f7f4f2;
  --ink: #252525;
  /* Figma's #747077 is 4.4:1 on --bg, under WCAG AA for small text; this is the nearest that passes (5.6:1). */
  --muted: #66626a;
  --card: #ffffff;
  --focus: #2f6bff;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }

.wordmark { display: block; width: 100%; height: auto; color: var(--ink); }

/* Home: a phone that runs off the top of the page, the wordmark, one line, one button (layout after bro.my). */
.home main {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 16px 48px; text-align: center; position: relative; overflow: hidden;
}
.phone {
  position: relative;
  width: min(300px, 76vw);
  aspect-ratio: 720 / 752;
  border: 10px solid #1c1c1e;
  border-top: 0;
  border-radius: 0 0 54px 54px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 30px 60px -30px rgba(37, 37, 37, 0.45);
}
.phone video, .phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
/* Same specificity as `.phone img` above, and later, so these win: the still shows only with reduced motion. */
.phone .phone-still { display: none; }
@media (prefers-reduced-motion: reduce) {
  .phone .phone-video { display: none; }
  .phone .phone-still { display: block; }
}
.intro { max-width: 420px; margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
.intro h1 { width: min(232px, 62vw); margin: 0; line-height: 0; }
.tagline { margin: 22px 0 0; font: 400 20px/1.3 var(--display); letter-spacing: -0.02em; color: var(--muted); }
.lede { margin: 10px 0 0; color: var(--muted); text-wrap: balance; }
.cta, .badge { margin: 28px 0 0; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow);
  font: 600 17px/1 var(--font); letter-spacing: -0.03em; text-decoration: none;
}
/* Not a link yet: flat, so it doesn't look tappable (no shadow, a quiet fill, an outline in the ink colour). */
.cta.is-soon { cursor: default; background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--ink); min-height: 52px; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 56px; width: auto; }
/* The cat sits on the footer's white band: main ends exactly where the band starts. */
.cat { position: absolute; right: max(4px, calc(50% - 330px)); bottom: 0; width: 108px; height: auto; pointer-events: none; }
@media (max-width: 520px) { .cat { width: 84px; right: 0; } .home main { padding-bottom: 108px; } }

/* Inner pages. */
header.site { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 20px 0; }
.brand { display: inline-block; width: 92px; line-height: 0; border-radius: 6px; }
.prose, .legal { max-width: 760px; margin: 0 auto; padding: 24px 20px 56px; overflow-wrap: anywhere; }
.prose h1, .legal h1 { font: 700 34px/1.15 var(--display); letter-spacing: -0.03em; margin: 12px 0 20px; }
.prose h2, .legal h2 { font: 700 22px/1.25 var(--display); letter-spacing: -0.02em; margin: 40px 0 12px; scroll-margin-top: 16px; }
.prose h3, .legal h3 { font: 700 17px/1.35 var(--font); margin: 28px 0 8px; scroll-margin-top: 16px; }
.legal h3 { font-size: 15px; letter-spacing: 0.01em; }
.prose p, .legal p, .prose li, .legal li { margin: 0 0 14px; }
.legal p.item { padding-left: 2.2em; text-indent: -2.2em; }
.legal .num { font-weight: 700; }
.legal ul, .prose ul { padding-left: 1.4em; margin: 0 0 14px; }
.anchor { position: relative; top: -16px; }
.prose blockquote { margin: 0 0 20px; padding: 14px 18px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.prose blockquote p { margin: 0; }
.table { overflow-x: auto; margin: 0 0 20px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(37, 37, 37, 0.08); }
tr:last-child td { border-bottom: 0; }
code { font-size: 0.92em; }
/* Counsel's rights table: the right's name, then how to use it. Words never break inside the name column; on a phone
   each right stacks above its text. */
.legal th { width: 32%; font-weight: 700; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.legal td p, .legal th p { margin: 0 0 8px; }
.legal td p:last-child, .legal th p:last-child { margin: 0; }
@media (max-width: 560px) {
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: auto; }
  .legal th { padding-bottom: 4px; border-bottom: 0; }
  .legal td { padding-top: 0; }
}

/* Footer: the legal links, small and quiet like bro.my's (no tagline line), on the white band the cat sits on (as in
   the app's home). Each link keeps a 24 px tap height (WCAG 2.5.8). */
footer.site {
  width: 100%; padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); background: var(--card);
  text-align: center; font-size: 12px; line-height: 1.4; letter-spacing: 0; color: var(--muted);
}
footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; }
footer.site nav a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; }
footer.site nav a:hover { color: var(--ink); }
footer.site nav a[aria-current="page"] { color: var(--ink); }
footer.site p { margin: 2px 0 0; }
