/* WNN design system: teal #2396B3, gold #F0B429, near-black #020809, 2px border + edge shadow, Source Sans 3 / Open Sans */
@font-face { font-family: "Source Sans 3"; font-weight: 700; src: url(source-sans-3-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; src: url(open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; src: url(open-sans-latin-600-normal.woff2) format("woff2"); }
:root { --ink: #020809; --teal: #2396B3; --teal-dark: #1C788F; --gold: #F0B429; --cream: #FDF7E9; --muted: #4D5252; --line: #020809; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 "Open Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 2px solid var(--line); }
.logo { height: 34px; }
#who { font-size: 13px; color: var(--muted); text-align: right; }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
h1, h2 { font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: 28px; } h2 { font-size: 20px; }
.eyebrow { font: 700 13px/1 "Source Sans 3", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: 8px; box-shadow: 4px 4px 0 var(--line); padding: 18px; margin: 0 0 20px; }
.card p { margin: 0 0 10px; } .card p:last-child { margin-bottom: 0; }
.label { font-weight: 600; }
.hook { background: var(--cream); border: 2px solid var(--line); border-radius: 6px; padding: 10px 12px; font-weight: 600; }
.muted { color: var(--muted); font-size: 15px; }
.btn { display: block; width: 100%; padding: 15px 18px; border: 2px solid var(--line); border-radius: 6px; font: 700 19px/1.2 "Source Sans 3", sans-serif;
  text-align: center; text-decoration: none; cursor: pointer; background: var(--teal); color: #fff; margin: 0 0 12px; }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.outline { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .5; }
.btn:active { transform: translateY(1px); }
input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tips { margin: 0; padding-left: 20px; } .tips li { margin-bottom: 4px; }
.progress { height: 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; margin: 10px 0 6px; }
.progress > div { height: 100%; width: 0; background: var(--teal); transition: width .2s; }
.take { padding: 12px 0; border-top: 2px solid #D9D9DA; } .take:first-child { border-top: 0; }
.ok { color: var(--teal-dark); font-weight: 600; } .err { color: #C0392B; font-weight: 600; }
.list a { display: block; color: var(--ink); text-decoration: none; }
.list .card { padding: 14px 16px; }

/* In-page recorder: full-screen camera, big record button, hook on screen */
body.recording-open { overflow: hidden; }
.rec-layer { position: fixed; inset: 0; z-index: 10; background: #000; color: #fff; }
.cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }  /* uncropped: what you see is what's recorded */
.cam.mirror { transform: scaleX(-1); }
.rec-layer[data-mode="review"] .cam:first-child, .rec-layer:not([data-mode="review"]) .cam + .cam { display: none; }
.rec-hook { position: absolute; left: 16px; right: 16px; top: calc(env(safe-area-inset-top) + 16px); padding: 10px 14px; border-radius: 8px;
  background: rgba(2,8,9,.55); font: 700 20px/1.25 "Source Sans 3", sans-serif; text-align: center; }
.rec-count { position: absolute; inset: 0; display: none; place-items: center; font: 700 140px/1 "Source Sans 3", sans-serif; text-shadow: 0 0 20px rgba(0,0,0,.5); }
.rec-layer[data-mode="countdown"] .rec-count { display: grid; }
.rec-clock { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 132px); text-align: center; font: 700 22px/1 "Source Sans 3", sans-serif; display: none; }
.rec-layer[data-mode="recording"] .rec-clock { display: block; }
.rec-layer[data-mode="recording"] .rec-clock::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: #E5383B; }
.rec-info { position: absolute; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 170px); text-align: center; font-size: 14px; color: #ddd; }
.rec-bar { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 24px); display: flex; align-items: center; justify-content: space-around; }
.rec-layer[data-mode="review"] .rec-bar { display: none; }
.rec-btn { width: 84px; height: 84px; border-radius: 50%; border: 5px solid #fff; background: #E5383B; cursor: pointer; }
.rec-layer[data-mode="recording"] .rec-btn { border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 22px #E5383B; }
.rec-layer[data-mode="starting"] .rec-btn, .rec-layer[data-mode="countdown"] .rec-btn { opacity: .4; }
.rec-small { min-width: 72px; padding: 10px 12px; border: 2px solid #fff; border-radius: 6px; background: rgba(2,8,9,.4); color: #fff; font: 600 15px/1 "Open Sans", sans-serif; }
.rec-layer[data-mode="recording"] .rec-small { visibility: hidden; }
.rec-after { position: absolute; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 16px); display: none; }
.rec-layer[data-mode="review"] .rec-after { display: block; }
