/* Tickmark Daily — the same data-desk look as the videos: dark green-black, mint accent, plain type. */
:root {
  --bg: #0b0f0f;
  --bg2: #141a19;
  --card: #161d1c;
  --line: #24302e;
  --fg: #f4f7f6;
  --muted: #9aa7a4;
  --accent: #3ee6a0;
  --accent-ink: #06140e;
  --hl: rgba(62, 230, 160, .28);
  --r: 16px;
  --wrap: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font);
  background-image: radial-gradient(900px 500px at 85% -10%, rgba(62, 230, 160, .10), transparent 60%);
  background-repeat: no-repeat;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 15, 15, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); background: var(--card); }

/* hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(62, 230, 160, .18); }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 16px 0 20px; font-weight: 850; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: #c9d3d1; font-size: clamp(17px, 1.6vw, 19px); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 16px; border: 1px solid var(--line); color: var(--fg); background: var(--card); }
.btn:hover { border-color: #3a4a47; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* the "document" picture: a page, one line under the highlighter, the source stamp */
.doc { position: relative; aspect-ratio: 4 / 4.6; max-width: 440px; margin-left: auto; width: 100%; }
.paper { position: absolute; inset: 0 8% 6% 0; background: #f3f1ea; border-radius: 10px; padding: 9% 9%; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transform: rotate(-2deg); overflow: hidden; }
.paper i { display: block; height: 3.1%; background: #cfcabd; border-radius: 3px; margin-bottom: 3.4%; }
.paper i.h { width: 55%; height: 5%; background: #2b2b2b; margin-bottom: 7%; }
.paper i.s { width: 72%; }
.paper i.m { width: 88%; }
.paper i.mark { position: relative; background: #9c968a; }
.paper i.mark::after { content: ""; position: absolute; inset: -55% -3%; background: rgba(62, 230, 160, .55); border-radius: 3px; mix-blend-mode: multiply; }
.lens { position: absolute; right: 0; top: 34%; width: 62%; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lens b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.lens span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.stamp { position: absolute; left: 6%; bottom: 0; display: inline-flex; gap: 8px; align-items: center; background: #0b0f0f; border: 1px solid var(--line); color: #d7dfdd; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 99px; }
.stamp::before { content: ""; width: 10px; height: 12px; border: 2px solid var(--accent); border-radius: 2px; }

/* sections */
section { padding: 56px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
h2 { font-size: clamp(27px, 3.2vw, 36px); letter-spacing: -.025em; line-height: 1.12; margin: 0; font-weight: 800; }
.sub { color: var(--muted); margin: 8px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: .06em; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.steps p { margin: 0; color: #c2ccca; font-size: 16px; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.sources li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 14px; color: #c2ccca; }

/* videos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.vid { display: block; text-decoration: none; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vid:hover { border-color: #3a4a47; }
.vid .thumb { aspect-ratio: 9 / 16; background: var(--bg2) center / cover no-repeat; position: relative; }
.vid.wide .thumb { aspect-ratio: 16 / 9; }
.vid .thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(11, 15, 15, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%233ee6a0'/%3E%3C/svg%3E") center / 30px no-repeat; }
.vid .meta { padding: 14px 16px 16px; }
.vid .meta b { display: block; font-size: 16px; line-height: 1.3; }
.vid .meta span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.empty { background: var(--card); border: 1px dashed #33433f; border-radius: var(--r); padding: 28px; color: #c2ccca; }
.empty p { margin: 0 0 16px; }

/* disclosure band */
.band { background: var(--bg2); border-block: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.band h3 { margin: 0 0 6px; font-size: 17px; }
.band p { margin: 0; color: #c2ccca; font-size: 15.5px; }

/* text pages */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 4.4vw, 48px); margin-top: 0; }
.page h2 { font-size: 23px; margin: 40px 0 10px; }
.page h3 { font-size: 18px; margin: 26px 0 6px; }
.page p, .page li { color: #d0d8d6; }
.page ul { padding-left: 22px; }
.page .date { color: var(--muted); font-size: 15px; margin-top: -8px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 16px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer a { color: #c2ccca; text-decoration: none; }
footer a:hover { color: var(--fg); text-decoration: underline; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; }
.social svg { width: 20px; height: 20px; fill: #c2ccca; }
.social a:hover svg { fill: var(--fg); }

@media (max-width: 880px) {
  .hero { padding: 44px 0 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .doc { max-width: 380px; margin: 0 auto; }
  .steps, .band .wrap { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav a { padding: 10px 8px; font-size: 14px; }
  .brand span { display: none; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vid .meta { padding: 10px 12px 12px; }
  .vid .meta b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* contact form */
.form { margin-top: 28px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15px; color: var(--fg); }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--card); border: 1px solid #2e3b39; border-radius: 12px;
  padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239aa7a4' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field input::placeholder { color: #6f7c79; }
.form .small { color: var(--muted); font-size: 14.5px; margin: 0; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* video pages */
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.article .lead { color: #d0d8d6; font-size: 18px; }
.player { margin: 26px 0 8px; }
.player .facade, .player .frame { display: block; position: relative; width: min(360px, 100%); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.player .frame { border: 0; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: rgba(11, 15, 15, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%233ee6a0'/%3E%3C/svg%3E") center / 40px no-repeat; }
.player .facade:hover .play { background-color: rgba(11, 15, 15, .9); }
.player .small { color: var(--muted); font-size: 14px; margin-top: 10px; }
.facts { width: 100%; border-collapse: collapse; margin: 8px 0 8px; font-size: 16px; }
.facts th, .facts td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 500; color: #c9d3d1; }
.facts td { font-weight: 800; color: var(--fg); white-space: nowrap; text-align: right; }
.facts tr:nth-child(odd) { background: rgba(255, 255, 255, .02); }
.notes { color: #c2ccca; }
.article h3 { color: var(--fg); }
.article .grid { margin-top: 16px; }
.page.wide .wrap { max-width: var(--wrap); }
.more { margin: 18px 0 0; font-weight: 700; }
@media (max-width: 520px) { .facts td { white-space: normal; } .facts th, .facts td { padding: 10px 8px; } }
