/* The Old America: theoldamericatv.com. The channel's own kit (02-style/STYLE-KIT-v1.md): paper, sign red, mustard, sepia, ink;
   League Gothic for titles and figures, Old Standard TT for everything read as a sentence, Yellowtail for hand-lettered prices.
   Large print first: most visitors are in their 70s, on a phone or a tablet. Body text is about 21px, buttons are 60px tall. */

@font-face { font-family: "Old Standard"; src: url(/assets/fonts/OldStandard-400-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url(/assets/fonts/OldStandard-700-latin.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url(/assets/fonts/OldStandard-400i-latin.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "League Gothic"; src: url(/assets/fonts/LeagueGothic-var-latin.woff2) format("woff2"); font-weight: 400; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url(/assets/fonts/Yellowtail-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #EADCB8; --paper-light: #EFE2C2; --paper-card: #F6EDD6; --paper-aged: #D9C59B; --manila: #D9C08C;
  --sepia-dark: #3B2A1E; --sepia: #6E523B; --sepia-light: #A88B68;
  --red: #A63A2C; --red-deep: #7E2A20; --mustard: #BF952B; --mustard-light: #DDBA5C;
  --ink: #1A1613; --ink-soft: #2B211A;
  --serif: "Old Standard", Georgia, "Times New Roman", serif;
  --gothic: "League Gothic", "Arial Narrow", Impact, sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink-soft); font: 400 1.18rem/1.6 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 4px solid var(--mustard); outline-offset: 3px; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper-light); padding: 12px 18px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- header and footer ---------- */
.site-head { background: var(--ink); color: var(--paper-light); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper-light); text-decoration: none; }
.brand:hover { color: var(--paper-light); }
.brand img { width: 48px; height: 48px; }
.wordmark { font: 400 2rem/1 var(--gothic); letter-spacing: .03em; text-transform: uppercase; }
.wordmark small { font-size: max(.52em, 16px); color: var(--mustard-light); vertical-align: .62em; letter-spacing: .06em; margin-right: .08em; }

.site-foot { background: var(--ink); color: var(--paper-aged); padding: 40px 0 48px; margin-top: 64px; font-size: 1rem; }
.site-foot a { color: var(--paper-light); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 22px; }
.site-foot nav a { padding: 6px 0; }
.foot-brand { color: var(--paper-light); }
.foot-brand .wordmark { font-size: 1.7rem; }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); margin: 0 0 .45em; }
h1 { font: 400 3.6rem/1.02 var(--gothic); letter-spacing: .015em; text-transform: uppercase; }
h2 { font: 400 2.5rem/1.08 var(--gothic); letter-spacing: .02em; text-transform: uppercase; }
h3 { font: 700 1.3rem/1.3 var(--serif); }
.script { font-family: var(--script); font-weight: 400; color: var(--red); text-transform: none; letter-spacing: 0; }
.eyebrow { font: 400 2.1rem/1 var(--script); color: var(--red); margin: 0 0 .25em; }
.lede { font-size: 1.36rem; line-height: 1.5; color: var(--ink-soft); }
.small { font-size: .95rem; line-height: 1.5; color: var(--sepia); }
.rule { border: 0; height: 6px; margin: 40px 0; background: linear-gradient(var(--sepia-dark), var(--sepia-dark)) top/100% 2px no-repeat, linear-gradient(var(--sepia-light), var(--sepia-light)) bottom/100% 1px no-repeat; }

/* ---------- hero and sign-up ---------- */
.hero { padding: 40px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hero h1 .script { display: block; font-size: .62em; line-height: 1.1; margin-bottom: .05em; }

.card { background: var(--paper-card); border: 2px solid var(--sepia-dark); box-shadow: inset 0 0 0 5px var(--paper-card), inset 0 0 0 6px var(--sepia-light), 0 10px 26px rgba(59, 42, 30, .16); border-radius: 4px; padding: 26px 24px 22px; }
.signup h2 { font-size: 2.1rem; margin-bottom: .3em; }
.field { margin: 0 0 18px; }
label, .label { display: block; font-weight: 700; font-size: 1.12rem; margin-bottom: 6px; color: var(--ink); }
label .opt { font-weight: 400; font-style: italic; color: var(--sepia); }
input[type=email], input[type=text], select {
  width: 100%; min-height: 58px; padding: 12px 14px; font: 400 1.2rem/1.3 var(--serif); color: var(--ink);
  background: #FFFDF6; border: 2px solid var(--sepia); border-radius: 6px; appearance: none; -webkit-appearance: none;
}
select { padding-right: 48px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 26px) 50%, calc(100% - 18px) 50%; background-size: 8px 8px; background-repeat: no-repeat; }
input:focus, select:focus { border-color: var(--red); outline: 3px solid var(--mustard-light); outline-offset: 1px; }
.hint { font-size: 1rem; color: var(--sepia); margin: 6px 0 0; }
.suggest { margin: 10px 0 0; padding: 12px 14px; background: #FFF4D6; border: 2px solid var(--mustard); border-radius: 6px; font-size: 1.05rem; }
.suggest button { font: 700 1.05rem var(--serif); color: var(--red-deep); background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons are mustard with ink lettering (6.5:1), never red: Jeremy Haynes, 6th cohort week 6 [1:00:31], "Green encourages
   action. Red typically gets people to look away." The kit has no green, so mustard; the ink edge lifts it off the paper. */
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; width: 100%; min-height: 62px; padding: 14px 22px;
  font: 700 1.3rem/1.25 var(--serif); color: var(--ink); background: var(--mustard); border: 2px solid var(--ink); border-bottom-width: 5px;
  border-radius: 8px; text-decoration: none; cursor: pointer; box-shadow: 0 6px 16px rgba(59, 42, 30, .25); }
.button:hover { background: #CCA43A; color: var(--ink); }
.button:active { transform: translateY(2px); border-bottom-width: 3px; }
.button[disabled] { opacity: .75; cursor: progress; }
.button.secondary { background: var(--ink); color: var(--paper-light); border-color: var(--ink); box-shadow: none; }
.button.secondary:hover { background: var(--ink-soft); color: var(--paper-light); }

/* the decade question: six big tap buttons (radio inputs), answered before the email field */
fieldset.decades { border: 0; padding: 0; min-width: 0; }
fieldset.decades legend { padding: 0; margin-bottom: 10px; font-size: 1.25rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; margin: 0; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 8px; text-align: center;
  font: 400 1.75rem/1 var(--gothic); letter-spacing: .03em; color: var(--ink); background: #FFFDF6; border: 2px solid var(--sepia);
  border-radius: 8px; cursor: pointer; }
.tile-wide span { font: 700 1.02rem/1.15 var(--serif); letter-spacing: 0; }   /* "Another decade" takes the sixth slot of the 3 x 2 grid */
.tile input:checked + span { background: var(--mustard); border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.tile input:focus-visible + span { outline: 4px solid var(--mustard-light); outline-offset: 2px; }
.error { margin: 10px 0 0; padding: 10px 14px; background: #FBE9E2; border-left: 5px solid var(--red-deep); color: var(--ink); font-weight: 700; font-size: 1.05rem; }

.example { display: flex; gap: 24px; align-items: center; margin: 28px 0 8px; }
.example .tag { flex: 0 0 170px; }
.example-text { margin: 0; font-size: 1.3rem; }
.video-card { display: block; margin: 18px 0 8px; text-decoration: none; color: var(--ink); }
.video-card img { width: 100%; border: 2px solid var(--sepia-dark); }
.video-title { display: block; margin-top: 10px; font-weight: 700; font-size: 1.2rem; }
.lede.strong { color: var(--ink); font-weight: 700; }
.consent { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); margin: 14px 0 0; }

.hero-photo figure { margin: 0; }
.hero-photo img { width: 100%; border: 2px solid var(--sepia-dark); box-shadow: 0 10px 26px rgba(59, 42, 30, .2); }
figcaption { font: italic 400 1rem/1.45 var(--serif); color: var(--sepia); margin-top: 10px; }

/* ---------- sections ---------- */
.section { padding: 32px 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 40px; margin-bottom: 16px; }
.checks li::before { content: "★"; position: absolute; left: 4px; top: .05em; color: var(--red); font-size: 1.15em; }

/* the price tags: a manila shipping tag with a hand-lettered price, as in the videos */
.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px 18px; margin: 26px 0 8px; padding: 0; list-style: none; }
.tag { position: relative; background: var(--manila); color: var(--ink-soft); text-align: center; padding: 46px 12px 18px;
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); filter: drop-shadow(0 6px 8px rgba(59, 42, 30, .22));
  transform-origin: 50% 0; animation: swing 6s ease-in-out infinite; }
.tag:nth-child(2n) { animation-delay: -1.7s; } .tag:nth-child(3n) { animation-delay: -3.1s; }
.tag::before { content: ""; position: absolute; left: 50%; top: 14px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: var(--ink-soft); box-shadow: 0 0 0 6px #EFE0B7, 0 0 0 7px var(--sepia-light); }
.tag::after { content: ""; position: absolute; inset: 15% 8px 8px; border: 1px solid rgba(166, 58, 44, .7); pointer-events: none; }
.tag .price { display: block; font: 400 3.6rem/1 var(--script); color: var(--red); margin: 6px 0 6px; }
.tag .what { display: block; font: italic 400 1.02rem/1.3 var(--serif); }
.tag .year { display: block; font: 400 2.5rem/1 var(--gothic); letter-spacing: .03em; color: var(--ink); margin-top: 8px; padding-top: 8px; border-top: 2px solid rgba(166, 58, 44, .55); }
@keyframes swing { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }

.faq details { border-top: 2px solid var(--sepia-light); padding: 6px 0; }
.faq details:last-of-type { border-bottom: 2px solid var(--sepia-light); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; padding: 14px 36px 14px 0; list-style: none; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 8px; font: 400 2rem/1 var(--gothic); color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

/* ---------- thank-you, legal and notice pages ---------- */
.download-card { text-align: left; }
.download-card .button { margin: 8px 0 6px; }
.after-card { margin-top: 1.4em; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #FFF8EA;
  font: 400 1.5rem/36px var(--gothic); text-align: center; }
.prose { padding: 36px 0 8px; }
.prose h1 { font-size: 3rem; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.notice { padding: 48px 24px 24px; }
.notice h1 { font-size: 2.8rem; }
.notice form { margin-top: 18px; }

/* ---------- wider screens ---------- */
@media (min-width: 860px) {
  .hero { padding: 56px 0 32px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; grid-template-areas: "copy form" "photo form"; gap: 28px 44px; }
  .hero-copy { grid-area: copy; } .signup { grid-area: form; } .hero-photo { grid-area: photo; }
  h1 { font-size: 4.4rem; }
  .signup { position: relative; top: 6px; }
}

/* ---------- phones (Galaxy S22 = 360 CSS px): the vault's mobile block ---------- */
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .site-head .wrap { min-height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .wordmark { font-size: 1.7rem; }
  .tile span { font-size: 1.5rem; }
  .tile-wide span { font-size: 1rem; }
  .example { flex-direction: column; align-items: flex-start; gap: 16px; }
  .example .tag { flex: none; width: 170px; }
  .example-text { font-size: 1.2rem; }
  .hero { padding: 26px 0 16px; }
  h1 { font-size: 2.55rem; line-height: 1.04; }
  h2 { font-size: 2.05rem; }
  .eyebrow { font-size: 1.8rem; }
  .lede { font-size: 1.2rem; }
  .card { padding: 20px 16px 18px; }
  .signup h2 { font-size: 1.8rem; }
  .tags { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .tag:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
  .tag .price { font-size: 3rem; }
  .tag .year { font-size: 2.1rem; }
  .prose h1, .notice h1 { font-size: 2.3rem; }
  .site-foot nav { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .tag { animation: none; }
  .button:active { transform: none; }
}
