:root {
  color-scheme: light dark;
  --carbon: #111827;
  --steel: #25313b;
  --muted: #5d6977;
  --line: #dbe2ea;
  --paper: #f8fafc;
  --white: #ffffff;
  --blue: #082b55;
  --green: #6dba3c;
  --green-dark: #356f1a;
  --shadow: 0 24px 80px rgb(17 24 39 / 14%);
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--carbon);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans CJK TC", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgb(219 226 234 / 78%);
  background: rgb(248 250 252 / 92%);
  backdrop-filter: blur(18px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 190px;
}

.brand > img,
.site-footer > div > img,
.admin-login > img {
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.footer-title {
  display: block;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: safe center;
  justify-self: center;
  color: #334155;
  font-size: 15px;
}

.nav-links a:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
.theme-toggle:focus-visible,
.footer-social a:focus-visible,
.footer-row:focus-visible {
  outline: 3px solid rgb(109 186 60 / 44%);
  outline-offset: 4px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--carbon);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  opacity: 0.62;
  padding: 0 1em;
  white-space: nowrap;
}

.theme-toggle:hover {
  background: rgb(17 24 39 / 5%);
  opacity: 1;
}

.theme-toggle-icon {
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  background: var(--green);
  color: #10220a;
}

.nav-cta:hover,
.button.primary:hover {
  background: #79c94a;
}

.nav-cta img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--carbon);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
  gap: clamp(24px, 5vw, 80px);
  min-height: calc(100vh - 86px);
  padding: clamp(38px, 6vw, 88px) clamp(20px, 6vw, 78px) 48px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 950;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--blue);
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #334155;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.live-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  justify-content: flex-end;
  margin-top: 30px;
}

.hero-actions .button {
  min-height: 58px;
  min-width: 180px;
  padding: 14px 24px;
  font-size: 18px;
}

.hero-actions .button.primary {
  box-shadow: 0 14px 30px rgb(109 186 60 / 26%);
}

.slogan-card {
  display: grid;
  gap: 4px;
  max-width: 640px;
  min-height: 92px;
  margin-top: 22px;
  border-left: 5px solid var(--green);
  background: var(--white);
  box-shadow: 0 14px 36px rgb(17 24 39 / 7%);
  padding: 16px 18px;
}

.slogan-card strong {
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.25;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  min-height: 36px;
  border: 1px solid #cfe3c4;
  border-radius: 8px;
  background: #f5fbf1;
  color: #315f18;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 850;
}

.live-strip {
  color: #415064;
  font-size: 14px;
  justify-content: center;
  margin-top: 18px;
}

.live-strip span {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 6px 10px;
}

.live-strip b {
  color: var(--carbon);
}

.hero-visual {
  justify-self: center;
  width: min(100%, 500px);
}

.hero-visual img {
  width: min(100%, 420px);
  margin: 0 auto;
  border-radius: 28px;
  filter: drop-shadow(0 30px 60px rgb(8 43 85 / 14%));
  object-fit: contain;
}

.assurance-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.assurance-heading {
  max-width: 500px;
}

.assurance-heading .eyebrow {
  font-size: 15px;
}

.assurance-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.14;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.assurance-grid article {
  min-height: 230px;
  border: 1px solid #d8e4d1;
  border-radius: 8px;
  background: #f8fbf5;
  padding: 24px;
}

.assurance-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: #10220a;
  font-size: 14px;
  font-weight: 900;
}

.assurance-grid h3 {
  margin: 22px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.assurance-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.trust-scenes {
  background: var(--paper);
}

.trust-scenes .section-heading p:last-child {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.trust-scenes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.trust-scenes figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgb(17 24 39 / 8%);
}

.trust-scene-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.trust-scenes img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.trust-scene-main {
  height: calc(374px + 6em);
}

.trust-scene-stack {
  display: grid;
  gap: 16px;
}

.trust-scene-stack figure {
  height: calc(179px + 3em);
}

.trust-scenes figcaption {
  position: absolute;
  right: 14px;
  bottom: 6px;
  left: 14px;
  display: block;
  border-radius: 8px;
  background: rgb(15 23 42 / 86%);
  color: var(--white);
  padding: 9px 12px;
}

.trust-scenes figcaption strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrival-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #cfe3c4;
  border-radius: 8px;
  background: #f8fbf5;
  padding: 18px;
}

.arrival-note h3 {
  margin: 0;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.15;
}

.arrival-note ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: var(--steel);
  font-weight: 750;
}

.trust-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  background: rgb(2 6 23 / 94%);
  color: var(--white);
  padding: clamp(18px, 4vw, 48px);
}

.trust-lightbox[open] {
  display: grid;
  place-items: center;
}

.trust-lightbox::backdrop {
  background: rgb(2 6 23 / 72%);
}

.trust-lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgb(0 0 0 / 48%);
  cursor: zoom-out;
  object-fit: contain;
}

.trust-lightbox-caption {
  position: fixed;
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(16px, 3vw, 34px);
  left: clamp(18px, 4vw, 48px);
  display: grid;
  gap: 4px;
  margin: 0 auto;
  max-width: 920px;
  border-radius: 8px;
  background: rgb(15 23 42 / 72%);
  color: #e2e8f0;
  padding: 10px 14px;
  text-align: center;
}

.trust-lightbox-caption strong {
  color: var(--white);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.trust-lightbox-caption span {
  color: #e2e8f0;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  line-height: 1.45;
}

.trust-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  min-height: 42px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(15 23 42 / 74%);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 8px 12px;
}

.trust-lightbox-arrow {
  position: fixed;
  top: 50%;
  display: grid;
  width: clamp(44px, 5vw, 62px);
  height: clamp(44px, 5vw, 62px);
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(15 23 42 / 64%);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
}

.trust-lightbox-arrow.prev {
  left: clamp(12px, 3vw, 34px);
}

.trust-lightbox-arrow.next {
  right: clamp(12px, 3vw, 34px);
}

.trust-lightbox-arrow:hover,
.trust-lightbox-close:hover {
  background: rgb(15 23 42 / 90%);
}

.section {
  padding: clamp(56px, 7vw, 100px) clamp(20px, 6vw, 78px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2,
.intro-band h2,
.split-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.12;
}

.assurance-section .assurance-heading h2 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.14;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li,
.service-card,
.case-card,
.inventory-list article,
.admin-modules article {
  border-radius: 8px;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
  font-weight: 750;
}

.flow-list span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 12px 30px rgb(17 24 39 / 5%);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e8f5df;
  color: #315f18;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.case-card h3,
.admin-modules h2 {
  margin: 0 0 8px;
  line-height: 1.25;
}

.service-card p,
.case-card p,
.split-section p,
.admin-login p,
.admin-modules p {
  margin: 0;
  color: var(--muted);
}

.dark-section {
  background: var(--carbon);
  color: var(--white);
}

.dark-section .eyebrow {
  color: #9fe06d;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  min-height: 250px;
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 6%);
  padding: 22px;
}

.case-card > p:first-child,
.case-card span {
  color: #9fe06d;
  font-size: 13px;
  font-weight: 850;
}

.case-card p:last-child {
  color: #cbd5e1;
  margin-top: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
}

.inventory-list {
  display: grid;
  gap: 12px;
}

.inventory-list article {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 16px;
}

.inventory-list span {
  color: var(--muted);
}

.inventory-list a {
  color: var(--green-dark);
  font-weight: 850;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-list details {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgb(17 24 39 / 5%);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.3;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--green-dark);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  padding: 16px 20px 20px;
}

.map-section {
  background: var(--white);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.map-card {
  display: grid;
  gap: 12px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.map-card h3,
.map-card p {
  margin: 0;
}

.map-card h3 {
  font-size: 28px;
  line-height: 1.2;
}

.map-card p {
  color: var(--muted);
  font-weight: 750;
}

.map-preview {
  display: grid;
  gap: 10px;
  align-content: center;
  min-height: 360px;
  border: 1px solid #cfe3c4;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(109 186 60 / 8%) 1px, transparent 1px),
    linear-gradient(rgb(109 186 60 / 8%) 1px, transparent 1px),
    #f8fbf5;
  background-size: 42px 42px;
  color: var(--carbon);
  padding: clamp(24px, 5vw, 48px);
}

.map-preview span {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

.map-preview strong {
  color: var(--blue);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

.map-preview em {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 38px clamp(20px, 6vw, 78px);
  background: #0f172a;
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: #cbd5e1;
}

.footer-contact {
  display: grid;
  gap: 12px;
  align-content: center;
}

.footer-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footer-social a,
.footer-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 8px;
  padding: 10px 12px;
  color: #e2e8f0;
}

.footer-social img,
.footer-row img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.footer-social span,
.footer-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.social-line {
  border-color: rgb(6 199 85 / 42%);
  background: rgb(6 199 85 / 10%);
}

.admin-body {
  min-height: 100vh;
  background: #101827;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 56px);
}

.admin-login-shell .admin-login {
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  text-align: center;
  width: min(100%, 430px);
}

.admin-login-shell .admin-login > img {
  margin: 0 auto 4px;
}

.admin-login-shell .admin-login .button {
  margin-top: 18px;
}

.admin-login-tools {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 18px;
}

.admin-login-shell .admin-login-tools {
  justify-content: center;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 22px;
  min-height: 100vh;
  padding: clamp(22px, 5vw, 56px);
}

.admin-login,
.admin-modules article {
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 8%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.admin-login {
  align-self: start;
  padding: 30px;
  border-radius: 8px;
}

.admin-login h1 {
  margin: 8px 0;
  font-size: 40px;
  line-height: 1.1;
}

.admin-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-main {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.admin-role-line span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 850;
}

.admin-role-line span {
  border: 1px solid rgb(159 224 109 / 36%);
  background: rgb(159 224 109 / 12%);
  color: #cbf4ad;
}

.admin-panel,
.admin-alert {
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  background: rgb(255 255 255 / 8%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.admin-panel {
  min-width: 0;
  padding: 22px;
}

.admin-alert {
  margin: 0;
  padding: 12px 14px;
  font-weight: 750;
}

.admin-alert.success {
  border-color: rgb(159 224 109 / 34%);
  background: rgb(109 186 60 / 16%);
}

.admin-alert.error {
  border-color: rgb(248 113 113 / 36%);
  background: rgb(127 29 29 / 22%);
}

.admin-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-panel-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.admin-panel-heading > span {
  color: #9fe06d;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(160px, 0.8fr) minmax(150px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(15 23 42 / 34%);
  padding: 12px;
}

.admin-form-grid label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-form-grid label.wide {
  grid-column: span 2;
}

.admin-form-grid label span {
  color: #9fe06d;
  font-size: 12px;
  font-weight: 850;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.role-form select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  font: inherit;
  padding: 6px 9px;
}

.admin-form-grid textarea {
  resize: vertical;
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  color: #e2e8f0;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #9fe06d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table code {
  display: inline-block;
  max-width: 320px;
  overflow: hidden;
  color: #cbd5e1;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.admin-table.compact {
  min-width: 920px;
  font-size: 13px;
}

.status-pill.ok {
  background: rgb(34 197 94 / 16%);
  color: #bbf7d0;
}

.status-pill.danger {
  background: rgb(248 113 113 / 18%);
  color: #fecaca;
}

.muted-text {
  color: #94a3b8;
  font-size: 13px;
}

.inline-form {
  display: inline;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 250px;
}

.role-form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.role-form select {
  width: 150px;
}

.mini-button {
  min-width: 60px;
  min-height: 34px;
  border: 1px solid rgb(159 224 109 / 34%);
  border-radius: 8px;
  background: rgb(159 224 109 / 14%);
  color: #dcfce7;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.mini-button.danger {
  border-color: rgb(248 113 113 / 36%);
  background: rgb(248 113 113 / 12%);
  color: #fecaca;
}

.mini-button.invite {
  min-width: 102px;
  color: #10220a;
  background: var(--green);
}

.mini-button:hover {
  filter: brightness(1.12);
}

.admin-modules article {
  padding: 22px;
}

.admin-modules span {
  color: #9fe06d;
  font-size: 12px;
  font-weight: 850;
}

html[data-theme="dark"] body {
  background: #0b1220;
  color: #e5e7eb;
}

html[data-theme="dark"] .site-header {
  border-bottom-color: rgb(148 163 184 / 22%);
  background: rgb(15 23 42 / 92%);
}

html[data-theme="dark"] .brand small,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .live-strip,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .split-section p,
html[data-theme="dark"] .inventory-list span,
html[data-theme="dark"] .faq-list p,
html[data-theme="dark"] .map-card p,
html[data-theme="dark"] .map-preview em {
  color: #cbd5e1;
}

html[data-theme="dark"] .nav-links {
  color: #cbd5e1;
}

html[data-theme="dark"] .button.secondary {
  border-color: rgb(148 163 184 / 28%);
  background: #111827;
  color: #e5e7eb;
}

html[data-theme="dark"] .theme-toggle {
  background: transparent;
  color: #e5e7eb;
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgb(255 255 255 / 8%);
}

html[data-theme="dark"] .slogan-card,
html[data-theme="dark"] .live-strip span,
html[data-theme="dark"] .assurance-section,
html[data-theme="dark"] .intro-band,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .trust-scenes figure,
html[data-theme="dark"] .split-section,
html[data-theme="dark"] .faq-list details,
html[data-theme="dark"] .map-section {
  border-color: rgb(148 163 184 / 22%);
  background: #111827;
}

html[data-theme="dark"] .flow-list li,
html[data-theme="dark"] .inventory-list article,
html[data-theme="dark"] .map-card {
  border-color: rgb(148 163 184 / 22%);
  background: #0f172a;
}

html[data-theme="dark"] .trust-list li,
html[data-theme="dark"] .assurance-grid article,
html[data-theme="dark"] .service-icon {
  border-color: rgb(159 224 109 / 30%);
  background: rgb(109 186 60 / 12%);
  color: #cbf4ad;
}

html[data-theme="dark"] .assurance-grid p {
  color: #cbd5e1;
}

html[data-theme="dark"] .faq-section {
  background: #0b1220;
}

html[data-theme="dark"] .trust-scenes {
  background: #0b1220;
}

html[data-theme="dark"] .trust-scenes .section-heading p:last-child,
html[data-theme="dark"] .arrival-note ul {
  color: #cbd5e1;
}

html[data-theme="dark"] .arrival-note {
  border-color: rgb(159 224 109 / 30%);
  background: #0f172a;
}

html[data-theme="dark"] .arrival-note h3 {
  color: #8fc6ff;
}

html[data-theme="dark"] .map-preview {
  border-color: rgb(159 224 109 / 30%);
  background:
    linear-gradient(90deg, rgb(159 224 109 / 8%) 1px, transparent 1px),
    linear-gradient(rgb(159 224 109 / 8%) 1px, transparent 1px),
    #0f172a;
  color: #e5e7eb;
}

html[data-theme="dark"] .hero h1 span:last-child,
html[data-theme="dark"] .slogan-card strong,
html[data-theme="dark"] .map-preview strong {
  color: #8fc6ff;
}

html[data-theme="dark"] .live-strip b {
  color: #f8fafc;
}

html[data-theme="dark"] .site-footer {
  background: #020617;
}

html[data-theme="light"] .admin-body {
  background: var(--paper);
  color: var(--carbon);
}

html[data-theme="light"] .admin-login,
html[data-theme="light"] .admin-modules article,
html[data-theme="light"] .admin-panel,
html[data-theme="light"] .admin-alert {
  border-color: var(--line);
  background: var(--white);
  color: var(--carbon);
  box-shadow: 0 18px 60px rgb(17 24 39 / 10%);
}

html[data-theme="light"] .admin-login p,
html[data-theme="light"] .admin-modules p,
html[data-theme="light"] .muted-text {
  color: var(--muted);
}

html[data-theme="light"] .admin-form-grid {
  border-color: var(--line);
  background: #f1f5f9;
}

html[data-theme="light"] .admin-form-grid input,
html[data-theme="light"] .admin-form-grid select,
html[data-theme="light"] .admin-form-grid textarea,
html[data-theme="light"] .role-form select {
  border-color: var(--line);
  background: var(--white);
  color: var(--carbon);
}

html[data-theme="light"] .admin-table {
  color: var(--steel);
}

html[data-theme="light"] .admin-table th {
  color: var(--green-dark);
}

html[data-theme="light"] .admin-table td,
html[data-theme="light"] .admin-table th {
  border-bottom-color: var(--line);
}

html[data-theme="light"] .admin-table code {
  color: #475569;
}

html[data-theme="light"] .admin-role-line span {
  color: #315f18;
}

html[data-theme="light"] .status-pill.ok {
  color: #166534;
}

html[data-theme="light"] .status-pill.danger {
  color: #991b1b;
}

html[data-theme="light"] .mini-button {
  color: #315f18;
}

html[data-theme="light"] .mini-button.danger {
  color: #991b1b;
}

html[data-theme="light"] .theme-toggle {
  background: transparent;
  color: var(--carbon);
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: safe center;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions {
    gap: 4px;
    grid-column: 2;
    grid-row: 1;
  }

  .hero,
  .intro-band,
  .split-section,
  .map-layout,
  .trust-scenes-grid,
  .site-footer,
  .assurance-section,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-visual {
    max-width: 420px;
  }

  .hero-actions,
  .trust-list {
    justify-content: flex-start;
  }

  .hero-actions .button {
    min-width: 168px;
  }

  .service-grid,
  .case-grid,
  .faq-list,
  .assurance-grid,
  .admin-form-grid,
  .admin-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-list article,
  .arrival-note,
  .footer-social {
    grid-template-columns: 1fr 1fr;
  }

  .arrival-note {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand > img {
    width: 48px;
    height: 48px;
  }

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

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
    line-height: 1.2;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-cta {
    width: auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .nav-cta img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .theme-toggle {
    width: auto;
    min-height: 38px;
    font-size: 16px;
    padding: 0 1em;
  }

  .hero h1 {
    font-size: 36px;
  }

  .trust-scene-main,
  .trust-scene-stack figure {
    height: calc(214px + 3em);
  }

  .trust-scenes img {
    min-height: 0;
  }

  .trust-lightbox {
    padding: 14px;
  }

  .trust-lightbox img {
    max-height: 72vh;
  }

  .trust-lightbox-arrow {
    top: auto;
    bottom: 92px;
    width: 44px;
    height: 44px;
    transform: none;
  }

  .trust-lightbox-caption {
    bottom: 14px;
  }

  .hero-actions .button,
  .service-grid,
  .case-grid,
  .faq-list,
  .assurance-grid,
  .admin-form-grid,
  .inventory-list article,
  .arrival-note,
  .footer-social,
  .admin-modules {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-form-grid label.wide {
    grid-column: auto;
  }

  .hero-actions .button {
    display: flex;
    min-width: 0;
    width: 100%;
  }

  .hero-visual img {
    width: min(100%, 290px);
  }

}
