/* AFHultin & Co — video plans page. Shared tokens, type, buttons, menu and footer are in base.css. */
/* ---------- hero ---------- */
.hero { padding-top: 40px; }
h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -.03em;
  line-height: 1;
}
.ln { display: inline-block; overflow: hidden; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.ln + .ln > span { color: var(--acc-text); }
.lede { margin-top: 14px; max-width: 760px; font-size: 17px; line-height: 1.5; color: var(--text-2); }

/* filmed-to-generated scale above the four cards */
.spectrum {
  display: flex; justify-content: space-between; margin-bottom: 12px; padding-top: 22px;
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  background: linear-gradient(90deg, var(--acc), var(--blue)) top / 100% 2px no-repeat;
  opacity: .9;
}

/* ---------- section heads ---------- */
.plans { padding-top: 28px; }
.cite { margin-top: 22px; font-size: 14px; color: var(--muted); }
.cite a { color: var(--text-2); }

/* ---------- the four plans ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; row-gap: 20px; }
.tier {
  position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0;
  padding: 20px 18px 18px; border-radius: var(--r);
  background: var(--surface); border: var(--edge); box-shadow: var(--lift);
  cursor: pointer;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
@supports not (grid-template-rows: subgrid) { .tier { display: flex; flex-direction: column; } }
.tier:hover { border-color: var(--acc-text); }
.tier.is-picked {
  border-color: var(--acc);
  background: var(--surface-2);
  box-shadow: 0 0 0 2px var(--acc), 0 18px 40px -18px color-mix(in srgb, var(--acc) 45%, transparent);
}
.tier:focus { outline: none; }
.tier:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.tier-head { display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 12px; }
.tier-pick { align-self: flex-start; margin-bottom: 10px; padding: 4px 11px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); font-size: 13px; font-weight: 700; }
.tier-name { font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.03em; line-height: 1; }
.tier-cam { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.tier-price { font-family: var(--display); font-size: clamp(38px, 3.6vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price small { font-family: var(--body); font-size: .28em; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--text-2); }
.tier-start { margin-top: 6px; font-size: 13px; color: var(--muted); }
.tier-per { margin-top: 12px; padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.tier-row { padding-top: 12px; font-size: 14px; color: var(--text-2); }
.tier-row h4 { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tier-row a { color: var(--text); }
.tier-row ul { padding-left: 1.1em; }
.tier-row li { margin-bottom: 5px; }
.tier-row li::marker { color: var(--acc-text); }
.tier-cta {
  align-self: end; margin-top: 16px; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 16px; border-radius: 99px; border: 1.5px solid var(--line-2);
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tier-cta:hover { border-color: var(--text-2); }
.tier.is-picked .tier-cta { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.tier.is-picked .tier-cta:hover { background: var(--acc-2); border-color: var(--acc-2); }
.tier-add {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin-top: 4px;
  font-size: 15px; font-weight: 700; color: var(--acc-text); text-decoration: none;
}
.tier-add::before { content: "+"; font-size: 18px; font-weight: 800; line-height: 1; }
.tier-add:hover { text-decoration: underline; }
html[data-prices="off"] .tier-add { display: none; }
.tier-more { padding-top: 12px; }
.tier-more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px;
  font-size: 14px; font-weight: 700; color: var(--acc-text);
}
.tier-more > summary::-webkit-details-marker { display: none; }
.tier-more > summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform .3s var(--ease); }
.tier-more[open] > summary::after { transform: rotate(45deg); }
.tier-more > .tier-row:first-of-type { padding-top: 4px; }

/* ---------- what each plan looks like ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.ex { display: flex; flex-direction: column; }
.ex-set + .ex-set { margin-top: 40px; }
.ex-set-title { margin-bottom: 18px; font-size: 22px; }
/* with the script, one kind of business shows: the first, or the one a link asks for (?examples=home-tech) */
.one-set .ex-set-title, .one-set .ex-set:not(.is-on) { display: none; }
.one-set .ex-set + .ex-set { margin-top: 0; }
.ex-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin-bottom: 10px;
  font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
}
.ex-ai { flex: none; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--body); font-size: 11.5px; font-weight: 700; letter-spacing: 0; white-space: nowrap; color: var(--text-2); }
/* each example is a dark screen, the way a video sits in a feed; the platform's player replaces it on a tap */
.ex-frame { position: relative; aspect-ratio: 9 / 16; background: var(--foot); box-shadow: 0 2px 4px rgba(10, 15, 60, .08), 0 26px 50px -24px rgba(10, 15, 60, .6); border-radius: var(--r); overflow: hidden; }
.ex-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ex-open {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 16px 34%; color: var(--foot-ink); text-decoration: none;
  background: radial-gradient(90% 56% at 50% 36%, color-mix(in srgb, var(--acc) 62%, transparent), transparent 74%), var(--foot);
}
.ex-open:focus-visible { outline: 3px solid var(--foot-ink); outline-offset: -6px; border-radius: var(--r); }
.ex-play { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--foot-ink); box-shadow: 0 0 0 8px rgba(255, 255, 255, .16); transition: transform .3s var(--out); }
.ex-play::after {
  content: ""; position: absolute; left: 25px; top: 20px;
  border-left: 19px solid var(--acc); border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.ex-hint { font-size: 13px; font-weight: 600; color: var(--foot-ink-2); }
.ex-teaser {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  font-family: var(--display); font-size: clamp(17px, 1.5vw, 20px); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; text-align: left;
}
.ex-open:hover .ex-play, .ex-open:focus-visible .ex-play { transform: scale(1.1); }
.ex-views { margin-top: 16px; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ex-who { margin-top: 8px; font-size: 15px; font-weight: 700; line-height: 1.35; display: flex; flex-direction: column; }
.ex-biz { font-size: 14px; font-weight: 400; color: var(--muted); }
.ex-why { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.ex-extra { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ex-extra > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--acc-text);
}
.ex-extra > summary::-webkit-details-marker { display: none; }
.ex-extra > summary::after { content: "+"; font-size: 17px; line-height: 1; transition: transform .3s var(--ease); }
.ex-extra[open] > summary::after { transform: rotate(45deg); }
.ex-src, .ex-more { margin-top: 4px; }
.ex-more { margin-top: 8px; }

/* ---------- filming add-on ---------- */
.addons { list-style: none; padding: 0; display: grid; gap: 12px; }
.addon {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 6px;
  align-items: center; padding: 24px 26px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift);
}
.addon-name { grid-column: span 3; font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.addon-what { grid-column: span 6; font-size: 16px; color: var(--text-2); }
.addon-price { grid-column: span 3; text-align: right; font-family: var(--display); font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--acc-text); font-variant-numeric: tabular-nums; }
.addon-price small { font-family: var(--body); font-size: .38em; font-weight: 600; letter-spacing: 0; margin-left: 3px; color: var(--text-2); }
.addon-example { margin-top: 24px; font-size: 18px; font-weight: 500; max-width: 60ch; }
.addon-cta { display: inline-flex; margin-top: 20px; padding-inline: 22px; }

/* ---------- boosting ---------- */
.boost-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.boost-col { padding: 26px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift); font-size: 16px; color: var(--text-2); }
.boost-col h3 { margin-bottom: 12px; font-size: 22px; color: var(--text); }
.boost-col ul { padding-left: 1.1em; }
.boost-col li { margin-bottom: 6px; }
.boost-col li::marker { color: var(--acc-text); }
.boost-fee { margin-bottom: 12px; font-family: var(--display); font-size: clamp(42px, 4vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--acc-text); font-variant-numeric: tabular-nums; }
.boost-fee small { font-family: var(--body); font-size: .3em; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--text-2); }

/* ---------- what a month looks like ---------- */
.month-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.month-steps li { counter-increment: step; padding: 22px 20px 24px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift); }
.month-when { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc-text); }
.month-when::before {
  content: counter(step); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--acc); color: var(--acc-ink); font-size: 14px; letter-spacing: 0;
}
.month-steps h3 { margin-top: 16px; font-size: 20px; line-height: 1.15; }
.month-steps li > p:last-child { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.month-steps a { color: var(--acc-text); font-weight: 600; }

/* ---------- is it worth it ---------- */
.worth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.fact { padding: 26px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift); color: var(--text-2); }
.fact-big { margin-bottom: 16px; font-family: var(--display); font-size: clamp(52px, 6vw, 88px); font-weight: 800; letter-spacing: -.03em; line-height: .92; color: var(--text); font-variant-numeric: tabular-nums; }
.fact-big b { font-weight: inherit; color: var(--acc-text); }
.fact p:not(.fact-big) { max-width: 34ch; }
.fact p b { font-weight: 700; color: var(--text); }
.fact-go { margin-top: 14px; }
.go { color: var(--acc-text); font-weight: 700; text-decoration: none; }
.go:hover { text-decoration: underline; }
.fact .cite { margin-top: 14px; }

/* ---------- AI rules ---------- */
.rules-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rule { padding: 26px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift); }
.rule h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.12; }
.rule p { font-size: 16px; color: var(--text-2); }

/* ---------- end ---------- */
.end-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; align-items: end;
  padding: 44px 44px; border-radius: var(--r-lg);
  background: var(--acc); color: var(--acc-ink);
}
.end-grid .btn { border-color: var(--acc-ink); color: var(--acc-ink); }
.end-grid .btn-acc { background: var(--acc-ink); border-color: var(--acc-ink); color: var(--acc); }
.end-grid .btn-acc:hover { background: var(--acc-ink); border-color: var(--acc-ink); }
.end-grid :focus-visible { outline-color: var(--acc-ink); }
.end-grid a:not(.btn) { color: var(--acc-ink); }
.end-title { grid-column: 1 / span 7; font-size: clamp(36px, 4.8vw, 62px); line-height: 1; }
.end-side { grid-column: 8 / span 5; font-size: 17px; color: var(--acc-ink); }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.end-meta { font-size: 14px; color: color-mix(in srgb, var(--acc-ink) 82%, transparent); }
.sources { margin-top: 24px; padding: 8px 28px 12px; border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift); }
.sources ol { margin: 8px 0 16px; padding-left: 1.4em; columns: 2; column-gap: 48px; }
.sources li { margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); break-inside: avoid; }
.sources li:target { color: var(--text); }
.sources a { color: var(--text-2); }

/* ---------- motion: one load moment, plus answers to clicks ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ln > span { animation: rise .9s var(--out) both; animation-delay: calc(var(--i) * 90ms + 60ms); }
  .lede { animation: fade-up .8s var(--out) .32s both; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- narrower screens ---------- */
@media (max-width: 1100px) {
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .month-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .end-title, .end-side { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .plans { padding-top: 20px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .month-steps { grid-template-columns: minmax(0, 1fr); }
  .worth-grid, .rules-grid, .boost-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .rule, .boost-col { padding: 22px 20px; }
  .ex-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
  }
  .ex { scroll-snap-align: start; }
  .addon { padding: 20px; }
  .addon-name, .addon-what, .addon-price { grid-column: 1 / -1; text-align: left; }
  .end-grid { padding: 40px 24px; }
  .sources { padding: 4px 18px 8px; }
  .sources ol { columns: 1; }
}

/* ---------- print: a clean price sheet ---------- */
@media print {
  @page { margin: 14mm; }
  *, *::before, *::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  details::details-content { content-visibility: visible; }
  .sec-head { break-after: avoid; }
  body { font-size: 10.5pt; }
  .wrap { padding-inline: 0; max-width: none; }
  .hero { padding-top: 12pt; }
  h1 { font-size: 40pt; }
  .ln + .ln > span { color: #000; }
  .tier, .tier.is-picked, .addon, .boost-col, .month-steps li, .fact, .rule, .end-grid, .sources {
    background: none; border-color: #999; box-shadow: none; color: #000;
  }
  .tier-row, .tier-cam, .lede, .sec-note, .month-steps li > p:last-child, .fact, .rule p, .boost-col, .addon-what, .end-side, .sources li { color: #000; }
  .tier { padding: 10pt 8pt 12pt; }
  .tier-head { margin-bottom: 8pt; }
  .tier-pick { margin-bottom: 6pt; }
  .tier-name { font-size: 18pt; }
  .tier-price { font-size: 28pt; }
  .tier-per { margin-top: 8pt; padding: 5pt 0; font-size: 10pt; }
  .tier-row { padding-top: 8pt; font-size: 9.5pt; }
  .tier-cta, .tier-add, .end-actions, .ex-frame { display: none; }
  .ex-src-link::after { content: " " attr(href); font-size: 8pt; word-break: break-all; }
  .ex { break-inside: avoid; }
  .tier, .month-steps li, .rule, .fact { break-inside: avoid; }
  main > section + section { padding-top: 24pt; }
  .end { padding-top: 24pt; }
  .end-grid { padding: 12pt 0; }
  .sources a { color: #000; }
  .sources a::after { content: " " attr(href); font-size: 8pt; word-break: break-all; }
}
