/* The Lucent website: one look for every page, from Lucent's Deep Sea brand guide.
   Layout: a single essay column in "deep water"; each page opens with an Abyss hero and the glowing lens. */
:root {
  color-scheme: dark;
  --bg: #0B1438;        /* Deep Sea */
  --line: #1C2E66;      /* Current */
  --fg: #F2FBFF;        /* Foam */
  --muted: #A9C3E0;     /* Mist */
  --accent: #22E4F7;    /* Lucent Cyan */
  --accent-2: #3AB8EE;  /* Shark Blue */
  --glow: rgba(34, 228, 247, 0.22);
  --font: "Inter", "Ubuntu Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F2FBFF; --line: #C9DCEB; --fg: #0B1438; --muted: #3E5578;
    --accent: #0B67A6; --accent-2: #0B67A6; --glow: rgba(11, 103, 166, 0.14);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F2FBFF; --line: #C9DCEB; --fg: #0B1438; --muted: #3E5578;
  --accent: #0B67A6; --accent-2: #0B67A6; --glow: rgba(11, 103, 166, 0.14);
}

* { box-sizing: border-box; }
img { max-width: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font);
  font-size: 1.1875rem; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 4px solid var(--accent); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 9px var(--glow);
}
.skip {
  position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: -100px; z-index: 20;
  background: #22E4F7; color: #060A22; padding: 0.6rem 1rem; font-weight: 800; border-radius: 10px;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap {
  max-width: 44rem; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { text-wrap: balance; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
h3 { font-size: 1.35rem; font-weight: 800; margin: 2.25rem 0 0.75rem; }
p { margin: 0 0 1.3rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 800; }
.eyebrow { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.9rem; }

/* Site navigation: always on Abyss, part of the hero band */
.site-nav { background: #060A22; color: #F2FBFF; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
.site-nav .wrap { max-width: 64rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1.1rem; }
.site-nav .home { display: flex; align-items: center; gap: 0.6rem; color: #F2FBFF; text-decoration: none; font-weight: 900; letter-spacing: 0.1em; font-size: 1.1rem; }
.site-nav .home img { width: 36px; height: 36px; border-radius: 50%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; }
.site-nav ul a { color: #A9C3E0; text-decoration: none; font-weight: 800; font-size: 1.02rem; padding-block: 0.4rem; display: inline-block; }
.site-nav ul a:hover { color: #F2FBFF; }
.site-nav ul a[aria-current="page"] { color: #F2FBFF; box-shadow: inset 0 -3px 0 #22E4F7; }
.site-nav a:focus-visible { outline-color: #22E4F7; }

.hero {
  background: radial-gradient(ellipse 80% 90% at 90% 0%, rgba(34,228,247,0.16), transparent 60%), #060A22;
  color: #F2FBFF; padding-top: 2.5rem; padding-bottom: 4.5rem;
}
.hero .eyebrow { color: #3AB8EE; }
.hero a { color: #22E4F7; }
.logo {
  display: block; width: 150px; height: auto; border-radius: 50%; margin-bottom: 2.25rem;
  box-shadow: 0 0 0 9px rgba(34,228,247,0.12), 0 0 60px rgba(34,228,247,0.25);
}
.lede { font-size: 1.35rem; color: #A9C3E0; line-height: 1.6; margin-top: 1.5rem; }
.promise {
  margin-top: 2.25rem; padding: 1.3rem 1.5rem; border-left: 5px solid #22E4F7;
  background: rgba(18, 32, 79, 0.75); border-radius: 0 14px 14px 0;
  font-size: 1.3rem; font-weight: 700; line-height: 1.5;
}

section { padding-block: 4rem; border-top: 1.5px solid var(--line); }
.pull {
  font-size: 1.4rem; font-weight: 800; line-height: 1.45; color: var(--accent);
  border-left: 4px solid var(--accent); padding-left: 1.25rem; margin: 2rem 0;
}
.note { color: var(--muted); font-size: 1.05rem; }

.cta {
  margin-top: 1.25rem; display: inline-block; background: #22E4F7; color: #060A22; font-weight: 900;
  text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 12px; font-size: 1.1rem;
  box-shadow: 0 0 22px rgba(34,228,247,0.35);
}
.hero a.cta, a.cta { color: #060A22; }
.cta + .cta-link { margin-left: 1.25rem; font-weight: 800; }
footer { padding-block: 2.5rem 3.5rem; border-top: 1.5px solid var(--line); color: var(--muted); font-size: 1rem; }
footer nav { margin-bottom: 1rem; }
footer nav a { font-weight: 800; margin-right: 1.25rem; }

@media (max-width: 600px) { section { padding-block: 3rem; } .logo { width: 120px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- Added for the tour, guide and support pages (1 Dec 2026) ---- */
.site-nav .wrap { max-width: 72rem; }
.wide { max-width: 64rem; }
.logo { border-radius: 22%; }
.site-nav .home img { border-radius: 22%; }

/* Tour: one step per section, the picture above the words */
.step figure { margin: 0 0 1.75rem; }
.step img {
  display: block; width: 100%; height: auto; border-radius: 14px; border: 1.5px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.step figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; }
.step-number { color: var(--accent-2); font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }

/* Contents list at the top of long pages */
.toc { background: rgba(18, 32, 79, 0.35); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.25rem 1.5rem; margin-top: 2rem; }
.toc h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.toc li { margin: 0.2rem 0; break-inside: avoid; }

/* Cards on the home and support pages */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.card { border: 1.5px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; background: rgba(18, 32, 79, 0.3); }
.card h3 { margin-top: 0; font-size: 1.25rem; }
.card p { font-size: 1.05rem; }

/* Keys and tables in the guide */
kbd {
  font-family: var(--font); font-weight: 800; font-size: 0.95em; padding: 0.1em 0.45em; border-radius: 6px;
  border: 1.5px solid var(--line); background: rgba(18, 32, 79, 0.55); white-space: nowrap;
}
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 1.05rem; }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1.5px solid var(--line); vertical-align: top; }
th { color: var(--accent-2); font-weight: 800; }
.table-wrap { overflow-x: auto; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1.3rem; }
li { margin: 0.35rem 0; }
.status { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px solid var(--accent-2); color: var(--accent-2); border-radius: 999px; padding: 0.05rem 0.6rem; margin-left: 0.5rem; vertical-align: middle; }
.creator { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: flex-start; }
.creator img { width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 0 40px var(--glow); }
.creator div { flex: 1 1 18rem; }
