:root{
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,.14);

  /* Single accent (CTA only) */
  --accent: #f97316;

  --shadow: 0 10px 24px rgba(15,23,42,.08);
  --shadow2: 0 18px 44px rgba(15,23,42,.12);

  --radius: 14px;
  --radius-lg: 18px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --container: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.small{ font-size: 13px; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 999;
}
.skip-link:focus{ left: 12px; }

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
}

.brand__mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--text);
  box-shadow: 0 10px 22px rgba(15,23,42,.14);
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name{
  font-weight: 950;
  letter-spacing: .2px;
}

.brand__sub{
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a{
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(15,23,42,.80);
  font-weight: 850;
  font-size: 14px;
}

.nav a:hover{ background: rgba(15,23,42,.06); }

.header__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(15,23,42,.10); }

.btn:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible,
.mobile-nav a:focus-visible,
.faq__item > summary:focus-visible{
  outline: 3px solid rgba(249,115,22,.35);
  outline-offset: 3px;
  border-radius: 12px;
}

.btn--primary{
  border: 0;
  background: var(--accent);
  color: #111827;
  box-shadow: 0 10px 24px rgba(249,115,22,.22);
}
.btn--primary:hover{ filter: brightness(1.02); }

.btn--ghost{
  background: #fff;
  border: 1px solid var(--border);
}

.full{ width: 100%; }

.lang-toggle{
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.05);
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  transition: all .12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
}
.lang-toggle:hover{
  background: rgba(15,23,42,.10);
  color: var(--text);
}
.lang-toggle .lang-text{ font-weight: 900; letter-spacing: .04em; }

.menu-btn{
  display: none;
  width: 44px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
  cursor: pointer;
}
.menu-btn span{
  display: block;
  height: 2px;
  width: 20px;
  margin: 5px auto;
  background: rgba(15,23,42,.80);
  border-radius: 2px;
}

.mobile-nav{
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav__inner{
  display: grid;
  gap: 10px;
  padding: 12px 0 16px;
}
.mobile-nav a{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.86);
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.08);
}
.mobile-nav__cta{ display: grid; gap: 10px; margin-top: 6px; }

.hero{
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) 0 var(--space-4);
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: var(--space-4);
  align-items: stretch;
}

.eyebrow{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 950;
  color: rgba(15,23,42,.65);
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

.hero__ctas{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.trust{
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.trust__item{
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding: 12px;
}
.trust__k{
  font-size: 12px;
  color: var(--muted);
  font-weight: 950;
  margin-bottom: 6px;
}
.trust__v{ font-weight: 900; font-size: 13px; }

.hero__card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow2);
  padding: var(--space-3);
  overflow: hidden;
}

.hero__media{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.03);
  aspect-ratio: 16 / 9;
}
.hero__media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: var(--space-3);
}

.card__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.pill{
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.75);
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.12);
  white-space: nowrap;
}

.card__rows{
  display: grid;
  gap: 12px;
  margin-top: var(--space-3);
}

.row{
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding: 12px;
}

.row__k{
  font-size: 12px;
  color: var(--muted);
  font-weight: 950;
  margin-bottom: 8px;
}

.row__v{ font-weight: 900; color: rgba(15,23,42,.86); }

.copy-btn{
  width: 100%;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  padding: 12px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}
.copy-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(15,23,42,.10); }
.copy-btn__main{ display:block; font-weight: 950; font-size: 16px; }
.copy-btn__sub{ display:block; margin-top: 4px; font-size: 12px; color: var(--muted); font-weight: 800; }

.card__actions{
  display: grid;
  gap: 10px;
  margin-top: var(--space-3);
}

.note{
  margin-top: var(--space-3);
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(249,115,22,.28);
  background: rgba(249,115,22,.10);
  color: rgba(15,23,42,.88);
  font-weight: 800;
  font-size: 13px;
}

.section{
  padding: var(--space-6) 0;
}

.section--alt{
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

h2{
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.35px;
}

.text-link{
  font-weight: 900;
  color: rgba(15,23,42,.78);
}
.text-link:hover{ text-decoration: underline; color: var(--text); }

.cards{ display: grid; gap: 14px; }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card__body{ padding: var(--space-3); }

.card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

h3{
  margin: 0 0 6px;
  letter-spacing: -0.2px;
  font-size: 18px;
}

.h3{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.badges{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.12);
  font-size: 12px;
  font-weight: 950;
  color: rgba(15,23,42,.86);
}
.badge--outline{
  background: #fff;
  border: 1px solid rgba(15,23,42,.18);
  color: rgba(15,23,42,.78);
}

.cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.col{
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding: 12px;
}

h4{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: -0.1px;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,23,42,.78);
  font-weight: 650;
}
.bullets li{ margin: 7px 0; }

.card__actions-inline{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Media groupings (keep exactly as requested) */
.media-group{
  background: rgba(15,23,42,.03);
  border-bottom: 1px solid rgba(15,23,42,.10);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.media-2up{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
}

.media img{
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.media--diagram img{
  height: 320px;
  object-fit: contain; /* keep diagram readable */
  background: #fff;
}

.media figcaption{
  padding: 10px 12px;
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,.78);
  border-top: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.02);
}

/* Subsection (Accessories) */
.subsection{ margin-top: var(--space-5); }
.subsection__head{ margin-bottom: var(--space-3); }
.tiles{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tile{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(15,23,42,.10); }
.tile__media img{
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  border-bottom: 1px solid rgba(15,23,42,.10);
  padding: 12px;
  background: #f9f9f9;
}
.tile__body{ padding: 14px 16px 16px; }
.tile__title{ font-weight: 950; }
.tile__text{ margin-top: 6px; color: var(--muted); font-weight: 700; }

/* Steps */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
}
.step__n{
  width: 34px; height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.12);
}
.step__t{ margin-top: 10px; font-weight: 950; }
.step__d{ margin-top: 6px; color: var(--muted); font-weight: 700; }

/* Callout */
.callout{
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow2);
  padding: 16px;
}
.callout__title{ font-weight: 950; margin-bottom: 4px; }
.callout__text{ margin: 0; color: var(--muted); font-weight: 700; }
.callout__right{ display: flex; gap: 10px; flex-wrap: wrap; }

/* FAQ */
.faq{
  display: grid;
  gap: 10px;
}
.faq__item{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
  overflow: hidden;
}
.faq__item > summary{
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 950;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker{ display: none; }
.faq__content{
  padding: 0 16px 14px;
  color: rgba(15,23,42,.82);
  font-weight: 650;
}

/* Contact */
.contact{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact__card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
}
.info{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.info__row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(15,23,42,.03);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding: 12px;
}
.info__k{ font-weight: 950; font-size: 12px; color: var(--muted); }
.info__v{ font-weight: 850; text-align: right; max-width: 60%; }

.contact__actions{ display: grid; gap: 10px; margin-top: 12px; }

.form{ display: grid; gap: 10px; margin-top: 10px; }
.field{ display: grid; gap: 6px; }
.field span{ font-size: 12px; font-weight: 950; color: var(--muted); }

input, select, textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.18);
  background: #fff;
  color: var(--text);
  outline: none;
}
textarea{ min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(249,115,22,.55);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
}

.fineprint{
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.03);
  color: rgba(15,23,42,.78);
  font-weight: 700;
  font-size: 13px;
}

/* Footer */
.footer{
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 22px 0 36px;
}
.footer__inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__name{ font-weight: 950; }
.footer__links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.footer__links a{
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.78);
}
.footer__links a:hover{ background: rgba(15,23,42,.06); color: var(--text); }

/* Responsive */
@media (max-width: 980px){
  .nav{ display: none; }
  .menu-btn{ display: inline-block; }

  .hero__grid{ grid-template-columns: 1fr; }
  .trust{ grid-template-columns: 1fr 1fr; }

  .cols{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; }

  .steps{ grid-template-columns: 1fr; }

  .contact{ grid-template-columns: 1fr; }

  .callout{ flex-direction: column; align-items: flex-start; }
  .footer__inner{ flex-direction: column; }
  .footer__links{ justify-content: flex-start; }
}

@media (max-width: 520px){
  .trust{ grid-template-columns: 1fr; }
  .media-2up{ grid-template-columns: 1fr; }

  /* Stack card header (title + badges) to avoid overflow on small screens */
  .card__top{ 
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Reduce brand min-width to prevent header overflow */
  .brand{ min-width: 120px; }

  /* Slightly smaller badges on mobile */
  .badge{ font-size: 11px; padding: 6px 8px; }
}
