/* KIRU 80 — premium trust centre, legal boundary and security-status layer. */
.kiru-trust80 .k80-site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(230px, .9fr) minmax(300px, 1.15fr);
  gap: 26px 34px;
  align-items: center;
  margin: 76px 0 10px;
  padding: 30px 32px 24px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, #735be3 18%);
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 0%, rgba(184, 255, 37, .07), transparent 30%),
    radial-gradient(circle at 92% 100%, rgba(115, 91, 227, .10), transparent 34%),
    color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 20px 58px rgba(3, 2, 12, .18);
  overflow: hidden;
}

.kiru-trust80 .k80-site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #b8ff25, #ff5fcf 55%, #735be3);
  opacity: .88;
}

.k80-footer-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.k80-footer-brand img { display: block; width: 112px; height: 38px; object-fit: contain; object-position: left center; }
.k80-footer-brand p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.k80-footer-status { display: flex; align-items: center; gap: 12px; min-width: 0; }
.k80-footer-status > i { flex: 0 0 auto; width: 10px; height: 10px; border: 2px solid color-mix(in srgb, #b8ff25 65%, var(--surface)); border-radius: 50%; background: #b8ff25; box-shadow: 0 0 0 6px rgba(184, 255, 37, .07), 0 0 18px rgba(184, 255, 37, .22); }
.k80-footer-status span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.k80-footer-status b { color: var(--text); font: 800 10px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .13em; }
.k80-footer-status small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.k80-site-footer nav { display: flex; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.k80-site-footer nav a,
.k80-site-footer nav button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, #735be3 12%);
  border-radius: 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
  font: 700 11px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.k80-site-footer nav a:hover,
.k80-site-footer nav button:hover { border-color: color-mix(in srgb, #b8ff25 42%, var(--line)); color: var(--text); }
.k80-site-footer nav a:focus-visible,
.k80-site-footer nav button:focus-visible { outline: 2px solid #b8ff25; outline-offset: 2px; }
.k80-footer-meta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); color: color-mix(in srgb, var(--muted) 82%, transparent); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

body.kiru-trust80 dialog.app-dialog.k80-trust-dialog {
  width: min(1040px, calc(100vw - 40px));
  height: min(760px, calc(100dvh - 42px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
}
.k80-trust-dialog::backdrop { background: rgba(4, 3, 13, .78); backdrop-filter: blur(16px) saturate(1.1); }
body.kiru-trust80 dialog.k80-trust-dialog > .k80-trust-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0 !important;
  border-radius: 28px;
  border-color: color-mix(in srgb, var(--line) 76%, #735be3 24%);
  background: color-mix(in srgb, var(--surface) 97%, #0d0b1d 3%);
  box-shadow: 0 38px 110px rgba(2, 1, 10, .58), inset 0 1px 0 rgba(255, 255, 255, .055);
  overflow: hidden;
}
body.kiru-trust80 dialog.k80-trust-dialog > .k80-trust-shell > .ui-dialog-bar { display: none !important; }
.k80-trust-head { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.k80-trust-head::after { content: ""; position: absolute; inset: auto 24px -1px; height: 2px; background: linear-gradient(90deg, #b8ff25, #ff5fcf 52%, #735be3); opacity: .75; }
.k80-trust-head > div { display: flex; align-items: center; gap: 15px; }
.k80-shield { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(184, 255, 37, .34); border-radius: 15px; color: #b8ff25; background: rgba(184, 255, 37, .07); font-size: 25px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.k80-trust-head small { display: block; margin-bottom: 5px; color: #b8ff25; font: 800 9px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; }
.k80-trust-head h2 { margin: 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.045em; }
.k80-trust-head > button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface-2); font-size: 24px; cursor: pointer; }
.k80-trust-head > button:hover { border-color: rgba(184, 255, 37, .38); }

.k80-trust-layout { display: grid; grid-template-columns: 214px minmax(0, 1fr); min-height: 0; }
.k80-trust-layout > nav { display: flex; min-height: 0; padding: 18px 14px; border-right: 1px solid var(--line); flex-direction: column; gap: 6px; background: color-mix(in srgb, var(--bg) 42%, transparent); }
.k80-trust-layout > nav > button { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: center; min-height: 48px; padding: 7px 10px; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; text-align: left; cursor: pointer; }
.k80-trust-layout > nav > button i { color: color-mix(in srgb, var(--muted) 72%, transparent); font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .08em; }
.k80-trust-layout > nav > button span { font-size: 12px; font-weight: 760; }
.k80-trust-layout > nav > button[aria-selected="true"] { border-color: rgba(184, 255, 37, .21); color: var(--text); background: linear-gradient(90deg, rgba(184, 255, 37, .10), rgba(115, 91, 227, .035)); }
.k80-trust-layout > nav > button[aria-selected="true"] i { color: #b8ff25; }
.k80-trust-layout > nav > button:focus-visible { outline: 2px solid #b8ff25; outline-offset: 1px; }
.k80-local-seal { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 10px 4px; border-top: 1px solid var(--line); }
.k80-local-seal > i { width: 8px; height: 8px; border-radius: 50%; background: #b8ff25; box-shadow: 0 0 13px rgba(184, 255, 37, .42); }
.k80-local-seal span { display: flex; flex-direction: column; gap: 4px; }
.k80-local-seal b { color: var(--text); font: 800 8px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; }
.k80-local-seal small { color: var(--muted); font-size: 9px; line-height: 1.3; }

.k80-trust-content { min-height: 0; padding: 42px clamp(24px, 5vw, 58px) 54px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.k80-trust-content [hidden] { display: none !important; }
.k80-trust-content [role="tabpanel"] { max-width: 750px; }
.k80-eyebrow { margin: 0 0 11px; color: #b8ff25; font: 850 10px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .17em; }
.k80-trust-content [role="tabpanel"] > h3 { max-width: 690px; margin: 0 0 17px; color: var(--text); font-size: clamp(31px, 4vw, 52px); line-height: .98; letter-spacing: -.055em; }
.k80-lead { max-width: 690px; margin: 0 0 34px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.k80-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.k80-fact-grid article,
.k80-boundary-grid article { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: color-mix(in srgb, var(--surface-2) 64%, transparent); }
.k80-fact-grid span,
.k80-boundary-grid span { display: block; margin-bottom: 10px; color: #ff5fcf; font: 800 9px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; }
.k80-fact-grid b { display: block; margin-bottom: 8px; color: var(--text); font-size: 15px; }
.k80-fact-grid p,
.k80-reading p,
.k80-terms-list p,
.k80-service-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.58; }
.k80-reading { margin-top: 14px; padding: 20px; border: 1px solid rgba(115, 91, 227, .26); border-radius: 17px; background: linear-gradient(135deg, rgba(115, 91, 227, .10), rgba(255, 95, 207, .025)); }
.k80-reading h3 { margin: 0 0 8px; color: var(--text); font-size: 16px; }
.k80-reading button { display: inline-flex; gap: 10px; align-items: center; margin-top: 15px; padding: 11px 14px; border: 1px solid rgba(184, 255, 37, .28); border-radius: 10px; color: var(--text); background: rgba(184, 255, 37, .08); font-weight: 760; cursor: pointer; }
.k80-reading button i { color: #b8ff25; font-style: normal; }

.k80-terms-list { display: grid; gap: 9px; }
.k80-terms-list article { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 15px 16px; border-top: 1px solid var(--line); }
.k80-terms-list article > i { color: #735be3; font: 850 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; }
.k80-terms-list h3 { margin: 0 0 5px; color: var(--text); font-size: 14px; }
.k80-boundary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.k80-boundary-grid article.ready { border-color: rgba(184, 255, 37, .22); }
.k80-boundary-grid article.ready span { color: #b8ff25; }
.k80-boundary-grid ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.k80-service-list { display: grid; gap: 9px; }
.k80-service-list article { display: grid; grid-template-columns: 94px 1fr auto; gap: 14px; align-items: center; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface-2) 48%, transparent); }
.k80-service-list article > span { color: #b8ff25; font: 800 9px/1.2 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .12em; }
.k80-service-list b { display: block; margin-bottom: 4px; color: var(--text); font-size: 13px; }
.k80-service-list em { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 750 8px/1 Inter, ui-sans-serif, system-ui, sans-serif; font-style: normal; letter-spacing: .09em; white-space: nowrap; }
.k80-policy-note { margin: 18px 0 0; padding-left: 13px; border-left: 2px solid #ff5fcf; color: var(--muted); font-size: 11px; line-height: 1.55; }
.k80-trust-foot { display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 52px; padding: 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.k80-trust-foot a { color: var(--text); font-weight: 730; text-decoration: none; }
.k80-trust-foot a i { color: #b8ff25; font-style: normal; }

.s74-k80-trust-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .75fr); gap: 24px; margin-top: 16px; padding: 24px; border: 1px solid rgba(115, 91, 227, .28); border-radius: 20px; background: linear-gradient(135deg, rgba(115, 91, 227, .09), rgba(184, 255, 37, .025)); }
.s74-k80-trust-card span { color: #b8ff25; font: 850 9px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; }
.s74-k80-trust-card h3 { margin: 8px 0; color: var(--text); font-size: 21px; }
.s74-k80-trust-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.s74-k80-trust-card > div:last-child { display: grid; gap: 7px; }
.s74-k80-trust-card button { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: color-mix(in srgb, var(--surface-2) 72%, transparent); font-size: 11px; font-weight: 740; cursor: pointer; }
.s74-k80-trust-card button i { color: #b8ff25; font-style: normal; }

body.light.kiru-trust80 .k80-site-footer,
body.light .k80-trust-shell { background: rgba(255, 255, 255, .96); box-shadow: 0 24px 70px rgba(61, 48, 117, .12), inset 0 1px 0 #fff; }
body.light .k80-trust-layout > nav { background: #f6f3ff; }
body.light .k80-shield,
body.light .k80-trust-layout > nav > button[aria-selected="true"],
body.light .k80-reading { color: #2d2453; background: linear-gradient(135deg, rgba(115, 91, 227, .09), rgba(255, 95, 207, .025)); }
body.light .k80-eyebrow,
body.light .k80-local-seal b,
body.light .k80-service-list article > span,
body.light .k80-footer-status b,
body.light .s74-k80-trust-card span { color: #5944bb; }

@media (max-width: 980px) {
  .kiru-trust80 .k80-site-footer { grid-template-columns: 1fr 1fr; }
  .k80-site-footer nav { grid-column: 1 / -1; justify-content: flex-start; }
  .k80-boundary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .kiru-trust80 .k80-site-footer { grid-template-columns: 1fr; gap: 20px; margin: 54px 0 14px; padding: 25px 20px 22px; border-radius: 22px; }
  .k80-footer-brand img { width: 96px; }
  .k80-site-footer nav { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .k80-site-footer nav a,
  .k80-site-footer nav button { display: grid; place-items: center; min-height: 43px; }
  .k80-footer-meta { grid-column: auto; line-height: 1.5; }
  body.kiru-trust80 dialog.app-dialog.k80-trust-dialog { width: calc(100vw - 14px); height: calc(100dvh - 14px); }
  body.kiru-trust80 dialog.k80-trust-dialog > .k80-trust-shell { height: 100%; border-radius: 22px; }
  .k80-trust-head { min-height: 78px; padding: 14px 16px; }
  .k80-shield { width: 40px; height: 40px; border-radius: 12px; }
  .k80-trust-head small { font-size: 7.5px; }
  .k80-trust-head h2 { font-size: 21px; }
  .k80-trust-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .k80-trust-layout > nav { display: flex; padding: 9px 10px; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .k80-trust-layout > nav > button { flex: 0 0 auto; grid-template-columns: auto auto; min-height: 40px; padding: 7px 11px; }
  .k80-local-seal { display: none; }
  .k80-trust-content { padding: 28px 19px 42px; }
  .k80-trust-content [role="tabpanel"] > h3 { font-size: 35px; }
  .k80-lead { font-size: 14px; }
  .k80-fact-grid { grid-template-columns: 1fr; }
  .k80-service-list article { grid-template-columns: 82px 1fr; }
  .k80-service-list em { grid-column: 2; justify-self: start; }
  .k80-trust-foot { padding: 0 16px; }
  .k80-trust-foot span { display: none; }
  .k80-trust-foot a { margin-left: auto; }
  .s74-k80-trust-card { grid-template-columns: 1fr; padding: 20px; }
}

@media (max-width: 390px) {
  .k80-trust-head small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .k80-trust-head h2 { font-size: 19px; }
  .k80-trust-layout > nav > button i { display: none; }
  .k80-trust-content [role="tabpanel"] > h3 { font-size: 31px; }
}

@media (prefers-reduced-motion: reduce) {
  .k80-site-footer *, .k80-trust-shell * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
