/* The public landing page at loadoutledger.com: the "Splash Page" design from the Vanguard system.
   The display face is Archivo Black until the licensed Druk files can be served; Inter carries the
   copy and JetBrains Mono the figures. No inline styles: the page runs under a strict CSP. */
:root {
  --ground: #08090a;
  --panel: #111314;
  --panel-hover: #171a1b;
  --frame: #17181a;
  --ink: #f2efe9;
  --ink-86: rgba(242, 239, 233, 0.86);
  --ink-74: rgba(242, 239, 233, 0.74);
  --ink-66: rgba(242, 239, 233, 0.66);
  --ink-55: rgba(242, 239, 233, 0.55);
  --ink-45: rgba(242, 239, 233, 0.45);
  --hairline: rgba(242, 239, 233, 0.14);
  --hairline-strong: rgba(242, 239, 233, 0.24);
  --brass: #c9a96a;
  --brass-hover: #e0c48c;
  --on-brass: #141210;
  --display: 'Archivo Black', 'Arial Black', 'Helvetica Neue', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.splash {
  margin: 0;
  min-height: 100%;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass);
  text-decoration: none;
}

a:hover {
  color: var(--brass-hover);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 22px;
  letter-spacing: 0.03em;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--mono);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.rule {
  width: 72px;
  height: 3px;
  background: var(--brass);
}

.rule-center {
  margin: 0 auto;
}

.fine {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(242, 239, 233, 0.5);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-lg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  color: var(--brass);
}

/* ---------- textured bands ---------- */

.topo {
  position: relative;
  overflow: hidden;
}

.topo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/topo-lines.webp') center / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.topo > * {
  position: relative;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 120ms ease,
    border-color 120ms ease;
}

.btn-brass {
  background: var(--brass);
  color: var(--on-brass);
}

.btn-brass:hover {
  background: var(--brass-hover);
  color: var(--on-brass);
}

.btn-outline {
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brass);
  background: rgba(242, 239, 233, 0.06);
  color: var(--ink);
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 18px;
}

/* ---------- header ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 32px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav a:not(.btn),
.foot nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-66);
}

.nav a:not(.btn):hover,
.foot nav a:hover {
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--hairline);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px 72px;
}

.hero-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lede {
  max-width: 46ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-74);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-phones {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0e0f10;
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Captures are trimmed to the app's own chrome (no status bar, no home indicator): 1019 x 2000. */
.phone-lg {
  width: 300px;
  height: 589px;
  box-shadow:
    0 0 0 8px var(--frame),
    0 30px 70px rgba(0, 0, 0, 0.75);
}

.phone-sm {
  width: 210px;
  height: 412px;
  box-shadow:
    0 0 0 6px var(--frame),
    0 20px 50px rgba(0, 0, 0, 0.7);
}

/* ---------- numbers strip ---------- */

.strip {
  display: flex;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--hairline);
}

.strip-cell {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-left: 1px solid var(--hairline);
}

.strip-cell:last-child {
  border-right: 1px solid var(--hairline);
}

.strip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.strip-value {
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- sections ---------- */

.features,
.pricing {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.section-lede {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(242, 239, 233, 0.7);
}

/* Four columns: six feature cells plus the photo spanning two, so the photo sits bottom right. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  background: var(--panel);
  transition: background 120ms ease;
}

.feature:hover {
  background: var(--panel-hover);
}

.feature-lead {
  border-top: 3px solid var(--brass);
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(242, 239, 233, 0.7);
}

.feature-photo {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  min-height: 260px;
  background: #0e0f10;
}

.feature-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 9, 10, 0.92) 0%,
    rgba(8, 9, 10, 0.4) 48%,
    rgba(8, 9, 10, 0) 82%
  );
}

.photo-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 26px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
}

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-rule::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--brass);
}

.photo-title {
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- privacy band ---------- */

.privacy {
  background: #0e0f10;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.privacy::before {
  opacity: 0.1;
}

.privacy-inner {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 32px;
}

.privacy-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-copy .section-lede {
  max-width: 46ch;
  color: var(--ink-74);
}

.privacy-list {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-86);
}

.privacy-list li:last-child {
  border-bottom: 0;
}

.privacy-list .icon {
  color: var(--brass);
}

/* ---------- pricing ---------- */

.pricing {
  gap: 36px;
}

.pricing .section-head {
  max-width: 560px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--hairline);
}

.plan-pro {
  border-top: 3px solid var(--brass);
}

.plan h3 {
  font-size: 24px;
}

.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-brass);
  background: var(--brass);
  padding: 4px 8px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 28px;
  line-height: 1;
}

.plan-pro .price-main {
  color: var(--brass);
}

.price-alt {
  font-size: 13px;
  color: var(--ink-55);
}

.plan-rule {
  height: 1px;
  background: var(--hairline);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-74);
}

.plan .btn {
  margin-top: auto;
}

/* ---------- sign-up band ---------- */

.signup {
  background: #0e0f10;
  border-top: 1px solid var(--hairline);
}

.signup::before {
  opacity: 0.14;
}

.signup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 32px;
  text-align: center;
}

.signup h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0.01em;
}

.signup .section-lede {
  max-width: 44ch;
  font-size: 17px;
  color: var(--ink-74);
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px;
}

.foot .mono {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
}

.foot nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.foot nav a {
  color: var(--ink-55);
}

/* ---------- phones ---------- */

@media (max-width: 900px) {
  .hero-inner {
    padding: 56px 24px 48px;
    gap: 40px;
  }

  .hero-phones {
    width: 100%;
    justify-content: center;
  }

  /* Two columns: the photo spans both as a full-width row under the six cells. */
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .top,
  .foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    gap: 16px;
  }

  .features,
  .pricing {
    padding: 64px 20px;
  }

  .privacy-inner,
  .signup-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .phone-sm {
    display: none;
  }

  .phone-lg {
    width: 260px;
    height: 510px;
  }

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

  .feature-photo {
    grid-column: span 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
