:root {
  color-scheme: light;
  --ink: #11110f;
  --muted: rgba(17, 17, 15, 0.62);
  --line: rgba(17, 17, 15, 0.12);
  --paper: #fbfaf7;
  --cream: #f4ecdf;
  --blue: #1157a6;
  --button-blue: #1f6fce;
  --green: #009e60;
  --orange: #e66a3b;
  --yellow: #fcd116;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 44%, #fff 100%);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  width: min(1500px, calc(100% - 96px));
  margin-inline: auto;
}

.snapshot,
.security-section,
.planned-styles-section {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 680;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(17, 17, 15, 0.72);
  font-size: 13px;
  font-weight: 560;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-morph,
.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 32px;
  font-weight: 680;
  white-space: nowrap;
}

.brand-morph img,
.hero-brand-lockup img {
  width: 88px;
  height: 88px;
  border-radius: 22%;
}

.brand-morph {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 32;
  opacity: 0;
  pointer-events: auto;
  transform: translate3d(48px, 120px, 0);
  transform-origin: left top;
  will-change: transform;
}

.has-brand-morph .hero-brand-lockup {
  opacity: 0;
}

.site-header nav {
  gap: 34px;
  font-size: 14px;
}

.site-header nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-header nav span,
.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(12, 79, 161, 0.18);
  border-radius: 8px;
  background: var(--button-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 28px rgba(31, 111, 206, 0.22);
}

.hero {
  position: relative;
  min-height: clamp(720px, 94svh, 960px);
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-wash,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-background {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-wash {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.48) 31%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0) 62%);
}

.hero-fade {
  z-index: 6;
  top: auto;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0) 0%, var(--paper) 100%);
}

.hero-copy {
  position: relative;
  z-index: 8;
  width: min(1500px, calc(100% - 96px));
  margin-inline: auto;
  padding-top: clamp(150px, 17svh, 210px);
  pointer-events: none;
}

.hero-brand-lockup {
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(44px, 3.55vw, 64px);
  line-height: 1.04;
  font-weight: 520;
}

.hero-subhead {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: clamp(34px, 3.55vw, 56px);
  line-height: 1.12;
  font-weight: 430;
}

.hero-body {
  max-width: 330px;
  margin: 28px 0 0;
  color: rgba(17, 17, 15, 0.7);
  font-size: 16px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 28px;
}

.hero-note {
  color: rgba(17, 17, 15, 0.72);
  font-size: 11px;
  font-weight: 560;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.72);
}

.screen-layer {
  position: absolute;
  z-index: 9;
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.screen-layer.is-ready {
  opacity: 1;
}

.floating-note {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  min-width: 82px;
  max-width: 280px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.24));
  pointer-events: auto;
  touch-action: none;
  will-change: left, top;
}

.floating-note:focus-visible {
  outline: 3px solid rgba(31, 111, 206, 0.75);
  outline-offset: 5px;
}

.floating-note.is-dragging {
  z-index: 3;
  cursor: grabbing;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.24));
}

.note-card-motion {
  display: block;
  transform-origin: center;
  transform: rotate(var(--r));
}

.floating-note:hover .note-card-motion {
  transform: rotate(var(--r));
}

.floating-note.is-dragging .note-card-motion {
  transform: rotate(var(--r)) scale(1.03);
}

.floating-note img {
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.feature-section {
  width: min(1320px, calc(100% - 56px));
  margin-inline: auto;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: 48px;
  align-items: start;
  padding: 58px 0 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  margin-top: 54px;
}

.feature-grid article {
  min-width: 0;
}

.feature-grid h3,
.feature-grid p {
  margin: 0;
}

.feature-grid h3 {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 680;
}

.feature-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.security-section {
  width: min(1320px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(390px, 1fr);
  gap: 42px;
  align-items: center;
  padding: 42px 0 72px;
}

.security-copy {
  padding: 4px 0;
}

.security-copy h2,
.security-copy p {
  margin: 0;
}

.security-copy h2 {
  max-width: 500px;
  margin-top: 10px;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.14;
  font-weight: 470;
}

.security-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.64;
}

.security-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.security-points article {
  min-height: auto;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.security-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 111, 206, 0.16);
  border-radius: 8px;
  background: rgba(31, 111, 206, 0.045);
  color: var(--blue);
  margin-bottom: 12px;
}

.security-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-points h3,
.security-points p {
  margin: 0;
}

.security-points h3 {
  font-size: 15px;
  line-height: 1.18;
}

.security-points p {
  max-width: 210px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.snapshot {
  width: min(1320px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
  gap: 44px;
  padding: 72px 0 72px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.14;
  font-weight: 470;
}

.section-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.core-note-grid {
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  isolation: isolate;
}

.core-note-grid::before {
  position: absolute;
  inset: 56px 28px 46px;
  z-index: -1;
  content: "";
  border-radius: 999px;
  background: rgba(31, 111, 206, 0.08);
  filter: blur(38px);
}

.core-note {
  position: static;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 46px rgba(17, 17, 15, 0.14);
}

.core-note-orange {
  grid-column: 1 / span 2;
  grid-row: 1;
  transform: rotate(-2deg);
}

.core-note-emerald {
  grid-column: 3 / span 4;
  grid-row: 1;
  transform: rotate(1deg);
}

.core-note-cobalt {
  grid-column: 4 / span 2;
  grid-row: 2 / span 2;
  transform: rotate(-1.4deg);
}

.core-note-brown {
  grid-column: 1 / span 3;
  grid-row: 2;
  transform: rotate(1.6deg);
}

.core-note-cream {
  grid-column: 1 / span 2;
  grid-row: 3 / span 2;
  transform: rotate(0.8deg);
}

.core-note-yellow {
  grid-column: 3 / span 3;
  grid-row: 4;
  transform: rotate(-1deg);
}

.core-note-red {
  grid-column: 3 / span 4;
  grid-row: 3;
  transform: rotate(1.2deg);
}

.core-note-ink {
  grid-column: 6;
  grid-row: 2 / span 2;
  transform: rotate(-1.8deg);
}

.planned-styles-section {
  padding: 54px 0 48px;
}

.style-explorer {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.snapshot-style-explorer {
  width: 100%;
  margin: 0;
  gap: 14px;
}

.pack-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pack-pill {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 10px;
  border: 1px solid rgba(17, 17, 15, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(17, 17, 15, 0.68);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(17, 17, 15, 0.055);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pack-pill::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  content: "";
  border-radius: 999px;
  background: var(--tab-dot);
}

.pack-pill:hover,
.pack-pill:focus-visible,
.pack-pill.is-active {
  transform: translateY(-2px);
  border-color: rgba(31, 111, 206, 0.24);
  background: var(--tab-bg, #fff);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(31, 111, 206, 0.12);
}

.pack-pill.is-active {
  border-color: rgba(31, 111, 206, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 111, 206, 0.1), 0 18px 42px rgba(31, 111, 206, 0.12);
}

.pack-pill:focus-visible {
  outline: 3px solid rgba(31, 111, 206, 0.48);
  outline-offset: 3px;
}

.pack-pill.color-desk {
  --tab-bg: #fff8e8;
  --tab-dot: linear-gradient(135deg, #e66a3b, #fcd116 45%, #1157a6);
}

.pack-pill.ceramic-studio {
  --tab-bg: #f6e6d8;
  --tab-dot: linear-gradient(135deg, #c96f4a, #a9b88f 58%, #7e9aa6);
}

.pack-pill.riso-paper {
  --tab-bg: #fff2cf;
  --tab-dot: linear-gradient(135deg, #e83e8c, #e65a2e 46%, #34b8c4);
}

.pack-pill.system-pack {
  --tab-bg: #f2f2f7;
  --tab-dot: linear-gradient(135deg, #007aff, #34c759);
}

.snapshot-style-explorer .pack-tabs {
  justify-content: flex-start;
}

.section-copy .pack-tabs {
  justify-content: flex-start;
  margin-top: 22px;
  gap: 8px;
}

.section-copy .pack-pill {
  min-height: 29px;
  padding: 5px 10px 6px;
  font-size: 11px;
  box-shadow: 0 10px 24px rgba(17, 17, 15, 0.045);
}

.section-copy .pack-pill::before {
  width: 7px;
  height: 7px;
}

.pack-gallery-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(17, 17, 15, 0.09);
  border-radius: 10px;
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 111, 206, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 236, 223, 0.58));
  box-shadow: 0 28px 80px rgba(17, 17, 15, 0.1);
  overflow: hidden;
}

.pack-gallery-shell::before {
  position: absolute;
  inset: 92px 46px 126px;
  content: "";
  border-radius: 999px;
  background: rgba(31, 111, 206, 0.09);
  filter: blur(48px);
  pointer-events: none;
}

.snapshot-style-explorer .pack-gallery-shell {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.snapshot-style-explorer .pack-gallery-shell::before {
  inset: 20px 26px 28px;
  z-index: -1;
  background: rgba(31, 111, 206, 0.08);
  filter: blur(40px);
}

.pack-gallery-heading,
.pack-gallery {
  position: relative;
  z-index: 1;
}

.pack-gallery-heading {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.snapshot-style-explorer .pack-gallery-heading {
  display: none;
}

.preview-kicker,
.pack-gallery-heading h3,
.pack-gallery-heading p {
  margin: 0;
}

.preview-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.pack-gallery-heading h3 {
  margin-top: 6px;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.04;
}

.snapshot-style-explorer .pack-gallery-heading h3 {
  margin: 0;
  font-size: 17px;
}

.pack-gallery-heading p:not(.preview-kicker) {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.snapshot-style-explorer .pack-gallery-heading p:not(.preview-kicker) {
  max-width: none;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.pack-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
  align-items: start;
}

.snapshot-style-explorer .pack-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, 48px);
  gap: 10px;
  height: auto;
  align-items: stretch;
  width: 118%;
  margin-left: -9%;
  transform: scale(0.78);
  transform-origin: center top;
}

.palette-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(17, 17, 15, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.1);
  transform: rotate(var(--card-rotation, 0deg));
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.snapshot-style-explorer .palette-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.palette-card:hover {
  transform: rotate(var(--card-rotation, 0deg)) translateY(-2px);
  box-shadow: 0 24px 54px rgba(17, 17, 15, 0.14);
}

.palette-card img {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}

.snapshot-style-explorer .palette-card img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(17, 17, 15, 0.14);
}


.palette-card span {
  display: block;
  padding: 9px 10px 10px;
  border-top: 1px solid rgba(17, 17, 15, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(17, 17, 15, 0.7);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snapshot-style-explorer .palette-card span {
  display: none;
}

.palette-card.is-wide {
  grid-column: span 5;
}

.snapshot-style-explorer .palette-card.is-wide {
  grid-column: auto;
}

.palette-card.is-medium {
  grid-column: span 3;
}

.snapshot-style-explorer .palette-card.is-medium {
  grid-column: auto;
}

.palette-card.is-tall {
  grid-column: span 2;
}

.snapshot-style-explorer .palette-card.is-tall {
  grid-column: auto;
}

.palette-card.is-strip {
  grid-column: span 4;
}

.snapshot-style-explorer .palette-card.is-strip {
  grid-column: auto;
}

.snapshot-style-explorer .palette-card.slot-1 {
  z-index: 2;
  grid-column: 1 / span 4;
  grid-row: 1 / span 3;
  transform: rotate(-2deg);
}

.snapshot-style-explorer .palette-card.slot-2 {
  z-index: 2;
  grid-column: 5 / span 7;
  grid-row: 1 / span 3;
  transform: rotate(1deg);
}

.snapshot-style-explorer .palette-card.slot-3 {
  z-index: 3;
  grid-column: 1 / span 5;
  grid-row: 4 / span 2;
  transform: rotate(1.6deg);
}

.snapshot-style-explorer .palette-card.slot-4 {
  z-index: 3;
  grid-column: 7 / span 3;
  grid-row: 4 / span 3;
  transform: rotate(-1.4deg);
}

.snapshot-style-explorer .palette-card.slot-5 {
  z-index: 5;
  grid-column: 10 / span 3;
  grid-row: 4 / span 3;
  transform: rotate(-1.8deg);
}

.snapshot-style-explorer .palette-card.slot-6 {
  z-index: 2;
  grid-column: 2 / span 3;
  grid-row: 6 / span 4;
  transform: rotate(0.8deg);
}

.snapshot-style-explorer .palette-card.slot-7 {
  z-index: 4;
  grid-column: 5 / span 7;
  grid-row: 6 / span 3;
  transform: rotate(1.2deg);
}

.snapshot-style-explorer .palette-card.slot-8 {
  z-index: 2;
  grid-column: 10 / span 3;
  grid-row: 8 / span 3;
  transform: rotate(-1deg);
}

.snapshot-style-explorer .palette-card:hover {
  transform: translateY(-2px) rotate(var(--card-rotation, 0deg));
}

.style-explorer.is-changing .palette-card {
  animation: paletteFade 180ms ease both;
}

@keyframes paletteFade {
  from {
    opacity: 0;
    transform: rotate(var(--card-rotation, 0deg)) translateY(6px);
  }
  to {
    opacity: 1;
    transform: rotate(var(--card-rotation, 0deg));
  }
}

.style-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.style-card {
  position: relative;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border: var(--style-border);
  border-radius: var(--style-radius, 4px);
  background: var(--style-bg);
  color: var(--style-ink);
  box-shadow: var(--style-shadow);
  overflow: hidden;
}

.style-card::before,
.style-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.style-card::before {
  background: var(--style-texture, transparent);
  opacity: var(--texture-opacity, 1);
}

.style-card::after {
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--style-edge);
}

.style-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
  font-weight: 760;
}

.style-card p {
  position: relative;
  z-index: 1;
  min-height: 58px;
  margin: 16px 0 0;
  color: var(--style-muted);
  font-size: 13px;
  line-height: 1.42;
}

.style-mask {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 15px;
  margin-top: 14px;
  border: var(--mask-border, 0);
  border-radius: var(--mask-radius, 1px);
  background:
    var(--mask-overlay, linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent)),
    var(--mask-bg, linear-gradient(90deg, var(--style-accent), var(--style-link)));
  box-shadow: var(--mask-shadow, inset 0 -1px 0 rgba(255, 255, 255, 0.22));
}

.dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.dots span {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 15, 0.12);
  background: var(--dot);
}

.color-desk {
  --style-bg: #fff8e8;
  --style-ink: #161613;
  --style-muted: rgba(22, 22, 19, 0.62);
  --style-link: #1157a6;
  --style-accent: #e66a3b;
  --style-edge: linear-gradient(180deg, #e66a3b, #fcd116 45%, #1157a6);
  --style-border: 1px solid rgba(22, 22, 19, 0.14);
  --style-radius: 3px;
  --style-shadow: 0 24px 70px rgba(28, 18, 9, 0.18);
  --style-footer: rgba(22, 22, 19, 0.32);
}
.color-desk .dots span:nth-child(1) { --dot: #e66a3b; }
.color-desk .dots span:nth-child(2) { --dot: #009e60; }
.color-desk .dots span:nth-child(3) { --dot: #0047ab; }
.color-desk .dots span:nth-child(4) { --dot: #fcd116; }

.ceramic-studio {
  --style-bg: #f6e6d8;
  --style-ink: #2d2925;
  --style-muted: rgba(45, 41, 37, 0.62);
  --style-link: #5f7881;
  --style-accent: #7e9aa6;
  --style-edge: linear-gradient(180deg, #c96f4a, #a9b88f 58%, #7e9aa6);
  --style-border: 1px solid rgba(45, 41, 37, 0.14);
  --style-radius: 7px 4px 8px 5px;
  --style-shadow: 0 24px 70px rgba(45, 41, 37, 0.16);
  --style-footer: rgba(45, 41, 37, 0.33);
  --style-texture:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 66%, rgba(45, 41, 37, 0.16) 0 1px, transparent 1.5px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 46%);
  --mask-bg: linear-gradient(90deg, #8c5640, #c96f4a 58%, #a9b88f);
  --mask-overlay:
    radial-gradient(circle at 18% 42%, rgba(246, 230, 216, 0.34) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 66%, rgba(45, 41, 37, 0.2) 0 1px, transparent 1.5px);
  --mask-radius: 9px 4px 8px 5px;
  --mask-shadow: inset 0 1px 2px rgba(45, 41, 37, 0.18), 0 1px 0 rgba(246, 230, 216, 0.45);
}
.ceramic-studio .dots span:nth-child(1) { --dot: #c96f4a; }
.ceramic-studio .dots span:nth-child(2) { --dot: #e7b28e; }
.ceramic-studio .dots span:nth-child(3) { --dot: #a9b88f; }
.ceramic-studio .dots span:nth-child(4) { --dot: #7e9aa6; }

.riso-paper {
  --style-bg: #fff2cf;
  --style-ink: #2a2430;
  --style-muted: rgba(42, 36, 48, 0.62);
  --style-link: #168ea0;
  --style-accent: #e83e8c;
  --style-edge: linear-gradient(180deg, #e83e8c, #e65a2e 46%, #34b8c4);
  --style-border: 1px solid rgba(37, 32, 42, 0.18);
  --style-radius: 2px;
  --style-shadow: 7px 7px 0 rgba(232, 62, 140, 0.2), 13px 13px 0 rgba(52, 184, 196, 0.16), 0 18px 46px rgba(37, 32, 42, 0.12);
  --style-footer: rgba(42, 36, 48, 0.34);
  --style-texture:
    radial-gradient(rgba(42, 36, 48, 0.12) 0.65px, transparent 0.9px),
    radial-gradient(rgba(232, 62, 140, 0.12) 0.55px, transparent 0.85px);
  --texture-opacity: 0.52;
  background-size: auto, 5px 5px, 7px 7px;
}
.riso-paper .dots span:nth-child(1) { --dot: #e83e8c; }
.riso-paper .dots span:nth-child(2) { --dot: #e65a2e; }
.riso-paper .dots span:nth-child(3) { --dot: #e8ce3a; }
.riso-paper .dots span:nth-child(4) { --dot: #34b8c4; }

.system-pack {
  --style-bg: #f2f2f7;
  --style-ink: #1c1c1e;
  --style-muted: #6c6c70;
  --style-link: #007aff;
  --style-accent: #007aff;
  --style-edge: linear-gradient(180deg, #007aff, #34c759);
  --style-border: 1px solid rgba(255, 255, 255, 0.62);
  --style-radius: 8px;
  --style-shadow: 0 22px 58px rgba(28, 28, 30, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --style-footer: rgba(28, 28, 30, 0.36);
  --style-texture:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22));
  --mask-bg: linear-gradient(180deg, #0a84ff, #007aff);
  --mask-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 48%, rgba(0, 0, 0, 0.12));
  --mask-radius: 4px;
  --mask-shadow: 0 0 0 1px rgba(255, 255, 255, 0.46), 0 2px 7px rgba(0, 122, 255, 0.22);
  backdrop-filter: blur(16px);
}
.system-pack .dots span:nth-child(1) { --dot: #f2f2f7; }
.system-pack .dots span:nth-child(2) { --dot: #c7c7cc; }
.system-pack .dots span:nth-child(3) { --dot: #007aff; }
.system-pack .dots span:nth-child(4) { --dot: #34c759; }

.planned-styles {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 22px;
  align-items: center;
  padding: 0;
  border-top: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.planned-styles::before {
  display: none;
}

.planned-styles h3,
.planned-styles p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.planned-styles h3 {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.18;
}

.planned-styles p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.42;
}

.planned-styles .preview-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.planned-styles ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planned-styles li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(31, 111, 206, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(17, 17, 15, 0.68);
  font-size: 11px;
  font-weight: 500;
  box-shadow: none;
}

.planned-styles li::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  content: "";
  border-radius: 999px;
  background: var(--future-dot, #1f6fce);
}

.planned-styles li:nth-child(1) { --future-dot: #c8d7f1; }
.planned-styles li:nth-child(2) { --future-dot: #2f76d2; }
.planned-styles li:nth-child(3) { --future-dot: #ff4fd8; }
.planned-styles li:nth-child(4) { --future-dot: #232833; }
.planned-styles li:nth-child(5) { --future-dot: #2fbf76; }
.planned-styles li:nth-child(6) { --future-dot: #a8d8ff; }
.planned-styles li:nth-child(7) { --future-dot: #7f8794; }

.site-footer {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
  display: block;
  padding: 34px 0 42px;
  color: rgba(17, 17, 15, 0.58);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
  border-top: 1px solid rgba(17, 17, 15, 0.1);
  padding-top: 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.site-footer p {
  max-width: 360px;
  margin: 12px 0 0;
  color: rgba(17, 17, 15, 0.52);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}

.site-footer a {
  color: inherit;
  font-weight: 350;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.legal-note {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: rgba(17, 17, 15, 0.42);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header,
  .brand-morph {
    display: none;
  }

  .has-brand-morph .hero-brand-lockup {
    opacity: 1;
  }

  .hero {
    min-height: clamp(650px, 92svh, 820px);
  }

  .hero-copy {
    padding-top: 118px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(38px, 7vw, 52px);
  }

  .hero-background {
    object-position: 58% top;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.12) 100%);
  }

  .screen-layer {
    display: none;
  }

  .security-section,
  .snapshot,
  .feature-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .security-section,
  .feature-section {
    gap: 26px;
  }

  .security-points,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    gap: 24px;
    margin-top: 0;
  }

  .snapshot {
    gap: 36px;
  }

  .snapshot-style-explorer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pack-gallery {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .snapshot-style-explorer .pack-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 16px;
    height: auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
    justify-items: stretch;
  }

  .snapshot-style-explorer .palette-card,
  .snapshot-style-explorer .palette-card.slot-1,
  .snapshot-style-explorer .palette-card.slot-2,
  .snapshot-style-explorer .palette-card.slot-3,
  .snapshot-style-explorer .palette-card.slot-4,
  .snapshot-style-explorer .palette-card.slot-5,
  .snapshot-style-explorer .palette-card.slot-6,
  .snapshot-style-explorer .palette-card.slot-7,
  .snapshot-style-explorer .palette-card.slot-8 {
    position: static;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
  }

  .snapshot-style-explorer .palette-card img {
    width: 100%;
    max-height: none;
  }

  .snapshot-style-explorer .palette-card.slot-5,
  .snapshot-style-explorer .palette-card.slot-6,
  .snapshot-style-explorer .palette-card.slot-7,
  .snapshot-style-explorer .palette-card.slot-8 {
    display: none;
  }

}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header,
  .snapshot,
  .security-section,
  .feature-section,
  .planned-styles-section,
  .site-footer,
  .legal-note {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .site-header {
    display: none;
  }

  .brand-morph {
    display: none;
  }

  .site-header nav a {
    display: none;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav span {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .brand span {
    display: none;
  }

  .hero-brand-lockup {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 24px;
  }

  .brand-morph span {
    display: none;
  }

  .brand-morph img,
  .hero-brand-lockup img {
    width: 56px;
    height: 56px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 44px);
    max-width: 360px;
  }

  .hero-copy {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    padding-top: 56px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-background {
    object-position: 63% top;
  }

  .hero-subhead {
    font-size: 33px;
  }

  .hero-body {
    margin-top: 28px;
  }

  .security-points,
  .feature-grid,
  .planned-styles {
    grid-template-columns: 1fr;
  }

  .security-points article,
  .feature-grid article,
  .planned-styles {
    grid-template-columns: 1fr;
  }

  .security-points article {
    min-height: auto;
    justify-content: flex-start;
  }

  .security-section {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .feature-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .snapshot {
    padding-top: 48px;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .snapshot > * {
    min-width: 0;
  }

  .section-copy {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .section-copy h2 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.12;
  }

  .section-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 14px;
  }

  .note-composition,
  .pack-composition,
  .core-note-grid {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .shot {
    position: static;
    width: 100%;
  }

  .pack-composition::before {
    display: none;
  }

  .pack-sheet,
  .pack-sheet-main,
  .pack-sheet-riso,
  .pack-sheet-ceramic,
  .pack-sheet-system {
    position: static;
    width: 100%;
    transform: none;
  }

  .core-note-grid::before {
    display: none;
  }

  .core-note,
  .core-note-orange,
  .core-note-emerald,
  .core-note-cobalt,
  .core-note-brown,
  .core-note-cream,
  .core-note-yellow,
  .core-note-red,
  .core-note-ink {
    position: static;
    width: 100%;
    transform: none;
  }

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

  .pack-tabs {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 8px;
  }

  .pack-pill {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .pack-gallery-shell {
    padding: 16px;
  }

  .pack-gallery-heading {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .pack-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .snapshot-style-explorer .pack-gallery {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    transform: none;
    justify-items: center;
  }

  .palette-card,
  .palette-card.is-wide,
  .palette-card.is-medium,
  .palette-card.is-tall,
  .palette-card.is-strip {
    grid-column: span 1;
  }

  .snapshot-style-explorer .palette-card,
  .snapshot-style-explorer .palette-card.slot-1,
  .snapshot-style-explorer .palette-card.slot-2,
  .snapshot-style-explorer .palette-card.slot-3,
  .snapshot-style-explorer .palette-card.slot-4,
  .snapshot-style-explorer .palette-card.slot-5,
  .snapshot-style-explorer .palette-card.slot-6,
  .snapshot-style-explorer .palette-card.slot-7,
  .snapshot-style-explorer .palette-card.slot-8 {
    position: static;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
    transform: none;
  }

  .snapshot-style-explorer .palette-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

  .snapshot-style-explorer .palette-card.slot-2,
  .snapshot-style-explorer .palette-card.slot-3,
  .snapshot-style-explorer .palette-card.slot-4,
  .snapshot-style-explorer .palette-card.slot-5,
  .snapshot-style-explorer .palette-card.slot-6,
  .snapshot-style-explorer .palette-card.slot-7,
  .snapshot-style-explorer .palette-card.slot-8 {
    display: none;
  }

  .palette-card span {
    padding: 7px 8px 8px;
    font-size: 11px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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