/* D174: the public page, in the app's look: Outfit, the deep purple, gold, violet, white cards
   with generous corners and solid lower edges instead of soft shadows. */
@font-face {
  font-family: "Outfit";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/outfit-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #122033;
  --muted: #5a6778;
  --line: #e2e7ee;
  --mist: #f1f4f8;
  --violet: #6c3bff;
  --violet-dark: #4a22c9;
  --gold: #ffb703;
  --gold-edge: #c98a00;
  --deep: #3a1689;
  --deep-edge: #220a57;
  --soft: #d9ccff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: #fff;
  background:
    radial-gradient(60% 45% at 50% 22%, rgba(140, 90, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #3a1689 0%, #2b0f6b 100%);
  -webkit-font-smoothing: antialiased;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.top {
  display: flex;
  justify-content: flex-end;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.lang:hover,
.lang:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin: -8px auto 0;
  /* A round glow in the logo's own violet under its faded edges, so no square shows. */
  background: radial-gradient(
    circle closest-side at 50% 50%,
    rgba(98, 34, 200, 0.9) 0%,
    rgba(84, 28, 180, 0.6) 60%,
    rgba(58, 22, 137, 0) 100%
  );
}

.tagline {
  margin: 4px auto 20px;
  max-width: 440px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--soft);
}

.soon {
  display: inline-block;
  margin: 0 0 28px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 5px 0 var(--gold-edge);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.card {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 24px 22px 26px;
  box-shadow: 0 6px 0 var(--line);
}

.pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff1cc;
  color: #7a5200;
  font-size: 15px;
  font-weight: 700;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #efe9ff;
  color: var(--violet);
  font-weight: 800;
}

footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 16px 40px;
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.5;
}

footer p {
  margin: 4px 0;
}

/* D179: the footer's links to the legal pages, 44 px tall to tap. */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0 0 8px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration-color: var(--gold);
}

.legal-links a[aria-current="page"] {
  color: var(--gold);
  text-decoration: none;
}

/* D179: a legal document in the white card, wider than the home page's for reading. */
.top-doc {
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
}

.doc-main {
  max-width: 760px;
}

.doc {
  padding: 26px 22px 30px;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.doc h1 {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.doc h2 {
  margin: 30px 0 8px;
  font-size: 21px;
  line-height: 1.25;
  scroll-margin-top: 16px;
}

.doc p {
  margin: 0 0 12px;
}

.doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.doc li {
  margin: 0 0 8px;
}

.doc li::marker {
  color: var(--violet);
}

.doc a {
  color: var(--violet-dark);
  font-weight: 600;
}

.effective {
  color: var(--muted);
  font-size: 15px;
}

.toc {
  margin: 20px 0 8px;
  padding: 16px 18px 6px;
  border-radius: 20px;
  background: var(--mist);
  border: 1.5px solid var(--line);
}

.toc h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.toc ol {
  margin: 0;
  padding-left: 24px;
}

.toc li {
  margin: 0;
}

.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
}

/* What is still open in a draft: only a local preview shows it; a public build has none. */
.doc mark.ph {
  padding: 1px 2px;
  border-radius: 6px;
  background: #fff1cc;
  color: #6b4700;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.draft {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff1cc;
  color: #6b4700;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
