/* linnik.pro — shared site styles
   Palette validated against finance/banking industry data: navy base (~#0A1628)
   is the trust standard; gold added as the secondary "premium/trust" accent
   alongside the existing blue action color. */

:root{
  --bg: #0A1626;
  --surface: #0F2038;
  --surface-2: #14294A;
  --accent: #5A93E8;
  --accent-light: #8FB8E8;
  --accent-gold: #C9A15A;
  --accent-gold-soft: rgba(201,161,90,0.14);
  --text: #EBF1FA;
  --text-muted: #9FB4D6;
  --rule: rgba(143,184,232,0.20);
  --rule-gold: rgba(201,161,90,0.35);
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max: 760px;
}
*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; scrollbar-color: var(--surface-2) var(--bg); scrollbar-width: thin; }
body{
  position: relative;
  background:
    radial-gradient(1100px 560px at 50% -12%, rgba(90,147,232,0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 40%, rgba(201,161,90,0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before{
  content:"";
  position: fixed; inset:0; z-index:0; pointer-events:none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
::selection{ background: var(--accent-gold); color: var(--bg); }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--surface-2); border-radius:8px; border:2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover{ background: var(--rule-gold); }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-wide{ max-width: 1040px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3{ font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.01em; }
.eyebrow{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before{
  content:"";
  display:inline-block;
  width: 20px; height: 2px;
  background: var(--accent-gold);
  flex-shrink:0;
}
.muted{ color: var(--text-muted); }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html{ scroll-behavior: auto; }
}

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Header ---------- */
header.site{
  position: sticky; top:0; z-index: 20;
  background: rgba(10,22,38,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px;
  max-width: 1040px; margin:0 auto;
  gap: 16px;
}
.nav-left{ display:flex; align-items:center; gap: 18px; flex-shrink: 0; }
.nav-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.tg-link, .home-link{
  display:flex; align-items:center; gap: 7px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 14px;
  text-decoration:none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.tg-link:hover, .home-link:hover{ color: var(--accent-light); }
.tg-link svg{ flex-shrink:0; }
.nav-cta{
  font-family:'IBM Plex Mono', monospace;
  font-size: 15px;
  text-decoration:none;
  color: #ffffff;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover{ background: #4679C9; box-shadow: 0 8px 20px -8px rgba(90,147,232,0.55); }

/* ---------- Buttons / links ---------- */
.btn-primary{
  position: relative;
  display:inline-block;
  overflow: hidden;
  font-family:'IBM Plex Mono', monospace;
  font-size: 15px;
  text-decoration:none;
  color: #ffffff;
  background: var(--accent);
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary:hover{ background: #4679C9; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(90,147,232,0.6); }
.btn-primary::after{
  content:"";
  position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events:none;
}
.btn-primary:hover::after{ left:120%; }

/* ---------- Spotlight hover (cards) ---------- */
.spotlight{ position: relative; overflow: hidden; }
.spotlight::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(201,161,90,0.12), transparent 70%);
  opacity:0; transition: opacity 0.3s ease;
  pointer-events:none;
}
.spotlight:hover::before{ opacity:1; }
.link-secondary{
  font-size: 17px;
  text-decoration: underline;
  text-decoration-color: var(--rule-gold);
  text-underline-offset: 4px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.link-secondary:hover{ color: var(--text); text-decoration-color: var(--accent-gold); }

/* ---------- Trust stats (home) ---------- */
.stats{ padding: 56px 0; border-bottom: 1px solid var(--rule); position:relative; isolation:isolate; overflow:hidden; }
.stats::before{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  width:480px; height:480px; border-radius:50%;
  filter: blur(100px); opacity:0.16;
  background: var(--accent-gold);
  top:-220px; left:50%; transform:translateX(-50%);
}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
  text-align:center;
}
@media (min-width: 780px){
  .stats-grid{ grid-template-columns: repeat(4, 1fr); }
  .stat-item{ position:relative; }
  .stat-item:not(:last-child)::after{
    content:""; position:absolute; right:-12px; top:6px; bottom:6px; width:1px;
    background: var(--rule);
  }
}
.stat-num{
  font-family:'Fraunces', serif; font-weight:500;
  font-size: clamp(30px, 4.4vw, 42px);
  color: var(--accent-gold);
  line-height:1;
}
.stat-num span{ font-size: 0.5em; margin-left: 2px; color: var(--accent-gold); }
.stat-label{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12.5px; letter-spacing:0.02em;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---------- Products (home) ---------- */
.products{ padding: 64px 0; border-bottom: 1px solid var(--rule); }
.products h2{ font-size: 30px; margin-bottom: 8px; text-align:center; }
.products-sub{ color: var(--text-muted); text-align:center; margin-bottom: 40px; }
.products-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 780px){
  .products-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px){
  .products-grid{ grid-template-columns: repeat(3, 1fr); }
}
.product-card{
  position: relative;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 130%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display:flex; flex-direction:column;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -32px rgba(0,0,0,0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover{ border-color: var(--rule-gold); box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 28px 52px -26px rgba(0,0,0,0.65); transform: translateY(-4px); }
.product-card .eyebrow{ margin-bottom: 14px; font-size: 12px; color: var(--accent-light); }
.product-card h3{ font-size: 22px; margin-bottom: 12px; }
.product-card p{ color: var(--text-muted); font-size: 15px; flex-grow:1; margin-bottom: 20px; }
@property --angle{ syntax:'<angle>'; inherits:false; initial-value:0deg; }
.product-card.featured{
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px solid transparent;
  background:
    linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 130%) padding-box,
    conic-gradient(from var(--angle), var(--accent-gold), rgba(201,161,90,0) 32%, var(--accent) 62%, rgba(90,147,232,0) 90%, var(--accent-gold)) border-box;
  animation: rotate-border 8s linear infinite;
}
@keyframes rotate-border{ to{ --angle: 360deg; } }
.product-card.featured h3{ font-size: 27px; max-width: 520px; }
.product-card.featured p{ max-width: 560px; }
.featured-badge{
  position:absolute; top:22px; right:22px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing:0.06em; text-transform:uppercase;
  color: var(--bg); background: var(--accent-gold);
  padding: 4px 10px; border-radius: 999px;
}
.product-price{
  font-family:'IBM Plex Mono', monospace;
  font-size: 15px; color: var(--text);
  margin-bottom: 20px;
}
.product-card .btn-primary{ width:100%; text-align:center; }

/* ---------- Info block (finished prose content, e.g. mentoring description) ---------- */
.info-block{
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 130%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-muted);
  font-size: 16px;
  margin: 32px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -32px rgba(0,0,0,0.7);
}

/* ---------- Schedule badge (course start dates) ---------- */
.schedule-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent-gold);
  background: var(--accent-gold-soft);
  border: 1px solid var(--rule-gold);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.schedule-badge .dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--accent-gold);
  flex-shrink:0;
}
.price-card .schedule-badge{ margin-bottom: 16px; }

/* ---------- Hero (course pages) ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--rule);
  min-height: 560px;
  display:flex;
  align-items:center;
}
.hero-media-wrap{
  position:absolute; top:0; right:0; bottom:0;
  width: 46%;
  overflow: hidden;
  z-index: 0;
}
.hero-media{ width:100%; height:100%; }
.hero-media video{
  width:100%; height:100%;
  object-fit: cover; object-position: center 28%;
  filter: grayscale(30%) brightness(0.65) saturate(1.15);
}
.hero-gradient{
  position:absolute; inset:0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--bg) 0%,
    rgba(10,22,38,0.85) 10%,
    rgba(10,22,38,0.35) 22%,
    transparent 38%);
}
.hero-caption{
  position:absolute; right: 20px; bottom: 20px;
  text-align:right; z-index:2;
}
.hero-caption .name{ font-family:'Fraunces', serif; font-size: 19px; }
.hero-caption .role{
  font-family:'IBM Plex Mono', monospace;
  font-size: 14px; color: var(--text);
  margin-top: 2px;
}
.hero-grid{
  position: relative; z-index: 2;
  max-width: 1040px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero-grid > div{ max-width: 560px; }
.hero h1{
  font-size: clamp(36px, 4.8vw, 52px);
  line-height: 1.14;
  margin: 16px 0 20px;
}
.hero .lede{
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-actions{ display:flex; gap: 20px; align-items:center; flex-wrap: wrap; }

/* ---------- Bio / about expert ---------- */
.bio{ padding: 48px 0 56px; border-bottom: 1px solid var(--rule); }
.bio p{ color: var(--text-muted); max-width: 620px; }

.about{ padding: 64px 0; border-bottom: 1px solid var(--rule); position:relative; isolation:isolate; overflow:hidden; }
.about::before{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  width:520px; height:520px; border-radius:50%;
  filter: blur(110px); opacity:0.14;
  background: var(--accent);
  top:-200px; left:-180px;
}
.about h2{ font-size: 30px; margin-bottom: 6px; }
.about-center{ max-width: 640px; margin: 0 auto; }
.about-role{ color: var(--text-muted); font-size: 17px; margin-bottom: 20px; }
.about-bio p{ color: var(--text-muted); margin-bottom: 16px; }
.bio-toggle{ margin-top: 8px; }
.bio-toggle summary{
  cursor:pointer; list-style:none;
  font-family:'IBM Plex Mono', monospace;
  font-size: 15px; color: var(--accent-gold);
  display:flex; align-items:center; gap: 8px;
}
.bio-toggle summary::-webkit-details-marker{ display:none; }
.bio-toggle summary::before{ content:"+"; font-size:18px; }
.bio-toggle[open] summary::before{ content:"–"; }
.bio-more{ margin-top: 16px; }
.bio-more p{ color: var(--text-muted); margin-bottom: 16px; }
.bio-more p:last-child{ margin-bottom: 0; }

/* ---------- Blog / Social ---------- */
.social{ padding: 64px 0; border-bottom: 1px solid var(--rule); }
.social h2{ font-size: 30px; margin-bottom: 8px; }
.social .muted-sub{ color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }
.social-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.social-card{
  display:flex; align-items:center; gap: 14px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 130%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.social-card:hover{ border-color: var(--accent-gold); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(0,0,0,0.6); }
.social-icon{
  width: 38px; height:38px; border-radius:50%;
  background: var(--surface-2);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.social-label{ font-size: 16px; }
.social-handle{ font-family:'IBM Plex Mono', monospace; font-size: 14px; color: var(--text-muted); }

@media (max-width: 780px){
  .social-grid{ grid-template-columns: 1fr; }
}

/* ---------- Audience ---------- */
.audience{ padding: 56px 0; border-bottom: 1px solid var(--rule); }
.audience h2{ font-size: 30px; margin-bottom: 28px; }
.audience ul{ list-style:none; }
.audience li{
  display:flex; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text-muted);
}
.audience li:last-child{ border-bottom: none; }
.audience li svg{ flex-shrink:0; margin-top: 4px; }

/* ---------- Program / module accordion ---------- */
.program{ padding: 64px 0; border-bottom: 1px solid var(--rule); position:relative; isolation:isolate; overflow:hidden; }
.program::before{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  width:520px; height:520px; border-radius:50%;
  filter: blur(110px); opacity:0.13;
  background: var(--accent-gold);
  top:-160px; right:-200px;
}
.program-head{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.program-head h2{ font-size: 30px; }
.program-count{ font-family:'IBM Plex Mono', monospace; font-size: 15px; color: var(--text-muted); }
.statement{ margin-top: 32px; border-top: 1px solid var(--rule); }
details.module{ border-bottom: 1px solid var(--rule); transition: background 0.2s ease; }
details.module summary{
  list-style: none; cursor: pointer;
  display:flex; align-items:center; gap: 20px;
  padding: 20px 4px;
  transition: background 0.2s ease;
}
details.module summary:hover{ background: rgba(255,255,255,0.02); }
details.module summary::-webkit-details-marker{ display:none; }
.mod-code{
  font-family:'Fraunces', serif; font-weight:500;
  font-size: 34px; line-height:1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-gold);
  width: 60px; flex-shrink: 0;
  transition: -webkit-text-stroke 0.2s ease, color 0.2s ease;
}
details.module[open] .mod-code, details.module summary:hover .mod-code{
  color: var(--accent-gold);
}
.mod-title{ font-size: 18px; flex: 1; }
.mod-toggle{
  font-family:'IBM Plex Mono', monospace;
  font-size: 20px; color: var(--text-muted);
  width: 20px; text-align:center;
  transition: transform 0.2s ease, color 0.2s ease;
}
details.module[open] .mod-toggle{ transform: rotate(45deg); color: var(--accent-gold); }
.mod-body{ padding: 0 4px 24px 66px; color: var(--text-muted); font-size: 17px; }
.mod-body ul{ list-style: none; }
.mod-body li{ padding: 5px 0; position: relative; padding-left: 16px; }
.mod-body li::before{ content:"—"; position:absolute; left:0; color: var(--accent-gold); }

/* ---------- Outcome ---------- */
.outcome{ padding: 56px 0; border-bottom: 1px solid var(--rule); }
.outcome h2{ font-size: 30px; margin-bottom: 20px; }
.outcome p{ color: var(--text-muted); max-width: 640px; margin-bottom: 16px; }
.outcome p:last-child{ margin-bottom: 0; }

/* ---------- Personal note ---------- */
.note{ padding: 64px 0; border-bottom: 1px solid var(--rule); position:relative; isolation:isolate; overflow:hidden; }
.note::before{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  width:460px; height:460px; border-radius:50%;
  filter: blur(100px); opacity:0.14;
  background: var(--accent-gold);
  bottom:-200px; left:50%; transform:translateX(-50%);
}
.note-card{
  position: relative;
  max-width: 640px; margin: 0 auto;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--rule-gold);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 30px 60px -34px rgba(0,0,0,0.7);
}
.note-mark{
  font-family:'Fraunces', serif;
  font-size: 56px; line-height:1;
  color: var(--accent-gold);
  display:block; margin-bottom: 12px;
}
.note-text{
  font-family:'Fraunces', serif;
  font-size: 21px; line-height: 1.55;
  color: var(--text);
  margin-bottom: 28px;
}
.note-text p{ margin-bottom: 16px; }
.note-text p:last-child{ margin-bottom: 0; }
.note-author{ display:flex; align-items:center; gap: 12px; }

/* ---------- Testimonials ---------- */
.testimonials{ padding: 64px 0; border-bottom: 1px solid var(--rule); overflow: hidden; }
.testimonials h2{ font-size: 30px; margin-bottom: 8px; }
.testimonials .muted-sub{ color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }
.carousel{ position: relative; }
.carousel-track{ display:flex; transition: transform 0.4s ease; }
.t-card{ flex: 0 0 100%; max-width: 100%; padding: 0 4px; }
.t-card-inner{
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 130%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -32px rgba(0,0,0,0.7);
}
.t-quote{ color: var(--text-muted); font-size: 17px; line-height: 1.65; font-style: italic; margin-bottom: 24px; }
.t-quote::before{
  content:"\201C";
  display:block;
  font-family:'Fraunces', serif; font-style:normal;
  font-size: 44px; line-height: 0.6;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.t-author{ display:flex; align-items:center; gap: 12px; }
.t-avatar{
  width: 40px; height:40px; border-radius:50%;
  background: var(--surface-2);
  border: 1px solid var(--rule-gold);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace; font-size: 14px; color: var(--text);
  flex-shrink:0;
}
.t-name{ font-size: 15px; }
.t-role{ font-family:'IBM Plex Mono', monospace; font-size: 13px; color: var(--text-muted); }
.carousel-controls{ display:flex; align-items:center; justify-content:center; gap: 20px; margin-top: 24px; }
.car-btn{
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rule); background: transparent; color: var(--text);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.car-btn:hover{ background: var(--surface-2); border-color: var(--rule-gold); }
.car-dots{ display:flex; gap: 4px; }
.car-dot{
  width: 24px; height:24px;
  cursor:pointer; border:none; padding: 9px;
  background: transparent;
}
.car-dot::before{
  content:"";
  display:block;
  width: 100%; height: 100%;
  border-radius:50%;
  background: var(--rule);
  transition: background 0.2s ease;
}
.car-dot.active::before{ background: var(--accent-gold); }

/* ---------- Pricing ---------- */
.pricing{ padding: 56px 0 96px; position:relative; isolation:isolate; overflow:hidden; }
.pricing::before{
  content:"";
  position:absolute; z-index:-1; pointer-events:none;
  width:520px; height:520px; border-radius:50%;
  filter: blur(110px); opacity:0.13;
  background: var(--accent);
  bottom:-220px; right:-160px;
}
.pricing-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 780px){
  .pricing-grid{ grid-template-columns: 1fr 1fr; }
}
.price-card{
  position: relative;
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 140%);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent-gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 40px;
  max-width: 460px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 26px 52px -32px rgba(0,0,0,0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.price-card:hover{ box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 30px 56px -26px rgba(0,0,0,0.65); transform: translateY(-3px); }
.pricing-grid .price-card{ max-width: none; }
.price-card .eyebrow{ margin-bottom: 10px; }
.price-amount{ font-family:'Fraunces', serif; font-size: 40px; margin-bottom: 20px; color: var(--accent-gold); }
.pricing-grid .price-amount{ font-size: 54px; margin-bottom: 4px; }
.price-amount span{ font-size: 22px; color: var(--text-muted); font-family:'IBM Plex Sans', sans-serif; }
.price-sub{ font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.price-list{ list-style:none; margin-bottom: 28px; }
.price-list li{ display:flex; gap: 12px; padding: 8px 0; color: var(--text-muted); font-size: 16px; }
.price-card .btn-primary{ width:100%; text-align:center; }
.pay-note{ font-size: 14px; color: var(--text-muted); margin-top: 14px; }
.pay-note a{ color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
footer{
  padding: 64px 24px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-muted);
}
.footer-grid{
  display:grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 780px){
  .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
}
.footer-brand .footer-name{ font-family:'Fraunces', serif; font-size: 22px; color: var(--text); margin-bottom: 8px; }
.footer-tagline{ font-size: 14px; max-width: 320px; }
.footer-heading{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--accent-gold); margin-bottom: 16px;
}
.footer-nav, .footer-social{ display:flex; flex-direction:column; gap: 12px; }
.footer-nav a, .footer-social a{
  text-decoration:none; color: var(--text-muted); font-size: 14.5px;
  transition: color 0.2s ease;
  width: fit-content;
}
.footer-nav a:hover, .footer-social a:hover{ color: var(--accent-light); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap: wrap; gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  font-family:'IBM Plex Mono', monospace;
  font-size: 13px;
}
.footer-tg{
  display:flex; align-items:center; gap: 7px;
  text-decoration:none; color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-tg:hover{ color: var(--accent-light); }

@media (max-width: 780px){
  .nav-label{ display:none; }
  .hero{
    display:block;
    min-height: auto;
    padding: 0 0 40px;
  }
  .hero-media-wrap{
    position: relative;
    top:auto; right:auto; bottom:auto;
    width: 100%;
    height: 64vh;
    min-height: 420px;
  }
  .hero-grid{ padding-top: 32px; }
  .hero-grid > div{ max-width: 100%; }
  .hero-gradient{
    background: linear-gradient(180deg,
      transparent 0%,
      transparent 55%,
      rgba(10,22,38,0.55) 75%,
      var(--bg) 100%);
  }
  .hero-caption{ right: 18px; bottom: 16px; }
  .hero-caption .name{ font-size: 16px; }
}
@media (max-width: 560px){
  .nav-row{ padding: 14px 18px; }
  .product-card{ padding: 24px; }
  .t-card-inner{ padding: 24px; }
  .price-card{ padding: 28px; }
  .note-card{ padding: 32px 26px; }
  .note-text{ font-size: 19px; }
  .mod-body{ padding-left: 4px; }
  .hero-media-wrap{ height: 58vh; min-height: 380px; }
  .hero-grid{ padding-top: 24px; }
}
