/* ohdearmom.com — the app's MOM.exe look: blue pixel grid, cream windows, magenta title bars,
   navy drop shadows. Fonts are the app's own (SIL OFL): Jersey 10 for Mom, Silkscreen for labels. */
@font-face { font-family: "Jersey 10"; src: url("fonts/Jersey10-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("fonts/Silkscreen-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #4B48F0; --grid: #5A58F4; --cream: #FFF4E2; --navy: #241A5C; --ink: #1B1530;
  --magenta: #FF4FC8; --yellow: #FFD23F; --yellow-soft: #FFE58A; --green: #5BD65B; --red: #FF4F7B;
  --sky: #4BC3E8; --muted: #7A74A8; --white: #FFFFFF;
  --mom: "Jersey 10", "Courier New", monospace;
  --label: "Silkscreen", "Courier New", monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--navy); font-family: var(--body); font-size: 16px; line-height: 1.55;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 2px, transparent 2px), linear-gradient(90deg, var(--grid) 2px, transparent 2px);
  background-size: 24px 24px;
}
img { max-width: 100%; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* header / footer */
.top { padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border: 2px solid var(--navy); }
.brand span { font-family: var(--mom); font-size: 30px; line-height: 1; color: var(--white); text-shadow: 2px 2px 0 var(--navy); }
.nav { display: flex; gap: 18px; font-family: var(--label); font-size: 13px; letter-spacing: .06em; }
.nav a { color: var(--white); text-decoration: none; }
.nav a:hover { color: var(--yellow); }
.foot { padding-block: 40px 56px; color: var(--white); font-family: var(--label); font-size: 12px; letter-spacing: .05em; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--white); }

/* MOM.exe window */
.win { background: var(--cream); border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--navy); min-width: 0; }
.win-bar { background: var(--magenta); border-bottom: 3px solid var(--navy); padding: 4px 10px; display: flex; align-items: center; gap: 8px; }
.win-bar b { font-family: var(--label); font-weight: 400; font-size: 13px; letter-spacing: .08em; color: var(--white); flex: 1; }
.dots { display: flex; gap: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--navy); display: block; }
.dots i:nth-child(1) { background: var(--yellow); } .dots i:nth-child(2) { background: var(--green); } .dots i:nth-child(3) { background: var(--bg); }
.win-body { padding: 22px; }

/* hero */
.hero { padding-block: 28px 20px; }
.hero .win-body { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; }
.stage { background: var(--yellow-soft); border: 3px solid var(--navy); border-radius: 10px; display: flex; justify-content: center; align-items: flex-end; padding: 26px 10px 14px; position: relative; overflow: hidden; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 3px, transparent 3px 16px); }
.stage img { width: 192px; height: auto; position: relative; z-index: 1; animation: bob 1.2s steps(1) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--navy); color: var(--yellow); font-family: var(--label); font-size: 12px; letter-spacing: .08em; padding: 3px 9px; border-radius: 6px; }
h1 { font-family: var(--mom); font-weight: 400; font-size: clamp(52px, 8vw, 84px); line-height: .9; margin: 0; color: var(--magenta); text-wrap: balance; }
.bubble { background: var(--white); border: 3px solid var(--navy); border-radius: 12px; padding: 10px 16px; font-family: var(--mom); font-size: 30px; line-height: 1.05; margin: 14px 0 12px; }
.sub { margin: 0 0 16px; max-width: 46ch; }

/* waitlist */
.join { display: flex; gap: 10px; flex-wrap: wrap; }
.join input[type="email"] { flex: 1 1 220px; min-width: 0; font-family: var(--mom); font-size: 26px; padding: 6px 14px; border: 3px solid var(--navy); border-radius: 10px; background: var(--white); color: var(--navy); }
.join input::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pill { font-family: var(--label); font-size: 15px; letter-spacing: .08em; color: var(--navy); background: var(--green); border: 3px solid var(--navy); border-radius: 12px; padding: 10px 20px; box-shadow: 3px 4px 0 var(--navy); cursor: pointer; position: relative; }
.pill::before { content: ""; position: absolute; left: 8px; top: 4px; width: 16px; height: 3px; background: var(--white); opacity: .85; }
.pill:active { transform: translateY(3px); box-shadow: 3px 1px 0 var(--navy); }
.pill[disabled] { opacity: .6; cursor: progress; }
.join-msg { font-family: var(--mom); font-size: 24px; line-height: 1.1; margin: 10px 0 0; min-height: 1.1em; }
.join-msg.err { color: #C8174B; }
.fine { font-family: var(--label); font-size: 11px; letter-spacing: .05em; color: var(--muted); margin: 8px 0 0; }

/* sections */
.section { padding-block: 26px; }
.eyebrow { font-family: var(--label); font-size: 13px; letter-spacing: .08em; color: var(--yellow); margin: 0 0 10px; }
.h2 { font-family: var(--mom); font-weight: 400; font-size: clamp(38px, 5vw, 54px); line-height: 1; color: var(--white); text-shadow: 3px 3px 0 var(--navy); margin: 0 0 18px; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps .win-body { padding: 16px 18px 18px; }
.steps h3 { font-family: var(--label); font-weight: 400; font-size: 14px; letter-spacing: .06em; margin: 0 0 6px; }
.steps p { margin: 0; }
.steps .say { font-family: var(--mom); font-size: 24px; line-height: 1.05; margin-top: 10px; color: var(--magenta); }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; border: 3px solid var(--navy); border-radius: 22px; box-shadow: 8px 8px 0 var(--navy); background: var(--bg); }
.shots figcaption { font-family: var(--label); font-size: 12px; letter-spacing: .06em; color: var(--white); margin-top: 14px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.quote { background: var(--white); border: 3px solid var(--navy); border-radius: 12px; padding: 12px 16px; font-family: var(--mom); font-size: 27px; line-height: 1.05; box-shadow: 4px 4px 0 var(--navy); }
.lineup { display: flex; justify-content: center; gap: clamp(8px, 3vw, 28px); flex-wrap: wrap; padding-block: 8px; }
.lineup img { width: clamp(72px, 14vw, 120px); }

.cta .win-body { display: grid; grid-template-columns: 1fr minmax(0, 1.2fr); gap: 22px; align-items: center; }
.cta .bubble { margin: 0; }

/* legal + support pages */
.doc { padding-block: 24px 10px; }
.doc .win-body { padding: 26px clamp(18px, 4vw, 40px) 30px; }
.doc h1 { font-size: clamp(46px, 7vw, 64px); }
.doc h2 { font-family: var(--label); font-weight: 400; font-size: 15px; letter-spacing: .06em; margin: 28px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc .mom-says { margin: 16px 0 6px; }
.updated { font-family: var(--label); font-size: 12px; letter-spacing: .05em; color: var(--muted); margin: 8px 0 0; }
.email { font-family: var(--mom); font-size: 30px; background: var(--white); border: 3px solid var(--navy); border-radius: 10px; padding: 4px 14px; display: inline-block; user-select: all; }
details { border-top: 2px solid #E4DDF2; padding-block: 12px; max-width: 68ch; }
summary { cursor: pointer; font-weight: 600; }

@media (max-width: 820px) {
  .hero .win-body, .cta .win-body { grid-template-columns: 1fr; }
  .hero .win-body { gap: 16px; padding: 16px; }
  .stage { padding: 22px 10px 10px; }
  .stage img { width: 96px; }
  .bubble { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  /* screenshots become a swipeable row instead of a tall stack */
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 0 12px 16px 0; }
  .shots figure { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .stage img { animation: none; } }
