/* tokens */
:root {
  --ll-ground: #F3F5F8;
  --ll-surface: #FCFDFE;
  --ll-white: #FFFFFF;
  --ll-line: #D5DBE4;
  --ll-grid: #E7EBF0;
  --ll-ink: #0F1B2D;
  --ll-body: #334155;
  --ll-muted: #475569;
  --ll-stroke: #94A3B8;
  --ll-accent: #0B6B4F;
  --ll-accent-dark: #08503B;
  --ll-tint: #E4F0EA;
  --ll-tint-soft: #F2F8F5;
  --ll-tint-mid: #DDEEE6;
  --ll-liq: #C2410C;
  --ll-down: #5B6678;
  --ll-sans: "Instrument Sans", system-ui, sans-serif;
  --ll-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ll-col: 1200px;
  --ll-gutter: max(20px, 5%);
  --ll-shadow-lift: 0 24px 48px -28px rgba(15, 27, 45, 0.35);
  --ll-shadow-float: 0 28px 56px -36px rgba(15, 27, 45, 0.45);
  --ll-shadow-knob: 0 1px 3px rgba(15, 27, 45, 0.18);
}

/* base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ll-ground);
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--ll-accent);
}

a:hover {
  color: var(--ll-ink);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 2px;
}

/* layout */
.ll-band {
  padding-inline: var(--ll-gutter);
}

.ll-wrap {
  width: 100%;
  max-width: var(--ll-col);
  margin-inline: auto;
}

/* type */
.ll-eyebrow {
  color: var(--ll-accent);
  font-size: 17px;
  font-weight: 500;
}

.ll-lead {
  max-width: 600px;
  color: var(--ll-body);
  font-size: 18px;
  line-height: 1.55;
}

.ll-note {
  color: var(--ll-body);
  font-size: 14px;
  line-height: 1.5;
}

/* buttons */
.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--ll-accent);
  color: var(--ll-white);
  font-family: var(--ll-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ll-btn:hover {
  background: var(--ll-accent-dark);
  color: var(--ll-white);
}

.ll-btn-ink {
  padding: 15px 26px;
  background: var(--ll-ink);
  color: var(--ll-surface);
  font-size: 16px;
}

.ll-btn-ink:hover {
  background: var(--ll-accent);
  color: var(--ll-white);
}

/* header */
.ll-header {
  padding: 14px var(--ll-gutter);
  border-bottom: 1px solid var(--ll-line);
}

.ll-header-row {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  column-gap: 32px;
  max-width: var(--ll-col);
  min-height: 44px;
  margin-inline: auto;
}

.ll-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ll-ink);
  font-family: var(--ll-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.ll-brand svg,
.ll-footer-mark svg {
  flex: none;
}

.ll-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.ll-nav a:not(.ll-btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ll-body);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.ll-nav a:not(.ll-btn):hover,
.ll-nav a[aria-current="page"] {
  color: var(--ll-ink);
}

.ll-nav a[aria-current="page"] {
  font-weight: 600;
}

.ll-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ll-line);
  border-radius: 8px;
  background: var(--ll-surface);
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

/* menu panel */
@media (max-width: 879.98px) {
  .ll-header {
    padding-block: 12px;
  }

  .ll-menu-btn {
    display: inline-flex;
  }

  .ll-nav {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    padding: 6px 16px 16px;
    border: 1px solid var(--ll-line);
    border-radius: 12px;
    background: var(--ll-surface);
  }

  .ll-nav a:not(.ll-btn) {
    min-height: 48px;
    border-bottom: 1px solid var(--ll-line);
  }

  .ll-nav .ll-btn {
    margin-top: 14px;
  }

  .ll-header.is-closed .ll-nav {
    display: none;
  }
}

/* chip */
.ll-chip {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--ll-stroke);
  border-radius: 4px;
  color: var(--ll-body);
  font-family: var(--ll-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* pills */
.ll-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--ll-line);
  border-radius: 8px;
  background: transparent;
  color: var(--ll-ink);
  font-family: var(--ll-mono);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.ll-pill[aria-pressed="true"] {
  border-color: var(--ll-ink);
  background: var(--ll-ink);
  color: var(--ll-surface);
}

.ll-pill-sm {
  min-width: 42px;
  padding: 0 8px;
}

/* switch */
.ll-switch {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--ll-grid);
}

.ll-switch button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ll-body);
  font-family: var(--ll-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ll-switch button[aria-pressed="true"] {
  background: var(--ll-white);
  box-shadow: var(--ll-shadow-knob);
  color: var(--ll-ink);
}

/* cards */
.ll-card {
  padding: 24px;
  border: 1px solid var(--ll-line);
  border-radius: 16px;
  background: var(--ll-surface);
}

.ll-card-lift {
  box-shadow: var(--ll-shadow-lift);
}

.ll-card-float {
  border-radius: 18px;
  box-shadow: var(--ll-shadow-float);
}

/* tooltips */
.ll-tip-host {
  position: relative;
}

.ll-tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 5;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ll-ink);
  color: var(--ll-surface);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s;
}

.ll-tip-host:hover .ll-tip,
.ll-tip-host:focus-within .ll-tip {
  opacity: 1;
  visibility: visible;
}

.ll-info {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ll-stroke);
  border-radius: 50%;
  color: var(--ll-body);
  font-family: var(--ll-mono);
  font-size: 11px;
}

/* footer */
.ll-footer {
  padding: 40px var(--ll-gutter);
  border-top: 1px solid var(--ll-line);
}

.ll-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 56px;
  max-width: var(--ll-col);
  margin-inline: auto;
}

.ll-footer-brand {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 14px;
}

.ll-footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ll-ink);
  font-family: var(--ll-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ll-legal {
  max-width: 440px;
  color: var(--ll-body);
  font-size: 13px;
  line-height: 1.5;
}

.ll-footer-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
}

.ll-footer-head {
  margin-bottom: 6px;
  color: var(--ll-body);
  font-size: 13px;
}

.ll-footer-col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ll-ink);
  font-size: 15px;
  text-decoration: none;
}

.ll-footer-col a:hover {
  color: var(--ll-accent);
}

/* motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
