/* ============================================================
   Kisab public landing site — design system
   Visual language mirrors the Kisab Android app (UX-09):
   deep agricultural green, neutral surfaces, calm, farmer-first.
   ============================================================ */

:root {
  --bg: #FBFDF8;
  --surface: #FFFFFF;
  --surface-soft: #F4F9F4;
  --surface-soft-2: #F1F8E9;
  --ink: #14271B;
  --ink-soft: #3D5445;
  --ink-muted: #5C6F62;
  --line: #D8E4C8;
  --line-strong: #A5C889;
  --primary: #2E7D32;
  --primary-strong: #1B5E20;
  --primary-ink: #FFFFFF;
  --accent-mint-bg: #E8F5E9;
  --accent-mint-line: #A5D6A7;
  --accent-mint-ink: #1B5E20;
  --accent-rose-bg: #FFEBEE;
  --accent-rose-line: #EF9A9A;
  --accent-rose-ink: #8E2A2A;
  --focus: #1B5E20;
  --shadow: 0 10px 30px rgba(27, 94, 32, 0.08);
  --shadow-sm: 0 4px 14px rgba(27, 94, 32, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
  --container-w: 1120px;
}

:root[data-theme="dark"] {
  --bg: #0D1710;
  --surface: #14241A;
  --surface-soft: #162A1B;
  --surface-soft-2: #1B2E20;
  --ink: #EAF2E9;
  --ink-soft: #C0D2C0;
  --ink-muted: #9FB5A0;
  --line: #2E4A34;
  --line-strong: #3D5A46;
  --primary: #66BB6A;
  --primary-strong: #A5D6A7;
  --primary-ink: #0D1710;
  --accent-mint-bg: #1C2E20;
  --accent-mint-line: #2E5434;
  --accent-mint-ink: #C8E6C9;
  --accent-rose-bg: #2E1C1C;
  --accent-rose-line: #542E2E;
  --accent-rose-ink: #F3C6C6;
  --focus: #A5D6A7;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans", "Noto Sans Devanagari", "Mukta", system-ui,
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ne"] body {
  line-height: 1.7;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
}

html[lang="ne"] h1,
html[lang="ne"] h2,
html[lang="ne"] h3,
html[lang="ne"] h4 {
  line-height: 1.45;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.link {
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary-strong);
  color: var(--primary-ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 760px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  min-height: 48px;
  padding: 0 6px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: block;
  border-radius: 10px;
}

.site-nav {
  margin-left: auto;
}

.site-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.site-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}

.site-nav-list a:hover {
  background: var(--surface-soft);
  color: var(--ink);
  text-decoration: none;
}

.site-nav-list a.nav-active {
  color: var(--primary-strong);
  background: var(--accent-mint-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.lang-switch:hover {
  border-color: var(--primary-strong);
  color: var(--primary-strong);
  text-decoration: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 18px;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--primary-strong);
  color: var(--primary-strong);
}

.theme-toggle-sun,
.theme-toggle-moon {
  line-height: 1;
}

:root[data-theme="dark"] .theme-toggle-sun {
  display: inline;
}

:root[data-theme="dark"] .theme-toggle-moon {
  display: none;
}

.theme-toggle-sun {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, transform 0.1s ease;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 26px;
  font-size: 17px;
}

.btn-primary {
  background: var(--primary-strong);
  color: var(--primary-ink);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--primary-ink);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--primary-strong);
  color: var(--primary-strong);
  text-decoration: none;
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin-bottom: 0.4em;
}

.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--surface-soft-2);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-strong);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 0.45em;
}

html[lang="ne"] .hero-title {
  line-height: 1.32;
}

.hero-lead {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-mint-bg);
  border: 1px solid var(--accent-mint-line);
  color: var(--accent-mint-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-small {
  font-size: 12px;
  padding: 2px 9px;
  margin-left: 6px;
  vertical-align: 1px;
}

/* ---------- Phone previews ---------- */
.hero-phones {
  min-width: 0;
}

.phone-section-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 228px;
  aspect-ratio: 9 / 19;
  border-radius: 30px;
  border: 10px solid #101A12;
  background: #101A12;
  box-shadow: 0 18px 40px rgba(16, 26, 18, 0.28);
  padding: 6px;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #FFFFFF;
  color: #14271B;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 9px;
  overflow: hidden;
  font-family: "Noto Sans", "Noto Sans Devanagari", system-ui, sans-serif;
}

.phone figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  text-align: center;
  max-width: 228px;
}

/* phone mock elements */
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1px solid #E3ECDC;
}

.mock-logo {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #2E7D32;
  flex: none;
}

.mock-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-h {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1B5E20;
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.mock-metric {
  background: #F4F9F4;
  border: 1px solid #D0E4D2;
  border-radius: 8px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mock-k {
  font-size: 8.5px;
  color: #5C6F62;
  line-height: 1.2;
}

.mock-v {
  font-size: 12px;
  font-weight: 800;
  color: #14271B;
  line-height: 1.2;
}

.mock-attention {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.mock-pill {
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 9.5px;
  font-weight: 700;
  border: 1px solid;
}

.mock-pill-rcv {
  background: #E8F5E9;
  border-color: #A5D6A7;
  color: #1B5E20;
}

.mock-pill-pay {
  background: #FFEBEE;
  border-color: #EF9A9A;
  color: #8E2A2A;
}

.mock-pill-k {
  font-size: 8.5px;
  font-weight: 700;
  opacity: 0.85;
}

.mock-pill-v {
  font-size: 12px;
  font-weight: 800;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #3D5445;
  padding: 4px 6px;
  background: #FBFDF8;
  border: 1px solid #E3ECDC;
  border-radius: 7px;
}

.mock-row b {
  color: #14271B;
  font-weight: 800;
  white-space: nowrap;
}

.mock-party {
  padding: 6px;
}

.mock-party-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-weight: 700;
  color: #14271B;
}

.mock-role {
  font-size: 8.5px;
  font-weight: 600;
  color: #5C6F62;
}

.mock-badge {
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid;
  white-space: nowrap;
}

.mock-badge-rcv {
  background: #E8F5E9;
  border-color: #A5D6A7;
  color: #1B5E20;
}

.mock-badge-pay {
  background: #FFEBEE;
  border-color: #EF9A9A;
  color: #8E2A2A;
}

.mock-khata-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  color: #3D5445;
}

.mock-khata-line b {
  color: #14271B;
  font-weight: 800;
  white-space: nowrap;
}

.mock-muted {
  color: #5C6F62;
  font-size: 8.5px;
}

.mock-search {
  font-size: 9.5px;
  color: #5C6F62;
  background: #F4F9F4;
  border: 1px solid #D0E4D2;
  border-radius: 8px;
  padding: 6px 8px;
}

.mock-equation {
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  background: #F1F8E9;
  color: #1B5E20;
  border-radius: 7px;
  padding: 5px;
  line-height: 1.3;
}

.mock-sheet {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #FBFDF8;
  border: 1px solid #E3ECDC;
  border-radius: 10px;
  padding: 8px;
}

.mock-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #3D5445;
  background: #FFFFFF;
  border: 1px solid #E3ECDC;
  border-radius: 7px;
  padding: 6px;
}

.mock-flow-i {
  font-weight: 800;
  color: #2E7D32;
}

.mock-navbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr;
  gap: 3px;
  background: #F1F8E9;
  border-radius: 10px;
  padding: 4px;
}

.mock-nav {
  font-size: 9px;
  font-weight: 600;
  color: #5C6F62;
  text-align: center;
  padding: 4px 0;
  border-radius: 7px;
  line-height: 1.2;
}

.mock-nav.active {
  background: #FFFFFF;
  color: #1B5E20;
  font-weight: 800;
}

.mock-add {
  width: 20px;
  height: 20px;
  margin: 1px auto 0;
  background: #2E7D32;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
}

.mock-add.active {
  background: #1B5E20;
  box-shadow: 0 0 0 2px #C8E6C9;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.feature-group {
  margin-bottom: 40px;
}

.group-title {
  font-size: 1.35rem;
  margin-bottom: 0.2em;
}

.group-intro {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-text {
  color: var(--ink-soft);
  margin: 0;
}

.tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-strong);
  background: var(--accent-mint-bg);
  border: 1px solid var(--accent-mint-line);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* ---------- Split / status ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-mint-bg);
  border: 2px solid var(--accent-mint-line);
  box-shadow: inset 0 0 0 4px var(--surface-soft);
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
}

.status-title {
  font-size: 16px;
  color: var(--ink);
}

.status-text {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: var(--primary-strong);
  border-color: transparent;
  color: var(--primary-ink);
  padding: 40px 28px;
}

.cta-title {
  color: var(--primary-ink);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  margin-bottom: 0.4em;
}

.cta-text {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta .btn-primary {
  background: var(--primary-ink);
  color: var(--primary-strong);
}

.cta .btn-primary:hover {
  background: var(--surface-soft);
}

.cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--primary-ink);
}

.cta .btn-secondary:hover {
  border-color: var(--primary-ink);
  color: var(--primary-ink);
}

/* ---------- Page head ---------- */
.page-head {
  padding-bottom: 16px;
}

.page-title {
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}

.page-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46em;
}

.note-note {
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.note-note strong {
  color: var(--ink);
}

/* ---------- Download / release card ---------- */
.release-card {
  max-width: 640px;
  margin: 0 auto;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.fact dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.fact dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.fact-sha {
  margin-bottom: 20px;
}

.fact-sha span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 700;
}

code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    monospace;
  font-size: 0.92em;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  word-break: break-all;
}

.sha {
  font-size: 13px;
  word-break: break-all;
  display: inline-block;
  padding: 6px 10px;
}

.release-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.release-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}

.callout {
  background: var(--accent-mint-bg);
  border-color: var(--accent-mint-line);
  margin-bottom: 28px;
}

.callout p {
  margin: 0;
  color: var(--accent-mint-ink);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  position: relative;
  padding: 16px 18px 16px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-strong);
  color: var(--primary-ink);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps {
  counter-reset: step;
}

.step-title {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.step-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Release table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 20px;
}

.release-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.release-table th,
.release-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.release-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  background: var(--surface-soft);
}

.release-table tbody tr:last-child th,
.release-table tbody tr:last-child td {
  border-bottom: none;
}

.release-table tbody th {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.sha-cell {
  display: inline-block;
  max-width: 220px;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.no-claims-note {
  font-size: 14px;
  color: var(--ink-muted);
  border-top: 1px dashed var(--line-strong);
  padding-top: 16px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-q {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 20px 16px 52px;
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::before {
  content: "+";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-mint-bg);
  border: 1px solid var(--accent-mint-line);
  color: var(--accent-mint-ink);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item[open] .faq-q::before {
  content: "−";
}

.faq-a {
  padding: 0 20px 18px 52px;
  color: var(--ink-soft);
}

.faq-a p {
  margin: 0;
}

.more-help {
  margin-top: 28px;
  text-align: center;
  font-size: 17px;
}

/* ---------- Privacy ---------- */
.privacy-section {
  margin-bottom: 30px;
}

.privacy-title {
  font-size: 1.3rem;
  margin-bottom: 0.35em;
}

.privacy-body {
  color: var(--ink-soft);
  margin: 0;
}

.privacy-updated {
  color: var(--ink-muted);
  margin-top: 40px;
}

/* ---------- Support ---------- */
.support-card {
  margin-bottom: 18px;
}

.support-title {
  font-size: 1.25rem;
  margin-bottom: 0.3em;
}

.support-text {
  color: var(--ink-soft);
}

.support-email {
  font-weight: 700;
}

.repo-note {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-soft-2);
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-note {
  margin: 0;
  font-weight: 600;
}

.footer-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-weight: 600;
}

.footer-nav span {
  color: var(--ink-muted);
}

.footer-copy {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .phone-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav-list {
    display: none;
    flex-direction: column;
    padding: 10px 20px 16px;
  }

  .site-nav-list.is-open {
    display: flex;
  }

  .site-nav-list a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .lang-switch {
    padding: 8px 10px;
    font-size: 14px;
  }

  .phone-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .phone-frame {
    max-width: 190px;
    border-width: 8px;
  }

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

  .header-actions {
    gap: 6px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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