:root {
  --paper: #f0ede6;
  --ink: #090b0c;
  --line: #2a2d30;
  --muted: #9da1a5;
  --warm: #d7bc96;
}

.product-story {
  --story-ivory: #f1ede4;
  --story-muted: #a9a8a4;
  --story-gold: #d7b079;
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 4.2vw, 5.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 50% 0, rgba(109, 85, 56, .13), transparent 31rem),
    #090b0c;
  color: var(--story-ivory);
}

.product-story-heading {
  max-width: 55rem;
  margin: 0 auto clamp(2.6rem, 5vw, 4.5rem);
  text-align: center;
}

.story-eyebrow,
.feature-kicker {
  margin: 0 0 .85rem;
  color: var(--story-gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.product-story-heading h2 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(3.25rem, 5.6vw, 6rem);
  font-weight: 730;
  line-height: .96;
  letter-spacing: -.065em;
}

.product-story-heading > p:last-child {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  color: var(--story-muted);
  font-size: clamp(.98rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.message-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, .58fr) minmax(0, 1.42fr);
  min-height: clamp(30rem, 49vw, 43rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .65rem;
  background: #090a0a;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, .46);
}

.story-scene-image,
.feature-scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-feature::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, .92) 0%, rgba(5, 6, 7, .47) 43%, rgba(5, 6, 7, .04) 75%),
    linear-gradient(0deg, rgba(5, 6, 7, .5), transparent 44%);
  pointer-events: none;
}

.message-feature-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.message-feature-copy h3,
.feature-scene h3 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.45vw, 4.2rem);
  font-weight: 690;
  line-height: 1;
  letter-spacing: -.055em;
}

.message-feature-copy > p:not(.feature-kicker) {
  max-width: 27rem;
  margin: 1.15rem 0 0;
  color: rgba(241, 237, 228, .72);
  line-height: 1.65;
}

.message-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
}

.message-choices button {
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px;
  padding: .65rem .9rem;
  background: rgba(8, 10, 11, .5);
  color: rgba(255, 255, 255, .67);
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.message-choices button:hover,
.message-choices button:focus-visible,
.message-choices button.is-active {
  border-color: var(--story-gold);
  color: var(--story-ivory);
  background: rgba(30, 25, 20, .76);
}

.message-feature-product {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: clamp(2rem, 5vw, 5.5rem) clamp(1.2rem, 4vw, 4.25rem);
}

.message-feature-product > p {
  margin: .9rem 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: .58rem;
  letter-spacing: .22em;
  text-align: center;
}

.message-board,
.feature-scene .split-strip {
  border: 1px solid rgba(255, 255, 255, .1);
  background: #070809;
  box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, .52), inset 0 1px rgba(255, 255, 255, .035);
}

.message-board {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: clamp(.08rem, .18vw, .18rem);
  width: 100%;
  padding: clamp(.45rem, .8vw, .72rem);
  border-radius: .45rem;
}

.message-board span,
.feature-scene .split-strip span {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: .69;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: .24rem;
  background: linear-gradient(#24272b 49.2%, #141619 50.8%);
  color: #f3efe6;
  font-weight: 760;
  line-height: 1;
  text-shadow: 0 1px 0 #000;
}

.message-board span { font-size: clamp(.52rem, 1.35vw, 1.38rem); }

.message-board span::after,
.feature-scene .split-strip span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(0, 0, 0, .9);
  box-shadow: 0 1px rgba(255, 255, 255, .035);
}

.message-board.is-changing span { animation: story-flap .42s ease both; }
.message-board.is-changing span:nth-child(3n + 2) { animation-delay: .035s; }
.message-board.is-changing span:nth-child(3n) { animation-delay: .07s; }

@keyframes story-flap {
  0% { opacity: .25; transform: rotateX(-58deg); }
  100% { opacity: 1; transform: rotateX(0); }
}

.feature-scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.feature-scene {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: clamp(27rem, 35vw, 35rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: .55rem;
  padding: clamp(1.5rem, 2.8vw, 2.8rem);
  background-position: center;
  background-size: cover;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .32);
}

.feature-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 7, 8, .82), rgba(5, 7, 8, .12) 51%, rgba(5, 7, 8, .48));
}

.feature-scene-copy,
.feature-scene .split-strip { position: relative; z-index: 2; }
.feature-scene h3 { max-width: 14ch; font-size: clamp(1.8rem, 2.6vw, 3.15rem); }
.feature-scene-copy > p:last-child {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: rgba(241, 237, 228, .72);
  font-size: .9rem;
  line-height: 1.58;
}

.feature-scene .split-strip {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  gap: .12rem;
  width: 100%;
  padding: .45rem;
  border-radius: .4rem;
}

.feature-scene .split-strip span { min-width: 0; font-size: clamp(.35rem, .67vw, .72rem); }
.feature-scene-reminder .split-strip { grid-template-columns: repeat(17, minmax(0, 1fr)); }
.feature-scene-weather .split-strip { grid-template-columns: repeat(19, minmax(0, 1fr)); }

.home-page .theme-glimpse { background: #080a0b; }
.home-page .theme-glimpse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-page .theme-glimpse-card img { aspect-ratio: 1.86; }
.product-story,
.theme-glimpse { content-visibility: auto; contain-intrinsic-size: auto 90rem; }

@media (max-width: 1060px) {
  .message-feature { grid-template-columns: 1fr; }
  .message-feature-copy { align-self: start; max-width: 36rem; }
  .message-feature-product { padding-top: 1rem; }
  .feature-scenes { grid-template-columns: 1fr 1fr; }
  .feature-scene-weather { grid-column: 1 / -1; min-height: 28rem; }
}

@media (max-width: 680px) {
  .product-story { padding: 4.5rem 1rem; }
  .product-story-heading { text-align: left; }
  .product-story-heading h2 { font-size: 3.35rem; }
  .message-feature { min-height: 39rem; background-position: 56% center; }
  .message-feature-copy { padding: 2rem 1.25rem; }
  .message-feature-copy h3 { font-size: 2.65rem; }
  .message-choices { display: grid; grid-template-columns: 1fr; width: max-content; }
  .message-feature-product { padding: 1.25rem; }
  .message-feature-product > p { font-size: .45rem; letter-spacing: .13em; }
  .message-board { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .08rem; padding: .42rem; }
  .message-board span { border-radius: .12rem; font-size: clamp(.38rem, 2.65vw, .64rem); }
  .feature-scenes { grid-template-columns: 1fr; }
  .feature-scene-weather { grid-column: auto; }
  .feature-scene { min-height: 27rem; }
  .feature-scene .split-strip { gap: .05rem; padding: .28rem; }
  .feature-scene .split-strip span { border-radius: .12rem; font-size: clamp(.28rem, 1.8vw, .48rem); }
  .home-page .theme-glimpse-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .message-board.is-changing span { animation: none; }
}

body { font-family: "Inter", "Segoe UI", sans-serif; background: #090b0c; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  height: 5.35rem;
  background: linear-gradient(180deg, rgba(5, 7, 8, .72), rgba(5, 7, 8, .04));
  border-bottom-color: transparent;
}

.site-header nav a.is-active { opacity: 1; color: var(--warm); }

.home-hero { height: min(52rem, 100svh); min-height: 0; }

.home-hero .hero-image {
  background-image: url("assets/flipmatic-hero-product-v4-iphone-landscape.webp");
  background-position: center calc(50% + 3.25rem);
  transform: none;
}

.home-hero .hero-shade {
  background:
    linear-gradient(0deg, rgba(5, 7, 8, .7) 0%, rgba(5, 7, 8, .08) 30%, rgba(5, 7, 8, 0) 72%),
    linear-gradient(90deg, rgba(5, 7, 8, .18), transparent 45%);
}

.home-hero-content {
  position: relative; z-index: 2; width: 100%;
  padding: 0 clamp(1.25rem, 5.2vw, 6.5rem) clamp(3.5rem, 9vh, 6.5rem);
}

.home-hero-content > p {
  max-width: 32rem; margin-bottom: 1.3rem;
  font-size: clamp(.95rem, 1.25vw, 1.12rem);
  color: rgba(255, 255, 255, .77); letter-spacing: .03em;
}

.home-hero-content .button { min-width: 12.8rem; }

.section-label {
  margin: 0 0 1.1rem; color: var(--warm); font-size: .65rem;
  font-weight: 700; letter-spacing: .19em;
}

.theme-glimpse { padding: clamp(4.8rem, 8vw, 8rem) clamp(1.25rem, 5.2vw, 6.5rem); }

.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 2.4rem;
}

.section-heading h2,
.compact-story h2,
.desktop-copy h2 {
  margin: 0; font-family: "Inter", "Segoe UI", sans-serif; font-weight: 700;
  font-size: clamp(2.5rem, 4.8vw, 5.2rem); line-height: .98; letter-spacing: -.055em;
}

.theme-glimpse-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.theme-glimpse-card {
  display: grid; background: #111416; border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s ease, border-color .25s ease;
}

.theme-glimpse-card:hover,
.theme-glimpse-card:focus-visible { transform: translateY(-5px); border-color: rgba(215, 188, 150, .58); }

.theme-glimpse-card img { width: 100%; aspect-ratio: 1.72; object-fit: cover; display: block; }
.theme-glimpse-card > span { display: grid; gap: .25rem; padding: 1.1rem 1.2rem 1.25rem; }
.theme-glimpse-card strong { font-size: 1rem; letter-spacing: -.015em; }
.theme-glimpse-card small { color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.feature-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(1.25rem, 5.2vw, 6.5rem) clamp(5rem, 8vw, 8rem);
}

.feature-strip article {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem;
  padding: 1.8rem clamp(1rem, 3vw, 2.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

.feature-strip article + article { border-left: 1px solid var(--line); }
.feature-strip article > span { font-size: 1.4rem; color: var(--warm); }
.feature-strip strong { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.feature-strip p { margin: .45rem 0 0; color: var(--muted); font-size: .86rem; }

.compact-story { background: #111315; }
.compact-story > .section-label { align-self: start; }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, .75fr);
  min-height: 42rem;
  border-bottom: 1px solid var(--line);
  background: #0d0f11;
}

.product-feature.glance-feature { grid-template-columns: minmax(22rem, .76fr) minmax(0, 1.24fr); }

.feature-visual {
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0f1215;
}

.board-visual { padding: clamp(1.5rem, 4vw, 4rem); }

.board-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 38rem;
  object-fit: contain;
}

.feature-copy {
  align-self: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem);
}

.feature-copy h2 {
  margin: 0 0 1.75rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 4.7vw, 5.25rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
}

.feature-copy > p:not(.section-label):not(.feature-example) {
  max-width: 35rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.7;
}

.feature-example {
  margin: 2.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.glance-feature { background: #101317; }

.smart-stage {
  position: relative;
  align-content: center;
  gap: 1.35rem;
  padding: clamp(3rem, 7vw, 7rem);
  background: radial-gradient(circle at 50% 42%, #252a30, #111419 66%);
}

.smart-time {
  display: grid;
  grid-template-columns: auto auto 2.7rem;
  align-items: end;
  justify-content: center;
  gap: clamp(.65rem, 1.5vw, 1.25rem);
}

.time-pair { display: flex; gap: clamp(.3rem, .75vw, .65rem); }

.time-pair span {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(4.2rem, 7vw, 7rem);
  height: clamp(6rem, 10.5vw, 10.5rem);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: .65rem;
  background: linear-gradient(#22262b 49.5%, #111418 50%);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, .35);
  color: var(--paper);
  font-size: clamp(3.6rem, 6.8vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.time-pair span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #050607;
}

.smart-time b {
  padding-bottom: .7rem;
  color: var(--paper);
  font-size: .78rem;
  letter-spacing: .12em;
}

.context-window {
  position: relative;
  width: min(100%, 39rem);
  height: 3.3rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .4rem;
  background: #111418;
}

.context-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr .5fr;
  align-items: center;
  gap: .25rem;
  padding: 0 1rem;
  color: var(--paper);
  font-size: clamp(.72rem, 1vw, .92rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
}

.context-panel span {
  padding: .45rem .3rem;
  border-left: 1px solid rgba(255, 255, 255, .07);
}

.context-panel span:first-child { border-left: 0; }
.context-date { animation: show-date 12s ease-in-out infinite; }
.context-weather { grid-template-columns: .65fr .8fr 1.55fr; animation: show-weather 12s ease-in-out infinite; }

@keyframes show-date {
  0%, 61%, 100% { opacity: 1; transform: translateY(0) rotateX(0); }
  68%, 91% { opacity: 0; transform: translateY(-70%) rotateX(70deg); }
}

@keyframes show-weather {
  0%, 61%, 100% { opacity: 0; transform: translateY(70%) rotateX(-70deg); }
  68%, 91% { opacity: 1; transform: translateY(0) rotateX(0); }
}

.reminder-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  width: min(100%, 39rem);
  margin: .2rem auto 0;
}

.reminder-stack > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-top: 1px solid #3b4148;
  border-bottom: 1px solid #1a1d21;
  background: #171b20;
}

.reminder-stack span { color: var(--warm); font-size: .72rem; letter-spacing: .1em; }
.reminder-stack strong { font-size: .7rem; letter-spacing: .13em; }

.capability-suite {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5.2vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 12%, rgba(56, 69, 84, .22), transparent 31rem),
    linear-gradient(180deg, #0c1014, #090b0d 72%);
}

.capability-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 100% 5rem;
}

.capability-heading {
  position: relative;
  z-index: 1;
  max-width: 49rem;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.capability-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.065em;
}

.capability-heading > p:last-child {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.capability-main,
.capability-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(215, 188, 150, .18);
  background: linear-gradient(145deg, rgba(24, 29, 35, .96), rgba(12, 15, 18, .98));
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .035);
}

.capability-main {
  display: grid;
  grid-template-columns: minmax(19rem, .62fr) minmax(0, 1.38fr);
  min-height: 31rem;
  overflow: hidden;
}

.capability-copy {
  align-self: center;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.capability-kicker {
  margin: 0 0 1rem;
  color: var(--warm);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.capability-copy h3,
.capability-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.25vw, 3.75rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.capability-copy > p:last-child,
.capability-card-copy > div > p:last-child {
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.board-product {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(2rem, 4vw, 4.25rem);
  background: radial-gradient(circle at 50% 50%, rgba(52, 59, 68, .54), rgba(11, 14, 17, .36) 65%);
}

.board-product::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: rgba(197, 215, 235, .07);
  filter: blur(3rem);
}

.board-product img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 29rem;
  object-fit: contain;
  filter: drop-shadow(0 1.6rem 2rem rgba(0, 0, 0, .52));
}

.capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  scroll-margin-top: 6rem;
}

.capability-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 25rem;
  overflow: hidden;
}

.capability-card-copy {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(215, 188, 150, .24);
  border-radius: 50%;
  color: var(--warm);
  font-size: 1.05rem;
}

.capability-sun { font-size: 1.35rem; }

.capability-card h3 { font-size: clamp(1.65rem, 2vw, 2.4rem); }
.capability-card-copy > div > p:last-child { font-size: .92rem; }

.mini-board {
  display: grid;
  align-items: stretch;
  gap: .18rem;
  margin: 0 clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem);
  padding: .55rem;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: .55rem;
  background: #090b0d;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .36);
}

.mini-board span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 3.45rem;
  padding: .45rem .65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: .28rem;
  background: linear-gradient(#24282d 49.3%, #14171b 50.7%);
  color: var(--paper);
  font-size: clamp(.74rem, .95vw, .95rem);
  font-weight: 750;
  letter-spacing: .14em;
  text-align: center;
  white-space: nowrap;
}

.mini-board span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, .84);
}

.mini-board-date { grid-template-columns: 1.05fr 1.5fr .48fr; }
.mini-board-reminder { grid-template-columns: 1.35fr .8fr; }
.mini-board-weather { grid-template-columns: .62fr 1.38fr; }

@media (prefers-reduced-motion: reduce) {
  .context-date, .context-weather { animation: none; }
  .context-weather { display: none; }
}

.catalog-heading {
  padding: clamp(9rem, 14vw, 12rem) clamp(1.25rem, 5.2vw, 6.5rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.catalog-heading h1 {
  margin: 0; max-width: none; font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.5rem); font-weight: 700; line-height: .95;
  letter-spacing: -.06em; text-transform: none;
}

.themes-page .site-header { position: absolute; background: #090b0c; }
.themes-page .theme-list { padding-top: 0; }
.themes-page .theme-card { scroll-margin-top: 5rem; }
.themes-page .theme-info h3 { font-size: clamp(2.8rem, 4.2vw, 4.8rem); }
footer a:last-child { color: var(--paper); }

@media (max-width: 900px) {
  .home-hero { min-height: 0; height: clamp(34rem, 74vw, 44rem); }
  .home-hero .hero-image {
    background-color: #07090a;
    background-position: center 4.5rem;
    background-repeat: no-repeat;
    background-size: 100% auto;
  }
  .home-hero .hero-shade { background: linear-gradient(0deg, rgba(5, 7, 8, .88) 0%, rgba(5, 7, 8, .1) 42%, transparent 76%); }
  .theme-glimpse-grid, .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article + article { border-left: 0; border-top: 0; }
  .product-feature,
  .product-feature.glance-feature { grid-template-columns: 1fr; min-height: 0; }
  .glance-feature .feature-copy { order: 2; }
  .feature-visual { min-height: 30rem; }
  .capability-main { grid-template-columns: 1fr; }
  .capability-copy { padding-bottom: 1.25rem; }
  .board-product { min-height: 27rem; padding-top: 1rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { grid-template-columns: minmax(16rem, .85fr) minmax(18rem, 1.15fr); grid-template-rows: 1fr; min-height: 17rem; }
  .mini-board { align-self: center; margin: 2rem; }
}

@media (max-width: 560px) {
  .site-header { height: 4.5rem; }
  .brand { font-size: .7rem; }
  .account-button { font-size: .65rem; padding: .5rem .7rem; }
  .home-hero { min-height: 0; height: 34rem; }
  .home-hero .hero-image { background-position: center 4.5rem; }
  .home-hero-content { padding-bottom: 1.6rem; }
  .home-hero-content > p { max-width: 18rem; }
  .home-hero-content .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero-content .button { min-width: 0; padding-inline: .65rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .compact-story h2, .desktop-copy h2 { font-size: 2.85rem; }
  .feature-copy { padding: 4rem 1.25rem; }
  .feature-copy h2 { font-size: 2.8rem; }
  .board-visual { min-height: 20rem; padding: 1.25rem; }
  .smart-stage { min-height: 31rem; padding: 3rem 1rem; }
  .smart-time { grid-template-columns: auto auto 1.8rem; gap: .45rem; }
  .time-pair { gap: .2rem; }
  .time-pair span { width: 3.9rem; height: 5.8rem; font-size: 3.5rem; }
  .context-panel { letter-spacing: .08em; padding-inline: .5rem; }
  .reminder-stack { grid-template-columns: 1fr; }
  .capability-suite { padding-inline: 1rem; }
  .capability-heading { text-align: left; }
  .capability-heading h2 { font-size: 3.25rem; }
  .capability-heading > p:last-child { margin-left: 0; }
  .capability-main { min-height: 0; }
  .capability-copy { padding: 2.25rem 1.5rem 1rem; }
  .capability-copy h3 { font-size: 2.55rem; }
  .board-product { min-height: 18rem; padding: 1rem; }
  .capability-card { grid-template-columns: 1fr; min-height: 0; }
  .capability-card-copy { padding: 1.6rem 1.35rem 1rem; }
  .mini-board { margin: .75rem 1.25rem 1.25rem; }
  .mini-board span { min-height: 3rem; font-size: .68rem; letter-spacing: .08em; padding-inline: .35rem; }
  .catalog-heading { padding-top: 7.5rem; }
  .catalog-heading h1 { font-size: 3.35rem; }
}

.meaningful-moments,
.day-at-a-glance {
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 5.2vw, 6.5rem);
  border-bottom: 1px solid var(--line);
  background: #0a0c0e;
}

.moments-heading,
.glance-heading {
  max-width: 62rem;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  text-align: center;
}

.moments-heading h2,
.glance-heading h2 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(3rem, 5.8vw, 6.3rem);
  font-weight: 760;
  line-height: .95;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.moments-heading h2 span {
  display: block;
  color: #b8babd;
  font-weight: 400;
}

.moments-heading p,
.glance-heading p {
  max-width: 47rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.inspiration-stage {
  margin: 0;
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1.25rem;
  background: radial-gradient(circle at 50% 35%, #1c2127, #0d1013 68%);
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .03);
}

.inspiration-stage img {
  display: block;
  width: 100%;
  border-radius: .7rem;
}

.inspiration-stage figcaption {
  padding: 1.2rem .25rem .15rem;
  color: #c9c7c0;
  font-size: .76rem;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.day-at-a-glance {
  background:
    radial-gradient(circle at 15% 10%, rgba(83, 101, 120, .12), transparent 30rem),
    #0d1013;
}

.glance-heading h2 { font-size: clamp(2.8rem, 4.9vw, 5.3rem); }

.glance-rows {
  display: grid;
  gap: 1rem;
  max-width: 92rem;
  margin: 0 auto;
}

.glance-row {
  display: grid;
  grid-template-columns: minmax(15rem, .42fr) minmax(0, 1.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: 14rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
  background: linear-gradient(130deg, rgba(26, 31, 37, .94), rgba(13, 16, 19, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.glance-copy h3 {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.glance-copy p {
  max-width: 25rem;
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.split-strip {
  display: flex;
  justify-content: center;
  gap: clamp(.12rem, .26vw, .28rem);
  min-width: 0;
  padding: clamp(.55rem, 1vw, .8rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .75rem;
  background: #07090b;
  box-shadow: 0 1.2rem 2.2rem rgba(0, 0, 0, .42), inset 0 .1rem .8rem rgba(0, 0, 0, .7);
}

.split-strip span {
  position: relative;
  display: grid;
  flex: 1 1 0;
  place-items: center;
  min-width: 0;
  max-width: 3.1rem;
  aspect-ratio: .68;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: .25rem;
  background: linear-gradient(#25292e 49.4%, #14171b 50.6%);
  color: #efede6;
  font-size: clamp(.54rem, 1.05vw, 1.05rem);
  font-weight: 760;
  line-height: 1;
  text-align: center;
}

.split-strip span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: #050607;
  box-shadow: 0 1px rgba(255, 255, 255, .03);
}

.themes-page .catalog-heading {
  padding-bottom: clamp(2.2rem, 4vw, 3.5rem);
  border-bottom: 0;
}

.themes-page .theme-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
  padding: 0 clamp(1.25rem, 5.2vw, 6.5rem) clamp(5rem, 8vw, 8rem);
}

.themes-page .theme-card,
.themes-page .theme-card:nth-child(even) {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .85rem;
  background: #111416;
  transition: transform .22s ease, border-color .22s ease;
}

.themes-page .theme-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 188, 150, .42);
}

.themes-page .theme-card:nth-child(even) .theme-preview { order: 0; }

.themes-page .theme-preview {
  min-height: 0;
  aspect-ratio: 1.72;
  background-position: center;
}

.theme-preview > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.themes-page .theme-preview::after { content: "OPEN"; }

.themes-page .theme-info {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 1.35rem;
}

.themes-page .theme-collection {
  margin: 0 0 .55rem;
  color: var(--warm);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.themes-page .theme-info h3 {
  margin: 0 0 .7rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}

.themes-page .theme-info > p:not(.theme-collection) {
  display: -webkit-box;
  min-height: 4.35rem;
  margin: 0 0 1.2rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.themes-page .card-actions {
  margin-top: auto;
  gap: .8rem;
}

.themes-page .card-actions .button {
  min-height: 2.6rem;
  padding: .65rem .8rem;
  font-size: .62rem;
}

.themes-page .card-actions .text-link {
  font-size: .62rem;
}

@media (max-width: 960px) {
  .themes-page .theme-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .home-hero {
    height: 29rem;
    background: #07090a;
  }

  .home-hero .hero-image {
    background-position: center 4.9rem;
    background-size: 100% auto;
  }

  .home-hero-content { padding-bottom: 1.15rem; }
  .home-hero-content > p { margin-bottom: .75rem; font-size: .78rem; }
  .home-hero-content .button { min-height: 2.55rem; font-size: .58rem; }

  .meaningful-moments,
  .day-at-a-glance { padding: 4.5rem 1rem; }

  .moments-heading,
  .glance-heading { margin-bottom: 2.5rem; text-align: left; }
  .moments-heading h2,
  .glance-heading h2 { font-size: 2.85rem; }
  .moments-heading p,
  .glance-heading p { font-size: .94rem; }
  .inspiration-stage { padding: .55rem; border-radius: .8rem; }
  .inspiration-stage figcaption { padding: .8rem .25rem .1rem; font-size: .55rem; letter-spacing: .1em; }

  .glance-row { gap: 1.25rem; min-height: 0; padding: 1.25rem; }
  .glance-copy h3 { font-size: 1.5rem; }
  .glance-copy p { font-size: .84rem; }
  .split-strip { gap: .08rem; padding: .35rem; }
  .split-strip span { font-size: clamp(.34rem, 2vw, .54rem); border-radius: .12rem; }

  .themes-page .theme-list { grid-template-columns: 1fr; }
  .themes-page .theme-info > p:not(.theme-collection) { min-height: 0; }
  .themes-page .card-actions { flex-direction: row; align-items: center; }
  .themes-page .card-actions .text-link { margin-left: auto; }
}

.phone-menu { display: none; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .phone-menu { display: block; }
  .phone-menu summary {
    list-style: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: .6rem;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: var(--paper); cursor: pointer;
  }
  .phone-menu summary::-webkit-details-marker { display: none; }
  .phone-menu summary:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }
  .phone-menu[open] summary { background: rgba(255, 255, 255, .1); }
  .site-header .phone-menu nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 30; display: grid; gap: 0;
    padding: .4rem clamp(1rem, 4vw, 2rem) 1rem; background: #090b0c;
    border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .55);
  }
  .site-header .phone-menu nav a {
    display: flex; align-items: center; gap: .6rem; min-height: 3.1rem; color: var(--paper);
    font-size: 1rem; font-weight: 600; text-decoration: none; opacity: 1;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .site-header .phone-menu nav a:last-child { border-bottom: 0; }
  .site-header .phone-menu nav a.is-active { color: var(--warm); }
}

footer { grid-template-columns: auto 1fr auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.6rem; }
footer .footer-nav a { color: var(--muted); text-decoration: none; }
footer .footer-nav a:hover, footer .footer-nav a:focus-visible { color: var(--paper); }
@media (max-width: 900px) {
  footer { grid-template-columns: 1fr; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; justify-content: stretch; }
  footer .footer-nav a { display: flex; align-items: center; min-height: 2.75rem; }
}
