:root {
  --bg: #101923;
  --bg-soft: #142131;
  --panel: rgba(17, 27, 38, 0.92);
  --panel-strong: rgba(19, 31, 45, 0.96);
  --panel-featured: rgba(20, 34, 49, 0.98);
  --text: #f2f5f7;
  --muted: #aebbc6;
  --line: rgba(242, 245, 247, 0.12);
  --line-strong: rgba(242, 245, 247, 0.2);
  --accent-blue: #1ba6e3;
  --accent-blue-2: #1788e3;
  --accent-teal: #17c8b3;
  --accent-soft: #6acde7;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #122030 0%, #101923 46%, #0f1721 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 14%, rgba(27, 166, 227, 0.12), transparent 18rem),
    radial-gradient(circle at 14% 24%, rgba(23, 200, 179, 0.08), transparent 16rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.014));
  z-index: -1;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent-blue);
  color: #08131c;
  padding: 0.7rem 1rem;
  z-index: 30;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  transition: padding 260ms ease, box-shadow 260ms ease, background 260ms ease, transform 260ms cubic-bezier(.2,.9,.3,1);
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(var(--max), calc(100% - 48px));
  padding: 10px 0;
  background: rgba(16, 25, 35, 0.96);
  box-shadow: 0 10px 30px rgba(2,10,18,0.6);
  z-index: 999;
}

.site-header.is-fixed .brand-logo {
  max-width: 220px;
}

.site-header.is-fixed .ledger-nav a {
  padding: 12px 8px;
  font-size: 0.78rem;
}

.brand-block {
  border-top: 2px solid var(--accent-blue);
  padding-top: 14px;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand-logo {
  width: min(360px, 78vw);
  display: block;
}

.brand-block p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ledger-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(16, 25, 35, 0.78);
  box-shadow: var(--shadow);
}

.ledger-nav a {
  padding: 18px 12px;
  text-decoration: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.ledger-nav a:last-child {
  border-right: 0;
}

.ledger-nav a:hover,
.ledger-nav a:focus-visible,
.ledger-nav a[aria-current="true"] {
  color: var(--text);
  background: rgba(27, 166, 227, 0.12);
}

main {
  padding-top: 32px;
}

.opening-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr 0.9fr;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 34px 0 70px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.opening-grid::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 16%;
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 166, 227, 0.12), transparent 62%);
  z-index: -1;
}

.opening-grid::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 34%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(23, 200, 179, 0.06);
  filter: blur(10px);
  z-index: -1;
}

.opening-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.kicker,
.section-code {
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-pill {
  border: 1px solid rgba(23, 200, 179, 0.4);
  color: var(--accent-teal);
  background: rgba(23, 200, 179, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.opening-title {
  grid-column: 2 / 4;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(3.8rem, 9vw, 8.8rem);
  line-height: 0.88;
  max-width: 920px;
}

.opening-copy {
  grid-column: 2 / 4;
  grid-row: 3;
  max-width: 720px;
  align-self: end;
  padding-left: 11vw;
}

.opening-copy p,
.risk-copy p,
.trust-right p,
.contact-card p,
.ledger-main p,
.platform-copy p,
.plans-intro p,
.ledger-lines p,
.log-list p,
.response-grid p,
.plan p,
.plan li,
.contact-ledger li {
  color: var(--muted);
}

.opening-copy p,
.risk-copy p,
.trust-right p,
.contact-card p {
  font-size: 1.1rem;
}

.site-record {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: end;
  background: linear-gradient(180deg, rgba(22, 34, 49, 0.94), rgba(16, 25, 35, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-record::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal), var(--accent-blue-2));
}

.record-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-record dl {
  margin: 0;
}

.site-record dl > div {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.site-record dl > div:last-child {
  border-bottom: 0;
}

.site-record dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-record dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.button-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.plan-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary,
.plan-link {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
  color: #07141d;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.button:focus-visible,
.plan-link:hover,
.plan-link:focus-visible {
  transform: translateY(-2px);
}

.ledger-section,
.manual-spread,
.platforms,
.incident-log,
.plans-section,
.response-section,
.trust-section,
.contact-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--accent-blue);
  padding-left: 18px;
}

.section-label span {
  color: var(--accent-blue);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ledger-main h2,
.manual-title h2,
.platform-copy h2,
.log-heading h2,
.plans-intro h2,
.response-note h2,
.trust-left h2,
.contact-card h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.96;
  margin-bottom: 24px;
}

.ledger-main p,
.platform-copy p,
.plans-intro p {
  font-size: 1.06rem;
  max-width: 640px;
}

.ledger-lines {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 20px;
}

.ledger-lines article,
.platform-list li,
.response-grid article,
.contact-card,
.contact-ledger {
  background: rgba(17, 27, 38, 0.82);
}

.ledger-lines article {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 210px;
}

.ledger-lines span,
.plan-number,
.log-date,
.response-grid span {
  color: var(--accent-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.ledger-lines h3,
.plan h3,
.log-list h3,
.contact-ledger h3 {
  font-size: 1.35rem;
  margin: 18px 0 10px;
}

.risk-panel {
  margin-top: 80px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: linear-gradient(135deg, rgba(27, 166, 227, 0.08), rgba(23, 200, 179, 0.06)), var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.risk-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin: 14px 0 0;
}

.risk-panel .kicker {
  color: var(--accent-teal);
}

.manual-spread {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.coverage-table {
  border-top: 1px solid var(--line-strong);
}

.coverage-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.coverage-table span {
  font-size: 1.06rem;
}

.coverage-table strong {
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.platforms {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.platform-list li {
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.platform-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 12px rgba(27, 166, 227, 0.55);
}

.incident-log {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
}

.log-list {
  display: grid;
  gap: 14px;
}

.log-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(17, 27, 38, 0.78);
}

.log-list article:nth-child(1) {
  border-left: 4px solid var(--accent-blue);
}

.log-list article:nth-child(2) {
  border-left: 4px solid var(--accent-soft);
}

.log-list article:nth-child(3) {
  border-left: 4px solid var(--accent-teal);
}

.log-list article:nth-child(4) {
  border-left: 4px solid var(--accent-blue-2);
}

.log-list h3,
.log-list p {
  grid-column: 2;
}

.log-list .log-date {
  grid-row: 1 / span 2;
}

.plans-section {
  display: grid;
  gap: 38px;
}

.plan-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 25, 37, 0.9), rgba(12, 18, 27, 0.88));
  box-shadow: var(--shadow);
}

.featured-plan {
  background: linear-gradient(180deg, rgba(24, 38, 54, 0.98), rgba(16, 25, 36, 0.96));
  border-color: rgba(27, 166, 227, 0.38);
}

.plan-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent-blue);
  background: rgba(27, 166, 227, 0.08);
}

.plan-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.plan h3 {
  margin: 0;
}

.plan-summary {
  margin-bottom: 0;
}

.plan-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 16px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-price strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}

.plan-price span {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.plan ul {
  padding-left: 18px;
  margin: 0;
}

.plans-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.response-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.response-grid {
  display: grid;
  gap: 14px;
}

.response-grid article {
  padding: 22px;
  border-left: 3px solid var(--accent-blue);
  border: 1px solid var(--line);
  border-left-width: 3px;
}

.response-grid article:nth-child(2) {
  border-left-color: var(--accent-soft);
}

.response-grid article:nth-child(3) {
  border-left-color: var(--accent-teal);
}

.trust-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: stretch;
}

.contact-card,
.contact-ledger {
  border: 1px solid var(--line-strong);
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-ledger ul {
  padding-left: 18px;
}

.site-footer {
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-blue);
}

@media (max-width: 980px) {
  .site-header,
  .opening-grid,
  .ledger-section,
  .manual-spread,
  .platforms,
  .incident-log,
  .response-section,
  .trust-section,
  .contact-section,
  .risk-panel {
    grid-template-columns: 1fr;
  }

  /* disable fixed header behaviour on smaller screens */
  .site-header.is-fixed {
    position: static;
    width: auto;
    padding-top: 28px;
    box-shadow: none;
  }

  .opening-grid {
    min-height: auto;
  }

  .opening-title,
  .opening-copy,
  .site-record,
  .opening-meta {
    grid-column: auto;
    grid-row: auto;
  }

  .opening-copy {
    padding-left: 0;
  }

  .plan-ledger {
    grid-template-columns: 1fr;
  }

  .ledger-lines {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--max), calc(100% - 32px));
  }

  .ledger-nav {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-nav a:nth-child(2) {
    border-right: 0;
  }

  .ledger-nav a:nth-child(1),
  .ledger-nav a:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 5rem);
  }

  .brand-logo {
    width: min(280px, 76vw);
  }

  .ledger-lines,
  .platform-list {
    grid-template-columns: 1fr;
  }

  .log-list article {
    grid-template-columns: 1fr;
  }

  .log-list h3,
  .log-list p,
  .log-list .log-date {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
