:root {
  --ink: #282927;
  --black: #0b0d09;
  --paper: #ffffff;
  --milk: #f4efe7;
  --milk-deep: #ebe4d9;
  --lime: #c8ff00;
  --green: #173e25;
  --green-deep: #0d2817;
  --muted: #74776f;
  --faint: #a3a69f;
  --line: rgba(31, 33, 29, .13);
  --shadow: 0 24px 65px rgba(22, 28, 18, .11);
  --display: 'Onest', Arial, sans-serif;
  --body: 'Onest', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.shell { width: min(1232px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(11, 13, 9, .98);
  color: #fff;
  box-shadow: inset 0 -1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand {
  position: relative;
  display: inline-flex;
  width: max-content;
  align-items: center;
}
.brand-logo { display: block; width: auto; height: 28px; }
.site-header .brand::before {
  position: absolute;
  inset: 0;
  content: '';
  background: var(--lime);
  -webkit-mask: url('/brand/volta-black.png') center / contain no-repeat;
  mask: url('/brand/volta-black.png') center / contain no-repeat;
}
.site-header .brand-logo { opacity: 0; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  font-size: 15px;
  font-weight: 600;
}
.main-nav > a { transition: opacity .2s; }
.main-nav > a:hover { opacity: .72; }
.site-header .nav-menu-trigger:hover,
.site-header .nav-menu-trigger.is-open,
.site-header .nav-menu-trigger.is-current { background: rgba(255, 255, 255, .11); }
.site-header .nav-chevron { color: #b9bbb5; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 22px;
  background: var(--black);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform .22s var(--ease), background .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 25px; cursor: pointer; }
.demo-short { display: none; }

/* Editorial hero */
.blog-hero { padding: 88px 0 44px; text-align: center; }
.blog-hero h1 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 720;
  letter-spacing: -.075em;
  line-height: .9;
  white-space: nowrap;
}
.blog-hero p {
  max-width: 660px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}

.featured-story {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}
.featured-media { min-height: 510px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 54px 46px;
  text-align: left;
}
.category {
  display: inline-block;
  margin-bottom: 20px;
  color: #8c8f88;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.featured-copy .category { color: var(--lime); }
.featured-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(37px, 3.55vw, 53px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .98;
}
.featured-description {
  max-width: 510px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.75);
  font-size: 16px;
  line-height: 1.5;
}
.story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 570;
}
.featured-copy .story-meta { color: rgba(255,255,255,.72); }
.story-meta span + span::before {
  display: inline-block;
  height: 18px;
  margin: 0 12px;
  border-left: 1px solid currentColor;
  content: '';
  vertical-align: middle;
  opacity: .5;
}

.selected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.selected-card {
  min-height: 226px;
  display: flex;
  flex-direction: column;
  border-radius: 23px;
  padding: 24px;
  background: var(--paper);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.selected-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.selected-top { display: grid; grid-template-columns: minmax(0, 1fr) 98px; gap: 18px; align-items: start; }
.selected-card h3 {
  margin: 0;
  font-size: clamp(21px, 1.85vw, 27px);
  font-weight: 690;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.selected-thumb { width: 98px; aspect-ratio: 1; overflow: hidden; border-radius: 16px; }
.selected-thumb img { width: 100%; height: 100%; object-fit: cover; }
.selected-card .story-meta { margin-top: auto; padding-top: 24px; }

/* Lists */
.content-section { padding: 116px 0 0; }
.section-title {
  margin: 0 0 54px;
  text-align: center;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 710;
  letter-spacing: -.065em;
  line-height: .95;
}
.popular-list { display: grid; gap: 14px; }
.popular-card {
  min-height: 205px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 64px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.popular-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.popular-card img { width: 100%; height: 100%; min-height: 205px; object-fit: cover; }
.popular-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 32px; }
.popular-copy .category { margin-bottom: 13px; }
.popular-copy h3 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 680;
  letter-spacing: -.05em;
  line-height: 1.02;
}
.popular-copy .story-meta { margin-top: 26px; }
.rank {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: #c4c7bf;
  font-size: 23px;
  font-weight: 720;
}

.topics { padding-top: 112px; }
.topics-inner { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topics-label { margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255,255,255,.35);
  font-size: 14px;
  font-weight: 650;
  transition: background .2s, border-color .2s;
}
.topic-link:hover, .topic-link.is-active { border-color: var(--black); background: var(--black); color: #fff; }

.archive { padding: 104px 0 120px; }
.archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.archive-head h2 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(47px, 5.2vw, 72px);
  font-weight: 710;
  letter-spacing: -.065em;
  line-height: .95;
}
.archive-head p { max-width: 330px; margin: 0 0 6px; color: var(--muted); line-height: 1.5; }
.archive-list { border-top: 1px solid var(--line); }
.archive-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.archive-card img { width: 180px; height: 112px; object-fit: cover; border-radius: 16px; }
.archive-card .category { margin-bottom: 10px; }
.archive-card h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 670;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.archive-card .story-meta { justify-content: flex-end; margin: 0; text-align: right; }

.blog-cta { padding: 0 0 88px; }
.blog-cta .cta-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  border-radius: 62px 62px 0 0;
  padding: 72px;
  background: linear-gradient(125deg, #078531, #42da55 56%, #d5ff67);
  color: #fff;
}
.blog-cta .eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .72);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.blog-cta .cta-title-line { display: block; white-space: nowrap; }
.blog-cta .cta-buttons { display: flex; gap: 10px; margin-top: auto; padding-top: 52px; flex-wrap: wrap; }
.blog-cta .btn-light { background: #fff; color: var(--black); }
.blog-cta .btn-soft { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(12px); }
.blog-cta .cta-phone {
  position: absolute;
  right: 55px;
  bottom: -260px;
  width: 360px;
  border: 5px solid var(--black);
  border-radius: 54px;
  padding: 13px;
  background: var(--black);
  box-shadow: var(--shadow);
  transform: rotate(6deg);
}
.blog-cta .cta-phone-screen { position: relative; overflow: hidden; aspect-ratio: 590 / 1280; border-radius: 39px; background: #fbfaf5; }
.blog-cta .cta-phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.blog-cta .cta-phone-screen::after { position: absolute; inset: 0; background: linear-gradient(112deg, rgba(255,255,255,.08), transparent 21%, transparent 76%, rgba(255,255,255,.035)); content: ''; pointer-events: none; }

/* Footer */
.footer { padding: 58px 0 35px; background: var(--paper); }
.footer .brand::before { display: none; }
.footer .brand-logo { opacity: 1; filter: brightness(0); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 45px; }
.footer-columns { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 44px; padding: 45px 0; border-top: 1px solid var(--line); }
.footer-col b { display: block; margin-bottom: 18px; color: var(--faint); font-size: 13px; }
.footer-col a { display: block; width: max-content; max-width: 100%; margin: 10px 0; font-size: 15px; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px; }
  .site-header .main-nav .nav-menu-trigger:hover,
  .site-header .main-nav .nav-menu-trigger.is-open,
  .site-header .main-nav .nav-menu-trigger.is-current { background: #f1f1ef; }
  .site-header .main-nav .nav-chevron { color: #555550; }
  .menu-toggle { display: block; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-media { min-height: 430px; }
  .selected-grid { grid-template-columns: 1fr; }
  .selected-card { min-height: 190px; }
  .popular-card { grid-template-columns: 210px minmax(0, 1fr) 54px; }
  .archive-card { grid-template-columns: 150px minmax(0, 1fr); }
  .archive-card img { width: 150px; }
  .archive-card .story-meta { grid-column: 2; justify-content: flex-start; }
  .blog-cta h2 { max-width: 580px; font-size: clamp(42px, 5vw, 50px); }
  .blog-cta .cta-title-line { display: inline; white-space: normal; }
  .blog-cta .cta-title-line:not(:last-child)::after { content: ' '; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .blog-hero h1 { font-size: clamp(40px, 5vw, 56px); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1232px); }
  .header-inner { min-height: 58px; gap: 8px; }
  .brand-logo { height: 22px; }
  .header-actions .btn { min-height: 38px; border-radius: 12px; padding: 0 13px; font-size: 12px; }
  .demo-full { display: none; }
  .demo-short { display: inline; }
  .menu-toggle { padding: 0; font-size: 23px; }
  .blog-hero { padding: 55px 0 30px; }
  .blog-hero h1 { font-size: clamp(34px, 9vw, 42px); line-height: 1.08; white-space: normal; }
  .blog-hero p { margin-top: 20px; font-size: 16px; }
  .featured-story { min-height: 0; border-radius: 24px; }
  .featured-media { min-height: 260px; }
  .featured-copy { padding: 30px 26px 28px; }
  .featured-copy h2 { font-size: 34px; }
  .featured-description { margin-top: 20px; font-size: 14px; }
  .selected-grid { margin-top: 12px; gap: 12px; }
  .selected-card { min-height: 210px; border-radius: 20px; padding: 21px; }
  .selected-top { grid-template-columns: minmax(0, 1fr) 82px; gap: 12px; }
  .selected-thumb { width: 82px; border-radius: 13px; }
  .selected-card h3 { font-size: 23px; }
  .content-section { padding-top: 78px; }
  .section-title { margin-bottom: 30px; font-size: 49px; }
  .popular-card { grid-template-columns: 104px minmax(0, 1fr); min-height: 178px; border-radius: 20px; }
  .popular-card img { min-height: 178px; }
  .popular-copy { padding: 20px 18px; }
  .popular-copy h3 { font-size: 22px; }
  .popular-copy .story-meta { margin-top: 18px; font-size: 11px; }
  .rank { display: none; }
  .topics { padding-top: 78px; }
  .topics-inner { padding: 32px 0; }
  .topic-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
  .topic-link { flex: 0 0 auto; }
  .archive { padding: 72px 0 82px; }
  .archive-head { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .archive-head h2 { font-size: 49px; }
  .archive-head p { max-width: 100%; }
  .archive-card { grid-template-columns: 1fr; gap: 17px; padding: 22px 0; }
  .archive-card img { width: 100%; height: 205px; border-radius: 18px; }
  .archive-card h3 { font-size: 26px; }
  .archive-card .story-meta { grid-column: auto; justify-content: flex-start; }
  .blog-cta { padding-bottom: 62px; }
  .blog-cta .cta-wrap { min-height: 820px; display: block; border-radius: 38px 38px 0 0; padding: 45px 26px; }
  .blog-cta h2 { font-size: 36px; line-height: 1.08; }
  .blog-cta .cta-buttons { margin-top: 34px; padding-top: 0; }
  .blog-cta .cta-phone { right: 50%; bottom: -280px; width: 300px; transform: translateX(50%) rotate(4deg); }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 340px) {
  .blog-cta .cta-wrap { min-height: 860px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
