/* My List — neumorphic marketing site.
   The whole style rests on one rule: a raised or inset surface shares the page
   background colour exactly, and depth comes only from the paired highlight and
   shadow. Give a card its own background and it stops looking embedded. */

:root {
  color-scheme: light;

  /* Powder Blue — the app's default theme. Each theme supplies both source
     palettes; the appearance selector below chooses which source is active. */
  --light-surface: #c3d3e8;
  --light-highlight: #e2ebf6;
  --light-shadow: #93a5be;
  --light-ink: #22303f;
  --light-muted: #4a5969;
  --light-accent: #35618f;
  --light-on-accent: #ffffff;
  --dark-surface: #202d3d;
  --dark-highlight: #3a4b61;
  --dark-shadow: #0b1119;
  --dark-ink: #e6edf7;
  --dark-muted: #aab9cc;
  --dark-accent: #78aee8;
  --dark-on-accent: #0d1b2b;

  --surface: var(--light-surface);
  --highlight: var(--light-highlight);
  --shadow: var(--light-shadow);
  --ink: var(--light-ink);
  --muted: var(--light-muted);
  --accent: var(--light-accent);
  --on-accent: var(--light-on-accent);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --depth-raised: -8px -8px 18px var(--highlight), 8px 8px 18px var(--shadow);
  --depth-raised-sm: -4px -4px 9px var(--highlight), 4px 4px 9px var(--shadow);
  --depth-inset: inset -6px -6px 12px var(--highlight), inset 6px 6px 12px var(--shadow);
  --depth-inset-sm: inset -3px -3px 7px var(--highlight), inset 3px 3px 7px var(--shadow);

  --content: min(1080px, calc(100vw - 40px));

  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, sans-serif;
}

/* Declared explicitly as well as in :root, so all six themes are symmetric and
   switching back to the default is a real rule rather than a fallback. */
:root[data-theme="powderBlue"] {
  --light-surface: #c3d3e8;
  --light-highlight: #e2ebf6;
  --light-shadow: #93a5be;
  --light-ink: #22303f;
  --light-muted: #4a5969;
  --light-accent: #35618f;
  --light-on-accent: #ffffff;
  --dark-surface: #202d3d;
  --dark-highlight: #3a4b61;
  --dark-shadow: #0b1119;
  --dark-ink: #e6edf7;
  --dark-muted: #aab9cc;
  --dark-accent: #78aee8;
  --dark-on-accent: #0d1b2b;
}

:root[data-theme="warmGrey"] {
  --light-surface: #dcdcdc;
  --light-highlight: #f2f2f2;
  --light-shadow: #adadad;
  --light-ink: #2c2c2c;
  --light-muted: #5c5c5c;
  --light-accent: #5e5e5e;
  --light-on-accent: #ffffff;
  --dark-surface: #292929;
  --dark-highlight: #464646;
  --dark-shadow: #0c0c0c;
  --dark-ink: #eeeeee;
  --dark-muted: #b8b8b8;
  --dark-accent: #c0c0c0;
  --dark-on-accent: #1a1a1a;
}

:root[data-theme="amber"] {
  --light-surface: #efc9a8;
  --light-highlight: #fbe2cb;
  --light-shadow: #c39b77;
  --light-ink: #452d18;
  --light-muted: #6b5038;
  --light-accent: #a84e12;
  --light-on-accent: #ffffff;
  --dark-surface: #342419;
  --dark-highlight: #533b28;
  --dark-shadow: #140c07;
  --dark-ink: #f8e8d9;
  --dark-muted: #c8a78c;
  --dark-accent: #f0934d;
  --dark-on-accent: #2a1609;
}

:root[data-theme="slateNavy"] {
  --light-surface: #b7bfd6;
  --light-highlight: #d6dceb;
  --light-shadow: #8b94ae;
  --light-ink: #1e2537;
  --light-muted: #444b5f;
  --light-accent: #2e3a66;
  --light-on-accent: #ffffff;
  --dark-surface: #202946;
  --dark-highlight: #3b4770;
  --dark-shadow: #090e20;
  --dark-ink: #e8ecfa;
  --dark-muted: #adb8da;
  --dark-accent: #98a9f2;
  --dark-on-accent: #151b32;
}

:root[data-theme="lilac"] {
  --light-surface: #daccec;
  --light-highlight: #efe6f8;
  --light-shadow: #ac9bc0;
  --light-ink: #2f2340;
  --light-muted: #5e516f;
  --light-accent: #6b4899;
  --light-on-accent: #ffffff;
  --dark-surface: #30213d;
  --dark-highlight: #4e385f;
  --dark-shadow: #12091a;
  --dark-ink: #f4e8fc;
  --dark-muted: #c1a9d4;
  --dark-accent: #d0abf0;
  --dark-on-accent: #25162f;
}

:root[data-theme="sage"] {
  --light-surface: #ccd9b0;
  --light-highlight: #e5edd1;
  --light-shadow: #9eac84;
  --light-ink: #29331a;
  --light-muted: #525c3f;
  --light-accent: #4e6a26;
  --light-on-accent: #ffffff;
  --dark-surface: #29351b;
  --dark-highlight: #43532e;
  --dark-shadow: #0c1206;
  --dark-ink: #ecf2df;
  --dark-muted: #b3c495;
  --dark-accent: #b5ce79;
  --dark-on-accent: #1b2510;
}

/* Dark neumorphism inverts the contrast budget: the highlight becomes a faint
   lift rather than white, and the shadow carries most of the depth. */
@media (prefers-color-scheme: dark) {
  :root:not([data-appearance]),
  :root[data-appearance="system"] {
    color-scheme: dark;
    --surface: var(--dark-surface);
    --highlight: var(--dark-highlight);
    --shadow: var(--dark-shadow);
    --ink: var(--dark-ink);
    --muted: var(--dark-muted);
    --accent: var(--dark-accent);
    --on-accent: var(--dark-on-accent);
  }
}

:root[data-appearance="dark"] {
  color-scheme: dark;
  --surface: var(--dark-surface);
  --highlight: var(--dark-highlight);
  --shadow: var(--dark-shadow);
  --ink: var(--dark-ink);
  --muted: var(--dark-muted);
  --accent: var(--dark-accent);
  --on-accent: var(--dark-on-accent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background 200ms ease, color 200ms ease;
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.shell {
  width: var(--content);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--depth-raised-sm);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

/* Surfaces */

.raised {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--depth-raised);
}

.inset {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--depth-inset);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: var(--surface);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--depth-raised-sm);
  color: var(--accent);
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  padding: 9px;
  margin-left: auto;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--depth-raised-sm);
  color: var(--muted);
}

.nav-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease, box-shadow 160ms ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  box-shadow: var(--depth-inset-sm);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--depth-raised-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

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

.button:active {
  box-shadow: var(--depth-inset-sm);
  transform: translateY(0);
}

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

.button-primary span {
  color: var(--accent);
}

/* Hero */

.hero {
  padding: clamp(40px, 8vw, 88px) 0 clamp(30px, 5vw, 56px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.eyebrow {
  display: inline-block;
  padding: 7px 15px;
  margin: 0 0 20px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--depth-inset-sm);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: 0 0 auto;
}

/* Authentic device capture — the frame and UI come from Simulator. */

.hero-capture {
  width: min(600px, 100%);
  margin: 0 auto;
}

.hero-captures {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
}

.hero-captures img,
.showcase-media img {
  display: block;
  object-fit: contain;
  object-position: center;
}

.showcase-media img {
  width: 100%;
  height: 100%;
}

.hero-captures img {
  width: min(254px, calc((100% - 18px) / 2));
  height: auto;
  aspect-ratio: 1419 / 2796;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--depth-raised);
}

.hero-capture figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  text-align: center;
}

/* Sections */

section[id] {
  scroll-margin-top: 84px;
}

.band {
  padding: clamp(40px, 6vw, 76px) 0;
}

.band-head {
  max-width: 58ch;
  margin-bottom: 34px;
}

.band-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}

/* The compact feature set retains the existing responsive auto-fit behaviour. */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--depth-raised);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.sharing-summary {
  max-width: 720px;
  margin-inline: auto;
}

/* Product showcase */

.showcase-band {
  padding-top: clamp(30px, 4vw, 48px);
}

.showcase-band .band-head {
  max-width: 66ch;
}

.showcase-band .band-head .eyebrow {
  margin-bottom: 16px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.showcase-media {
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--surface);
  box-shadow: var(--depth-inset-sm);
}

.showcase-kicker {
  margin-bottom: 7px !important;
  color: var(--accent) !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.showcase-card h3 {
  font-size: 1.24rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--depth-inset-sm);
  color: var(--accent);
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

/* Theme picker */

.theme-showcase,
.theme-group {
  display: grid;
  gap: 18px;
}

.theme-showcase {
  gap: clamp(30px, 5vw, 48px);
}

.theme-group-copy h3,
.theme-group-copy p {
  margin: 0;
}

.theme-group-copy h3 {
  margin-bottom: 5px;
}

.theme-group-copy p {
  max-width: 68ch;
  color: var(--muted);
}

.appearance-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  min-height: 44px;
}

.appearance-picker > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.appearance-options {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--depth-inset-sm);
}

.appearance-option {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.appearance-option[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  background: var(--surface);
  box-shadow: var(--depth-raised-sm);
  color: var(--ink);
}

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset -2px -2px 4px var(--highlight), inset 2px 2px 4px var(--shadow);
  justify-content: center;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.swatch-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
  box-shadow: 0 3px 5px color-mix(in srgb, var(--shadow) 45%, transparent);
  background: var(--swatch-surface);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.swatch[aria-pressed="true"] .swatch-dot {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent),
    0 2px 4px color-mix(in srgb, var(--shadow) 38%, transparent);
}

.swatch[aria-pressed="true"] {
  color: var(--ink);
}

.list-colours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 8px;
  padding: clamp(16px, 4vw, 28px);
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset -2px -2px 5px var(--highlight), inset 2px 2px 5px var(--shadow);
  list-style: none;
}

.list-colour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.list-colour-dot {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--depth-inset-sm);
}

.list-colour-dot::after {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--list-accent);
  content: "";
}

[data-list-color="graphite"] { --list-accent: var(--list-accent-light); --list-accent-light: #4a4a4a; --list-accent-dark: #c2c2c2; }
[data-list-color="red"] { --list-accent: var(--list-accent-light); --list-accent-light: #9d2929; --list-accent-dark: #f08a8a; }
[data-list-color="coral"] { --list-accent: var(--list-accent-light); --list-accent-light: #a63f2e; --list-accent-dark: #f28a74; }
[data-list-color="orange"] { --list-accent: var(--list-accent-light); --list-accent-light: #a64d11; --list-accent-dark: #f0a16a; }
[data-list-color="amber"] { --list-accent: var(--list-accent-light); --list-accent-light: #8a5a00; --list-accent-dark: #e9b66b; }
[data-list-color="gold"] { --list-accent: var(--list-accent-light); --list-accent-light: #745d00; --list-accent-dark: #e1c75b; }
[data-list-color="olive"] { --list-accent: var(--list-accent-light); --list-accent-light: #596a1f; --list-accent-dark: #b3c96c; }
[data-list-color="green"] { --list-accent: var(--list-accent-light); --list-accent-light: #2e6a2f; --list-accent-dark: #7ecc80; }
[data-list-color="mint"] { --list-accent: var(--list-accent-light); --list-accent-light: #1f6b4a; --list-accent-dark: #70d0a0; }
[data-list-color="teal"] { --list-accent: var(--list-accent-light); --list-accent-light: #176b67; --list-accent-dark: #69ccc3; }
[data-list-color="aqua"] { --list-accent: var(--list-accent-light); --list-accent-light: #176c7a; --list-accent-dark: #6dc9db; }
[data-list-color="sky"] { --list-accent: var(--list-accent-light); --list-accent-light: #27658d; --list-accent-dark: #78b9e4; }
[data-list-color="blue"] { --list-accent: var(--list-accent-light); --list-accent-light: #285e9a; --list-accent-dark: #76a9ed; }
[data-list-color="navy"] { --list-accent: var(--list-accent-light); --list-accent-light: #2e3a66; --list-accent-dark: #98a9f2; }
[data-list-color="indigo"] { --list-accent: var(--list-accent-light); --list-accent-light: #454b97; --list-accent-dark: #9ca3f1; }
[data-list-color="periwinkle"] { --list-accent: var(--list-accent-light); --list-accent-light: #565db0; --list-accent-dark: #a5aaf2; }
[data-list-color="violet"] { --list-accent: var(--list-accent-light); --list-accent-light: #674099; --list-accent-dark: #c09ae8; }
[data-list-color="plum"] { --list-accent: var(--list-accent-light); --list-accent-light: #80427f; --list-accent-dark: #d18fd3; }
[data-list-color="pink"] { --list-accent: var(--list-accent-light); --list-accent-light: #983d67; --list-accent-dark: #ed8db5; }
[data-list-color="rose"] { --list-accent: var(--list-accent-light); --list-accent-light: #96364d; --list-accent-dark: #ec809b; }

@media (prefers-color-scheme: dark) {
  :root:not([data-appearance]) [data-list-color],
  :root[data-appearance="system"] [data-list-color] {
    --list-accent: var(--list-accent-dark);
  }
}

:root[data-appearance="dark"] [data-list-color] {
  --list-accent: var(--list-accent-dark);
}

/* Legal pages */

.page-intro {
  padding: clamp(34px, 5vw, 60px) 0 8px;
}

.page-intro .updated {
  color: var(--muted);
  font-size: 0.9rem;
}

.prose {
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--depth-raised);
}

.prose h2 {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.6em;
}

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

.prose ul {
  padding-left: 1.15em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.45em;
}

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

/* Footer */

.site-footer {
  padding: 40px 0 52px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--muted) 22%, transparent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
  padding: 0;
  list-style: none;
}

.footer-inner > p,
.footer-links {
  margin-block: 0;
}

.footer-inner > p:last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Responsive */

@media (min-width: 600px) {
  .list-colours {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .list-colours {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

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

  .hero-copy {
    order: 1;
  }

  .hero-capture {
    order: 2;
  }

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

  .showcase-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "media kicker"
      "media heading"
      "media body";
    column-gap: clamp(20px, 5vw, 36px);
    align-items: start;
  }

  .showcase-media {
    grid-area: media;
    margin-bottom: 0;
  }

  .showcase-kicker {
    grid-area: kicker;
  }

  .showcase-card h3 {
    grid-area: heading;
  }

  .showcase-card > p:not(.showcase-kicker) {
    grid-area: body;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    flex-basis: 100%;
    margin-left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 0 4px;
  }

  .nav-list[data-open="false"] {
    display: none;
  }

  .nav-list a {
    display: block;
  }

  .footer-links {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .showcase-card {
    display: flex;
  }

  .showcase-media {
    margin-bottom: 22px;
  }

  .appearance-picker {
    align-items: stretch;
  }

  .appearance-options {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .appearance-option {
    padding-inline: 8px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --depth-raised: none;
    --depth-raised-sm: none;
    --depth-inset: none;
    --depth-inset-sm: none;
  }

  .raised,
  .inset,
  .card,
  .prose,
  .themes,
  .list-colours,
  .appearance-options,
  .hero-captures img,
  .showcase-media {
    border: 2px solid var(--muted);
    box-shadow: none;
  }

  .swatch-dot,
  .list-colour-dot,
  .appearance-option[aria-pressed="true"] {
    border: 2px solid var(--ink);
    box-shadow: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
