/* ============ Fonts (self-hosted, latin subsets) ============ */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* ============ Tokens / reset ============ */
:root {
  --red: #d0010b;
  --red-dark: #a30009;
  --red-soft: #ff5a63;
  --dark: #222d39;
  --ink: #1a1c1c;
  --gray-d: #3a3a3a;
  --gray-m: #7a7a7a;
  --gray-l: #e5e5e5;
  --slate: #8492a7;
  --brown: #5b403d;
  --bg-soft: #f7f9fc;
  --pill-bg: rgba(247, 197, 199, 0.47);
  --line: #dee7ee;
  --star: #ffc400;
  --bricolage: 'Bricolage Grotesque', sans-serif;
  --poppins: 'Poppins', sans-serif;
  --max-w: 1400px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--poppins);
  background: #fff;
  color: var(--dark);
  overflow-x: hidden;
}
img, svg { display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; border: 0; cursor: pointer; background: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.red { color: var(--red); }
.m-only, .m-dark { display: none; }
.play-m { display: none; }

/* ============ Nav ============ */
.site-header { position: fixed; top: 0; left: 0; z-index: 100; width: 100vw; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.logo { display: flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 73px; font: 400 24px var(--bricolage); color: var(--dark); text-align: center; }
.nav-links .active { font-weight: 700; color: var(--red); }
.btn-contact {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: auto; min-width: 120px; height: 55px; padding: 0 28px; border-radius: 200px;
  background: var(--red); color: #fff;
  font: 600 18px var(--bricolage); white-space: nowrap;
}
.btn-contact svg { flex-shrink: 0; }
.nav-burger { display: none; }
.burger-backdrop { display: none; }

/* Offset anchor scrolling so fixed nav doesn't cover section headings */
section[id], footer[id] { scroll-margin-top: 120px; }

/* ============ Shared ============ */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 42px; border-radius: 48px;
  background: var(--pill-bg); color: var(--red);
  font: 600 18px var(--bricolage); text-transform: uppercase;
}
.btn-cta {
  display: flex; align-items: center; justify-content: center; gap: 25px;
  width: 460px; height: 92px; border-radius: 5px;
  background: var(--red); color: #fff;
  font: 600 30.1px var(--bricolage); white-space: nowrap;
}
.section-title { font: 700 64px/70px var(--bricolage); color: var(--dark); text-align: center; }
.controls { display: flex; gap: 20px; }
.ctrl { width: 50px; height: 50px; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.ctrl-prev { background: #ebf6ff; }
.ctrl-next { background: var(--red); }
.ctrl-next img { transform: rotate(180deg); }
/* padding/negative-margin pair keeps hovered (lifted) cards from clipping at the overflow edge */
.carousel { width: min(var(--max-w), calc(100vw - 32px)); overflow: hidden; padding: 10px 0; margin: -10px 0; }

/* ============ Interactions ============ */
.logo, .nav-links a, .btn-contact, .btn-cta, .ctrl,
.news-btn, .news-btn-sq, .f-cols a, .f-contact a, .socials a, .founder-socials a {
  transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.logo:hover { opacity: .75; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: -8px;
  width: 0; height: 2px; border-radius: 1px; background: var(--red);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.btn-contact:hover, .btn-cta:hover, .news-btn:hover, .news-btn-sq:hover, .ctrl-next:hover { background: var(--red-dark); }
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(208, 1, 11, 0.25); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(208, 1, 11, 0.28); }
.btn-contact:active, .btn-cta:active { transform: translateY(-1px); box-shadow: 0 5px 10px rgba(208, 1, 11, 0.2); }
.ctrl:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); }
.ctrl:active { transform: translateY(-1px); box-shadow: none; }
.ctrl-prev:hover { background: #d8ecff; }
.hero-video, .v-media { cursor: pointer; }
.hero-video img, .v-media img { transition: transform .25s ease; }
.hero-video:hover .v-thumb, .v-media:hover .v-thumb { transform: scale(1.12); }
.t-card, .p-card { transition: transform .25s ease, box-shadow .25s ease; }
.t-card:hover { transform: translateY(-6px); }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(34, 45, 57, 0.08); }
.f-cols a, .f-contact a { display: inline-block; }
.f-cols a:hover { color: #fff; transform: translateX(5px); }
.f-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials a:hover { color: var(--red-soft); transform: translateY(-4px); }
.news-field:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, #fdeaea 0%, #fff 100%) top / 100% 1000px no-repeat;
  padding-top: 220px;
  display: flex; justify-content: center;
}
.hero-inner { width: min(var(--max-w), calc(100vw - 64px)); display: flex; flex-direction: column; align-items: center; gap: 65px; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 23px; }
.hero h1 { font: 600 84px/94px var(--bricolage); color: var(--dark); text-align: center; }
.hero-sub { font: 400 28px var(--poppins); color: var(--dark); text-align: center; max-width: 705px; }
.hero-video {
  width: 100%; height: 726px; border-radius: 10px; background: var(--gray-l);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

/* ============ Metrics ============ */
.metrics-sec { margin-top: 130px; display: flex; flex-direction: column; align-items: center; gap: 19px; }
.metrics-band {
  width: min(var(--max-w), 100%); margin: 0 auto; height: 200px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 98.8px;
}
.metric { display: flex; align-items: center; gap: 40.6px; }
.metric img { width: 81.24px; height: 81.24px; }
.metric-text { display: flex; flex-direction: column; text-align: center; }
.metric-num { font: 600 54.16px/67.7px var(--bricolage); color: var(--dark); white-space: nowrap; }
.metric-label { font: 500 24.37px/43.3px var(--poppins); color: var(--slate); white-space: nowrap; }
.metric-sep { width: 1.35px; height: 79.9px; background: var(--line); }

/* ============ Testimonials ============ */
.testimonials { margin-top: 130px; margin-left: auto; margin-right: auto; max-width: var(--max-w); display: flex; flex-direction: column; align-items: center; }
.testimonials .carousel { margin-top: 73px; }
.testimonials .t-cards { margin-top: 0; }
.testimonials .controls { margin-top: 73px; }
.testimonials .btn-cta { margin-top: 73px; }
.t-cards { display: flex; gap: 30px; justify-content: flex-start; }
.t-card { flex: 0 0 calc((min(1400px, 100vw - 32px) - 60px) / 3); display: flex; flex-direction: column; gap: 20px; }
.t-card-body { background: var(--gray-l); padding: 40px 44px; display: flex; flex-direction: column; gap: 21px; }
.t-red .t-card-body { background: var(--red); }
.t-red .t-text { color: #fff; }
.t-quote { width: 42px; height: 30px; }
.stars { display: flex; }
.stars svg { width: 39.4px; height: 39.4px; fill: var(--star); }
.t-text { font: 700 20px/28px var(--poppins); color: var(--gray-d); width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; }
.t-text.expanded { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
.t-readmore { background: none; border: none; padding: 0; cursor: pointer; font: 600 14px var(--poppins); color: var(--red); align-self: flex-start; margin-top: -8px; }
.t-red .t-readmore { color: rgba(255,255,255,0.85); }
.t-readmore:hover { text-decoration: underline; }
.t-readmore[hidden] { display: none; }
.t-client { display: flex; align-items: center; gap: 20px; }
.avatar { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.avatar-ring { position: absolute; inset: 0; width: 60px; height: 60px; }
.avatar-photo { position: absolute; left: 2.77px; top: 1.85px; width: 55.4px; height: 55.4px; border-radius: 50%; object-fit: cover; }
.avatar-photo.solo { left: 0; top: 0; width: 60px; height: 60px; }
.avatar-initials { display: flex; align-items: center; justify-content: center; background: var(--red); border-radius: 50%; font: 700 18px var(--bricolage); color: #fff; }
.t-who { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.t-who strong { font: 600 24px var(--bricolage); color: var(--dark); }
.t-who em { font: 500 18px var(--poppins); font-style: normal; color: var(--red); }

/* ============ Problem ============ */
.problem { margin-top: 130px; background: var(--bg-soft); padding: 74px 0; display: flex; justify-content: center; }
.problem-inner { max-width: var(--max-w); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 67px; }
.problem .pill { margin-bottom: -42px; }
.problem-title { max-width: 982px; }
.p-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; max-width: 1320px; }
.p-card {
  min-height: 260px; background: #fff; border-radius: 3px;
  padding: 40px; display: flex; flex-direction: column; justify-content: flex-start; gap: 24px;
}
.p-card p { font: 600 20px/30px var(--bricolage); color: var(--dark); }

/* ============ Comparison ============ */
.compare { margin-top: 130px; margin-left: auto; margin-right: auto; max-width: var(--max-w); display: flex; flex-direction: column; align-items: center; gap: 64px; padding: 0 16px; }
.compare-title { max-width: 849px; }
.compare-table {
  width: min(1024px, 100%);
  table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
  background: #f9f9f9;
  border: 1px solid rgba(143, 112, 108, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.compare-table th, .compare-table td { width: 33.33%; }
.compare-table thead th {
  height: 110px; padding: 24px;
  font: 700 28.8px/37.4px 'Space Grotesk', sans-serif; color: var(--ink);
  border-bottom: 1px solid rgba(143, 112, 108, 0.2);
}
.compare-table thead .c-label { text-align: left; }
.compare-table thead .c-other { text-align: center; }
.compare-table thead .hl { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.compare-table thead .hl img { margin: 0 auto; height: 29px; width: auto; }
.compare-table .hl {
  background: #e8e8e8;
  border-left: 1px solid rgba(143, 112, 108, 0.1);
  border-right: 1px solid rgba(143, 112, 108, 0.1);
}
.compare-table tbody td { height: 80px; padding: 24px; border-bottom: 1px solid rgba(143, 112, 108, 0.1); }
.compare-table tbody .c-label { font: 400 20px var(--poppins); color: var(--ink); text-align: left; }
.compare-table tbody td img { margin: 0 auto; }
.compare-table tbody tr:nth-child(odd) td { background: #f3f3f4; }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* ============ Savings ($500K) ============ */
.savings { margin-top: 130px; margin-left: auto; margin-right: auto; max-width: var(--max-w); display: flex; flex-direction: column; align-items: center; gap: 73px; }
.savings-head { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.savings-title { color: var(--gray-d); max-width: 974px; }
.savings-grid { display: flex; align-items: center; justify-content: center; }
.savings-text { width: 546px; padding-right: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.badge-label {
  display: inline-block; padding: 5px 13px;
  background: #eee; border: 1px solid rgba(26, 28, 28, 0.1);
  font: 500 12px/16.8px 'JetBrains Mono', monospace; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brown);
}
.s-badge-top { display: none; }
.big-num { margin-top: 41px; font: 700 80px/80px var(--bricolage); letter-spacing: -4px; color: var(--ink); }
.sub-num { margin-top: 4px; padding-bottom: 20px; font: 700 32px/38.4px var(--bricolage); color: var(--ink); }
.quote-line {
  border-left: 2px solid #b31b1b; padding-left: 26px;
  font: 400 18px/29.25px var(--poppins); color: var(--brown); max-width: 338px;
}
.savings-text .btn-cta { margin-top: 41px; }
.savings-chart {
  width: 593px; background: #fff;
  border: 1px solid rgba(26, 28, 28, 0.1);
  padding: 46px 60px;
}
.bars { display: flex; align-items: flex-end; justify-content: center; gap: 80px; }
.bar { height: 499px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.bar-std { width: 140px; }
.bar-tax { width: 174px; }
.bar-num { font: 700 24px/31.2px 'Space Grotesk', sans-serif; color: var(--ink); text-align: center; }
.bar-num.big { font-size: 32px; line-height: 38.4px; }
.bar-label {
  margin-top: 4px; margin-bottom: 24px;
  font: 500 12px/16.8px 'JetBrains Mono', monospace; letter-spacing: 0.6px;
  color: var(--brown); text-align: center;
}
.bar-label.dark { color: var(--ink); letter-spacing: 1.2px; text-transform: uppercase; }
.bar-std .bar-fill { width: 100%; height: 28.6px; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bar-tax .bar-fill {
  width: 100%; flex: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)), var(--red);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============ Video testimonials ============ */
.videos { margin-top: 130px; margin-left: auto; margin-right: auto; max-width: var(--max-w); display: flex; flex-direction: column; align-items: center; }
.videos-head { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.videos-title { color: var(--gray-d); max-width: 974px; }
.v-cards { margin-top: 73px; display: flex; gap: 30px; justify-content: flex-start; }
.videos .controls { margin-top: 73px; }
.videos .btn-cta { margin-top: 73px; }
.v-card { flex: 0 0 calc((min(1400px, 100vw - 32px) - 60px) / 3); overflow: hidden; }
.v-card-video-only .v-media { border-radius: 20px; }
.v-media {
  aspect-ratio: 2 / 3; background: var(--gray-m);
  border-radius: 20px 20px 0 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.v-media iframe, .hero-video iframe { width: 100%; height: 100%; border: none; }
.yt-facade { position: relative; cursor: pointer; }
.yt-facade .v-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: none; border: none; cursor: pointer; padding: 0; transition: transform .25s ease; }
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.12); }
.v-info { background: var(--gray-l); border-radius: 0 0 20px 20px; padding: 28px 20px; display: flex; justify-content: center; }
.v-client { display: flex; flex-direction: column; width: 100%; }
.v-client h3 { font: 700 28px var(--bricolage); color: var(--dark); }
.v-role { font: 500 16px var(--poppins); color: var(--red); }
.v-text { margin-top: 12px; font: 600 14px/22px var(--poppins); color: var(--gray-d); width: 100%; }
/* ============ Founder ============ */
.founder { margin-top: 130px; margin-left: auto; margin-right: auto; max-width: var(--max-w); display: flex; flex-direction: column; align-items: flex-start; padding: 0 16px; }
.founder > .pill { align-self: center; }
.founder-grid { margin-top: 56px; display: flex; align-items: center; gap: 64px; width: 100%; }
.founder-photo { flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1.2; height: auto; border-radius: 16px; object-fit: cover; }
.founder-text { flex: 1 1 0; min-width: 0; padding-top: 8px; }
.founder-name { font: 700 32px var(--bricolage); color: var(--dark); }
.founder-role { margin-top: 4px; font: 600 16px var(--poppins); color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.founder-desc { margin-top: 18px; font: 400 17px/28px var(--poppins); color: var(--gray-d); }
.founder-socials { margin-top: 28px; display: flex; gap: 14px; justify-content: center; }
.founder-socials a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.founder-socials a:hover { background: var(--red-dark); }

/* ============ Footer ============ */
.footer { margin-top: 130px; background: var(--dark); color: #fff; }
.footer-top {
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 137px 16px 0; min-height: 360px;
}
.f-about { width: 308px; }
.f-logo { font: 700 32px var(--bricolage); }
.f-desc { margin-top: 31px; font: 500 18px/28px var(--poppins); color: var(--gray-l); }
.f-links { width: 320px; flex-shrink: 0; margin-left: 98px; }
.f-links h3, .f-contact h3 { font: 600 24px var(--bricolage); color: #fff; }
.f-cols { display: flex; gap: 49px; margin-top: 28px; }
.f-cols ul { font: 500 18px/40px var(--poppins); color: var(--gray-l); }
.f-cols a { white-space: nowrap; }
.f-contact { width: 280px; margin-left: 98px; }
.f-contact ul { margin-top: 38px; display: flex; flex-direction: column; gap: 13px; }
.f-contact li { display: flex; gap: 11px; font: 500 18px var(--poppins); color: var(--gray-l); }
.f-contact li img { margin-top: 3px; width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.f-news { width: 462px; margin-left: 206px; }
.f-news-title { font: 700 48px var(--bricolage); }
.news-field {
  margin-top: 51px; display: flex; align-items: center;
  width: 469px; height: 50.5px; padding-left: 25.6px;
  background: #fff; border-radius: 3.6px;
}
.news-field > img { flex-shrink: 0; }
.news-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: none;
  padding: 0 8px 0 13.5px;
  font: 500 12.8px var(--poppins); color: var(--dark);
}
.news-field input::placeholder { color: var(--slate); }
.news-btn {
  flex-shrink: 0; margin-right: 5.7px;
  display: flex; align-items: center; justify-content: center; gap: 10.7px;
  width: 195.6px; height: 39.1px; border-radius: 2.1px;
  background: var(--red); color: #fff;
  font: 600 12.8px var(--bricolage); white-space: nowrap;
}
.news-btn-sq { display: none; }
.footer-bottom { max-width: var(--max-w); margin: 76px auto 0; padding: 0 16px 19px; }
.f-line { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.f-bottom-row { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.socials { display: flex; align-items: center; gap: 30px; }
.socials a { color: #fff; display: block; }
.copyright { font: 500 18px var(--poppins); color: #adb7c2; }

/* ============ Consultation modal ============ */
.modal {
  margin: auto; /* the universal reset zeroes margin, which breaks native dialog centering */
  border: 0; padding: 0; border-radius: 16px;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); overflow-y: auto;
  box-shadow: 0 24px 64px rgba(34, 45, 57, 0.25);
}
.modal::backdrop { background: rgba(34, 45, 57, 0.55); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .25s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--dark);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.modal-body { padding: 44px 48px; }
.modal h2 { font: 700 36px/44px var(--bricolage); color: var(--dark); }
.modal-sub { margin-top: 10px; font: 400 16px/25px var(--poppins); color: var(--gray-m); }
.modal-form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.modal-error { font: 400 13px var(--poppins); color: #e53e3e; text-align: center; margin-top: -4px; }
.modal-form[hidden] { display: none; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font: 600 14px var(--bricolage); color: var(--dark); }
.field .opt { font-weight: 400; color: var(--gray-m); }
.field .req { color: #e53e3e; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px;
  font: 400 15px/22px var(--poppins); color: var(--dark);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238492a7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.field select option[value=""] { color: var(--slate); }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff;
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(208, 1, 11, 0.12);
}
.modal-submit {
  margin-top: 6px; height: 56px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--red); color: #fff;
  font: 600 18px var(--bricolage);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.modal-submit:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(208, 1, 11, 0.25); }
.modal-submit:active { transform: translateY(0); box-shadow: none; }
.modal-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 0 8px; gap: 0; }
.modal-success[hidden] { display: none; }
.ms-check { width: 72px; height: 72px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ms-tag { margin-top: 20px; font: 600 13px var(--poppins); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ms-title { margin-top: 8px; font: 700 40px/1.1 var(--bricolage); color: var(--dark); }
.ms-text { margin-top: 14px; font: 400 16px/26px var(--poppins); color: var(--gray-m); max-width: 360px; }
.ms-text strong { color: var(--dark); font-weight: 600; }
.ms-note { margin-top: 16px; font: 400 14px/22px var(--poppins); color: var(--slate); max-width: 340px; }
.ms-note a { color: var(--red); text-decoration: none; }
.ms-note a:hover { text-decoration: underline; }
.ms-done { margin-top: 28px; width: 220px; }

/* ============ Phone country-code picker ============ */
.phone-row { display: flex; gap: 8px; }
.phone-row > input[type="tel"] { flex: 1; min-width: 0; }
.cc-picker { position: relative; flex-shrink: 0; width: 104px; }
.cc-trigger {
  display: flex; align-items: center; gap: 5px;
  width: 100%; height: 46px; padding: 0 10px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px;
  font: 400 14px var(--poppins); color: var(--dark); white-space: nowrap;
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.cc-trigger:focus,
.cc-trigger[aria-expanded="true"] { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,1,11,0.12); }
.cc-flag { font-size: 18px; line-height: 1; }
.cc-code { font-size: 13px; flex: 1; text-align: left; }
.cc-arrow { flex-shrink: 0; color: var(--gray-m); transition: transform .2s; }
.cc-trigger[aria-expanded="true"] .cc-arrow { transform: rotate(180deg); }
.cc-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 300;
  width: 268px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
}
.cc-dropdown[hidden] { display: none; }
.cc-search-wrap { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.cc-search {
  width: 100%; padding: 7px 10px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 5px;
  font: 400 14px var(--poppins); color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.cc-search:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,1,11,0.12); }
.cc-list { max-height: 210px; overflow-y: auto; padding: 4px 0; list-style: none; }
.cc-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  cursor: pointer; transition: background .12s;
}
.cc-item:hover { background: var(--bg-soft); }
.cc-item[aria-selected="true"] { background: rgba(208,1,11,0.06); }
.cc-item-flag { font-size: 18px; line-height: 1; flex-shrink: 0; }
.cc-item-name { flex: 1; font: 400 13px var(--poppins); color: var(--dark); }
.cc-item-code { font: 400 13px var(--poppins); color: var(--gray-m); }

/* ============ Wrapper thresholds ============
   >1600px → 1400px wrapper (var default); ≤1600px → 1100px wrapper */
@media (max-width: 1600px) {
  :root { --max-w: 1100px; }
  /* Keep savings side-by-side within 1100px wrapper at mid-desktop */
  .savings-text { width: 440px; }
  .savings-chart { width: 500px; padding: 40px 50px; }
  .bars { gap: 56px; }
  .founder-photo { aspect-ratio: 1 / 1.2; height: auto; }
}


/* ============ Wide desktop footer fix (≤1700px) ============
   Base footer content = 1633px, overflows any viewport < 1665px.
   This block reduces margins and enables wrapping before the 1441-1664px gap. */
@media (max-width: 1700px) {
  .hero { padding-top: 160px; }
  .hero-inner { gap: 52px; }
  .metrics-sec { margin-top: 110px; }
  .testimonials, .compare, .savings, .videos, .problem, .footer, .founder { margin-top: 110px; }

  .metrics-band { gap: 72px; }
  .metric { gap: 32px; }

  .f-links, .f-contact { margin-left: 48px; }
  .f-news { margin-left: 64px; width: 400px; }
  .f-news-title { font-size: 38px; }
  .footer-top { flex-wrap: wrap; row-gap: 48px; }
  .news-field { width: 100%; }
}

/* ============ Tablet (scale desktop down) ============ */
@media (max-width: 1440px) {
  .nav-links { gap: 40px; font-size: 20px; }
  .btn-contact { height: 50px; min-width: 116px; padding: 0 24px; font-size: 16px; }
  .btn-cta { width: 400px; height: 82px; font-size: 26px; gap: 20px; }

  .hero { padding-top: 150px; }
  .hero-inner { gap: 52px; }
  .hero h1 { font-size: 64px; line-height: 74px; }
  .hero-sub { font-size: 26px; }
  .hero-video { height: 54.8vw; max-height: 640px; }

  .section-title { font-size: 52px; line-height: 60px; }
  .metrics-sec { margin-top: 100px; }
  .metrics-band { gap: 60px; }
  .metric { gap: 26px; }
  .metric img { width: 68px; height: 68px; }
  .metric-num { font-size: 44px; line-height: 54px; }
  .metric-label { font-size: 20px; line-height: 30px; }
  .metric-sep { height: 64px; }
  .testimonials, .compare, .savings, .videos, .problem, .footer, .founder { margin-top: 100px; }
  .savings-grid { flex-wrap: wrap; gap: 40px; }
  .founder-grid { flex-wrap: wrap; justify-content: flex-start; gap: 40px; text-align: left; }
  .founder-socials { justify-content: center; }

  /* Carousels: narrower (48px/side) so 3 cards fit cleanly at all sizes ≤1440px */
  .testimonials .carousel, .videos .carousel { width: calc(100vw - 96px); }
  .t-card { flex-basis: calc((100vw - 96px - 60px) / 3); }
  .v-card { flex-basis: calc((100vw - 96px - 60px) / 3); }
}

/* ============ Laptop (≤1280px) ============ */
@media (max-width: 1280px) {
  .nav-links { gap: 24px; font-size: 18px; }
  .btn-contact { height: 46px; min-width: 112px; padding: 0 22px; font-size: 15px; }

  .pill { font-size: 15px; padding: 8px 28px; }
  .btn-cta { width: 320px; height: 68px; font-size: 21px; gap: 16px; }
  .section-title { font-size: 40px; line-height: 48px; }

  .hero { padding-top: 160px; }
  .hero-inner { gap: 40px; }
  .hero h1 { font-size: 52px; line-height: 60px; }
  .hero-sub { font-size: 20px; }
  .hero-video { max-height: 420px; }

  .metrics-sec { margin-top: 80px; }
  .metrics-band { gap: 60px; }
  .metric { gap: 28px; }

  .testimonials, .compare, .savings, .videos, .problem, .footer, .founder { margin-top: 80px; }
  .founder-photo { aspect-ratio: 1 / 1.2; height: auto; }

  /* Testimonial cards: proportionally smaller at ~375px per card */
  .t-card-body { padding: 34px 36px; gap: 18px; }
  .t-text { font-size: 18px; line-height: 26px; min-height: auto; }
  .t-who strong { font-size: 21px; }
  .t-who em { font-size: 16px; }
  .stars svg { width: 34px; height: 34px; }

  /* Video testimonial cards: proportionally smaller at ~375px per card */
  .v-client h3 { font-size: 22px; }
  .v-role { font-size: 13px; }
  .v-text { font-size: 13px; line-height: 20px; }

  .savings-text { width: 440px; }
  .savings-chart { width: 500px; padding: 40px 50px; }
  .bars { gap: 56px; }

  .f-news { margin-left: 40px; width: 360px; }
  .f-news-title { font-size: 34px; }
}

/* ============ Tablet landscape / small laptop (≤1024px) ============ */
@media (max-width: 1024px) {
  /* Nav — hamburger takes over */
  .site-header { top: 0; }
  .site-header.menu-open { z-index: 300; }
  .nav { padding: 10px 20px 10px 28px; }
  .logo img { height: 26px; }
  .nav-links { display: none; }
  .nav-burger { display: block; position: relative; z-index: 202; }
  .nav-burger summary { list-style: none; cursor: pointer; display: flex; position: relative; z-index: 203; }
  .nav-burger summary::-webkit-details-marker { display: none; }
  .burger-close { display: none; }
  .nav-burger[open] .burger-open { display: none; }
  .nav-burger[open] .burger-close { display: block; }
  .burger-backdrop {
    display: none;
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    border: 0; padding: 0; margin: 0;
    background: rgba(34, 45, 57, 0.5);
    z-index: 200;
    cursor: pointer;
  }
  .nav-burger[open] .burger-backdrop { display: block; }
  .nav-burger ul {
    position: fixed; top: 0; right: 0;
    width: min(420px, 92vw); height: 100dvh;
    margin: 0; list-style: none;
    padding: 76px 28px 28px;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 201;
    display: flex; flex-direction: column; gap: 4px;
    font: 500 18px var(--bricolage); color: var(--dark);
    line-height: 1.4; overflow-y: auto;
  }
  .nav-burger ul a {
    display: block; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }
  .nav-burger ul li:last-child a { border-bottom: 0; }
  .btn-contact { height: 44px; min-width: 108px; padding: 0 20px; font-size: 14px; gap: 8px; margin-left: auto; margin-right: 14px; }
  .btn-contact svg { width: 14px; height: 14px; }

  /* Shared */
  .pill { font-size: 15px; padding: 8px 24px; }
  .btn-cta { width: 300px; height: 64px; font-size: 20px; gap: 14px; }
  .section-title { font-size: 38px; line-height: 46px; }

  /* Hero */
  .hero { padding-top: 148px; }
  .hero-inner { gap: 36px; }
  .hero h1 { font-size: 46px; line-height: 54px; }
  .hero-sub { font-size: 19px; }

  /* Metrics */
  .metrics-sec { margin-top: 68px; }
  .metrics-band { gap: 36px; }
  .metric { gap: 20px; }
  .metric img { width: 56px; height: 56px; }
  .metric-num { font-size: 38px; line-height: 46px; }
  .metric-label { font-size: 17px; line-height: 26px; }
  .metric-sep { height: 56px; }

  /* Sections rhythm */
  .testimonials, .compare, .savings, .videos, .problem, .footer, .founder { margin-top: 72px; }


  /* Testimonial cards ~290px per card */
  .t-card { gap: 14px; }
  .t-card-body { padding: 26px 26px; gap: 14px; }
  .t-text { font-size: 15px; line-height: 22px; }
  .t-who strong { font-size: 18px; }
  .t-who em { font-size: 14px; }
  .stars svg { width: 28px; height: 28px; }
  .t-quote { width: 32px; height: 23px; }

  /* Video testimonial cards at ~290px per card */
  .v-client h3 { font-size: 18px; }
  .v-role { font-size: 12px; }
  .v-text { font-size: 12px; line-height: 18px; }
  .v-info { padding: 20px 14px; }

  /* 1-card carousel on tablet/touch (gap=0 so stepSize = card width) */
  .t-cards { gap: 0; }
  .v-cards { gap: 0; }
  .t-card { flex: 0 0 100%; }
  .v-card { flex: 0 0 100%; }

  /* Problem cards — 3 per row, tighter padding at this width */
  .p-card { padding: 30px; gap: 18px; }

  /* Savings — always stack vertically */
  .savings { padding: 0 24px; gap: 48px; }
  .savings-grid { flex-direction: column; align-items: center; gap: 40px; }
  .savings-text { width: 100%; max-width: 100%; padding-right: 0; align-items: center; text-align: center; }
  .s-badge-top { display: inline-block; }
  .savings-text .badge-label { display: none; }
  .big-num, .sub-num, .quote-line { display: none; }
  .savings-text .btn-cta { margin-top: 0; width: 100%; }
  .sub-num { text-align: center; }
  .quote-line { text-align: center; width: auto; max-width: 338px; }
  .savings-chart { width: 100%; max-width: 520px; padding: 40px; }
  .bars { justify-content: center; gap: 60px; }

  /* Founder — stack vertically */
  .founder-grid { flex-direction: column; align-items: flex-start; gap: 32px; text-align: left; }
  .founder-photo { width: 100%; max-width: 100%; flex: none; aspect-ratio: 1 / 1.2; height: auto; }
  .founder-socials { justify-content: center; }

  /* Footer — about full-width, links+contact side by side, newsletter full-width */
  .footer-top { padding: 72px 48px 0; min-height: 0; }
  .f-about { width: 100%; }
  .f-links { margin-left: 0; width: auto; min-width: 320px; }
  .f-contact { margin-left: 40px; width: auto; flex: 1; }
  .f-news { width: 100%; margin-left: 0; }
  .news-field { width: 100%; max-width: 469px; }
  .f-news-title { font-size: 30px; }
  .footer-bottom { max-width: 100%; padding: 0 48px 24px; }
}

/* ============ Mobile (393px design frame) ============ */
@media (max-width: 768px) {
  .d-only { display: none !important; }
  .m-only { display: inline; }
  .m-dark { display: inline; color: #121212; }
  .play-m { display: block; }

  /* nav */
  .site-header { top: 0; width: 100vw; }
  .nav { padding: 10px 16px 10px 20px; border-radius: 0; min-height: 49px; }
  .logo img { height: 20px; }
  .nav-links { display: none; }
  .btn-contact { height: 38px; min-width: 100px; padding: 0 18px; font-size: 13px; gap: 6px; margin-right: 12px; }
  .btn-contact svg { width: 14px; height: 14px; }
  .nav-burger ul { width: min(400px, 94vw); padding: 68px 24px 24px; font-size: 16px; }

  /* shared */
  .pill { font: 400 16px var(--poppins); text-transform: none; height: 35px; padding: 11px 42px; }
  .btn-cta { width: 100%; height: 64px; border-radius: 4px; font-size: 18px; gap: 14px; }
  .btn-cta img { width: 8px; height: 16px; }
  .section-title { font-size: 32px; line-height: normal; color: #121212; }

  /* hero */
  .hero { background-size: 100% 953px; padding-top: 110px; }
  .hero-inner { width: 337px; gap: 30px; }
  .hero-text { gap: 6px; }
  .hero h1 { font-weight: 700; font-size: 48px; line-height: 48px; color: var(--gray-d); max-width: 307px; }
  .hero-sub { font-size: 20px; color: var(--gray-m); }
  .hero-video { width: 341px; height: 187px; border-radius: 2.6px; }
  .play-d { display: none; }

  /* metrics */
  .metrics-sec { margin-top: 80px; }
  .metrics-band { width: auto; height: auto; border: 0; flex-direction: column; gap: 36.8px; }
  .metric { gap: 18.9px; }
  .metric img { width: 37.85px; height: 37.85px; }
  .metric-num { font-size: 25.2px; line-height: 31.5px; }
  /* #65758e = #8492a7 darkened to meet WCAG 4.5:1 at this small size */
  .metric-label { font-size: 11.4px; line-height: 20.2px; color: #65758e; }
  .metric-sep { display: none; }

  /* sections rhythm */
  .testimonials, .compare, .savings, .videos, .problem, .footer, .founder { margin-top: 70px; }

  /* testimonials — keep as 1-card carousel on mobile */
  .testimonials .carousel, .videos .carousel { width: 337px; overflow: hidden; padding: 10px 0; margin: -10px 0; }
  .testimonials .carousel { margin-top: 55px; }
  .testimonials .btn-cta { margin-top: 55px; width: 337px; }
  .testimonials .controls, .videos .controls { display: flex !important; margin-top: 30px; }
  .t-card { flex: none; width: 100%; gap: 15.3px; }
  .t-card-body { padding: 30.6px 38.3px; gap: 16px; }
  .t-quote { width: 32.2px; height: 23px; }
  .stars svg { width: 30.2px; height: 30.2px; }
  .t-text { font-weight: 400; font-size: 16px; line-height: normal; width: 260px; }
  .t-client { gap: 15.3px; }
  .avatar { width: 46px; height: 46px; }
  .avatar-ring { width: 46px; height: 46px; }
  .avatar-photo { left: 2.1px; top: 1.4px; width: 42.4px; height: 42.4px; }
  .avatar-photo.solo { width: 46px; height: 46px; }
  .avatar-initials { font-size: 14px; }
  .t-who strong { font-size: 18.4px; }
  .t-who em { font-size: 13.8px; }

  /* problem */
  .problem { padding: 38px 0; }
  .problem-inner { gap: 28px; }
  .problem .pill { margin-bottom: 0; }
  .problem-title { max-width: 337px; }
  .p-cards { gap: 15px; grid-template-columns: 1fr; max-width: 337px; }
  .p-card {
    height: auto; border-radius: 16px; padding: 45px 22px;
    align-items: center; gap: 30px;
  }
  .p-card p { font: 400 20px var(--poppins); color: var(--gray-d); text-align: center; }

  /* comparison */
  .compare { gap: 36px; padding: 0 28px; }
  .compare-title { max-width: 337px; }
  .compare-table { border-color: rgba(26, 28, 28, 0.1); }
  .compare-table th, .compare-table td { width: auto; }
  .compare-table .c-label { width: 46%; }
  .compare-table thead th {
    height: 52px; padding: 12px; text-align: center;
    background: #e8e8e8; border-bottom-color: rgba(26, 28, 28, 0.1);
    font: 700 11px var(--poppins); color: var(--gray-d); text-transform: uppercase;
  }
  .compare-table thead .hl { border-radius: 0; background: #f3f3f4; }
  .compare-table thead .hl img { max-width: 90%; height: auto; }
  .compare-table .hl { border-color: rgba(26, 28, 28, 0.1); }
  .compare-table tbody tr:nth-child(odd) td { background: transparent; }
  .compare-table tbody td { height: 48px; padding: 12px; border-bottom-color: rgba(26, 28, 28, 0.1); }
  .compare-table tbody .hl { background: rgba(243, 243, 244, 0.5); }
  .compare-table tbody .c-label { font-size: 14px; line-height: 20px; border-right: 1px solid rgba(26, 28, 28, 0.1); }
  .compare-table tbody td img { width: 20px; height: 20px; }

  /* savings */
  .savings { gap: 73px; padding: 56px 15px 0; margin-top: 30px; }
  .savings-title { font: 700 48px/48px var(--bricolage); color: var(--gray-d); max-width: 357px; }
  .savings-grid { flex-direction: column-reverse; gap: 43px; }
  .savings-text { padding-right: 0; align-items: center; }
  .big-num { margin-top: 24px; }
  .sub-num { font-size: 24px; line-height: 24px; text-align: center; }
  .quote-line { font-size: 14px; line-height: 20px; max-width: 325px; width: 325px; text-align: center; }
  .savings-text .btn-cta { margin-top: 0; width: 100%; }
  .savings-chart { width: 349px; border-radius: 5px; background: #f8f8f8; padding: 26px; }
  .bars { gap: 29px; }
  .bar { height: 499px; }
  .bar-std, .bar-tax { width: 120px; }
  .bar-std .bar-fill { height: 29px; }

  /* videos */
  .videos { width: 337px; margin-left: auto; margin-right: auto; }
  .videos-head { gap: 30px; }
  .videos-title { font-size: 32px; line-height: normal; color: #121212; max-width: 337px; }
  .v-cards { margin-top: 30px; }
  .videos .btn-cta { margin-top: 30px; }
  .v-card { flex: none; width: 337px; }
  .v-media { border-radius: 15.3px 15.3px 0 0; }
  .v-info { border-radius: 0 0 15.3px 15.3px; padding: 27.6px 15.3px; }
  .v-client h3 { font-size: 32.2px; }
  .v-role { font-size: 17.9px; }
  .v-text { margin-top: 13.8px; font-weight: 400; font-size: 16px; line-height: normal; width: 260px; min-height: 116px; }

  /* founder */
  .founder { width: 337px; margin-left: auto; margin-right: auto; padding: 0; align-items: flex-start; }
  .founder > .pill { align-self: center; }
  .founder-grid { margin-top: 36px; gap: 26px; align-items: flex-start; text-align: left; }
  .founder-photo { width: 100%; max-width: 100%; flex: none; aspect-ratio: 1 / 1.2; height: auto; }
  .founder-name { font-size: 24px; }
  .founder-role { font-size: 14px; }
  .founder-desc { margin-top: 14px; font-size: 15px; line-height: 24px; }
  .founder-socials { margin-top: 22px; justify-content: center; }

  /* footer */
  .footer-top { flex-direction: column; align-items: flex-start; padding: 61px 28px 0; min-height: 0; width: 330px; margin: 0 auto; box-sizing: content-box; padding-left: 0; padding-right: 0; }
  .f-news { order: -1; width: 330px; margin-left: 0; }
  .f-news-title { font-size: 48px; max-width: 349px; }
  .news-field {
    width: 325px; height: 59px; padding-left: 18.4px;
    border-radius: 2.6px;
    filter: drop-shadow(0 7.7px 8.9px rgba(210, 217, 224, 0.25));
  }
  .news-field > img { width: 27px; height: 23px; }
  .news-field input { font-size: 16px; padding-left: 9.7px; }
  .news-btn-sq {
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; margin-right: -1px; flex-shrink: 0;
    background: var(--red);
  }
  .news-btn-sq img { transform: rotate(90deg); width: 26px; height: 30px; }
  .f-about { margin-top: 20px; width: 330px; }
  .f-links { margin-top: 20px; margin-left: 0; width: 100%; min-width: 0; }
  .f-cols a { white-space: normal; }
  .f-contact { margin-top: 20px; margin-left: 0; }
  .footer-bottom { margin-top: 95px; padding: 0 0 27px; width: 344px; }
  .f-bottom-row { flex-direction: column; align-items: flex-start; gap: 24px; }
}


/* ============ Reduced motion ============ */
/* ============ Modal — compact on small / short screens ============ */
@media (max-width: 768px) {
  .modal-body { padding: 30px 22px; }
  .modal h2 { font-size: 26px; line-height: 32px; }
  .modal-sub { margin-top: 6px; font-size: 14px; line-height: 22px; }
  .modal-form { margin-top: 16px; gap: 12px; }
  .field input, .field textarea, .field select { padding: 9px 14px; font-size: 14px; line-height: 20px; }
  .field label { font-size: 13px; margin-bottom: 4px; }
  .cc-picker { width: 92px; }
  .cc-trigger { height: 42px; }
  .cc-dropdown { width: 240px; }
  .modal-submit { height: 50px; font-size: 16px; }
}

@media (max-height: 700px) and (min-width: 769px) {
  .modal-body { padding: 14px 32px 18px; }
  .modal h2 { font-size: 22px; line-height: 28px; }
  .modal-sub { display: none; }
  .modal-form { margin-top: 10px; gap: 8px; }
  .field input, .field textarea, .field select { padding: 7px 12px; font-size: 13px; line-height: 18px; }
  .field label { font-size: 12px; margin-bottom: 3px; }
  .cc-trigger { height: 34px; font-size: 13px; }
  .modal-submit { height: 40px; margin-top: 2px; font-size: 15px; }
  .field-row { gap: 8px; }
}

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