:root {
  color-scheme: light dark;
  --ink: #0d3f50;
  --ink-deep: #092d39;
  --paper: #fffaf3;
  --paper-raised: #fffdf9;
  --shell: #f5efe6;
  --muted: #536e75;
  --line: #d8c7af;
  --accent: #0f7288;
  --accent-soft: #e5f1ed;
  --oak: #c6976d;
  --brass: #b8893f;
  --green: #3f6a1f;
  --shadow: 0 20px 55px rgb(13 63 80 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.78);
  --radius: 1.5rem;
  font-family:
    Urbanist,
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink-deep);
  background:
    radial-gradient(circle at 12% 3%, rgb(198 151 109 / 0.23), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgb(15 114 136 / 0.12), transparent 24rem), var(--shell);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
  border-radius: 0.5rem;
}

.skip-link {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 0 0 0.75rem 0.75rem;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(74rem, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(78rem, calc(100% - 2rem));
  min-height: 5.75rem;
  margin: 1rem auto 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(216 199 175 / 0.8);
  border-radius: 1.7rem;
  background: rgb(255 250 243 / 0.86);
  box-shadow:
    0 12px 36px rgb(13 63 80 / 0.09),
    inset 0 1px 0 rgb(255 255 255 / 0.85);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 0.85rem;
  box-shadow: 0 8px 18px rgb(13 63 80 / 0.18);
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.island {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 11rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  color: #fff;
  background: #050505;
  border: 1px solid #252525;
  border-radius: 999px;
  box-shadow:
    0 12px 24px rgb(0 0 0 / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.island-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #50c878;
  box-shadow: 0 0 0 0.25rem rgb(80 200 120 / 0.13);
}

.topbar nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
}

.topbar nav a {
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.topbar nav a:hover,
.topbar nav a[aria-current='page'] {
  color: white;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 41rem;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.4rem;
}

.hero-text {
  max-width: 41rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 12px 26px rgb(15 114 136 / 0.24),
    inset 0 1px 0 rgb(255 255 255 / 0.2);
}

.button.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgb(255 250 243 / 0.72);
  border-color: var(--line);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 1.6rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.trust-list span {
  color: var(--green);
  font-weight: 900;
}

.privacy-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--ink-deep);
  border: 1px solid rgb(216 199 175 / 0.9);
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 110% 0%, rgb(15 114 136 / 0.22), transparent 18rem),
    linear-gradient(145deg, rgb(255 253 249 / 0.98), rgb(255 250 243 / 0.88));
  box-shadow: var(--shadow);
}

.privacy-card::after {
  position: absolute;
  inset: auto -5rem -7rem auto;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgb(15 114 136 / 0.12);
  border-radius: 50%;
  content: '';
  box-shadow:
    0 0 0 2.4rem rgb(15 114 136 / 0.05),
    0 0 0 5rem rgb(15 114 136 / 0.035);
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.card-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.vault-mark {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 3.7rem 0 2rem;
  border-radius: 1.7rem;
  background: var(--ink);
  box-shadow:
    0 18px 34px rgb(13 63 80 / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.17);
  transform: rotate(-4deg);
}

.vault-mark span {
  position: relative;
  width: 2.4rem;
  height: 1.9rem;
  border: 0.23rem solid var(--paper);
  border-radius: 0.55rem;
}

.vault-mark span::before {
  position: absolute;
  bottom: calc(100% - 0.12rem);
  left: 50%;
  width: 1.35rem;
  height: 1.2rem;
  border: 0.23rem solid var(--paper);
  border-bottom: 0;
  border-radius: 0.75rem 0.75rem 0 0;
  content: '';
  transform: translateX(-50%);
}

.privacy-card h2 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin-bottom: 1rem;
}

.privacy-card > p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.mini-flow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.mini-flow i {
  flex: 1;
  min-width: 0.7rem;
  height: 1px;
  background: var(--line);
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 2rem 7rem;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 46rem;
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.tile {
  min-height: 17rem;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 250 243 / 0.88);
  box-shadow: var(--shadow);
}

.tile-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.2rem;
  align-items: end;
  min-height: 15rem;
  background: linear-gradient(100deg, transparent 55%, rgb(198 151 109 / 0.18)), var(--paper);
}

.tile-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.tile h3 {
  margin: 2.8rem 0 0.8rem;
}

.tile-wide h3 {
  margin-top: 0;
}

.tile p {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
}

.tile-dark {
  color: var(--paper);
  border-color: rgb(255 255 255 / 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgb(184 137 63 / 0.28), transparent 15rem), var(--ink);
  box-shadow:
    0 20px 55px rgb(13 63 80 / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.tile-dark .tile-number,
.tile-dark p {
  color: #e9ded0;
}

.tile-dark .tile-number {
  border-color: rgb(255 255 255 / 0.2);
}

code {
  padding: 0.12em 0.35em;
  border-radius: 0.4em;
  background: rgb(13 63 80 / 0.09);
  font-family: 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.tile-dark code {
  background: rgb(255 255 255 / 0.12);
}

.promise {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 7rem;
  padding: clamp(1.7rem, 4vw, 2.7rem);
  color: var(--paper);
  border-radius: 2rem;
  background: var(--ink);
  box-shadow:
    0 20px 55px rgb(13 63 80 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.12);
}

.promise h2,
.promise p {
  margin-bottom: 0;
}

.promise .eyebrow,
.promise p {
  color: #d9cdbf;
}

.text-link {
  color: white;
  font-weight: 800;
  white-space: nowrap;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 1rem;
}

.footer-brand img {
  box-shadow: none;
}

.legal {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.legal-narrow {
  max-width: 62rem;
}

.legal-hero {
  max-width: 58rem;
  margin-bottom: 3rem;
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal-hero > p:not(.eyebrow) {
  max-width: 50rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0;
}

.policy-meta div {
  min-width: 14rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 250 243 / 0.72);
}

.policy-meta dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.policy-meta dd {
  margin: 0.25rem 0 0;
  font-weight: 750;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.6fr);
  gap: 1.2rem;
  align-items: start;
}

.legal-summary,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 250 243 / 0.88);
  box-shadow: var(--shadow);
}

.legal-summary {
  position: sticky;
  top: 1rem;
  padding: 1.7rem;
}

.legal-summary h2 {
  font-size: 1.35rem;
}

.legal-summary ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-copy {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 253 249 / 0.88);
  box-shadow: var(--shadow);
}

.legal-card {
  max-width: 58rem;
}

.legal-copy section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.025em;
}

.legal-copy p {
  color: var(--muted);
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 56rem) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .island {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .privacy-card {
    max-width: 38rem;
  }

  .promise {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 40rem) {
  .shell,
  .topbar {
    width: min(100% - 1rem, 74rem);
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.8rem;
  }

  .topbar nav {
    justify-content: stretch;
  }

  .topbar nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .bento {
    grid-template-columns: 1fr;
    padding-bottom: 5rem;
  }

  .tile,
  .tile-wide {
    grid-column: auto;
    display: block;
    min-height: 0;
  }

  .tile h3,
  .tile-wide h3 {
    margin-top: 2rem;
  }

  .mini-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-flow i {
    flex: none;
    width: 1px;
    min-width: 1px;
    min-height: 0.9rem;
    margin-left: 0.2rem;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-meta {
    flex-direction: column;
  }

  .policy-meta div {
    min-width: 0;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #67b5c5;
    --ink-deep: #f1e8dc;
    --paper: #183640;
    --paper-raised: #1b3b46;
    --shell: #0b1c22;
    --muted: #bdc9c9;
    --line: #35515a;
    --accent: #5fb5c7;
    --accent-soft: #15363a;
    --oak: #a06841;
    --brass: #d9b072;
    --green: #99c96d;
    --shadow: 0 20px 55px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.08);
  }

  body {
    background:
      radial-gradient(circle at 12% 3%, rgb(160 104 63 / 0.16), transparent 28rem),
      radial-gradient(circle at 88% 10%, rgb(95 181 199 / 0.12), transparent 24rem), var(--shell);
  }

  .topbar,
  .tile,
  .legal-summary,
  .legal-copy,
  .policy-meta div {
    background: rgb(24 54 64 / 0.86);
  }

  .privacy-card {
    background:
      radial-gradient(circle at 110% 0%, rgb(95 181 199 / 0.18), transparent 18rem),
      linear-gradient(145deg, rgb(27 59 70 / 0.98), rgb(24 54 64 / 0.9));
  }

  .tile-wide {
    background: linear-gradient(100deg, transparent 55%, rgb(160 104 63 / 0.16)), var(--paper);
  }

  .tile-dark,
  .promise {
    color: #f1e8dc;
    background:
      radial-gradient(circle at 100% 0%, rgb(217 176 114 / 0.15), transparent 15rem), #07161b;
  }

  .button.primary,
  .topbar nav a:hover,
  .topbar nav a[aria-current='page'] {
    color: #07161b;
  }
}

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

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
