:root {
  color-scheme: light dark;
  --paper: #fff9f0;
  --text: #1a1b1d;
  --muted: #66635c;
  --rule: #dbd4c4;
  --link: #0647e8;
  --focus: #0647e8;
  --cobalt: #0647e8;
  --coral: #ff6b5c;
  --yellow: #fac706;
  --teal: #046170;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #13151a;
    --text: #f2f1ec;
    --muted: #b0b5bf;
    --rule: #40454f;
    --link: #6e9eff;
    --focus: #6e9eff;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 1.0625rem/1.6 ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bands {
  display: flex;
  height: 0.5rem;
}
.bands span:nth-child(1) { background: var(--cobalt); flex: 4; }
.bands span:nth-child(2) { background: var(--coral); flex: 4; }
.bands span:nth-child(3) { background: var(--yellow); flex: 2; }
.bands span:nth-child(4) { background: var(--teal); flex: 1; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  left: -999rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  color: var(--text);
  z-index: 1;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { border-radius: 22%; }

.site-header nav { display: flex; gap: 1.25rem; }
.site-header nav a { color: var(--text); text-decoration: none; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

main { padding-bottom: 3rem; }
main:focus { outline: none; }

h1 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 1rem 0 0.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

h2.platform {
  font-size: 1.6rem;
  line-height: 1.2;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 2.75rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 1.75rem 0 0.4rem;
}

.page-index ul { list-style: none; padding-left: 0; }
.page-index li { margin-bottom: 0.25rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.lede { font-size: 1.25rem; }
.updated { color: var(--muted); }

footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
footer a { color: var(--muted); }

/* Product landing page: the existing Color Collection studio identity. */
.landing {
  --wide-measure: 74rem;
  --surface: #fffdf8;
  --soft: #f2ebdf;
}
.wide-wrap {
  width: min(calc(100% - 5rem), var(--wide-measure));
  margin-inline: auto;
}
.landing .site-header { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.landing .site-header nav { gap: 2rem; font-size: .94rem; font-weight: 600; }
.landing .site-header nav a:hover { color: var(--link); }
.landing main { padding-bottom: 0; }
.landing section[id], .landing div[id] { scroll-margin-top: 1.5rem; }
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 3.75rem;
  padding-top: 3.8rem;
  padding-bottom: 6.2rem;
}
.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 5.4vw, 4.75rem);
  line-height: 1.035;
  letter-spacing: -.055em;
  font-weight: 850;
}
.hero h1 span { color: var(--link); }
.hero-description { max-width: 27rem; font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 3.25rem;
  padding: .8rem 1.2rem;
  border-radius: .9rem;
  background: var(--cobalt);
  color: white;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.button:hover { background: #003ccc; transform: translateY(-2px); }
.button svg, .text-link svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hero-note { color: var(--muted); font-size: .82rem; line-height: 1.65; margin-top: 1.35rem; margin-bottom: 0; }
.hero-note a { color: inherit; }
.hero-art {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  grid-template-rows: 12rem 12rem auto;
  gap: 1rem;
  margin: 0;
  transform: rotate(2deg);
}
.hero-artwork { position: relative; overflow: hidden; border-radius: 1.6rem; min-width: 0; background: var(--soft); }
.hero-liquid { grid-row: 1 / 3; }
.hero-artwork img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-artwork::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0009); pointer-events: none; }
.hero-artwork span { position: absolute; left: 1.15rem; bottom: .85rem; color: white; z-index: 1; font-size: 1rem; font-weight: 750; text-shadow: 0 1px 8px #0006; }
.hero-art figcaption { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); text-align: center; margin-top: .35rem; }
.experience-section { padding-bottom: 5rem; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.1rem; }
.landing h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -.035em; margin: 0; font-weight: 800; }
.section-intro p { color: var(--muted); font-size: 1rem; max-width: 23rem; margin: 0; }
.experience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.3rem 1.25rem; }
.experience { min-width: 0; }
.experience img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; display: block; border-radius: 1.15rem; background: var(--soft); }
.experience h3 { margin: .85rem 0 .25rem; font-size: 1.13rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 750; }
.experience p { font-size: .91rem; line-height: 1.5; color: var(--muted); margin: 0; max-width: 16rem; }
.art-caption { color: var(--muted); font-size: .78rem; margin: 2rem 0 0; }
.collection-section { background: var(--cobalt); color: white; padding: 4.1rem 0 4.4rem; }
.collection-section h2 { margin-bottom: 2.3rem; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3.6rem; }
.collection-grid h3 { font-size: 1.25rem; margin: 0 0 .75rem; line-height: 1.3; font-weight: 750; }
.collection-grid p { margin: 0; font-size: 1rem; line-height: 1.65; color: #f0f4ff; }
.availability-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 5.2rem; padding-bottom: 4.8rem; }
.platforms { font-size: 1rem; line-height: 1.9; color: var(--muted); margin: 1.3rem 0 0; }
.availability-copy h3 { margin: 0 0 .7rem; font-size: 1.35rem; line-height: 1.3; }
.availability-copy p { font-size: 1rem; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; font-size: .98rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.privacy-summary { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5rem; padding-top: 2.5rem; padding-bottom: 3.6rem; border-top: 1px solid var(--rule); }
.privacy-summary h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .7rem; }
.privacy-summary p, .privacy-summary a { font-size: .93rem; }
.privacy-summary p { color: var(--muted); margin-bottom: .6rem; }
.landing-footer { display: flex; align-items: center; gap: 1.1rem; padding-top: 1.5rem; padding-bottom: 2rem; font-size: .84rem; }
.footer-brand { font-size: 1rem; font-weight: 750; color: var(--text); text-decoration: none; }
.landing-footer nav { margin-left: auto; display: flex; gap: 1.2rem; }
@media (prefers-color-scheme: dark) {
  .landing { --surface: #1b202a; --soft: #272b33; }
  .collection-section { background: #1438a7; }
}
@media (max-width: 1000px) {
  .wide-wrap { width: calc(100% - 3rem); }
  .hero { gap: 2.4rem; padding-top: 3rem; padding-bottom: 4.5rem; }
  .hero-art { grid-template-rows: 10.3rem 10.3rem auto; gap: .8rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero-description { font-size: 1.05rem; }
  .experience-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .collection-grid { gap: 2rem; }
  .availability-section, .privacy-summary { gap: 3rem; }
}
@media (max-width: 700px) {
  .wide-wrap { width: calc(100% - 2.5rem); }
  .landing .site-header { gap: 1.15rem; padding-top: 1.2rem; padding-bottom: .6rem; }
  .landing .site-header nav { gap: 1.25rem; font-size: .85rem; }
  .brand { font-size: 1.13rem; gap: .65rem; }
  .brand img { width: 38px; height: 38px; }
  .hero { grid-template-columns: 1fr; gap: 2.4rem; padding-top: 2.6rem; padding-bottom: 3.6rem; }
  .hero h1 { font-size: clamp(2.9rem, 11vw, 4rem); letter-spacing: -.055em; }
  .hero-description { font-size: 1.08rem; max-width: 30rem; margin-bottom: 1.5rem; }
  .hero-art { grid-template-rows: 10rem 10rem auto; margin-inline: .25rem; transform: rotate(1deg); }
  .hero-artwork { border-radius: 1.2rem; }
  .hero-artwork span { font-size: .9rem; }
  .section-intro { display: block; margin-bottom: 1.6rem; }
  .section-intro h2 { margin-bottom: .75rem; }
  .section-intro p { max-width: 26rem; }
  .experience-section { padding-bottom: 3rem; }
  .experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.75rem 1rem; }
  .experience img { aspect-ratio: 1.1; border-radius: .9rem; }
  .experience h3 { font-size: 1.05rem; margin-top: .65rem; }
  .experience p { font-size: .87rem; }
  .art-caption { font-size: .74rem; }
  .collection-section { padding: 3rem 0; }
  .collection-section h2 { margin-bottom: 1.7rem; }
  .collection-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .collection-grid p { max-width: 32rem; }
  .availability-section { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
  .privacy-summary { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .landing-footer { flex-wrap: wrap; gap: .6rem 1.1rem; }
  .landing-footer nav { width: 100%; margin-left: 0; margin-top: .35rem; }
}
@media (max-width: 360px) {
  .wide-wrap { width: calc(100% - 2rem); }
  .hero h1 { font-size: 2.85rem; }
  .button { padding-inline: 1rem; gap: .5rem; font-size: .9rem; }
  .hero-art { grid-template-rows: 8rem 8rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
