/* oursideline.com (Brian, 2026-10-05; rebuilt 2026-10-16 after Apple's enrollment review asked for
   real company and product info, and Brian asked for Sid, screenshots and a lighter, easier read).
   Static: no scripts, no forms. Brand colors from lib/theme.ts. */
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(fonts/Barlow_500Medium.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(fonts/Barlow_700Bold.ttf) format('truetype'); }
@font-face { font-family: Barlow; font-weight: 800; font-style: italic; font-display: swap; src: url(fonts/Barlow_800ExtraBold_Italic.ttf) format('truetype'); }

:root {
  --blue: #041AB3;
  --neon: #CFFF18;
  --ink: #1B2340;
  --muted: #374151;
  --ground: #F5F7FC;
  --card: #FFFFFF;
  --line: #E1E6F2;
  --lime-ink: #437100;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 18px/1.55 Barlow, -apple-system, 'Helvetica Neue', Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue); font-weight: 700; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 4.2vw, 42px); color: var(--blue); max-width: 20em; }
h3 { font-weight: 700; font-size: 22px; color: var(--ink); }
.center { text-align: center; }
.center h2 { margin-inline: auto; }
.muted { color: var(--muted); }

/* the phone frame around each screenshot */
.phone { width: 100%; max-width: 260px; height: auto; border-radius: 34px; border: 8px solid #10162E; box-shadow: 0 18px 40px rgba(16, 22, 46, 0.25); background: #10162E; }

/* hero: cobalt, the lime wordmark, the tagline, a phone and Sid */
.hero { background: var(--blue); color: #fff; overflow: hidden; border-bottom: 6px solid #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 32px; padding-block: 56px; }
.wordmark { width: min(400px, 100%); color: var(--neon); }
.tagline { font-weight: 800; font-style: italic; font-size: clamp(36px, 6vw, 60px); letter-spacing: 0.01em; text-transform: uppercase; margin-top: 24px; }
.tagline span { display: block; }
.lede { font-size: 21px; max-width: 30em; margin: 20px 0 0; color: #FFFFFF; }
.badge { display: inline-block; margin: 28px 0 0; padding: 12px 20px; border-radius: 14px; background: var(--neon); color: var(--ink); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-art { position: relative; justify-self: center; }
.hero-art .phone { max-width: 280px; }
.hero-art .sid { position: absolute; width: 170px; left: -110px; bottom: -20px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3)); }

section { padding-block: 72px; }
.white { background: var(--card); border-block: 1px solid var(--line); }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime-ink); margin: 0 0 10px; }

/* how it works: three phones */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: grid; justify-items: center; text-align: center; gap: 14px; align-content: start; }
.steps h3 { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.steps h3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--neon); border: 2px solid var(--blue); font-size: 18px; }
.steps p { margin: 0; color: var(--muted); max-width: 20em; }

/* the problem: a family group text beside Sid's answer */
.problem-wrap { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.lead { font-size: 21px; margin: 14px 0 0; max-width: 30em; }
.solved { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 32px; background: var(--blue); color: #fff; border-radius: 26px; padding: 26px 28px; }
.solved img { width: 110px; height: 110px; }
.solved h3 { font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--neon); margin-bottom: 12px; }
.solved p { margin: 0; color: #E4E9FF; font-size: 19px; }
.center-lead { margin-inline: auto; }

/* the group text, drawn like a phone's messages app */
.status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 4px; background: #F6F6F8; font-size: 15px; color: #000; position: relative; }
.status .island { position: absolute; left: 50%; top: 9px; width: 96px; height: 28px; margin-left: -48px; border-radius: 16px; background: #000; }
.bars { display: flex; align-items: flex-end; gap: 2px; }
.bars i { width: 3px; background: #000; border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 6px; } .bars i:nth-child(3) { height: 8px; } .bars i:nth-child(4) { height: 10px; }
.bars em { width: 22px; height: 11px; margin-left: 6px; border: 1.5px solid #000; border-radius: 3px; background: linear-gradient(90deg, #000 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.chat-top { position: relative; }
.chat-back { position: absolute; left: 10px; top: 14px; color: #0A84FF; font-size: 30px; line-height: 1; }
.chat-back small { font-size: 12px; vertical-align: middle; background: #0A84FF; color: #fff; border-radius: 9px; padding: 1px 6px; margin-left: 2px; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 6px 10px 4px; }
.chat-input .plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E9E9EB; color: #8E8E93; font-size: 20px; }
.chat-input .field { flex: 1; border: 1px solid #D1D1D6; border-radius: 18px; padding: 6px 12px; color: #B0B0B5; font-size: 15px; }
.home-bar { width: 120px; height: 5px; border-radius: 3px; background: #000; margin: 10px auto 8px; }
.chat-phone { width: 340px; background: #fff; border: 9px solid #10162E; border-radius: 44px; box-shadow: 0 22px 50px rgba(16, 22, 46, 0.28); overflow: hidden; font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; font-weight: 400; }
.chat-top { background: #F6F6F8; border-bottom: 1px solid #E3E3E8; padding: 10px 12px 10px; text-align: center; }
.chat-avatars { display: flex; justify-content: center; }
.chat-avatars span { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -6px; border-radius: 50%; border: 2px solid #F6F6F8; background: linear-gradient(#A5ABBA, #8A90A0); color: #fff; font-size: 13px; font-weight: 600; }
.chat-name { margin: 6px 0 0; font-size: 13px; color: #1C1C1E; font-weight: 500; }
.chat-name span { color: #8E8E93; }
.chat { padding: 10px 12px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.3; }
.stamp { margin: 2px 0 6px; text-align: center; font-size: 11px; color: #8E8E93; }
.msg { display: flex; flex-direction: column; max-width: 78%; }
.msg p { margin: 0; padding: 8px 12px; border-radius: 18px; }
.msg.in { align-self: flex-start; }
.msg.in p { background: #E9E9EB; color: #000; border-bottom-left-radius: 6px; }
.msg.out { align-self: flex-end; }
.msg.out p { background: #0A84FF; color: #fff; border-bottom-right-radius: 6px; }
.msg.file p { background: #fff; color: #0A84FF; border: 1px solid #D1D1D6; }
.from { font-size: 11px; color: #8E8E93; margin: 6px 0 2px 12px; }
.typing { align-self: flex-start; margin: 6px 0 0; display: flex; gap: 4px; background: #E9E9EB; border-radius: 18px; padding: 11px 13px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9A9AA0; }

.steps.four { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* what Sid can read: the examples screen beside the list */
.reads { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; margin-top: 64px; background: var(--ground); border: 1px solid var(--line); border-radius: 28px; padding: 36px; }
.reads .reads-sid { width: 84px; height: 84px; margin-bottom: 8px; }
.reads h3 { font-size: 28px; color: var(--blue); font-style: italic; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }

/* take a look inside: four phones */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.gallery figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.gallery figcaption { color: var(--muted); max-width: 15em; }
.gallery figcaption b { display: block; font-size: 20px; color: var(--ink); }

/* highlights */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; }
.feature img { width: 88px; height: 88px; }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); }

/* the sports strip */
.sports { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; margin-top: 32px; }
.sports figure { margin: 0; width: 92px; text-align: center; font-weight: 700; font-size: 15px; color: var(--muted); }
.sports img { width: 80px; height: 80px; margin: 0 auto 4px; }

/* private by design, about */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about p { margin: 0 0 14px; }

footer { background: var(--blue); color: #E4E9FF; padding-block: 28px 36px; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 1000px) and (min-width: 801px) {
  .steps.four, .gallery { grid-template-columns: repeat(2, 1fr); }
  .problem-wrap { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .hero-art { margin-top: 12px; }
  .hero-art .phone { max-width: 230px; }
  .hero-art .sid { width: 120px; left: -80px; bottom: -10px; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .problem-wrap { grid-template-columns: 1fr; gap: 36px; }
  .chat-phone { width: 100%; max-width: 340px; justify-self: center; }
  .solved { grid-template-columns: 1fr; justify-items: center; padding: 24px; gap: 14px; }
  .solved img { width: 90px; height: 90px; }
  .steps.four { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
  .steps.four .phone { border-width: 5px; border-radius: 22px; }
  .reads { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .gallery .phone { border-width: 5px; border-radius: 22px; }
  .features, .two { grid-template-columns: 1fr; }
  .two { gap: 20px; }
  .feature { grid-template-columns: 68px 1fr; padding: 18px; }
  .feature img { width: 68px; height: 68px; }
  .sports figure { width: 76px; font-size: 14px; }
  .sports img { width: 64px; height: 64px; }
  section { padding-block: 52px; }
}
