/* ==========================================================================
   Dortus site. Two platform worlds, one neutral shell.
   Worlds are set with data-world on <body>: shopify, atlassian, or absent.
   ========================================================================== */

:root {
  /* Neutral shell */
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --paper-3: #eceef2;
  --ink: #15181c;
  --ink-2: #474d56;
  --ink-3: #6b7280;
  --line: #dfe2e8;
  --line-strong: #c6cbd4;

  /* Platform palettes, used by both the chooser and the worlds */
  --shopify: #008060;
  --shopify-deep: #004c3f;
  --shopify-dark: #00392f;
  --shopify-tint: #f0fdf9;
  --shopify-text: #00664f;

  --atl: #0052cc;
  --atl-deep: #172b4d;
  --atl-dark: #0e1c33;
  --atl-tint: #deebff;
  --atl-text: #0747a6;
  --atl-success: #00875a;

  /* Active world. Neutral by default. */
  --brand: #15181c;
  --brand-deep: #15181c;
  --brand-dark: #0c0e11;
  --brand-tint: var(--paper-2);
  --brand-text: #15181c;

  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --r: 14px;
  --r-sm: 8px;

  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Archivo", "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
}

body[data-world="shopify"] {
  --brand: var(--shopify);
  --brand-deep: var(--shopify-deep);
  --brand-dark: var(--shopify-dark);
  --brand-tint: var(--shopify-tint);
  --brand-text: var(--shopify-text);
}

body[data-world="atlassian"] {
  --brand: var(--atl);
  --brand-deep: var(--atl-deep);
  --brand-dark: var(--atl-dark);
  --brand-tint: var(--atl-tint);
  --brand-text: var(--atl-text);
}

/* --------------------------------------------------------------- reset */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--brand-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 1.3rem + 4.6vw, 4.15rem);
}

h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 2.7rem);
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------- layout */

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

/* Keeps the page's left axis while holding a readable measure. */
.wrap-narrow > * {
  max-width: 800px;
}

.band {
  padding-block: clamp(3.4rem, 7vw, 6rem);
}

.band-tint {
  background: var(--brand-tint);
}

.band-grey {
  background: var(--paper-2);
}

.band-deep {
  background: var(--brand-deep);
  color: #fff;
}

.band-dark {
  background: var(--brand-dark);
  color: #fff;
}

.band-deep a:not(.btn),
.band-dark a:not(.btn) {
  color: #fff;
}

.band-deep p,
.band-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.lede {
  font-size: clamp(1.06rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
  max-width: 58ch;
}

.band-deep .lede,
.band-dark .lede,
.world-hero .lede {
  color: rgba(255, 255, 255, 0.95);
}

.head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.head h2 {
  margin-bottom: 0.9rem;
}

.small {
  font-size: 0.9rem;
  color: var(--ink-3);
}

.band-deep .small,
.band-dark .small {
  color: rgba(255, 255, 255, 0.66);
}

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

.cols {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}

.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.split {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1.1fr;
  }
  .split-tight {
    grid-template-columns: 1fr 1fr;
  }
  .split-flip > :first-child {
    order: 2;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--shopify) 0 50%, var(--atl) 50% 100%);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-mark::before {
  content: "D";
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.3rem);
}

.nav > a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

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

.nav > a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

@media (max-width: 680px) {
  /* Beats .btn on specificity, so nav buttons collapse too. */
  .nav .nav-hide-sm {
    display: none;
  }
  .nav {
    gap: 0.9rem;
  }
  .nav > a:not(.btn) {
    font-size: 0.92rem;
  }
  .site-header .wrap {
    padding-inline: 1rem;
    min-height: 58px;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1.15rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

body:not([data-world]) .btn-primary {
  background: var(--ink);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-light {
  background: #fff;
  color: var(--brand-deep);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.86);
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--ink);
}

.band-deep .btn-line,
.band-dark .btn-line,
.world-hero .btn-line {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.band-deep .btn-line:hover,
.band-dark .btn-line:hover,
.world-hero .btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.band-deep .btn-line:hover,
.band-dark .btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.arrow {
  transition: transform 0.15s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------- status pill */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.38rem 0.7rem 0.38rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.door .status,
.door-enter {
  align-self: start;
}

.band-deep .status,
.band-dark .status,
.door .status,
.world-hero .status {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.band-deep .status::before,
.band-dark .status::before,
.door .status::before,
.world-hero .status::before {
  background: #fff;
}

/* ===============================================================
   HOME: brand moment plus two doorways, one composition
   =============================================================== */

.home-shell {
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(1.2rem, 3vw, 2.2rem);
}

.home-top {
  padding-block: clamp(1.4rem, 4vw, 2.9rem) clamp(1.2rem, 2.6vw, 1.9rem);
  display: grid;
  gap: 0.9rem clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .home-top {
    grid-template-columns: auto 1fr auto;
  }
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  margin: 0;
}

.wordmark span {
  background: linear-gradient(100deg, var(--shopify-deep) 12%, var(--atl) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-line {
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.24rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
}

.home-line strong {
  color: var(--ink);
  font-weight: 600;
}

.home-meta {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0;
  white-space: nowrap;
}

.chooser {
  display: grid;
  gap: clamp(0.8rem, 1.4vw, 1.1rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 820px) {
  .chooser {
    grid-template-columns: 1fr 1fr;
  }
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  border-radius: var(--r);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  padding-bottom: 0;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.door-shopify {
  background: var(--shopify-deep);
}

.door-atlassian {
  background: var(--atl);
}

.door::after {
  /* one soft light source, no stacked shadows */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%);
}

.door:hover,
.door:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(8, 20, 16, 0.55);
}

.door-platform {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  letter-spacing: -0.03em;
}

.door-platform svg {
  width: 1.5em;
  height: 1.5em;
  flex: none;
}

.door-pitch {
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.18rem);
  line-height: 1.4;
  color: #fff;
  max-width: 36ch;
  margin: 0;
}

.door-apps {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 0.85rem;
  margin: 0;
}

.door-apps li {
  display: grid;
  gap: 0.12rem;
}

.door-apps b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.door-apps span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

.door .status {
  margin-top: 0.15rem;
}

.door-enter {
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.72rem 1.05rem;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.door-shopify .door-enter {
  color: var(--shopify-deep);
}

.door-atlassian .door-enter {
  color: var(--atl-deep);
}

.door-enter .arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.door:hover .door-enter .arrow {
  transform: translateX(4px);
}

.door-peek {
  /* Full-width product shot sitting on the floor of the door. */
  margin: 0.85rem 0 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: clamp(220px, 28vh, 300px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease;
}

.door:hover .door-peek {
  transform: translateY(-4px);
}

.door-peek img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  margin: 0;
}

.home-foot-note {
  padding-top: clamp(1rem, 2.4vw, 1.6rem);
  font-size: 0.88rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

/* ===============================================================
   PLATFORM WORLDS
   =============================================================== */

.world-hero {
  background: var(--brand-deep);
  color: #fff;
  padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(2.6rem, 6vw, 4.4rem);
  position: relative;
  overflow: hidden;
}

.world-hero-blue {
  background: var(--atl);
}

.world-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 88% 8%, rgba(255, 255, 255, 0.14), transparent 62%);
  pointer-events: none;
}

.world-hero .wrap {
  position: relative;
}

.world-hero h1 {
  margin-bottom: 1rem;
}

.world-hero .lede {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.world-hero .small {
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.1rem;
}

.eyebrow svg {
  width: 1.3em;
  height: 1.3em;
}

.hero-side {
  display: grid;
  gap: 0.9rem;
}

/* Media frames -------------------------------------------------- */

.frame {
  margin: 0;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}

.band-deep .frame,
.band-dark .frame,
.world-hero .frame {
  border-color: rgba(255, 255, 255, 0.3);
}

.frame img {
  width: 100%;
}

/* Tall app screenshots: prefer showing more of the UI. */
.frame-media {
  display: block;
  overflow: hidden;
  max-height: none;
}

.frame-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.frame figcaption {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-2);
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.frame figcaption strong {
  color: var(--ink);
}

.video {
  margin: 0;
  max-width: 960px;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.video-inner {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.shots {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Feature cards ------------------------------------------------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink);
  font-size: 0.97rem;
  opacity: 0.88;
}

.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand-text);
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.band-deep .card,
.band-dark .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.band-deep .card p,
.band-dark .card p {
  color: rgba(255, 255, 255, 0.8);
}

.band-deep .card-mark,
.band-dark .card-mark {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Feature rows, no numbered essay list -------------------------- */

.rows {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rows li {
  display: grid;
  gap: 0.25rem 1.6rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .rows li {
    grid-template-columns: 11rem 1fr;
  }
}

.rows b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.rows p {
  color: var(--ink-2);
  font-size: 0.97rem;
  margin: 0;
}

.band-deep .rows,
.band-dark .rows {
  border-color: rgba(255, 255, 255, 0.2);
}

.band-deep .rows li,
.band-dark .rows li {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Fact grid ----------------------------------------------------- */

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

@media (min-width: 760px) {
  .facts-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .facts-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.facts > div {
  background: var(--paper);
  padding: 1rem 1.1rem;
}

.facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.band-deep .facts,
.band-dark .facts {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.band-deep .facts > div,
.band-dark .facts > div {
  background: var(--brand-deep);
}

.band-dark .facts > div {
  background: var(--brand-dark);
}

.band-deep .facts dt,
.band-dark .facts dt {
  color: rgba(255, 255, 255, 0.62);
}

/* Pricing ------------------------------------------------------- */

.plans {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plan-featured {
  border-color: var(--brand);
  border-width: 2px;
}

.plan h3 {
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-text);
}

.plan-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-price small {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.plan ul li {
  padding-left: 1.3rem;
  position: relative;
}

.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
}

/* ===============================================================
   Mocks for screens we cannot show yet
   =============================================================== */

.mock {
  background: #fff;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  color: var(--ink);
}

.band-tint .mock,
.band-grey .mock,
body > main .band:not(.band-deep):not(.band-dark) .mock {
  border-color: var(--line);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--atl-deep);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
}

.mock-bar::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.mock-split {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .mock-split {
    grid-template-columns: 1fr 1fr;
  }
}

.mock-code {
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 0;
  padding: 1rem;
  background: var(--atl-deep);
  color: #dbe7ff;
  white-space: pre;
  overflow-x: auto;
}

.mock-render {
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
  place-content: center;
  background: var(--paper);
}

.mock-node {
  border: 1.5px solid var(--atl);
  color: var(--atl-deep);
  background: var(--atl-tint);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.mock-node-alt {
  background: #e3fcef;
  border-color: var(--atl-success);
  color: #006644;
}

.mock-link {
  justify-self: center;
  width: 1.5px;
  height: 16px;
  background: var(--line-strong);
  position: relative;
}

.mock-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--line-strong);
}

.mock-note {
  font-size: 0.84rem;
  color: var(--ink-3);
  margin: 0.7rem 0 0;
}

.band-deep .mock-note,
.band-dark .mock-note,
.world-hero .mock-note {
  color: rgba(255, 255, 255, 0.66);
}

/* ===============================================================
   Content pages: support, privacy, terms
   =============================================================== */

.page-head {
  background: var(--paper-2);
  padding-block: clamp(2.4rem, 5vw, 3.8rem);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem);
  margin-bottom: 0.9rem;
}

.page-head .lede {
  margin-bottom: 1rem;
}

.page-meta {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0;
}

.prose {
  max-width: 74ch;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
}

.prose h2 {
  font-size: clamp(1.32rem, 1.1rem + 0.8vw, 1.6rem);
  margin: 2.4rem 0 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.prose h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin: 1.7rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
}

.prose ul li {
  padding-left: 1.2rem;
  position: relative;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--line-strong);
}

.note {
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1rem 1.1rem;
  margin: 1.4rem 0;
}

.note p {
  color: var(--ink);
  font-size: 0.97rem;
}

.checks {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.97rem;
  color: var(--ink-2);
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

body:not([data-world]) .checks li::before {
  border-color: var(--ink);
}

.faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1rem 2rem 1rem 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 0.9rem;
  font-weight: 600;
  color: var(--ink-3);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq p {
  color: var(--ink-2);
  font-size: 0.97rem;
  padding: 0 0 1.1rem;
  max-width: 70ch;
}

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(2.4rem, 5vw, 3.4rem) 1.6rem;
  font-size: 0.94rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.5rem;
}

.site-footer h2 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.7rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  display: block;
}

.footer-legal {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 80ch;
  margin: 0;
}

/* Closing band in the platform colour itself, so a world ends on its own note. */

.band-brand {
  background: var(--brand);
  color: #fff;
}

.band-brand .lede {
  color: rgba(255, 255, 255, 0.88);
}

.band-brand a:not(.btn) {
  color: #fff;
}

.band-brand .btn-line {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.band-brand .btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------- motion */

html:not(.no-js) .enter {
  animation: rise 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

html:not(.no-js) .enter-1 {
  animation-delay: 0.06s;
}

html:not(.no-js) .enter-2 {
  animation-delay: 0.12s;
}

html:not(.no-js) .enter-3 {
  animation-delay: 0.18s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html:not(.no-js) .reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-1 {
  transition-delay: 0.07s;
}

.reveal-2 {
  transition-delay: 0.14s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html:not(.no-js) .enter,
  html:not(.no-js) .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .door,
  .door-peek,
  .arrow {
    transition: none;
  }
}
