/* Mediahubink service pages. Shares tokens, nav, buttons and footer with the homepage design system. */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ink: #101112; --white: #F7F5F1; --gold: #C6A46C; --gold-light: #E8C583;
  --mid: #17181A; --muted: #B8AE9E; --surface: #13131a; --green: #4ade80;
  --border: rgba(198,164,108,0.18); --border-mid: rgba(198,164,108,0.28);
  --max: 1120px; --read: 720px;
  --serif: 'EB Garamond', serif; --sans: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--white); font-family: var(--sans); font-weight: 300; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-light); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #15120c; padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 6px 0; font-weight: 500; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* NAV (matches homepage) */
nav.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 5vw; background: rgba(10,10,15,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.logo { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.02em; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo img { height: 24px; width: auto; }
.logo:hover { color: var(--white); }
.site-nav ul { list-style: none; }
#navMenu { display: flex; gap: 2rem; align-items: center; }
#navMenu > li > a, .sub-toggle { color: var(--muted); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.25s; font-weight: 400; }
#navMenu > li > a:hover, #navMenu > li > a[aria-current="page"], .sub-toggle:hover, .has-sub.is-current .sub-toggle { color: var(--gold); }
.nav-cta { background: linear-gradient(180deg,#EBCB8E 0%,#C6A46C 100%); color: #15120c !important; padding: 0.55rem 1.3rem; border-radius: 999px; font-weight: 500 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 24px -10px rgba(198,164,108,.6); transition: transform .25s, box-shadow .25s; }
.nav-cta:hover { transform: translateY(-2px); color: #15120c !important; }
.nav-fredi { color: var(--gold) !important; border: 1px solid rgba(198,164,108,.45); padding: 0.4rem 0.9rem; border-radius: 999px; }
.has-sub { position: relative; }
.sub-toggle { background: none; border: 0; cursor: pointer; font-family: var(--sans); display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; }
.sub-toggle::after { content: ''; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.sub { display: none; position: absolute; top: calc(100% + 1rem); left: -1rem; min-width: 290px; background: rgba(10,10,15,0.98); border: 1px solid var(--border-mid); border-radius: 12px; padding: 0.6rem; flex-direction: column; gap: 0; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.sub.open { display: flex; }
.sub a { display: block; padding: 0.7rem 0.9rem; border-radius: 8px; color: var(--white); text-decoration: none; font-size: 0.86rem; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.4; }
.sub a:hover, .sub a[aria-current="page"] { background: rgba(198,164,108,0.1); color: var(--gold-light); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s; }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* LAYOUT */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 5vw; }
.hero { padding: 9rem 0 3.5rem; position: relative; }
.crumbs { font-size: 0.74rem; color: var(--muted); margin-bottom: 1.6rem; letter-spacing: 0.03em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: '/'; margin-right: 0.5rem; color: rgba(184,174,158,.5); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 400; }
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.1rem; max-width: 20ch; }
.hero-headline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; color: var(--gold-light); max-width: 30ch; margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.02rem; color: rgba(245,244,239,0.78); max-width: 58ch; line-height: 1.85; margin-bottom: 2rem; }
.hero-meta { font-size: 0.8rem; color: var(--muted); margin-top: 1.4rem; }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.8rem 1.7rem; border-radius: 999px; text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s, background .2s; }
.btn-primary { color: #15120c; background: linear-gradient(180deg,#EBCB8E 0%,#C6A46C 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.12), 0 10px 30px -8px rgba(198,164,108,.55), 0 0 0 1px rgba(232,197,131,.35); }
.btn-primary:hover { color: #15120c; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 16px 40px -8px rgba(198,164,108,.7), 0 0 0 1px rgba(232,197,131,.5); }
.btn-ghost { color: var(--white); border: 1px solid rgba(198,164,108,.45); background: rgba(198,164,108,.04); }
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold); background: rgba(198,164,108,.1); }

section.block { padding: 4.5rem 0; border-top: 1px solid var(--border); }
section.block.alt { background: var(--surface); }
.tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; font-weight: 400; display: block; }
h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 500; margin-bottom: 1rem; letter-spacing: -0.01em; max-width: 26ch; }
h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.25; margin-bottom: 0.5rem; }
.lead { font-size: 1.02rem; color: rgba(245,244,239,0.8); max-width: var(--read); margin-bottom: 1.2rem; line-height: 1.85; }
.prose p { max-width: var(--read); color: rgba(245,244,239,0.82); margin-bottom: 1rem; font-size: 0.98rem; line-height: 1.85; }
.prose ul { max-width: var(--read); margin: 0.5rem 0 1.2rem 0; list-style: none; }
.prose li { position: relative; padding: 0.35rem 0 0.35rem 1.4rem; color: rgba(245,244,239,0.82); font-size: 0.96rem; }
.prose li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 1px; background: var(--gold); }
.fine { font-size: 0.78rem; color: var(--muted); max-width: var(--read); margin-top: 1rem; line-height: 1.6; }

.grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--mid); border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem 1.5rem; }
.card p { font-size: 0.9rem; color: rgba(245,244,239,0.78); line-height: 1.7; }
.card .num { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); opacity: .7; line-height: 1; display: block; margin-bottom: 0.7rem; }
.card .kicker { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.6rem; }

/* Scenario timeline */
.scenario { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem; }
.scenario-col { border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; background: var(--mid); }
.scenario-col.with { border-color: rgba(198,164,108,.45); background: rgba(198,164,108,.05); }
.scenario-col h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 500; letter-spacing: 0.02em; margin-bottom: 0.9rem; }
.scenario-col ol { list-style: none; }
.scenario-col li { display: grid; grid-template-columns: 56px 1fr; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(198,164,108,.1); font-size: 0.88rem; color: rgba(245,244,239,.82); }
.scenario-col li:last-child { border-bottom: 0; }
.scenario-col time { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 0.82rem; }
.example-tag { display: inline-block; font-size: 0.64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid rgba(184,174,158,.3); border-radius: 20px; padding: 0.1rem 0.6rem; margin-left: 0.6rem; vertical-align: middle; }

/* Handover alert card */
.alert { background: #0d0d12; border: 1px solid var(--border-mid); border-radius: 12px; overflow: hidden; font-size: 0.84rem; max-width: 440px; }
.alert-head { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); background: rgba(198,164,108,0.06); font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.alert-head span { color: var(--muted); font-weight: 300; font-size: 0.74rem; }
.alert dl { padding: 0.5rem 1rem 0.9rem; }
.alert .row { display: grid; grid-template-columns: 90px 1fr; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(198,164,108,.08); }
.alert .row:last-child { border-bottom: 0; }
.alert dt { color: var(--muted); font-size: 0.74rem; }
.alert dd { color: var(--white); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }

/* Pricing */
.price-card { background: var(--mid); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem 1.6rem; display: flex; flex-direction: column; }
.price-card.rec { border-color: rgba(198,164,108,.55); background: rgba(198,164,108,.05); }
.price-card .tier { font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.price-card .amt { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.price-card .amt small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); font-weight: 300; margin-left: 0.2rem; }
.price-card .setup { font-size: 0.78rem; color: var(--muted); margin: 0.3rem 0 1.1rem; }
.price-card ul { list-style: none; margin-bottom: 1.4rem; flex: 1; }
.price-card li { font-size: 0.86rem; color: rgba(245,244,239,.82); padding: 0.35rem 0 0.35rem 1.3rem; position: relative; line-height: 1.55; }
.price-card li::before { content: ''; position: absolute; left: 0; top: 1rem; width: 8px; height: 1px; background: var(--gold); }
.price-card .btn { width: 100%; }
.compare { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.9rem; }
.compare caption { text-align: left; color: var(--muted); font-size: 0.78rem; padding-bottom: 0.7rem; caption-side: top; }
.compare th, .compare td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare thead th { font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.compare tbody th { font-weight: 400; color: rgba(245,244,239,.9); }
.compare td { color: rgba(245,244,239,.78); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Callout */
.callout { border: 1px solid var(--border-mid); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(198,164,108,.06); padding: 1.2rem 1.4rem; max-width: var(--read); margin-top: 1.6rem; }
.callout strong { color: var(--gold-light); font-weight: 500; }
.callout p { font-size: 0.92rem; color: rgba(245,244,239,.86); line-height: 1.75; margin: 0; }
.callout p + p { margin-top: 0.6rem; }
.callout.warn { border-left-color: #e63946; background: rgba(230,57,70,.07); }
.callout.warn strong { color: #ff8a93; }

/* Founder */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: 2.4rem; align-items: center; margin-top: 1rem; }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 6px; display: block; }
.founder figcaption { font-size: 0.72rem; color: var(--muted); margin-top: 0.6rem; }

/* Evidence */
.quote { border-left: 2px solid var(--gold); padding: 0.2rem 0 0.2rem 1.2rem; margin: 1.4rem 0; max-width: 62ch; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--white); }
.quote cite { display: block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--muted); font-style: normal; }

/* FAQ */
.faq { max-width: var(--read); margin-top: 1.6rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.3rem; top: 1rem; color: var(--gold); font-size: 1.4rem; font-family: var(--sans); font-weight: 300; }
.faq details[open] summary::after { content: '\2212'; }
.faq .answer { padding: 0 0 1.3rem; color: rgba(245,244,239,.8); font-size: 0.95rem; line-height: 1.8; }
.faq .answer p + p { margin-top: 0.7rem; }

/* Calculator (same maths as the homepage calculator) */
.calc { margin-top: 1.4rem; max-width: 640px; background: var(--mid); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; }
.calc-row { display: block; margin-bottom: 1.2rem; }
.calc-lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .88rem; color: rgba(245,244,239,.82); margin-bottom: .5rem; }
.calc-lbl output { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg,#C6A46C var(--p,20%),rgba(255,255,255,.12) var(--p,20%)); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #EBCB8E; border: 3px solid #101112; box-shadow: 0 0 0 1px #C6A46C; cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #EBCB8E; border: 3px solid #101112; box-shadow: 0 0 0 1px #C6A46C; cursor: pointer; }
.calc input[type=range]:focus-visible { box-shadow: 0 0 0 3px rgba(232,197,131,.35); }
.calc-result { margin: 1.4rem 0 0.4rem; padding: 1.2rem 1.3rem; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid rgba(198,164,108,.18); }
.calc-num { font-family: var(--serif); font-weight: 700; font-size: 2.4rem; line-height: 1.1; color: var(--gold-light); }
.calc-sub { font-size: .9rem; color: rgba(245,244,239,.78); margin-top: .25rem; }
.calc-note { font-size: .76rem; color: var(--muted); margin-top: 0.7rem; line-height: 1.55; }

/* Archer call block */
.callbox { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; border: 1px solid var(--border-mid); border-radius: 16px; padding: 2.2rem; background: linear-gradient(180deg, rgba(198,164,108,.07), rgba(198,164,108,.02)); }
.callbox h2 { max-width: none; margin-bottom: 0.7rem; }
.callbox .lead { margin-bottom: 0.8rem; }
.callbox-action { text-align: center; }
.callbox-action .btn { width: 100%; font-size: 1rem; min-height: 56px; }
.callbox-action .fine { margin-top: 0.8rem; text-align: center; }

/* Related links and CTA band */
.related a { display: block; text-decoration: none; color: var(--white); height: 100%; transition: border-color .2s, transform .2s; }
.related .card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related .card p { margin-top: 0.3rem; }
.cta-band { text-align: center; padding: 5rem 5vw 5.5rem; background: var(--surface); border-top: 1px solid var(--border); }
.cta-band h2 { margin: 0 auto 0.9rem; max-width: 22ch; }
.cta-band p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; font-size: 0.96rem; }
.cta-band .btn-row { justify-content: center; }
.promise { text-align: center; font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1.25rem; padding: 0 5vw 3.5rem; background: var(--surface); }

/* Footer (matches homepage) */
footer { border-top: 1px solid var(--border); padding: 3rem 5vw 2rem; background: var(--ink); }
.footer-top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col h3 { font-family: var(--sans); line-height: 1.4; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.footer-col p, .footer-col a { font-size: 0.8rem; color: var(--muted); text-decoration: none; display: block; line-height: 2; transition: color 0.2s; font-weight: 300; }
.footer-col p a { display: inline; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--border); padding-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.footer-bottom p { font-size: 0.72rem; color: var(--muted); }
.footer-bottom .logo { font-size: 1rem; }
.footer-bottom .logo img { height: 20px; }

@media (max-width: 960px) {
  #navMenu { display: none; flex-direction: column; align-items: stretch; position: fixed; top: 62px; left: 0; right: 0; max-height: calc(100vh - 62px); overflow-y: auto; background: rgba(10,10,15,0.98); backdrop-filter: blur(14px); padding: 1.2rem 5vw 2rem; gap: 0; border-bottom: 1px solid var(--border); z-index: 99; }
  #navMenu.open { display: flex; }
  #navMenu > li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  #navMenu > li:last-child { border-bottom: none; }
  .nav-hamburger { display: flex; }
  .sub-toggle { width: 100%; justify-content: space-between; }
  .sub { position: static; min-width: 0; margin-top: 0.6rem; border: 0; box-shadow: none; padding: 0 0 0 0.8rem; background: transparent; border-left: 1px solid var(--border-mid); border-radius: 0; }
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .callbox { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .hero { padding: 7.2rem 0 2.5rem; }
  section.block { padding: 3.2rem 0; }
  .grid.c2, .grid.c4, .scenario { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 220px; }
  .btn-row .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .alert .row { grid-template-columns: 78px 1fr; }
  .calc { padding: 1.3rem; }
  .compare { font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
