/* ==========================================================================
   ASBO public pages (contact, privacy) — 2026-10-28
   Standalone (no legacy style.css), same tokens as the sign-in pages.
   ========================================================================== */
:root {
  --asbo-blue-50: #eef7fc; --asbo-blue-100: #d8eefa; --asbo-blue-200: #b3ddf3;
  --asbo-blue-400: #3ba8dc; --asbo-blue-500: #1f8fcb; --asbo-blue-600: #17739f; --asbo-blue-700: #115a7d;
  --ink-900: #0f1b2a; --ink-700: #33415c; --ink-500: #5b6b82; --ink-400: #7a879a;
  --line: #e3e9f0; --line-2: #edf1f6; --canvas: #f4f7fb; --surface: #fff;
  --ok: #1b8a4a; --bad: #c62828;
  --tint-ok: #eaf7ef; --tint-ok-line: #bfe5cd; --ok-ink: #145c33;
  --tint-bad: #fdecec; --tint-bad-line: #f5c2c2; --bad-ink: #8e1c1c;
  --navy: #0d2537;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(15, 27, 42, .06), 0 10px 30px rgba(15, 27, 42, .07);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --surface: #151d29; --canvas: #0e141c; --line: #273345; --line-2: #1f2937;
  --ink-900: #e8eef6; --ink-700: #c4cfdc; --ink-500: #96a3b5; --ink-400: #76849a;
  --asbo-blue-50: #10293a; --asbo-blue-100: #173a50; --asbo-blue-600: #6cc3ec;
  --tint-ok: rgba(60, 207, 127, .14); --tint-ok-line: rgba(60, 207, 127, .35); --ok-ink: #7fe0a8;
  --tint-bad: rgba(255, 123, 110, .14); --tint-bad-line: rgba(255, 123, 110, .38); --bad-ink: #ffa49a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.pub-body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-900); background: var(--canvas);
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
a { color: var(--asbo-blue-600); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--asbo-blue-200); outline-offset: 2px; }
.pub-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pub-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.pub-skip:focus { left: 8px; }
.pub-muted { color: var(--ink-500); }
.pub-small { font-size: 13px; color: var(--ink-500); margin: 14px 0 0; }

/* header */
.pub-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.pub-header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.pub-logo img { height: 46px; width: auto; display: block; }
html[data-theme="dark"] .pub-logo img { background: #fff; border-radius: 6px; padding: 3px 6px; }
.pub-nav { display: flex; align-items: center; gap: 6px; }
.pub-nav > a:not(.pub-btn) { color: var(--ink-700); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.pub-nav > a:not(.pub-btn):hover { background: var(--line-2); color: var(--ink-900); }
.pub-nav > a.active { color: var(--asbo-blue-600); background: var(--asbo-blue-50); }

/* buttons */
.pub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px;
  font: 600 15px/1 var(--font); text-decoration: none; border: 1.5px solid var(--line); color: var(--ink-900); background: var(--surface);
  cursor: pointer; transition: background .15s, border-color .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.pub-btn:hover { border-color: var(--asbo-blue-400); color: var(--asbo-blue-600); }
.pub-btn:active { transform: translateY(1px); }
.pub-btn-primary { background: var(--asbo-blue-500); border-color: var(--asbo-blue-500); color: #fff !important; box-shadow: 0 6px 16px rgba(31, 143, 203, .28); }
.pub-btn-primary:hover { background: var(--asbo-blue-600); border-color: var(--asbo-blue-600); }
html[data-theme="dark"] .pub-btn-primary:hover { background: var(--asbo-blue-400); border-color: var(--asbo-blue-400); }
.pub-btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.pub-btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* hero */
.pub-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 85% 0%, rgba(59, 168, 220, .45), transparent 55%), linear-gradient(135deg, #0d2537 0%, #12405f 100%); }
.pub-hero::after { content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent); }
.pub-hero .pub-wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 96px; }
.pub-eyebrow { display: inline-block; margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #9ad6f3; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); padding: 4px 10px; border-radius: 999px; }
.pub-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.pub-lead { margin: 0; max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, .82); }

/* contact */
.pub-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: -64px; margin-bottom: 64px; position: relative; z-index: 2; }
.pub-panel { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy) var(--hero) center / cover no-repeat; box-shadow: var(--shadow); }
.pub-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(10, 37, 58, .72) 0%, rgba(9, 30, 48, .94) 100%); }
.pub-panel-in { position: relative; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.pub-panel h2 { margin: 0; font-size: 24px; font-weight: 700; color: #fff; }
.pub-panel p { margin: 0; color: rgba(255, 255, 255, .82); }
.pub-points { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 14px; }
.pub-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.pub-points i { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.pub-points a { color: #fff; text-decoration: none; }
.pub-points a:hover { text-decoration: underline; }
.pub-panel .pub-btn { align-self: flex-start; margin-top: auto; }
.pub-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.pub-card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.pub-card > .pub-muted { margin: 0 0 20px; font-size: 14px; }
.pub-req { color: var(--bad); font-weight: 700; }
.pub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pub-field { margin-bottom: 16px; }
.pub-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.pub-field input, .pub-field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-900);
  font: 400 15px/1.5 var(--font); padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.pub-field input { height: 48px; }
.pub-field textarea { resize: vertical; min-height: 140px; }
.pub-field input::placeholder, .pub-field textarea::placeholder { color: var(--ink-400); }
.pub-field input:focus, .pub-field textarea:focus { border-color: var(--asbo-blue-400); box-shadow: 0 0 0 4px var(--asbo-blue-100); }
.pub-field.has-error input, .pub-field.has-error textarea { border-color: var(--bad); }
.pub-error { font-size: 13px; color: var(--bad); margin-top: 6px; }
.pub-captcha { margin: 4px 0 18px; min-height: 65px; }
.pub-submit { position: relative; width: 100%; height: 50px; font-size: 16px; }
.pub-spin { display: none; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: pubSpin .7s linear infinite; }
.pub-submit.is-busy .pub-submit-txt { visibility: hidden; }
.pub-submit.is-busy .pub-spin { display: block; }
@keyframes pubSpin { to { transform: rotate(360deg); } }
.pub-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; border: 1px solid; }
.pub-alert i { margin-top: 3px; }
.pub-alert.ok { background: var(--tint-ok); border-color: var(--tint-ok-line); color: var(--ok-ink); }
.pub-alert.bad { background: var(--tint-bad); border-color: var(--tint-bad-line); color: var(--bad-ink); }

/* privacy */
.pp-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: -64px; margin-bottom: 64px; position: relative; z-index: 2; }
.pp-toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 12px 12px; max-height: calc(100vh - 120px); overflow: auto; }
.pp-toc summary { list-style: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); padding: 0 8px 10px; cursor: default; }
.pp-toc summary::-webkit-details-marker { display: none; }
.pp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pp-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-700); text-decoration: none; }
.pp-toc a span { flex: 0 0 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--line-2); color: var(--ink-500); }
.pp-toc a:hover { background: var(--canvas); color: var(--ink-900); }
.pp-toc a.on { background: var(--asbo-blue-50); color: var(--asbo-blue-600); font-weight: 600; }
.pp-toc a.on span { background: var(--asbo-blue-500); color: #fff; }
.pp-article { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 48px; }
.pp-article p, .pp-article li { max-width: 72ch; color: var(--ink-700); overflow-wrap: break-word; }
.pp-intro { font-size: 18px; color: var(--ink-900) !important; margin-top: 0; }
.pp-article h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em;
  margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line-2); color: var(--ink-900); }
.pp-num { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; font-weight: 800;
  background: var(--asbo-blue-50); color: var(--asbo-blue-600); }
.pp-article ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 12px 0 16px; }
.pp-article ul li { position: relative; padding-left: 26px; }
.pp-article ul li::before { content: ""; position: absolute; left: 6px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--asbo-blue-400); }
.pp-article ol { padding-left: 22px; }
.pp-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding: 20px 22px;
  border-radius: 14px; background: var(--asbo-blue-50); border: 1px solid var(--asbo-blue-100); }
.pp-cta b { display: block; font-size: 17px; }
.pp-cta span { color: var(--ink-500); font-size: 14px; }

/* footer */
.pub-footer { flex-shrink: 0; background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 15px; }
.pub-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.pub-footer-logo { height: 40px; width: auto; margin-bottom: 12px; }
.pub-footer h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pub-footer p { margin: 0 0 10px; }
.pub-footer .pub-muted { color: rgba(255, 255, 255, .62); max-width: 340px; }
.pub-footer a { color: #fff; text-decoration: none; }
.pub-footer a:hover { text-decoration: underline; }
.pub-footer-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #9ad6f3 !important; }
.pub-social { display: flex; gap: 10px; margin-top: 14px; }
.pub-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14); transition: background .15s; }
.pub-social a:hover { background: var(--asbo-blue-500); text-decoration: none; }
.pub-footer-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .6); }
.pub-footer-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pub-footer-bar a { color: rgba(255, 255, 255, .78); }

/* small screens */
@media (max-width: 991px) {
  .pub-contact, .pp-layout { grid-template-columns: minmax(0, 1fr); }
  .pp-toc, .pp-article, .pub-card, .pub-panel { min-width: 0; }
  .pp-toc { position: static; max-height: none; }
  .pp-toc summary { cursor: pointer; display: flex; justify-content: space-between; padding-bottom: 6px; }
  .pp-toc summary::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; transition: transform .2s; }
  .pp-toc details[open] summary::after { transform: rotate(180deg); }
  .pp-article { padding: 28px 22px; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .pub-footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pub-wrap { padding-left: 16px; padding-right: 16px; }
  .pub-header-in { height: 64px; }
  .pub-logo img { height: 36px; }
  .pub-nav > a:not(.pub-btn) { padding: 6px 8px; font-size: 14px; }
  .pub-nav .pub-btn { height: 38px; padding: 0 12px; }
  .pub-nav .pub-btn i { display: none; }
  .pub-hero .pub-wrap { padding-top: 36px; padding-bottom: 84px; }
  .pub-lead { font-size: 16px; }
  .pub-row { grid-template-columns: 1fr; gap: 0; }
  .pub-card { padding: 22px 18px; }
  .pub-panel-in { padding: 26px 20px; }
  .pp-article h2 { font-size: 18px; }
  .pub-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
/* hidden spam trap (contact form) */
.pub-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* privacy statement: contact cards and tables (2026-10-28) */
.pp-contact { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 16px; padding: 14px 18px; border-radius: 12px;
  background: var(--canvas); border: 1px solid var(--line-2); border-left: 4px solid var(--asbo-blue-400); max-width: 72ch; color: var(--ink-700); }
.pp-contact b { color: var(--ink-900); font-size: 16px; }
.pp-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.pp-table th, .pp-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-2); color: var(--ink-700); }
.pp-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-500); background: var(--canvas); }
.pp-table td:first-child { font-weight: 600; color: var(--ink-900); }
.pp-table code { font-size: 13px; background: var(--line-2); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 700px) {
  .pp-table thead { display: none; }
  .pp-table, .pp-table tbody, .pp-table tr, .pp-table td { display: block; width: 100%; }
  .pp-table tr { border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 10px; padding: 4px 0; }
  .pp-table td { border: 0; padding: 6px 12px; }
}

/* very small phones (320 px) — 2026-10-28 */
@media (max-width: 360px) {
  .pub-nav { gap: 2px; }
  .pub-nav > a:not(.pub-btn) { padding: 6px 6px; font-size: 13px; }
  .pub-nav .pub-btn { padding: 0 10px; font-size: 14px; }
  .pub-logo img { height: 32px; }
  .pp-toc a, .pp-article h2 { overflow-wrap: anywhere; }
  .pp-article { padding: 22px 16px; }
  .pp-contact { padding: 12px 14px; overflow-wrap: anywhere; }
}
