/* NEXA Fuel Monitoring — single-page landing site
   Palette and brand follow the NEXA industrial IoT identity. */

:root {
  --bg: #060f0b;
  --bg-2: #081510;
  --bg-3: #0b1c15;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(236, 255, 240, 0.11);
  --line-strong: rgba(236, 255, 240, 0.2);
  --text: #eef5ea;
  --muted: #a2b4a7;
  --muted-2: #7d9184;
  --lime: #c9f75a;
  --lime-soft: rgba(201, 247, 90, 0.14);
  --lime-line: rgba(201, 247, 90, 0.34);
  --dark: #07130d;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: #08130e; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 200;
  background: var(--lime);
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip:focus { top: 14px; }

/* ---------- header ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.hdr.is-stuck {
  background: rgba(6, 15, 11, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--dark);
  display: grid; place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt strong { font-size: 17px; letter-spacing: .14em; }
.brand-txt small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 10px; }
.nav a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  color: #c8d6ca;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }

.hdr-act { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lime { background: var(--lime); color: #08130e; }
.btn-lime:hover { background: #d8ff7c; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--lime-line); background: var(--lime-soft); }
.btn-dark { background: var(--dark); color: var(--text); border-color: rgba(255,255,255,.12); }
.btn-dark:hover { background: #0d2418; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn .i { width: 17px; height: 17px; }

/* language + mobile menu popovers */

details.pop { position: relative; }
details.pop > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #d4e0d6;
  background: rgba(255,255,255,.03);
  transition: border-color .2s ease;
}
details.pop > summary::-webkit-details-marker { display: none; }
details.pop[open] > summary,
details.pop > summary:hover { border-color: var(--lime-line); }
details.pop > summary .i { width: 15px; height: 15px; }

.lang-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: 218px;
  background: #0b1a13;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 120;
}
.lang-pop a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px; color: #c3d2c6;
}
.lang-pop a span:last-child { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.lang-pop a:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang-pop a[aria-current="true"] { background: var(--lime-soft); color: var(--lime); }

.mnav { display: none; }
.mnav-pop {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  width: 250px;
  background: #0b1a13;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
  display: grid;
  gap: 2px;
  z-index: 120;
}
.mnav-pop a { padding: 11px 12px; border-radius: 9px; font-size: 15px; }
.mnav-pop a:hover { background: rgba(255,255,255,.06); }
.mnav-pop .btn { margin-top: 6px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 148px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(201,247,90,.13), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: .6;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--lime);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.55rem);
  letter-spacing: -0.038em;
  line-height: .98;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
  display: block;
}
.hero .lede {
  margin-top: 24px;
  max-width: 560px;
  color: #bccbbf;
  font-size: clamp(16px, 1.4vw, 18.5px);
}

.ticks { margin-top: 26px; display: grid; gap: 11px; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: #d5e1d7;
}
.ticks .i {
  flex: none;
  width: 19px; height: 19px;
  margin-top: 2px;
  color: var(--lime);
  background: var(--lime-soft);
  border-radius: 50%;
  padding: 3px;
}

.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a1712;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4,12,8,.72));
  pointer-events: none;
}
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(5, 16, 10, .78);
  border: 1px solid var(--lime-line);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  letter-spacing: .03em;
  color: #e6f2e4;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.chip-1 { top: 22px; inset-inline-start: 22px; }
.chip-2 { bottom: 22px; inset-inline-end: 22px; }

.statbar {
  position: relative;
  z-index: 1;
  margin-top: clamp(46px, 6vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.statbar div {
  padding: 24px 26px;
  border-inline-start: 1px solid var(--line);
}
.statbar div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.statbar b {
  display: block;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.statbar span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

/* ---------- sections ---------- */

.sec { padding: clamp(62px, 7vw, 96px) 0; position: relative; }
.sec-tight { padding-top: 0; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.022) 12%, rgba(255,255,255,.022) 88%, transparent); }

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 54px); }
.sec-head h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); }
.sec-head .lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 640px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lead { margin-inline: auto; }

/* problem cards */

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 60%);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(201,247,90,.10), transparent 70%);
}
.card .i {
  width: 26px; height: 26px;
  color: var(--lime);
  margin-bottom: 22px;
}
.card h3 { font-size: 19.5px; letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.62; }

/* steps + radar */

.how-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--lime);
  border: 1px solid var(--lime-line);
  background: var(--lime-soft);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  letter-spacing: .04em;
}
.steps h3 { font-size: 20px; }
.steps p { margin-top: 9px; color: var(--muted); font-size: 15.5px; }

.radar-fig {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a1712;
  position: sticky;
  top: 100px;
}
.radar-fig img { width: 100%; height: auto; }
.radar-fig figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* features */

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.feat:hover { border-color: var(--lime-line); background: rgba(201,247,90,.04); transform: translateY(-3px); }
.feat .i { width: 24px; height: 24px; color: var(--lime); margin-bottom: 18px; }
.feat h3 { font-size: 18px; }
.feat p { margin-top: 9px; color: var(--muted); font-size: 14.5px; }

/* installation gallery */

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal figure { margin: 0; }
.gal .ph {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: #0a1712;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gal figure:hover img { transform: scale(1.035); }
.gal figcaption { margin-top: 13px; font-size: 13.5px; color: var(--muted); line-height: 1.5; padding-inline-end: 8px; }
.sec-note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); }

/* app */

.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.app-copy .ticks li { font-size: 16px; }
.phone {
  justify-self: center;
  width: min(330px, 100%);
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #23342a, #0a1510 55%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px rgba(0,0,0,.55);
  position: relative;
}
.phone::before { display: none;
  content: "";
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 6px;
  border-radius: 99px;
  background: #050b08;
  z-index: 2;
}
.phone img { border-radius: 33px; width: 100%; height: auto; aspect-ratio: 366 / 862; object-fit: cover; }

/* specs */

.spec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.spec-side .sec-head { margin-bottom: 24px; }
.dim-fig { margin: 0; border: 1px solid var(--line); border-radius: 18px; background: #f4f7f2; overflow: hidden; max-width: 380px; }
.dim-fig img { width: 100%; height: auto; }
.dim-fig figcaption {
  background: #0b1a13; color: var(--muted);
  padding: 11px 16px; font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em;
  border-top: 1px solid var(--line);
}
.spec { width: 100%; border-collapse: collapse; }
.spec tr { border-bottom: 1px solid var(--line); }
.spec tr:first-child { border-top: 1px solid var(--line); }
.spec th, .spec td { padding: 17px 4px; vertical-align: top; text-align: start; }
.spec th {
  width: 38%;
  font-weight: 600;
  font-size: 14px;
  color: #cddacf;
  padding-inline-end: 22px;
}
.spec td { font-size: 14.5px; color: var(--muted); }
.spec-note { margin-top: 20px; font-size: 12.5px; color: var(--muted-2); max-width: 520px; }

/* faq */

.faq-wrap { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  transition: background .2s ease, border-color .2s ease;
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  background: var(--lime);
  border-radius: 2px;
}
.faq summary .pm::before { width: 11px; height: 1.5px; }
.faq summary .pm::after { width: 1.5px; height: 11px; transition: transform .2s ease; }
.faq details[open] summary .pm { background: var(--lime-soft); border-color: var(--lime-line); }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq .a { padding: 0 44px 24px 2px; color: var(--muted); font-size: 15.5px; }
html[dir="rtl"] .faq .a { padding: 0 2px 24px 44px; }

/* quote */

.quote { padding: clamp(40px, 6vw, 72px) 0 clamp(76px, 9vw, 110px); }
.quote-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--lime-line);
  background:
    radial-gradient(700px 340px at 88% -10%, rgba(201,247,90,.16), transparent 65%),
    linear-gradient(155deg, #0e2117, #081410 70%);
  padding: clamp(30px, 5vw, 62px);
}
.quote-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.quote-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.quote-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.quote-copy p { margin-top: 16px; color: #c0cfc2; max-width: 440px; }
.contact-lines { margin-top: 26px; display: grid; gap: 10px; }
.contact-lines a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: #dbe8dc;
  width: fit-content;
}
.contact-lines a:hover { color: var(--lime); }
.contact-lines .i { width: 18px; height: 18px; color: var(--lime); }
.cta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cta-chips span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: #cfe0d2;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 11px;
}

.qform { display: grid; gap: 12px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qform label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.qform input, .qform textarea {
  width: 100%;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 13px;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s ease, background .2s ease;
}
.qform input:focus, .qform textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(0,0,0,.4);
}
.qform textarea { resize: vertical; min-height: 90px; }
.qform .btn { margin-top: 4px; width: 100%; }
.fnote { font-size: 12px; color: var(--muted-2); }
.form-msg { font-size: 13px; color: var(--lime); min-height: 18px; }

/* footer */

.foot { border-top: 1px solid var(--line); padding: 56px 0 34px; background: #050d09; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 40px; }
.foot .brand { margin-bottom: 18px; }
.foot p { color: var(--muted); font-size: 14px; max-width: 340px; }
.foot h4 { font-size: 11.5px; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 4px 0 16px; }
.foot-links { display: grid; gap: 9px; }
.foot-links a { font-size: 14px; color: #c6d4c9; }
.foot-links a:hover { color: var(--lime); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-langs a {
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--muted);
}
.foot-langs a:hover { border-color: var(--lime-line); color: var(--lime); }
.foot-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* reveal */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .gal img, .feat, .btn { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .mnav { display: block; }
  .hero { padding-top: 124px; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-frame { aspect-ratio: 5 / 4; }
  .hero-frame img { object-position: center 30%; }
  .hero .lede { max-width: 640px; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar div { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .statbar div:nth-child(odd) { padding-inline-end: 22px; }
  .statbar div:nth-child(even) { padding-inline-start: 22px; border-inline-start: 1px solid var(--line); }
  .statbar div:nth-child(-n+2) { border-top: 0; }
  .cards3, .feat-grid { grid-template-columns: 1fr 1fr; }
  .cards3 > :last-child { grid-column: 1 / -1; }
  .how-grid, .app-grid, .spec-grid, .quote-in { grid-template-columns: 1fr; }
  .radar-fig { position: static; }
  .phone { margin-inline: auto; }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .brand-txt small { display: none; }
  .cards3, .feat-grid, .gal { grid-template-columns: 1fr; }
  .gal .ph { aspect-ratio: 16 / 11; }
  .frow { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .spec th { width: 42%; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq .a { padding-inline-end: 0; }
  .quote-panel { padding: 26px 20px; }
  .hdr-act .btn-sm { display: none; }
}

@media (max-width: 420px) {
  .chip { font-size: 11px; padding: 8px 11px; }
  .chip-1 { top: 14px; inset-inline-start: 14px; }
  .chip-2 { bottom: 14px; inset-inline-end: 14px; }
  .lang-pop { width: 200px; }
}




/* ---------- language typography ---------- */

html[lang="ja"] { --font: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, "Segoe UI", sans-serif; }
html[lang="th"] { --font: "Leelawadee UI", Tahoma, "Segoe UI", sans-serif; }
html[lang="ar"] { --font: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif; }

html[lang="ja"] .hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: 0;
  word-break: keep-all;
}
html[lang="ja"] .sec-head h2,
html[lang="ja"] .quote-copy h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: 0;
  word-break: keep-all;
}
html[lang="th"] .hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: 0;
}
html[lang="th"] .sec-head h2,
html[lang="th"] .quote-copy h2 { line-height: 1.35; letter-spacing: 0; }

html[dir="rtl"] .hero h1 { line-height: 1.18; letter-spacing: 0; }
html[dir="rtl"] .sec-head h2,
html[dir="rtl"] .quote-copy h2,
html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .btn .i { transform: scaleX(-1); }
