/* ProductSamples.com — site styles.
   Rebuilt from the original theme: navy + purple + pink, Bebas Neue display
   headings, Inter body copy. No framework. */

:root {
  --navy: #152559;
  --navy-2: #1C2E67;
  --purple: #6C5CFF;
  --pink: #FF66A3;
  --grey: #F6F6F6;
  --grey-2: #F4F4F4;
  --lilac: #E2DEFF;
  --sky: #E0F2FF;
  --dark: #1A1A1A;
  --text: #404040;
  --muted: #7A7A7A;
  --line: #CCCCCC;
  --container: 1280px;
  --gutter: 60px;   /* content sections; header/footer use 40px like the original */
  --head: 'Bebas Neue', Impact, sans-serif;
  --body: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 85px;
  background: #fff;
  color: var(--text);
  font: 300 18px/1.8 var(--body);
  overflow-x: hidden;
}
body.has-overlay { overflow: hidden; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
b, strong { font-weight: 700; }
p { margin: 0 0 1.5em; }
ul, ol { margin: 0 0 1.5em; padding-left: 1.5em; }
hr { border: 0; border-top: 1px solid #e6e9ec; margin: 50px 0 30px; }
iframe { max-width: 100%; border: 0; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700; /* Bebas Neue only ships one weight; the original relied on the browser's synthetic bold */
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin: 0 0 25px;
}
h1 { font-size: 90px; }
h2 { font-size: 68px; }
h3 { font-size: 38px; }
h4, h5 { color: var(--navy); font-weight: 700; margin: 0 0 0.75em; line-height: 1.4; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h1 small { display: block; font-size: 26px; color: #bbb; margin-top: 4px; }

a { color: var(--navy); text-decoration: none; }
main :is(p, li, td, address) > a:not(.btn), .text-link {
  font-weight: 700;
  border-bottom: 1px dashed #b3b4b5;
  transition: all 0.2s;
}
main :is(p, li, td, address) > a:not(.btn):hover, .text-link:hover { color: var(--purple); border-bottom: 3px solid var(--purple); }
.text-link { background: none; padding: 0; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }

.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 16px; z-index: 3000; }
.skip-link:focus { left: 8px; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.row { display: flex; gap: 40px; align-items: flex-start; }
.row-center { align-items: center; }
.col { flex: 1 1 0; min-width: 0; }
.col-40 { flex: 0 0 calc(40% - 20px); }
.col-45 { flex: 0 0 calc(45% - 20px); }
.col-55 { flex: 0 0 calc(55% - 20px); }
.col-60 { flex: 0 0 calc(60% - 20px); }
.narrow { max-width: 60%; }
.center { text-align: center; }
.lead { color: var(--navy); line-height: 1.45; }
.sub { font: 600 22px/1.4 var(--body); color: var(--navy); text-transform: none; letter-spacing: 0; margin: -10px 0 25px; }
.bg-grey { background: var(--grey); }
.bg-lilac { background: var(--lilac); }
.bg-sky { background: var(--sky); }
.bg-dark { background: var(--dark); }
.bg-dark h2, .bg-dark h3, .bg-dark p, .bg-dark .sub, .bg-dark p > a { color: #fff; }
.mob-show { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 30px;
  border: 2px solid transparent;
  font-family: var(--head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s;
  text-decoration: none;
}
.btn-lg { font-size: 28px; line-height: 32px; padding: 15px 60px 13px; font-weight: 300; }
.btn-sm { font-size: 24px; line-height: 1.8; padding: 8px 25px 4px; letter-spacing: normal; font-weight: 300; }
.cta-row .btn-lg { font-weight: 700; }
.btn-purple { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-purple:hover, .btn-purple:focus-visible { background: #fff; color: var(--purple); }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--purple); }
.btn-ghost-purple { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-ghost-purple:hover, .btn-ghost-purple:focus-visible { background: var(--purple); color: #fff; }

.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 40px 0 0; }
.cta-row .text-link { border: 0; }
.cta-sep { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 85px;
  background: var(--navy);
  box-shadow: 0 0 10px #7a7474;
  z-index: 1000;
  transition: height 0.3s;
}
.header-inner { display: flex; align-items: center; gap: 30px; height: 100%; padding: 0 40px; }
.logo { display: block; line-height: 1; flex: 0 0 auto; }
.logo img { display: block; width: 258px; height: auto; transition: width 0.3s; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav li { padding: 0 5px; }
.main-nav li.nav-divider { padding-right: 20px; margin-right: 15px; border-right: 1px solid #515151; }
.main-nav a {
  display: inline-block;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 3px 20px;
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease-out;
}
.main-nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--purple);
  border-radius: 4px;
  transform: translateY(101%);
  transition: transform 0.25s ease-out;
}
.main-nav a:hover::before, .main-nav a:focus-visible::before, .main-nav a[aria-current]::before { transform: translateY(0); }
.header-cta { flex: 0 0 auto; min-width: 160px; }
.menu-toggle { display: none; }
.site-header.is-sticky { height: 60px; }
.site-header.is-sticky .logo img { width: 180px; }
.site-header.is-sticky .header-cta { font-size: 18px; padding: 6px 25px 2px; }
@media (max-width: 1280px) { .main-nav a { padding: 10px 15px; } }

/* ---------- Footer CTA band + footer ---------- */
.footer-cta { background: var(--purple); padding: 60px; text-align: center; }
.b2b .footer-cta { background: var(--pink); }
.footer-cta p {
  color: #fff;
  font-family: var(--head);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0 0 50px;
}
.site-footer { background: var(--navy-2); color: #fff; padding: 75px 0; }
.site-footer p, .site-footer a { color: #fff; }
.site-footer p { font-size: 14px; margin: 0 0 21px; }
.footer-grid { display: grid; grid-template-columns: 1fr 0.5fr 0.5fr 1fr; gap: 40px; padding: 0 40px; }
.site-footer h2 { font: 700 16px/1.8 var(--body); text-transform: none; letter-spacing: 0; color: #fff; margin: 0 0 21px; padding-bottom: 5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 15px; line-height: 1.8; }
.site-footer li a { border: 0; font-weight: 300; font-size: 18px; }
.site-footer li a:hover { color: var(--pink); border: 0; }
.footer-brand .social-bar { margin: 40px 0; }
.footer-brand p a { border: 0; }
.sopost-logo { width: 80px; vertical-align: middle; position: relative; top: 2px; left: 3px; }
.footer-signup .btn { margin-top: 0; }

.social-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.social-bar a {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: var(--navy);
  border-radius: 8px;
  border: 0;
  transition: background 0.2s;
}
.social-bar a:hover { background: var(--purple); }
.social-bar img { width: 100%; height: 100%; }
/* The original footer icons are 40px images sitting top-left in 50px navy
   squares, which reads as a drop shadow. Kept on purpose. */
.site-footer .social-bar a { width: 50px; height: 50px; align-items: flex-start; justify-content: flex-start; border-radius: 8px; }
.site-footer .social-bar a img { width: 40px; height: 40px; }
.social-bar.social-lg a { width: 80px; height: 80px; border-radius: 12px; }

/* ---------- Overlays ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(21, 37, 89, 0.5);
  z-index: 2000;
  display: none;
  overflow-y: auto;
}
.overlay.is-open { display: block; }
.overlay-panel { background: #fff; position: relative; }
.overlay-close {
  position: absolute; right: 40px; top: 31px;
  width: 20px; height: 20px;
  padding: 0; border: 0; background: none; cursor: pointer;
  z-index: 1;
}
.overlay-close img { display: block; }
.menu-panel {
  margin: 0 40px;
  padding: 40px;
  border-radius: 0 0 30px 30px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.menu-panel > a { width: 100%; padding: 16px; font-size: 18px; color: var(--navy); }
.menu-panel > a.btn { width: auto; margin-top: 20px; color: #fff; }
.menu-panel > a.btn:hover { color: var(--purple); }
.mob-logo { width: 100%; padding-bottom: 25px; margin-bottom: 15px; border-bottom: 1px solid #E5E5E5; }

.contact-panel {
  width: 960px; max-width: 90%;
  margin: 7vh auto 40px;
  padding: 60px;
  border-radius: 30px;
  display: flex; gap: 40px; align-items: center;
}
.contact-panel .overlay-close { right: 60px; top: 60px; }
.overlay-form { flex: 1 1 0; min-width: 0; }
.overlay-illustration { flex: 0 0 38%; text-align: right; }
.overlay-title {
  font-family: var(--head);
  font-size: 52px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 20px;
}
.overlay-form p { font-size: 17px; line-height: 1.5; margin: 0 0 20px; }
.overlay-form fieldset { border: 0; padding: 0; margin: 0 0 15px; min-width: 0; }
.overlay-form label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.overlay-form input, .overlay-form textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit; font-size: 16px;
  color: var(--navy);
  border: 1px solid #ccc; border-radius: 3px;
}
.overlay-form input:focus, .overlay-form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.field-pair { display: flex; gap: 4%; }
.field-pair fieldset { flex: 1; }
.form-back { display: inline-block; margin-bottom: 15px; border: 0; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done .btn { margin-top: 10px; }

/* ---------- Page heroes ---------- */
.page-hero { padding-top: 90px; }
.page-hero .row { align-items: flex-start; }
.hero { padding-top: 80px; }
.hero-text { max-width: 57%; position: relative; z-index: 2; }
.hero h1 { max-width: 88%; }
.hero .lead { max-width: 75%; margin-bottom: 0; }
.hero .cta-row { margin-top: 50px; }
.hero-banner { display: block; width: 100%; margin-top: -300px; padding: 40px 0 80px; position: relative; z-index: 1; }
.hero-banner-mobile { display: none; }

/* ---------- Home: how to get samples ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 750px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.steps-scroll {
  position: relative;
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.steps-scroll::-webkit-scrollbar { display: none; }
.steps-label {
  position: sticky; top: 70px;
  z-index: 2;
  display: inline-block;
  padding-left: max(var(--gutter), calc(50vw - var(--container) / 2 + var(--gutter)));
  padding-right: 10px;
  color: var(--pink);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  background: var(--navy);
  height: 25px; line-height: 25px;
  border-radius: 0 3px 3px 0;
  margin-bottom: -25px;
}
.steps-list { list-style: none; margin: 0; padding: 0; }
.step {
  height: 750px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 100px;
  padding-left: max(var(--gutter), calc(50vw - var(--container) / 2 + var(--gutter)));
  max-width: calc(50vw - var(--container) / 2 + 600px);
}
.step h2 {
  color: #fff;
  font-size: 68px;
  font-weight: 300;
  letter-spacing: normal;
  margin: 10px 0 20px;
}
.step p { color: #fff; margin: 0; }
.step-img-mobile { display: none; }
.steps-mouse { position: absolute; bottom: 80px; left: 20%; width: 30px; }
.steps-visual {
  position: relative;
  background: var(--pink);
  display: flex; align-items: center; justify-content: center;
  padding: 55px;
}
.steps-visual img {
  position: absolute;
  max-width: 70%; max-height: 80%;
  width: auto;
  opacity: 0;
  transition: opacity 0.6s;
}
.steps-visual img.is-active { opacity: 1; }
.steps-visual img.flip { transform: scaleX(-1); }

/* ---------- About ---------- */
.panel {
  background: var(--grey);
  display: flex; gap: 40px; align-items: center;
  padding: 0 40px;
  margin-top: 140px;
}
.panel-text { flex: 0 0 47%; padding: 40px 40px 40px 0; }
.panel-img { flex: 1; text-align: center; }
.panel-img img { width: 420px; margin: -140px 0 -120px; }

/* ---------- For brands ---------- */
.hiw-top { display: grid; grid-template-columns: 45% 10% 45%; align-items: end; }
.hiw-top h3 { font-size: 54px; margin: 0; padding-top: 15px; }
.hiw-top p { color: var(--navy); margin: 0; }
.hiw-box-left { text-align: right; }
.hiw-box-left img { max-width: 300px; display: inline-block; }
.hiw-box-right img { height: 250px; width: auto; margin-top: -70px; display: inline-block; }
.hiw-or { text-align: center; padding-bottom: 120px; }
.hiw-fork { display: block; margin: 0 auto; width: 39%; }
.hiw-row { display: grid; grid-template-columns: 45% 10% 45%; align-items: center; }
.hiw-row .hiw-line { grid-column: 2; display: block; width: 100%; }
.hiw-card { display: flex; gap: 35px; align-items: center; }
.hiw-card img { flex: 0 0 55%; width: 55%; }
.hiw-card h3 { font-size: 54px; margin: 0 0 5px; }
.hiw-card p { color: var(--navy); margin: 0; }
.hiw-row .hiw-right { grid-column: 3; }
.hiw-row .hiw-left { grid-column: 1; flex-direction: row-reverse; text-align: right; }
.hiw-row .hiw-left img { flex-basis: 45%; width: 45%; }

.how-row {
  background: var(--grey-2);
  padding: 0 25px;
  margin-bottom: 10px;
  border-left: 10px solid #DEDBEA;
  border-radius: 0 30px 30px 0;
}
.how-row p { padding: 15px 0; margin: 0; font-size: 15px; line-height: 1.6; }
.how-row strong {
  display: block;
  color: var(--navy);
  font: 400 24px/1.1 var(--head);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.card { background: var(--grey-2); border-radius: 20px; padding: 20px 20px 15px; text-align: center; }
.card img { display: block; margin: 0 auto 10px; max-height: 150px; width: auto; }
.card p { margin: 0; font-weight: 700; color: var(--text); line-height: 1.5; }

/* ---------- Test free samples ---------- */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; margin: 40px 0; }
.how-steps img { display: block; margin: 0 auto; width: 100%; max-width: 260px; }
.how-steps h4 { margin: -25px 0 4px; }
.how-steps p { margin: 0; padding: 0 10px; }

/* ---------- Region selector ---------- */
.live-regions { display: flex; flex-wrap: wrap; gap: 10px 4%; margin-bottom: 30px; }
.live-region {
  flex: 0 0 48%;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 25px;
  background: var(--grey);
  border-radius: 30px;
  color: var(--navy);
  border: 0; font-weight: 300;
  transition: background 0.2s;
}
.live-region:hover { background: var(--lilac); }
.live-region img { width: 28px; height: auto; }
.tag {
  display: inline-block;
  background: var(--pink); color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 0 5px; border-radius: 3px;
  margin-left: 5px;
  position: relative; bottom: 2px;
}

/* ---------- FAQs ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; padding: 50px 0 120px; }
.faq { border-top: 1px solid #d4d4d4; }
.faq summary {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px 0;
  min-height: 90px;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700; font-size: 16px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "?";
  flex: 0 0 35px;
  display: flex; align-items: center; justify-content: center;
  width: 35px; height: 35px;
  margin-top: 4px;
  border-radius: 50%;
  background: #EAEAEA;
  color: rgba(0, 0, 0, 0.35);
  font-weight: 400;
  transition: background 0.2s;
}
.faq[open] summary::before { background: var(--purple); color: #fff; }
.faq-body { padding: 0 0 20px 47px; font-size: 16px; line-height: 1.7; }
.faq-body p { margin-bottom: 1em; }

/* ---------- Legal pages ---------- */
.legal { padding-bottom: 100px; }
.legal-narrow { max-width: 66%; margin: 0 auto; }
.legal h3 { font: 700 22px/1.4 var(--body); text-transform: none; letter-spacing: 0; margin: 40px 0 15px; }
.legal h4 { margin-top: 25px; }
.legal .clauses { list-style: none; padding-left: 0; }
.legal .clauses > li { margin-bottom: 12px; }
.legal .clauses .clauses { padding-left: 2em; margin: 10px 0 0; }
.legal .clauses ul:not(.clauses) { margin: 10px 0 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 25px 0; }
.legal td { border: 1px solid #dfdfdf; padding: 10px; font-size: 16px; vertical-align: top; }
.legal thead td { font-weight: 700; color: var(--navy); }
.legal td ul { margin: 10px 0 0; }
.legal address { font-style: normal; }

/* ---------- Blog list ---------- */
.blog-header { padding-top: 90px; }
.post-thumb { display: block; overflow: hidden; border: 0; }
.post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-featured { display: flex; gap: 25px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.post-featured .post-thumb { flex: 0 0 60%; height: 330px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 30px; padding: 50px 0 100px; }
.post-card .post-thumb { height: 250px; margin-bottom: 20px; }
.post-title { font-family: var(--head); font-size: 42px; line-height: 1.05; margin: 0 0 10px; }
.post-title a { border: 0; font-weight: 400; }
.post-title a:hover { color: var(--purple); }
.post-date { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.post-excerpt { font-size: 16px; line-height: 1.6; margin-bottom: 12px; }
.read-more { color: var(--pink); font-weight: 700; font-size: 16px; border: 0; }
.read-more:hover { color: var(--purple); }

/* ---------- Blog post ---------- */
.post-hero { background: var(--navy); padding-top: 80px; }
.post-hero .container { display: flex; gap: 40px; align-items: flex-end; }
.post-hero-text { flex: 0 0 43%; padding: 0 70px 60px 0; }
.post-hero h1 { color: #fff; font-size: 66px; }
.post-hero .excerpt { color: #cdcdcd; line-height: 1.45; margin: 30px 0 0; }
.post-hero-img { flex: 1 1 0; min-width: 0; align-self: flex-end; }
.post-hero-img img { display: block; width: 100%; max-height: 550px; object-fit: contain; object-position: bottom; }
.post-body { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter) 60px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 30px;
  padding: 100px 0 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.post-meta time { font-weight: 700; color: var(--navy); }
.post-heading { font-size: 38px; margin-bottom: 30px; }
.post-body h4 { margin-bottom: 15px; }
.post-body img { display: block; }
.post-body figure { margin: 0 0 1.5em; }
.post-body blockquote {
  margin: 30px 0;
  padding: 25px 30px;
  border-left: 4px solid var(--purple);
  background: var(--grey);
  color: var(--navy);
  font-size: 20px; line-height: 1.5;
}
.post-body blockquote p { margin: 0 0 10px; }
.post-body blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); }
.post-body .row { margin-bottom: 1.5em; }
.sticky-note {
  position: relative; z-index: 1;
  display: flex; gap: 25px; align-items: flex-start;
  background: #FEFFA8;
  padding: 40px 40px 0;
  margin-top: 30px;
}
.sticky-note img { flex: 0 0 30%; width: 30%; }
.sticky-note.sticky-right { flex-direction: row-reverse; }
.sticky-note h3 { font: 600 25px/1.3 var(--body); text-transform: none; letter-spacing: 0; margin: 0 0 5px; }
.sticky-note p { margin: 0; }
.sticky-curl { width: 100%; margin: -25px 0 -65px; position: relative; z-index: 0; }
.post-body > .sticky-curl:last-of-type { margin-bottom: -10px; }
.post-body .cta-row { margin-bottom: 40px; }
.share { margin: 0 0 40px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-buttons a {
  display: inline-block;
  padding: 10px 18px;
  border: 0; border-radius: 4px;
  color: #fff;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s;
}
.share-buttons a:hover { opacity: 0.85; color: #fff; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #14171A; }
.share-linkedin { background: #0A66C2; }
.post-nav {
  display: flex; justify-content: space-between; gap: 30px;
  padding: 20px 0;
  margin-bottom: 60px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.post-nav a { display: block; border: 0; max-width: 45%; }
.post-nav .next { margin-left: auto; text-align: right; }
.post-nav .label { display: block; font: 400 24px/1.2 var(--head); text-transform: uppercase; color: var(--navy); }
.post-nav .title { font-size: 14px; font-weight: 300; color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  /* like the original: brand | links stacked | sign-up */
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1; grid-row: 1 / span 2; }
  .footer-links:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .footer-links:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .footer-signup { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 980px) {
  h1 { font-size: 72px; }
  h2 { font-size: 44px; }
  h3 { font-size: 28px; }
  .main-nav a { font-size: 15px; padding: 4px 10px; }
  .header-cta { min-width: 0; }
  .step h2 { font-size: 52px; }
  .step p { font-size: 16px; }
  .steps, .step { height: 650px; }
  .steps-mouse { display: none; }
  .hiw-top h3, .hiw-card h3 { font-size: 40px; }
  .cards, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .post-hero h1 { font-size: 48px; }
}
@media (max-width: 800px) {
  :root { --gutter: 20px; }
  body { padding-top: 80px; }
  h1 { font-size: 62px; }
  h2 { font-size: 42px; }
  h3 { font-size: 32px; }
  .mob-hide { display: none !important; }
  .mob-show { display: block; }
  .site-header { height: 80px; }
  .site-header.is-sticky { height: 80px; }
  .main-nav, .header-cta { display: none; }
  .logo img, .site-header.is-sticky .logo img { width: 220px; }
  .menu-toggle { display: block; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
  .menu-toggle img { display: block; width: 25px; height: 25px; }
  .menu-panel { margin: 0 20px; padding: 30px 20px; }
  .header-inner, .footer-grid { padding: 0 20px; }
  .overlay-close { right: 20px; top: 28px; }
  .contact-panel { padding: 40px 25px; margin: 30px auto; }
  .contact-panel .overlay-close { right: 25px; top: 25px; }
  .overlay-illustration { display: none; }
  .overlay-title { font-size: 38px; }
  .field-pair { display: block; }

  .row { flex-direction: column; gap: 30px; }
  .row > [class*="col"] { flex: 1 1 auto; width: 100%; }
  .narrow { max-width: 100%; }
  .section { padding: 60px 0; }

  .hero-text { max-width: 100%; }
  .hero h1, .hero .lead { max-width: 100%; }
  .hero-banner { display: none; }
  .hero-banner-mobile { display: block; margin: 30px auto 60px; }

  .steps { grid-template-columns: 1fr; height: auto; }
  .steps-scroll { height: auto; overflow: visible; scroll-snap-type: none; }
  .steps-label { position: static; display: block; margin: 0; padding: 40px 0 0 var(--gutter); height: auto; }
  .step { height: auto; max-width: none; padding: 60px var(--gutter); }
  .step h2 { font-size: 38px; }
  .step-img-mobile { display: block; width: 220px; margin: 0 auto 20px; }
  .steps-visual { display: none; }

  .panel { flex-direction: column; margin-top: 60px; padding: 50px 30px 0; }
  .panel-text { flex: none; padding: 0; }
  .panel-img img { margin: 30px 0 -60px; width: 100%; max-width: 320px; }

  .hiw-top { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hiw-box-left, .hiw-box-right { text-align: center; }
  .hiw-box-left img, .hiw-box-right img { margin: 0 auto; }
  .hiw-box-right img { height: auto; max-width: 300px; }
  .hiw-or { padding: 0; }
  .hiw-fork, .hiw-row .hiw-line { display: none; }
  .hiw-row { grid-template-columns: 1fr; margin: 40px 0; }
  .hiw-row .hiw-right, .hiw-row .hiw-left { grid-column: 1; flex-direction: column; text-align: center; }
  .hiw-card img, .hiw-row .hiw-left img { width: 60%; flex-basis: auto; }
  .cards, .how-steps { grid-template-columns: 1fr; gap: 20px; }

  .footer-cta { padding: 40px var(--gutter); }
  .footer-cta p { font-size: 48px; }
  .footer-cta p br { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links:nth-of-type(2), .footer-links:nth-of-type(3), .footer-signup { grid-column: auto; grid-row: auto; }
  .footer-brand .social-bar { justify-content: center; }

  .live-region { flex-basis: 100%; }
  .faq-grid { grid-template-columns: 1fr; padding-bottom: 60px; }
  .legal-narrow { max-width: 100%; }
  .post-featured { flex-direction: column; }
  .post-featured .post-thumb { flex: none; height: auto; aspect-ratio: 2 / 1; }
  .post-grid { grid-template-columns: 1fr; }
  .post-hero .container { flex-direction: column; align-items: stretch; }
  .post-hero-text { flex: none; padding: 0 0 40px; }
  .post-hero h1 { font-size: 42px; }
  .post-meta { padding-top: 50px; }
  .sticky-note, .sticky-note.sticky-right { flex-direction: column; padding: 30px 25px 0; }
  .sticky-note img { width: 50%; flex: none; margin: 0 auto; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
  .post-nav .next { margin-left: 0; text-align: left; }
}

/* ---------- Page-specific odds and ends ---------- */
.steps { position: relative; }
.social-section { padding: 80px 0 150px; }
.spaced { margin-top: 60px; }
.highlight { color: var(--pink); }
.how-rows { padding-top: 30px; }
.side-img { padding-top: 20px; text-align: center; }
.insiders-img { padding: 120px 0 0 20px; }
.insiders-img img { width: 90%; }
.feature-img { width: 100%; max-width: 360px; margin: 0 auto 20px; }
.blog-header h1 { font-size: 68px; }
.legal h1 + * { margin-top: 0; }
.page-hero h1.narrow { margin-bottom: 0; }
.center img { display: inline-block; }
.post-logo { width: 150px; margin: 0 auto 30px; }
