:root {
  --canvas: #f3f0e8;
  --ink: #181619;
  --muted: #67616b;
  --line: rgba(24, 22, 25, 0.17);
  --purple: #7559f4;
  --purple-deep: #5d3fe6;
  --lime: #d9ff57;
  --coral: #ff765f;
  --paper: #fffdf7;
  --radius-lg: 36px;
  --radius-md: 26px;
  --shadow: 0 22px 60px rgba(49, 36, 67, 0.11);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 7% 8%, rgba(117, 89, 244, 0.1), transparent 24rem),
    var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(calc(100% - 40px), 760px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 72px 0;
}

.not-found-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin-bottom: clamp(70px, 14vh, 140px);
}

.not-found .wordmark span {
  color: var(--purple);
}

.not-found h1 {
  max-width: 700px;
  margin: 24px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 10vw, 6.7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.not-found > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 38px);
}

.timata-language-switcher {
  --locale-bg: #fffdf7;
  --locale-ink: #181619;
  --locale-muted: #67616b;
  --locale-line: rgba(24, 22, 25, 0.16);
  --locale-accent: #7559f4;
  position: relative;
  z-index: 50;
  display: block;
  width: max-content;
  margin: 0;
  color: var(--locale-ink);
  font: 650 0.875rem/1.25 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  color-scheme: light;
  isolation: isolate;
}

.timata-language-switcher,
.timata-language-switcher * {
  box-sizing: border-box;
}

.locale-picker {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.locale-picker > summary {
  display: flex;
  align-items: center;
  min-width: 134px;
  min-height: 44px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid var(--locale-line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 6px 20px rgba(49, 36, 67, 0.08);
  color: var(--locale-ink);
  cursor: pointer;
  font: inherit;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.locale-picker > summary::-webkit-details-marker {
  display: none;
}

.locale-picker > summary:hover {
  border-color: rgba(24, 22, 25, 0.36);
  background: var(--locale-bg);
}

.locale-picker > summary:focus-visible {
  outline: 3px solid var(--locale-accent);
  outline-offset: 3px;
}

.locale-picker__globe {
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--locale-accent);
}

.locale-picker__current {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locale-picker__current-code {
  display: none;
}

.locale-picker__chevron {
  flex: 0 0 auto;
  margin-left: auto;
  transition: transform 160ms ease;
}

.locale-picker[open] .locale-picker__chevron {
  transform: rotate(180deg);
}

.locale-picker__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--locale-line);
  border-radius: 18px;
  background: var(--locale-bg);
  box-shadow: 0 22px 60px rgba(49, 36, 67, 0.2);
}

.locale-picker__panel > p {
  margin: 0;
  padding: 8px 10px 7px;
  color: var(--locale-muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locale-picker__panel ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locale-picker__panel li {
  margin: 0;
  padding: 0;
}

.locale-picker__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 11px;
  color: var(--locale-ink);
  text-decoration: none;
}

.locale-picker__panel a:hover {
  background: rgba(117, 89, 244, 0.09);
}

.locale-picker__panel a:focus-visible {
  outline: 3px solid var(--locale-accent);
  outline-offset: -2px;
}

.locale-picker__panel a[aria-current="page"] {
  background: rgba(117, 89, 244, 0.13);
  color: #4f34cf;
  font-weight: 780;
}

.locale-picker__native {
  min-width: 0;
}

.locale-picker__code {
  margin-left: auto;
  color: var(--locale-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.locale-picker__check {
  flex: 0 0 auto;
  margin-left: 8px;
  color: var(--locale-accent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.wordmark svg {
  color: var(--purple);
}

.header-link,
.primary-button,
.card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  font-weight: 780;
}

.header-link {
  gap: 9px;
  padding: 0 4px;
}

.header-link svg,
.card-button svg {
  transition: transform 180ms ease;
}

.header-link:hover svg,
.card-button:hover svg {
  transform: translateX(4px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  min-height: 680px;
  padding: 78px 0 92px;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
}

.eyebrow,
.card-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow > span {
  width: 29px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.hero h1 {
  max-width: 780px;
  margin: 23px 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.65rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.072em;
  overflow-wrap: anywhere;
}

.hero h1 em {
  position: relative;
  color: var(--purple-deep);
  font-weight: inherit;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -0.1em;
  width: 92%;
  height: 0.12em;
  border-radius: 100%;
  background: var(--coral);
  content: "";
  transform: rotate(-2deg);
}

.hero-intro {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.62;
}

.primary-button {
  gap: 20px;
  margin-top: 34px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: 5px 5px 0 var(--lime);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  box-shadow: 2px 2px 0 var(--lime);
  transform: translate(3px, 3px);
}

.primary-button span {
  font-size: 1.2rem;
}

.hero-playground {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 42% 58% 58% 42% / 48% 39% 61% 52%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    var(--purple);
  background-size: 32px 32px;
  box-shadow: 15px 18px 0 var(--ink), var(--shadow);
  transform: rotate(2deg);
}

.hero-playground::before {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  content: "";
}

.orbit {
  position: absolute;
  width: 82%;
  height: 38%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(32deg);
}

.orbit-two {
  transform: rotate(-32deg);
}

.playground-core {
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 58%;
  padding: 29px 20px 27px;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--lime);
  color: var(--ink);
  text-align: center;
  transform: rotate(-2deg);
}

.playground-core strong {
  margin-top: 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.7vw, 1.7rem);
  line-height: 1.08;
}

.playground-core span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.83rem;
}

.floating-label {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 4px 4px 0 var(--ink);
}

.label-quiz {
  top: 17%;
  left: 10%;
  transform: rotate(-9deg);
}

.label-tool {
  top: 21%;
  right: 8%;
  background: var(--lime);
  transform: rotate(8deg);
}

.label-story {
  right: 14%;
  bottom: 13%;
  background: var(--paper);
  transform: rotate(-6deg);
}

.collection {
  padding: 110px 0 105px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 370px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.experience-card,
.coming-card {
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.experience-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(330px, 1.06fr);
  min-height: 510px;
  background: var(--paper);
  box-shadow: var(--shadow);
  container-type: inline-size;
}

.experience-card--featured {
  grid-column: 1 / -1;
}

.experience-card--library {
  display: flex;
  flex-direction: column;
  min-height: 590px;
  background: var(--paper);
}

.experience-card--library .card-content {
  flex: 1;
  align-items: flex-start;
  min-height: 310px;
  padding: 34px;
}

.experience-card--library h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.library-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--site-accent);
  color: white;
  isolation: isolate;
}

.library-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, color-mix(in srgb, var(--site-secondary) 35%, transparent));
  content: "";
}

.library-visual .card-kicker {
  color: currentColor;
  border-color: currentColor;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
}

.library-visual > p {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.library-motif {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 12%;
  width: 150px;
  height: 150px;
  transform: translateY(-50%);
}

.motif--orbit span,
.motif--compass span,
.motif--grid span {
  position: absolute;
  display: block;
}

.orbit-ring {
  inset: 12px;
  border: 2px solid color-mix(in srgb, var(--site-secondary) 78%, white);
  border-radius: 50%;
}

.orbit-ring--one { transform: rotate(28deg) scaleY(.38); }
.orbit-ring--two { transform: rotate(-28deg) scaleY(.38); }
.orbit-core { inset: 55px; border-radius: 50%; background: var(--site-secondary); box-shadow: 0 0 0 9px color-mix(in srgb, var(--site-secondary) 24%, transparent); }

.motif--spark .motif-spark { position: absolute; color: var(--site-secondary); font-size: 3rem; filter: drop-shadow(5px 6px 0 var(--ink)); }
.motif--spark .motif-spark:nth-child(1) { top: 0; left: 48px; font-size: 5rem; }
.motif--spark .motif-spark:nth-child(2) { right: 0; bottom: 10px; transform: rotate(18deg); }
.motif--spark .motif-spark:nth-child(3) { bottom: 0; left: 0; font-size: 2rem; }

.motif--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; transform: translateY(-50%) rotate(8deg); }
.motif--grid span { position: static; border: 1px solid var(--ink); border-radius: 8px; background: var(--site-secondary); box-shadow: 3px 3px 0 var(--ink); }
.motif--grid span:nth-child(2),.motif--grid span:nth-child(4),.motif--grid span:nth-child(9) { background: white; }

.compass-ring { inset: 12px; border: 3px solid var(--site-secondary); border-radius: 50%; box-shadow: 0 0 0 9px color-mix(in srgb, white 14%, transparent); }
.compass-needle { top: 22px; left: 65px; width: 22px; height: 105px; border: 2px solid var(--ink); background: linear-gradient(to bottom, var(--site-secondary) 0 50%, white 50%); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); transform: rotate(25deg); }
.compass-dot { inset: 67px; border-radius: 50%; background: var(--ink); }

.card-style--geometric .library-visual { background: var(--site-accent); }
.card-style--editorial .library-visual { background: color-mix(in srgb, var(--site-accent) 14%, #fffdf7); color: var(--ink); }
.card-style--editorial .library-visual::before { inset: 22px; border: 1px solid var(--site-accent); background: transparent; }
.card-style--editorial .library-visual .card-kicker { color: var(--site-accent); background: transparent; }
.card-style--playful .library-visual { background: var(--site-secondary); color: var(--ink); }
.card-style--playful .library-visual::before { inset: -35% 35% 20% -20%; border-radius: 50%; background: var(--site-accent); transform: rotate(18deg); }
.card-style--playful .library-motif { transform: translateY(-50%) rotate(-7deg); }
.card-style--technical .library-visual { background: var(--ink); color: white; }
.card-style--technical .library-visual::before { background: linear-gradient(color-mix(in srgb,var(--site-accent) 30%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--site-accent) 30%,transparent) 1px,transparent 1px); background-size: 22px 22px; }
.card-style--technical .library-visual > p { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.3rem,2.5vw,2rem); }

.card-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: 32px;
  overflow: hidden;
  border-right: 1px solid var(--ink);
}

.card-visual--flag {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.19) 0 2px, transparent 3px),
    radial-gradient(circle at 83% 24%, rgba(255, 255, 255, 0.16) 0 3px, transparent 4px),
    #e9506d;
  background-size: auto, auto, auto;
  color: white;
}

.card-visual--flag::after {
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.07), 0 0 0 70px rgba(255, 255, 255, 0.05);
}

.card-kicker {
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(70, 13, 36, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flag-mark {
  position: relative;
  width: 170px;
  height: 176px;
  margin-inline: auto;
  transform: rotate(-4deg);
}

.flag-pole {
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 9px;
  height: 172px;
  border-radius: 99px;
  background: var(--ink);
}

.flag-shape {
  position: absolute;
  top: 13px;
  left: 36px;
  width: 130px;
  height: 88px;
  border: 8px solid var(--ink);
  border-left: 0;
  border-radius: 0 17px 17px 0;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 84% 50%, 100% 100%, 0 100%);
}

.card-visual > p {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 58px);
}

.card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.card-title-row h3,
.coming-card h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.new-badge {
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.card-description {
  margin: 26px 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.card-meta li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f2e9;
  color: #4f4952;
  font-size: 0.78rem;
  font-weight: 680;
}

.card-button {
  align-self: flex-start;
  gap: 28px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: background 180ms ease, color 180ms ease;
}

.card-button:hover {
  background: var(--purple-deep);
}

.coming-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 510px;
  padding: 30px;
  background: var(--lime);
}

.coming-art {
  position: relative;
  min-height: 220px;
}

.coming-orb {
  position: absolute;
  top: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 10px 10px 0 var(--ink);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  transform: translateX(-50%) rotate(8deg);
}

.spark {
  position: absolute;
  z-index: 2;
  font-size: 1.65rem;
}

.spark-one {
  top: 8px;
  left: 12%;
}

.spark-two {
  top: 48%;
  right: 8%;
  color: var(--coral);
  font-size: 2.3rem;
}

.spark-three {
  bottom: 5%;
  left: 18%;
  color: var(--purple-deep);
}

.coming-card h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.coming-card p:last-child {
  margin: 18px 0 0;
  color: #3f4421;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.principles article {
  min-height: 250px;
  padding: 42px 34px 38px 0;
}

.principles article + article {
  padding-left: 34px;
  border-left: 1px solid var(--ink);
}

.principles article > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.principles h2 {
  margin: 27px 0 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.principles p {
  max-width: 315px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 170px;
  color: var(--muted);
  font-size: 0.84rem;
}

.wordmark--footer {
  font-size: 1.35rem;
}

.wordmark--footer span {
  color: var(--purple);
}

.site-footer p {
  margin: 0;
}

.site-footer > p:last-child {
  justify-self: end;
}

.footer-middle {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.footer-middle nav,
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-middle nav a,
.legal-footer nav a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.legal-header .wordmark span {
  color: var(--purple);
}

.legal-copy {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) 0;
}

.legal-copy h1 {
  margin: 16px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.legal-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.25;
}

.legal-copy p {
  max-width: 75ch;
  line-height: 1.8;
}

.legal-copy a {
  text-underline-offset: 3px;
}

.legal-copy code {
  overflow-wrap: anywhere;
}

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

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  margin-top: 44px;
}

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

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

@container (max-width: 730px) {
  .experience-card {
    grid-template-columns: 1fr;
  }

  .card-visual {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 66px;
  }

  .hero-copy {
    max-width: 770px;
  }

  .hero-playground {
    width: min(82vw, 490px);
    justify-self: center;
    margin-top: 12px;
  }

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

  .coming-card {
    display: grid;
    grid-template-columns: minmax(250px, 0.7fr) 1fr;
    align-items: center;
    gap: 25px;
    min-height: 330px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 76px;
    gap: 10px 12px;
    padding: 14px 0;
  }

  .header-actions {
    display: contents;
  }

  .site-header > .wordmark {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .site-header .timata-language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header .header-link {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

  .locale-picker > summary {
    min-width: 48px;
    padding-inline: 10px;
  }

  .locale-picker__current {
    display: none;
  }

  .locale-picker__current-code {
    display: inline;
  }

  .not-found-header {
    margin-bottom: 70px;
  }

  .hero {
    gap: 58px;
    padding: 53px 0 78px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-playground {
    width: calc(100% - 14px);
    box-shadow: 9px 11px 0 var(--ink), var(--shadow);
  }

  .playground-core {
    width: 66%;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 22px;
  }

  .collection {
    padding: 82px 0;
  }

  .experience-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .card-visual {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .card-content {
    padding: 34px 25px 30px;
  }

  .card-title-row {
    display: block;
  }

  .new-badge {
    display: inline-block;
    margin-top: 15px;
  }

  .card-button {
    align-self: stretch;
  }

  .coming-card {
    display: flex;
    min-height: 490px;
    padding: 25px;
    border-radius: var(--radius-md);
  }

  .coming-art {
    width: 100%;
  }

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

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 34px 4px 36px;
    border-left: 0;
  }

  .principles article + article {
    border-top: 1px solid var(--ink);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 44px 0;
  }

  .site-footer > p:last-child {
    justify-self: start;
  }

  .footer-middle {
    justify-items: start;
    text-align: left;
  }

  .footer-middle nav,
  .legal-footer nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero-playground,
  .experience-card,
  .coming-card,
  .primary-button,
  .card-button,
  .locale-picker > summary,
  .locale-picker__panel {
    box-shadow: none;
  }

  .locale-picker__panel a[aria-current="page"] {
    outline: 2px solid CanvasText;
    outline-offset: -3px;
  }
}
