/* Trust Swiftly Trust Center — no JavaScript, one stylesheet.
   Brand tokens mirror trustswiftly.com (custom.css is the source of truth there). */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #1f4ed8;
  --brand-alt: #0f62fe;
  --brand-dark: #173cad;
  --brand-deep: #0f2f89;
  --brand-soft: #dbeafe;
  --link: #0b66bf;
  --link-hover: #094e93;
  --heading: #101828;
  --text: #344054;
  --muted: #5f6b7a;
  --meta: #5f6b7a;
  --page: #f8fbff;
  --surface: #ffffff;
  --surface-muted: #f2f6fc;
  --border: #d7e2f2;
  --border-strong: #d0ddef;
  --rule: #e3ebf5;
  --success-fg: #0f5f44;
  --success-bg: #dff7ed;
  --footer-bg: #1f3995;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-table: 0 4px 14px rgba(10, 33, 74, 0.06);
  --font: 'Geist', -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--brand-alt); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { color: var(--heading); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.25; }
h3 { font-size: 1.12rem; line-height: 1.4; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
[id] { scroll-margin-top: 96px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 30;
  background: #0d1b2a; color: #ffffff; padding: 10px 18px;
  border-radius: 0 0 6px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.05);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; padding: 10px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: 176px; height: auto; display: block; }
.brand-label {
  color: var(--heading); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-left: 1px solid var(--border-strong); padding-left: 14px; line-height: 1.2;
  white-space: nowrap;
}
.header-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--heading); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; }
.nav a:hover { color: var(--brand); }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 6px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: all 0.2s ease;
}
.header-cta:hover { color: var(--brand); border-color: #b6caeb; }
.header-cta svg { width: 13px; height: 13px; }

/* ---------- Hero band ---------- */
.hero {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 44%),
    linear-gradient(134deg, #0b4fac 0%, #0f62fe 50%, #0a4a9d 100%);
  padding: 78px 0 86px;
  text-align: center;
}
.hero .container { max-width: 900px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 236, 255, 0.55); background: rgba(7, 23, 57, 0.28);
  color: #ffffff; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-kicker svg { width: 14px; height: 14px; }
.hero h1 {
  color: #ffffff; font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 18px;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.97); font-size: 1.06rem; line-height: 1.75;
  max-width: 66ch; margin: 0 auto 26px;
}
.hero-status {
  display: inline-flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 9px 18px; border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 236, 255, 0.45); background: rgba(7, 23, 57, 0.28);
  color: #ffffff; font-size: 0.88rem; font-weight: 600;
}
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd4ff; flex: none; margin-top: 0.45em; }
.hero-meta { color: #ffffff; font-size: 0.84rem; margin: 16px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--surface-muted); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.kicker {
  display: block; color: var(--brand); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.section-note { color: var(--muted); font-size: 0.94rem; line-height: 1.7; max-width: 74ch; }
.footnote { color: var(--muted); font-size: 0.85rem; max-width: 74ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}

/* ---------- Profile definition rows ---------- */
.profile-desc { max-width: 78ch; font-size: 0.99rem; line-height: 1.75; color: var(--text); margin: -6px 0 26px; }
.profile-card { padding: 8px 34px; }
.kv { margin: 0; }
.kv > div {
  display: grid; grid-template-columns: minmax(180px, 250px) 1fr; gap: 24px;
  padding: 15px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.kv > div:last-child { border-bottom: none; }
.kv dt {
  color: var(--meta); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.kv dd { margin: 0; font-size: 0.98rem; color: var(--heading); overflow-wrap: anywhere; }
.kv dd .muted-inline { color: var(--muted); font-size: 0.86rem; font-weight: 400; }
@media (max-width: 620px) {
  .profile-card { padding: 6px 22px; }
  .kv > div { grid-template-columns: 1fr; gap: 3px; padding: 13px 0; }
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--radius-pill);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  line-height: 1.4; white-space: nowrap;
}
.badge-progress { color: #1d4d9f; background: #e8f0ff; border: 1px solid #c9d8f2; }
.badge-complete { color: var(--success-fg); background: var(--success-bg); }
.badge-scheduled { color: #0a5cab; background: #dff1ff; }
.badge-planned { color: #1f375f; background: #ffffff; border: 1px solid #c9d8f2; }

/* ---------- Progress timeline ---------- */
.goal-line { font-size: 1.02rem; color: var(--heading); margin: 0 0 28px; }
.goal-line strong { font-weight: 700; }
.milestones { list-style: none; margin: 0; padding: 0; position: relative; }
.milestones::before {
  content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px;
  width: 2px; background: var(--border-strong); border-radius: 1px;
}
.milestone { position: relative; padding: 0 0 26px 42px; }
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border-strong);
}
.milestone-complete::before { background: var(--brand); border-color: var(--brand); }
.milestone-scheduled::before { border-color: var(--brand); }
.milestone-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.milestone-date {
  font-variant-numeric: tabular-nums; font-size: 0.86rem; font-weight: 600;
  color: var(--meta); letter-spacing: 0.02em;
}
.milestone-title { font-size: 1rem; color: var(--heading); line-height: 1.55; max-width: 66ch; }

/* ---------- Status / incidents ---------- */
.status-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 10px; }
#incidents { margin-top: 48px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 22px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); font-size: 0.9rem; font-weight: 700; text-decoration: none;
  box-shadow: var(--shadow-card); transition: all 0.2s ease;
}
.btn-secondary:hover { color: var(--brand); border-color: #b6caeb; }
.btn-secondary svg { width: 14px; height: 14px; }
.notice-panel {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); padding: 18px 22px;
  color: var(--text); font-size: 0.95rem; margin-top: 18px;
}
.notice-panel p { margin: 0; }
.notice-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.notice-list li {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); padding: 16px 22px; font-size: 0.95rem;
}
.notice-list .notice-date { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--heading); margin-right: 8px; }

/* ---------- Data table ---------- */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-table);
  margin: 22px 0 16px;
  /* Scrolling-shadow affordance: edge shadows appear only when content is clipped. */
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(255, 255, 255, 0), var(--surface) 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(10, 33, 74, 0.22), rgba(10, 33, 74, 0)),
    radial-gradient(farthest-side at 100% 50%, rgba(10, 33, 74, 0.22), rgba(10, 33, 74, 0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 44px 100%, 44px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
.table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-size: 0.92rem; line-height: 1.55; }
.table thead { background: linear-gradient(135deg, #0b2f66 0%, #0e4a9a 100%); }
.table th {
  color: #ffffff; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em;
  text-transform: uppercase; text-align: left; padding: 13px 18px;
  border-bottom: 2px solid #093874; white-space: nowrap;
}
.table td { padding: 13px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--text); overflow-wrap: anywhere; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: #f5f8fd; }
.table tbody tr:hover { background: #eaf1fc; }
.table td strong { color: var(--heading); font-weight: 700; }

/* ---------- Profile services ---------- */
.profile-services { margin: 32px 0 24px; }
.profile-services h3 { margin-bottom: 16px; }
.service-date { font-variant-numeric: tabular-nums; color: var(--meta); }

/* ---------- Secure configuration guidance ---------- */
.page-head-section { padding-top: 56px; }
.page-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.2; }
.guide-group { margin: 0 0 44px; }
.guide-group h2 { font-size: 1.28rem; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 84ch; }
.guide-list li { position: relative; padding-left: 36px; }
.guide-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft);
}
.guide-list li::after {
  content: ""; position: absolute; left: 8px; top: 7px;
  width: 5px; height: 10px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
}
.guide-list strong { display: block; color: var(--heading); font-weight: 600; line-height: 1.55; }
.guide-detail { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin-top: 3px; }
.guide-note { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 26px; }
.contact-card { padding: 24px 28px; }
.contact-card .contact-type {
  display: block; color: var(--brand); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.contact-card .contact-name { color: var(--heading); font-weight: 600; font-size: 1rem; margin: 0 0 6px; }
.contact-card p { margin: 0; font-size: 0.93rem; }
.contact-grid + .footnote { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); padding: 56px 0 44px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-logo { width: 196px; height: auto; display: block; }
.footer-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: #e7e7e7; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: #ffffff; }
.footer-rule { border: none; border-top: 1px solid rgba(255, 255, 255, 0.18); margin: 0 0 24px; }
.site-footer .fineprint { color: #c9d6f5; font-size: 0.83rem; line-height: 1.7; max-width: 86ch; margin: 0 0 10px; }
.site-footer .copyright { color: #ffffff; font-size: 0.88rem; margin: 0 0 14px; }
.site-footer a { color: #ffffff; }
.site-footer :focus-visible { outline-color: #8ab6ff; }

/* ---------- Responsive & preferences ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .hero { padding: 58px 0 64px; }
  .hero-status { border-radius: 18px; }
  .container { padding: 0 16px; }
  .header-row { padding: 10px 16px; }
  .brand-logo { width: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .skip-link { position: static; box-shadow: none; }
  .hero { background: #ffffff; border-bottom: 1px solid var(--border); }
  .hero h1 { color: var(--heading); }
  .hero .lead, .hero-meta { color: var(--text); }
  .hero-kicker, .hero-status { color: var(--heading); background: none; border-color: var(--border); }
  .hero-status .dot { background: var(--brand); }
  .site-footer { background: #ffffff; border-top: 1px solid var(--border); }
  .site-footer .fineprint, .site-footer .copyright { color: var(--muted); }
  .site-footer .footer-links a, .site-footer .copyright { color: var(--text); }
  .footer-logo { display: none; }
}
@media (max-width: 460px) {
  .brand-label { display: none; }
  .brand { gap: 0; }
}
