:root {
  --paper: #F3F1EA;
  --paper-2: #ECE9DF;
  --ink: #141414;
  --muted: #3F3B32;
  --quiet: #6B665A;
  --line: rgba(20, 20, 20, 0.12);
  --green: #F79009;
  --green-2: #C56F06;
  --dark: #0A1410;
  --max: 1280px;
  --font-display: "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.kicker {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 700; }
.green { color: var(--green); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 241, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); height: 36px; }
.logo img { height: 36px; width: auto; display: block; }
.logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 36px;
  font-size: 14px;
  line-height: 1;
}
.nav-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1;
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: none;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  gap: 2px;
}
.lang-switch.is-enabled { display: inline-flex; }
.lang-btn {
  border: none;
  background: transparent;
  color: var(--quiet);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active {
  background: var(--ink);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--green-2); }
.btn.nav-cta { padding: 11px 18px; font-size: 14px; }
.btn.block { width: 100%; padding: 15px; font-size: 16px; margin-top: 14px; }
.modal-submit.btn.block { margin-top: 2px; }
.legal-note {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #9A9588;
  text-align: center;
  white-space: nowrap;
}
.legal-note a {
  color: #7A7568;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-note a:hover { color: var(--ink); }
.card .status:not(:empty) { margin-top: 10px; }

.hero { padding: 76px 0 68px; }
.hero-grid, .cta-grid, .cap-grid, .detail {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-grid, .cta-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1; margin: 0 0 22px; }
.lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 56ch; margin: 0 0 30px; }
.certs { font-size: 13px; line-height: 1.7; color: #8A8578; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 60px -30px rgba(20, 20, 20, 0.4);
}
.card-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--quiet);
  font-size: 12px;
  margin-bottom: 12px;
}
.drop {
  border: 2px dashed rgba(247, 144, 9, 0.55);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
}
.drop.over { background: #fff; border-color: var(--green); }
.drop strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.drop span { font-size: 14px; color: var(--quiet); }
.drop .formats {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(20, 20, 20, 0.38);
}
.cnc-only {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  text-align: left;
}
.cnc-only-switch {
  flex-shrink: 0;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  border: none;
  padding: 3px;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: #C9C6BC;
  transition: background 0.15s;
}
.cnc-only-switch[aria-checked="true"] {
  justify-content: flex-end;
  background: var(--green);
}
.cnc-only-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.cnc-only-copy {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cnc-only-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}
.cnc-only-hint {
  font-size: 12px;
  color: #8A8578;
  line-height: 1.4;
}
.file-input { display: none; }
.status {
  margin: 0;
  font-size: 14px;
  color: var(--quiet);
  text-align: center;
}
.status:empty { display: none; }
.status.error { color: #8d2a2a; }

.trust {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.trust .kicker { text-align: center; color: var(--ink); letter-spacing: 0.14em; font-size: 11px; }
.logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.logos img { width: auto; height: 40px; max-width: none; }
.logos .logo-contech { height: 48px; }
.logos .logo-hub71 { height: 34px; }

section.block { padding: 88px 0; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.02; margin: 0 0 40px; }
.cap-grid { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; }
.cap-mode {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 999px;
  background: #fff;
}
.cap-mode-btn {
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.cap-mode-btn.is-active {
  background: var(--ink);
  color: #fff;
}
.cap-list { display: flex; flex-direction: column; }
.cap-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  border-left: 2px solid rgba(20, 20, 20, 0.14);
  padding: 15px 0 15px 20px;
  font: inherit;
  font-size: 17px;
  color: var(--muted);
  cursor: pointer;
  width: 100%;
}
.cap-list button.active { border-left-color: var(--green); color: var(--green); font-weight: 700; }
.cap-list button:disabled { color: #A6A196; cursor: not-allowed; }
.soon {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  color: #8A8578;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 4px;
  padding: 3px 6px;
}
.detail {
  background: #E9E6DC;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  grid-template-columns: 1fr 1fr;
}
.detail h3 { margin: 0; color: var(--green); font-size: clamp(22px, 2.4vw, 28px); }
.detail-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.detail p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 10px; font-size: 14px; }
.bullets li::before { content: "✓"; color: var(--green); font-weight: 800; }
.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #E0DDD2 0 13px, #E9E6DC 13px 26px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  border: none;
  color: #fff;
  background: var(--green);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 4px;
}
.placeholder { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: #8A8578; text-align: center; padding: 0 16px; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cases article { text-align: center; }
.cases h3 { font-size: 25px; margin: 12px 0; }
.cases p { color: var(--quiet); line-height: 1.55; margin: 0 auto; max-width: 34ch; }

.how { background: var(--paper-2); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps article { border-top: 2px solid var(--green); padding-top: 20px; }
.steps .num {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 14px;
}
.steps p { margin: 0; color: var(--muted); line-height: 1.55; }

.engine { background: var(--dark); color: var(--paper); text-align: center; padding: 72px 0; }
.engine .kicker { color: var(--paper); }
.engine p { color: #C9C6BC; max-width: 64ch; margin: 0 auto 28px; line-height: 1.6; }
.engine .frame { position: relative; max-width: 640px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; overflow: hidden; }
.engine img { display: block; width: 100%; height: auto; }
.engine .chip { right: 18px; left: auto; bottom: 18px; }

.cta { background: var(--green); color: var(--paper); padding: 72px 0; }
.cta .kicker { color: var(--ink); }
.cta h2 { max-width: 18ch; }
.cta .cta-grid > div:first-child > p { color: #E9E6DC; font-size: 18px; }
.cta .card { color: var(--ink); }
.cta .legal-note {
  font-size: 11px;
  line-height: 1.4;
  color: #9A9588;
  margin-left: auto;
  margin-right: auto;
}
.cta .legal-note a { color: #7A7568; }

footer { background: var(--paper-2); padding: 64px 0 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot .logo { display: flex; align-items: center; margin-bottom: 16px; color: var(--ink); }
.foot a { color: var(--muted); display: block; margin-bottom: 12px; }
.foot .col-label {
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A8578;
  font-size: 11px;
  margin-bottom: 20px;
}
.legal { margin-top: 56px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: #8A8578; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal-card {
  background: linear-gradient(180deg, #FFFEFA 0%, var(--paper) 100%);
  color: var(--ink);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 18px;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: 0 24px 64px rgba(10, 10, 10, 0.28);
  animation: modalIn 0.28s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--quiet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: var(--ink); background: #fff; border-color: rgba(20, 20, 20, 0.2); }
.modal-card > .kicker { margin-bottom: 10px; padding-right: 36px; }
.modal-card h3 {
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  padding-right: 36px;
}
.modal-body { margin-bottom: 20px; }
.modal-body p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 10px;
  font-size: 15px;
}
.modal-body p:last-child { margin-bottom: 0; }
.modal-lead-line {
  line-height: 1.55;
}
.file-badge {
  display: inline-flex;
  align-items: center;
  max-width: 50%;
  height: 1.31em;
  padding: 0 0.55em;
  margin: 0 0.15em 0 0;
  border-radius: 999px;
  background: rgba(247, 144, 9, 0.14);
  border: 1px solid rgba(247, 144, 9, 0.35);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: baseline;
  position: relative;
  top: -0.06em;
  box-sizing: border-box;
}
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-required input,
.field-required .phone-row {
  border-color: rgba(247, 144, 9, 0.55);
  background: rgba(247, 144, 9, 0.04);
}
.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.req-mark {
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.opt-mark {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
  font-weight: 500;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: #9A9588; }
.modal-form input:hover,
.modal-form textarea:hover,
.modal-form select:hover { border-color: rgba(20, 20, 20, 0.28); }
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.22);
}
.phone-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.field-required .phone-row {
  border-color: rgba(247, 144, 9, 0.55);
  background: rgba(247, 144, 9, 0.04);
}
.phone-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.22);
}
.phone-row > #phone {
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent;
  min-width: 0;
}
.dial-picker {
  position: relative;
  flex-shrink: 0;
}
.dial-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  min-height: 48px;
  padding: 0 10px 0 12px;
  border: none;
  border-right: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 10px 0 0 10px;
  background: var(--paper-2);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.dial-trigger:hover { background: #E5E1D6; }
.dial-flag { font-size: 18px; line-height: 1; }
.dial-code { font-variant-numeric: tabular-nums; }
.dial-caret {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--quiet);
}
.dial-picker.open .dial-caret { transform: rotate(180deg); }
.dial-panel {
  position: fixed;
  z-index: 80;
  width: min(320px, calc(100vw - 40px));
  max-height: 280px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
  overflow: hidden;
}
.dial-panel[hidden] { display: none !important; }
.dial-search {
  width: 100%;
  border: none !important;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font: inherit;
  background: #fff !important;
}
.dial-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  overflow: auto;
  max-height: 220px;
}
.dial-option {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dial-option:hover,
.dial-option.is-active {
  background: rgba(247, 144, 9, 0.12);
}
.dial-option-flag { font-size: 18px; line-height: 1; }
.dial-option-name {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dial-option-code {
  font-size: 13px;
  font-weight: 600;
  color: var(--quiet);
  font-variant-numeric: tabular-nums;
}
.modal-form textarea { min-height: 96px; resize: none; }
.form-error {
  color: #8d2a2a;
  min-height: 0;
  font-size: 13px;
  margin: 0;
}
.form-error:empty { display: none; }
.modal-submit { margin-top: 0; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.block:disabled:hover { background: var(--green); }
.thanks { display: none; padding: 24px 8px 12px; text-align: center; }
.thanks.open { display: block; }
.thanks h3 { margin-bottom: 10px; }
.thanks p { color: var(--muted); margin: 0; }

@media (max-width: 560px) {
  .modal-card { padding: 28px 18px 20px; border-radius: 14px; }
  .dial-trigger { padding: 0 8px 0 10px; }
}

.busy {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.busy.open { display: flex; }
.busy-card {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.progress-ring {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.progress-ring svg {
  display: block;
  transform: rotate(-90deg);
}
.progress-track,
.progress-value {
  fill: none;
  stroke-width: 6;
}
.progress-track { stroke: rgba(247, 144, 9, 0.18); }
.progress-value {
  stroke: var(--green);
  stroke-linecap: round;
  stroke-dasharray: 188.4;
  stroke-dashoffset: 188.4;
  transition: stroke-dashoffset 0.15s linear;
}
.progress-ring.is-indeterminate svg {
  animation: ringSpin 0.85s linear infinite;
}
.progress-ring.is-indeterminate .progress-value {
  stroke-dasharray: 188.4;
  stroke-dashoffset: 141.3;
  transition: none;
}
.progress-ring.is-indeterminate .progress-pct {
  display: none;
}
.progress-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
@keyframes ringSpin {
  from { transform: rotate(-90deg); }
  to { transform: rotate(270deg); }
}

.terms-page {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.terms-shell {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
  flex: 1;
}
.terms-shell > .kicker { margin-bottom: 12px; color: var(--quiet); }
.terms-shell > h1 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.terms-updated {
  margin: 0 0 28px;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.terms-doc {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.terms-block {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.terms-block:last-child { border-bottom: none; }
.terms-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  padding-top: 4px;
}
.terms-copy h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.terms-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  max-width: 62ch;
}
.terms-copy a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(20, 20, 20, 0.22);
  padding-bottom: 1px;
}
.terms-copy a:hover { color: var(--green); border-bottom-color: var(--green); }
.terms-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.terms-foot .legal { margin-top: 0; }

@media (max-width: 640px) {
  .terms-shell { width: min(100%, calc(100% - 32px)); padding: 36px 0 56px; }
  .terms-block { grid-template-columns: 36px 1fr; gap: 12px; padding: 22px 0; }
}

[dir="rtl"] .terms-block { direction: rtl; }

[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}
[dir="rtl"] .nav-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .logo { flex-direction: row-reverse; }
[dir="rtl"] .phone-row { direction: ltr; }
[dir="rtl"] .dial-trigger { border-radius: 10px 0 0 10px; }
[dir="rtl"] .phone-row > #phone { border-radius: 0 10px 10px 0 !important; }
[dir="rtl"] .opt-mark { margin-left: 0; margin-right: auto; }
[dir="rtl"] .modal-close { right: auto; left: 14px; }
[dir="rtl"] .legal-note { direction: rtl; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid, .cta-grid, .cap-grid, .detail, .cases, .steps, .foot { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
