/* ============================================================
   Record Run — shared styles
   Warm record-shop palette, bold magazine type, phone-first.
   ============================================================ */

:root {
  --paper: #f3ead8;
  --paper-2: #e9dcc1;
  --card: #fbf6ec;
  --ink: #1c1814;
  --muted: #5e5347;
  --red: #c4402a;
  --red-dark: #9e3020;
  --mustard: #e2a72e;
  --teal: #24635b;
  --line: #1c1814;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", -apple-system, system-ui, sans-serif;
  --radius: 4px;
  --shadow: 4px 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 3px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: 12px;
}
.logo {
  font-family: var(--display); font-size: 24px; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.logo-disc {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: radial-gradient(circle, var(--red) 0 22%, var(--ink) 23% 100%);
  box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px #3a332c;
}
.header-nav { display: flex; align-items: center; gap: 14px; }
.header-link { font-size: 15px; font-weight: 600; white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, .display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.98; letter-spacing: 0.005em; margin: 0;
}
h1 { font-size: clamp(42px, 8vw, 80px); }
h2 { font-size: clamp(30px, 5.5vw, 48px); }
h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.2; margin: 0; }
.kicker {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; background: var(--ink); color: var(--paper);
  padding: 4px 10px; margin-bottom: 16px;
}
.lede { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.4; max-width: 34em; }
.muted { color: var(--muted); }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 18px; text-align: center;
  padding: 14px 24px; min-height: 52px;
  border: 3px solid var(--ink); border-radius: var(--radius);
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .08s, box-shadow .08s;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .pill input:focus-visible + span {
  outline: 3px solid var(--mustard); outline-offset: 3px;
}
.btn-sm { font-size: 14px; padding: 8px 12px; min-height: 44px; box-shadow: 3px 3px 0 var(--ink); border-width: 2px; }
.site-header .btn-sm { white-space: nowrap; }
@media (max-width: 440px) {
  .logo { font-size: 19px; gap: 8px; }
  .logo-disc { width: 20px; height: 20px; }
  .site-header .btn-sm { font-size: 13px; padding: 8px 10px; }
  .header-nav { gap: 10px; }
}
/* On phones the hero button sits right under the header, so the header copy steps aside for "My plans". */
@media (max-width: 480px) { .site-header [data-cta="header"] { display: none; } }
.btn-secondary { background: var(--card); color: var(--ink); }
.btn-secondary:hover { background: var(--paper-2); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; color: inherit; }

/* ---------- Sections ---------- */
section { padding: 52px 0; }
.rule { border-top: 3px solid var(--line); }
.band { background: var(--ink); color: var(--paper); }
.band a { color: var(--paper); }

/* ---------- Landing hero ---------- */
.hero { padding: 40px 0 52px; }
.hero-grid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.hero .lede { margin: 20px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sample-label {
  display: inline-block; font-family: var(--display); font-size: 18px; text-transform: uppercase;
  background: var(--mustard); border: 3px solid var(--ink); border-bottom: 0; padding: 4px 12px 2px;
}
.sample-caption { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

.grid-3, .grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.for-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.for-list li { padding-left: 34px; position: relative; font-size: 18px; }
.for-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, var(--paper) 0 18%, var(--red) 19% 100%);
}
.band .for-list li::before { background: radial-gradient(circle, var(--ink) 0 18%, var(--mustard) 19% 100%); }

.feature { border-top: 3px solid currentColor; padding-top: 14px; }
.feature .num { font-family: var(--display); font-size: 40px; color: var(--mustard); line-height: 1; }
.feature h3 { margin: 6px 0 8px; }
.feature p { margin: 0; }

.honest { background: var(--card); border: 3px solid var(--ink); padding: 22px; box-shadow: var(--shadow); }
.honest h3 { margin-bottom: 8px; }
.honest p { margin: 0; }

.faq { margin-top: 22px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; padding: 14px 32px 14px 0; position: relative; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; max-width: 40em; }
.support { margin-top: 20px; font-weight: 600; }

.price-line { font-family: var(--display); font-size: clamp(34px, 6vw, 56px); text-transform: uppercase; line-height: 1; margin: 0; }
.site-footer { border-top: 3px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }

/* ---------- Task card (a <details> element: tap to open/close) ---------- */
.task-list { display: grid; gap: 18px; }
.task-list > *, .compare > *, .hero-grid > * { min-width: 0; } /* stop long labels stretching the cards */
.task {
  background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative;
}
.task-summary { list-style: none; cursor: pointer; padding: 16px 16px 14px; display: block; }
.task-summary::-webkit-details-marker { display: none; }
.task[open] .task-summary { padding-bottom: 4px; }
.task-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 10px; }
.task-day {
  font-family: var(--display); font-size: 19px; text-transform: uppercase; line-height: 1;
  background: var(--ink); color: var(--paper); padding: 5px 8px 4px;
}
.task-date { font-weight: 600; font-size: 15px; }
.task-time { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--ink); padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.tag-tiktok { background: var(--ink); color: var(--paper); }
.tag-reels { background: var(--red); color: #fff; }
.tag-shorts { background: var(--mustard); color: var(--ink); }
.tag-all { background: var(--teal); color: #fff; white-space: normal; border-radius: 12px; }
.task-title-row { display: flex; align-items: flex-start; gap: 12px; }
.task-title-row h3 { flex: 1; }
.chev {
  flex: none; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; position: relative; margin-top: -2px;
}
.chev::before {
  content: ""; position: absolute; left: 8px; top: 6px; width: 8px; height: 8px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg);
}
.task[open] .chev::before { transform: rotate(-135deg); top: 10px; }
.followup {
  margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--teal);
  background: #e3ece6; border-left: 4px solid var(--teal); padding: 6px 10px;
}
.task-body { padding: 0 16px 18px; }
.task .section-label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 14px 0 6px;
}
.steps { margin: 0; padding-left: 22px; }
.steps li { margin-bottom: 6px; }
.steps li::marker { font-weight: 700; color: var(--red); }
.opening {
  font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4;
  border-left: 4px solid var(--mustard); padding: 4px 0 4px 12px; margin: 0;
}
.fill-note { font-size: 13px; color: var(--muted); margin: 6px 0 0 16px; }
.metric { background: var(--paper-2); border-radius: var(--radius); padding: 12px 14px; margin-top: 14px; }
.metric .section-label { margin-top: 0; }
.metric strong { font-size: 18px; display: block; }
.metric p { margin: 4px 0 6px; font-size: 15px; }
.metric .fallback { border-top: 1px dashed #b9a98d; padding-top: 6px; }
.metric .fallback strong { display: inline; font-size: 15px; }
.metric small { font-size: 13px; color: var(--muted); }
.adapt { margin-top: 12px; border-top: 2px dashed #b9a98d; padding-top: 10px; }
.adapt summary { cursor: pointer; font-weight: 700; font-size: 15px; min-height: 36px; display: flex; align-items: center; }
.adapt ul { margin: 6px 0 0; padding-left: 20px; font-size: 15px; }

/* Done checkbox in the card title */
.done-box { flex: none; display: inline-flex; cursor: pointer; padding: 2px; margin: -4px 0 0 -4px; }
.done-box input {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin: 0;
  border: 3px solid var(--ink); border-radius: 4px; background: #fff; cursor: pointer; position: relative;
}
.done-box input:checked { background: var(--teal); border-color: var(--teal); }
.done-box input:checked::after {
  content: ""; position: absolute; left: 8px; top: 2px; width: 8px; height: 15px;
  border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg);
}
.task.is-done h3 { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }

/* ---------- Questionnaire ---------- */
.form-intro { padding: 26px 0 4px; }
.form-intro h1 { font-size: clamp(32px, 6vw, 46px); }
.form-intro p { margin: 10px 0 0; font-size: 17px; }
.q-form { padding-bottom: 48px; }
.q { border: 0; border-top: 2px solid var(--line); margin: 0; padding: 16px 0 18px; min-width: 0; }
.q legend, .q-label {
  font-family: var(--display); font-size: 21px; text-transform: uppercase; line-height: 1.05;
  padding: 0; display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px;
}
/* Float the legend so it sits inside the box instead of cutting the top border. */
.q legend { float: left; width: 100%; }
.q legend + * { clear: both; }
.q-num { color: var(--red); }
.optional { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: none; color: var(--muted); }
.q .hint { font-size: 15px; color: var(--muted); margin: 0 0 10px; }
.field-label { display: block; font-weight: 600; margin: 14px 0 6px; }
input[type="text"], input[type="date"], input[type="email"], select {
  width: 100%; font: inherit; font-size: 17px; padding: 10px 14px; min-height: 48px;
  border: 3px solid var(--ink); border-radius: var(--radius); background: var(--card); color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 3px solid var(--ink); border-radius: 999px; background: var(--card);
  font-weight: 600; font-size: 16px; cursor: pointer; user-select: none;
}
.pill input:checked + span { background: var(--ink); color: var(--paper); }
.pill input:checked + span::before { content: "✓"; margin-right: 8px; color: var(--mustard); }
.date-row { margin-top: 12px; }
.error { color: var(--red-dark); font-weight: 700; font-size: 15px; margin: 8px 0 0; }
.error:empty { display: none; }
.form-actions { border-top: 2px solid var(--line); padding-top: 20px; }

/* ---------- Preview ---------- */
.preview-head { padding: 30px 0 20px; }
.preview-head h1 { font-size: clamp(36px, 7vw, 68px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { border: 2px solid var(--ink); padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--card); }
.notice { background: var(--mustard); border: 3px solid var(--ink); padding: 12px 16px; margin: 18px 0 0; font-weight: 600; }
.demo-banner { background: var(--teal); color: #fff; border: 3px solid var(--ink); padding: 10px 14px; margin-top: 16px; font-weight: 600; font-size: 15px; }
.demo-banner .link-btn { color: #fff; margin-left: 6px; }

.start-here {
  background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 16px 18px; margin: 22px 0 0;
}
.start-here .label { font-family: var(--display); text-transform: uppercase; font-size: 22px; color: var(--mustard); display: block; margin-bottom: 6px; }
.start-here p { margin: 6px 0 0; }
.start-here a { color: var(--paper); font-weight: 700; }
.start-here .prep { border-top: 1px solid #4a4038; padding-top: 10px; margin-top: 10px; }

.glance { list-style: none; margin: 0 0 22px; padding: 0; border-top: 2px solid var(--ink); }
.glance li { display: grid; grid-template-columns: 104px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid #cdbf9f; font-size: 15px; }
.glance .when { font-weight: 700; }
.glance a { color: var(--ink); text-decoration: none; }
.glance a:hover { text-decoration: underline; }
.glance .follow { color: var(--teal); font-weight: 600; }
.glance .plat { color: var(--muted); font-size: 13px; display: block; }

.week-banner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 8px; }
.week-goal { font-family: var(--serif); font-size: 19px; margin: 0 0 18px; }
.week-goal strong { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: block; color: var(--muted); }

.upgrade h2 { margin-bottom: 12px; }
.upgrade .lede { color: var(--paper); margin: 0 0 22px; }
.buy-box { background: var(--paper); color: var(--ink); border: 3px solid var(--paper); border-radius: var(--radius); padding: 18px; }
.buy-price { font-family: var(--display); font-size: 44px; text-transform: uppercase; line-height: 1; }
.buy-price small { font-family: var(--sans); font-size: 16px; font-weight: 700; text-transform: none; margin-left: 6px; }
.includes { margin: 14px 0 16px; padding-left: 20px; }
.includes li { margin-bottom: 4px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.no-pay { font-weight: 700; font-size: 15px; color: var(--teal); }

.outline { margin-top: 28px; display: grid; gap: 0; border-top: 2px solid #4a4038; }
.outline-week { border-bottom: 2px solid #4a4038; padding: 12px 0; }
.outline-week h3 { color: var(--paper); font-size: 19px; }
.outline-week .meta { font-size: 14px; opacity: .75; margin: 2px 0 4px; }
.outline-week .eg { font-size: 15px; margin: 0; }
.outline-week .eg::before { content: "🔒 "; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.filters button {
  font: inherit; font-weight: 700; font-size: 14px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--card); color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.progress { margin-top: 16px; }
.progress-bar { height: 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--teal); width: 0; transition: width .2s; }
.progress p { margin: 6px 0 0; font-weight: 600; font-size: 15px; }
.week-block { padding: 26px 0 8px; border-top: 3px solid var(--line); margin-top: 26px; }

dialog {
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--card); color: var(--ink); max-width: 440px; width: calc(100% - 32px); padding: 24px;
}
dialog::backdrop { background: rgba(28, 24, 20, .55); }
dialog h2 { font-size: 32px; margin-bottom: 10px; }
.dialog-actions { display: grid; gap: 12px; margin-top: 18px; }

/* ---------- Test page ---------- */
.compare { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.check { padding: 8px 12px; border: 2px solid var(--ink); margin-bottom: 8px; background: var(--card); font-weight: 600; }
.check.pass::before { content: "PASS  "; color: var(--teal); font-weight: 800; }
.check.fail::before { content: "FAIL  "; color: var(--red); font-weight: 800; }

/* ---------- Homepage polish ---------- */
.platform-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: -8px 0 24px; }
.offer-lines { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); display: grid; gap: 2px; }
.sample-compact .task-summary { cursor: default; padding-bottom: 16px; }
.sample-compact h3 { margin-bottom: 10px; }
.sample-lines { margin: 0 0 14px; display: grid; gap: 6px; }
.sample-lines div { display: grid; grid-template-columns: 58px 1fr; gap: 6px; }
.sample-lines dt { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.sample-lines dd { margin: 0; }
.see-full {
  font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper-2); color: var(--ink); cursor: pointer;
}
.see-full:hover { background: var(--mustard); }
.see-full:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.sample-compact .task-body { border-top: 2px dashed #b9a98d; padding-top: 4px; }

/* ---------- Purchase, status and sign-in ---------- */
.guarantee { font-weight: 700; font-size: 15px; }
.test-pill { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; }
.buy-meta { display: grid; gap: 6px; margin-top: 12px; }
.form-error { color: var(--red-dark); font-weight: 700; margin: 10px 0 0; }
.form-error:empty { display: none; }
.panel { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 26px 0; }
.panel h2 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 10px; }
.panel p { margin: 8px 0; }
.panel .btn { margin-top: 10px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.inline-form input { flex: 1 1 220px; }
.inline-form .btn { margin-top: 0; }
.status-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.status-paid { background: var(--teal); color: #fff; border-color: var(--teal); }
.status-refunded { background: var(--paper-2); }
.plan-row { border-top: 2px solid var(--ink); padding: 16px 0; display: grid; gap: 6px; }
.plan-row h3 { font-size: 22px; }
.plan-row .history { font-size: 14px; color: var(--muted); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.locked-note { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
input:disabled, select:disabled { opacity: .65; cursor: not-allowed; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--paper-2); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
