/*
 * Odd Hours — getoddhours.com (Pre-Launch Showcase, Waitlist & Privacy Policy)
 */

@font-face {
  font-family: Odd;
  src: url('/assets/google-sans-flex.ttf') format('truetype');
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: #fbf4ef;
  color: #23283b;
  font-family: Odd, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: #35438d;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #f57460;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Header */
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark {
  display: block;
  width: 180px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #23283b;
  font-size: 14px;
  font-weight: 580;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #35438d;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-links .nav-pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: #e9dfff;
  color: #35438d;
  font-size: 13px;
  font-weight: 680;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav-links .nav-pill:hover {
  background: #ded0ff;
  text-decoration: none;
}

.nav-links .nav-pill:active {
  transform: scale(0.98);
}

main {
  flex: 1;
}

/* Beat 1: Unified Full-Width Mini Desk–Inspired Hero */
.hero-banner {
  --tab-pill: #3248C7;
  --tab-selected: #F8FAFF;
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  margin: 8px 0 56px;
  border-radius: 36px;
  overflow: hidden;
  background: #e7dac8;
  box-shadow: 0 28px 64px rgba(35, 40, 59, 0.14);
}

.hero-banner[data-face="flip"] {
  --tab-pill: #32676D;
  --tab-selected: #F3FAF5;
}

.hero-banner[data-face="gummy"] {
  --tab-pill: #B37E12;
  --tab-selected: #FFFDF5;
}

.hero-banner[data-face="window"] {
  --tab-pill: #2C574C;
  --tab-selected: #F2FAF6;
}

.hero-banner[data-face="puffer"] {
  --tab-pill: #7A243B;
  --tab-selected: #FFF7F8;
}

/* Concentric Frosted-Glass Left Panel (Mini Desk geometry: outer 36px - 16px inset = 22px) */
.hero-glass {
  position: absolute;
  left: 16px;
  top: 16px;
  bottom: 16px;
  width: 49%;
  z-index: 2;
  border-radius: 22px;
  padding: clamp(28px, 3.2vw, 44px) clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(251, 244, 239, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 42px rgba(35, 40, 59, 0.1);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 1.55px;
  text-transform: uppercase;
  font-weight: 730;
  color: #35438d;
}

.eyebrow img {
  display: block;
  width: 21px;
  height: auto;
  flex: none;
}

.hero-glass h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 780;
  font-variation-settings: 'ROND' 100;
  line-height: 1.02;
  letter-spacing: -2.4px;
  margin: 14px 0 16px;
  color: #23283b;
}

.hero-glass h1 span {
  color: #35438d;
  display: block;
}

.hero-lead {
  font-size: clamp(14.5px, 1.35vw, 16px);
  line-height: 1.58;
  max-width: 430px;
  color: #3f4354;
  margin: 0;
  text-wrap: pretty;
}

/* Waitlist Form */
.waitlist-form {
  margin-top: 22px;
  max-width: 440px;
  scroll-margin-top: 32px;
}

.waitlist-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 252, 249, 0.94);
  border: 1.5px solid rgba(53, 67, 141, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(35, 40, 59, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.waitlist-bar:focus-within {
  border-color: #35438d;
  box-shadow: 0 12px 30px rgba(53, 67, 141, 0.16);
}

.waitlist-bar input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 14.5px;
  color: #23283b;
  border-radius: 999px;
}

.waitlist-bar input[type="email"]::placeholder {
  color: #7d7a88;
}

.waitlist-bar input[type="email"]:focus-visible {
  outline: none;
}

.waitlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #35438d;
  color: #fbf4ef;
  font-size: 13.5px;
  font-weight: 680;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.waitlist-btn:hover {
  background: #2b387a;
}

.waitlist-btn:active {
  transform: scale(0.98);
}

.waitlist-btn[disabled] {
  opacity: 0.7;
  cursor: default;
}

.waitlist-btn--coral {
  background: #f57460;
  color: #1f1719;
}

.waitlist-btn--coral:hover {
  background: #ff8572;
}

.btn-arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease;
}

.waitlist-btn:hover .btn-arrow {
  transform: translateX(2px);
}

.waitlist-hint {
  margin: 9px 0 0 12px;
  font-size: 11.5px;
  line-height: 1.42;
  color: #565464;
}

.waitlist-status {
  margin: 10px 0 0 4px;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 620;
  line-height: 1.42;
  background: #e9dfff;
  color: #273270;
}

.waitlist-status[data-tone="error"] {
  background: #fde4df;
  color: #8b2618;
}

.waitlist-status[hidden] {
  display: none;
}

/* Full-Bleed Creative Desk Scene + Right-Side Interactive Phone */
.hero-stage-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-plate {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.hero-plate--mobile {
  display: none;
}

/* Exact measured phone display bounds inside 1376x768 hero-desk-wide.jpg */
.phone-screen {
  position: absolute;
  left: 68.88%;
  top: 35.15%;
  width: 12.30%;
  height: 47.9%;
  border-radius: 11.5% / 5.3%;
  overflow: hidden;
  background: #08090c;
}

.phone-clock {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 220ms ease;
}

.hero-banner[data-face="orbital"] .phone-clock[data-face-img="orbital"],
.hero-banner[data-face="flip"] .phone-clock[data-face-img="flip"],
.hero-banner[data-face="gummy"] .phone-clock[data-face-img="gummy"],
.hero-banner[data-face="window"] .phone-clock[data-face-img="window"],
.hero-banner[data-face="puffer"] .phone-clock[data-face-img="puffer"] {
  opacity: 1;
}

.phone-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 34%, transparent 56%);
}

/* Compact 5-Tab Pill (~18% smaller, centered in wide open wall above phone — zero overlap) */
.face-tabs {
  position: absolute;
  top: 10.5%;
  left: 75%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 2px;
  padding: 3px;
  background: rgba(251, 244, 239, 0.84);
  border: 1px solid rgba(35, 40, 59, 0.12);
  border-radius: 26px;
  width: max-content;
  max-width: calc(48% - 16px);
  box-shadow: 0 8px 20px rgba(35, 40, 59, 0.11);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.face-tabs .selection-pill {
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  background: var(--tab-pill);
  border-radius: 23px;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.2, .85, .2, 1), width 320ms cubic-bezier(.2, .85, .2, 1), background-color 240ms ease;
}

.face-tabs button {
  position: relative;
  z-index: 1;
  font: inherit;
  font-size: 11px;
  font-weight: 660;
  padding: 6.5px 10.5px;
  border: 0;
  border-radius: 23px;
  background: transparent;
  color: #2c3144;
  white-space: nowrap;
  transition: color 200ms ease;
}

.face-tabs button[aria-pressed="true"] {
  color: var(--tab-selected);
}

.face-caption {
  position: absolute;
  bottom: 3.1%;
  left: 75%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  white-space: nowrap;
  text-align: center;
  font-size: 9.5px;
  font-weight: 730;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(42, 31, 20, 0.8);
  pointer-events: none;
}

/* Shared Section Headers */
.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #f57460;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 770;
  font-variation-settings: 'ROND' 95;
  line-height: 1.06;
  letter-spacing: -1.6px;
  color: #23283b;
}

.section-head h2 span {
  display: block;
  color: #35438d;
}

.section-sub {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.62;
  color: #555869;
  text-wrap: pretty;
}

/* Beat 2: Two-Row Staggered Full-Bleed Specimen Carousel (Zero Edge Fade) */
.collection-section {
  padding: 28px 0 68px;
}

.marquee-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 4px 0 8px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: odd-marquee-left 48s linear infinite;
}

.marquee--row2 .marquee-track--triple {
  animation: odd-marquee-right-triple 48s linear infinite;
  animation-delay: -16s;
}

.marquee--row3 {
  display: none;
}

.marquee--row3 .marquee-track {
  animation: odd-marquee-left 28s linear infinite;
  animation-delay: -9s;
}

.marquee-stack:hover .marquee-track,
.marquee-stack:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 16px;
}

@keyframes odd-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes odd-marquee-right-triple {
  from {
    transform: translateX(calc(-33.3333% - 5.33px));
  }
  to {
    transform: translateX(0);
  }
}

.specimen {
  position: relative;
  margin: 0;
  width: 192px;
  height: 192px;
  flex: none;
  border-radius: 24px;
  overflow: hidden;
  background: var(--tile-bg, #23283b);
  box-shadow: 0 12px 28px rgba(35, 40, 59, 0.1);
}

.specimen img {
  display: block;
  width: 100%;
  height: calc(100% + 10px);
  margin-top: -10px;
  padding: 0;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.specimen figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--tile-ink, #fbf4ef);
  opacity: 0.86;
}

/* Beat 3: Image-Led Feature Bento Grid */
.bento-section {
  padding-top: 12px;
  padding-bottom: 64px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-copy {
  padding: 24px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-tag {
  font-size: 10.5px;
  font-weight: 740;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #35438d;
}

.bento-copy h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 750;
  font-variation-settings: 'ROND' 92;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #23283b;
}

.bento-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4f5263;
  text-wrap: pretty;
}

/* Card 1: Desk (7 cols) */
.bento-card--desk {
  grid-column: span 7;
  background: #e9dfff;
}

.bento-visual--desk {
  min-height: 310px;
  padding: 28px 28px 6px;
  gap: 18px;
  align-items: flex-end;
}

.device-frame {
  background: #1b1f33;
  padding: 7px;
  box-shadow: 0 20px 42px rgba(28, 33, 66, 0.22);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.device-frame--fold {
  width: 63%;
  max-width: 310px;
  border-radius: 22px;
}

.device-frame--fold img {
  border-radius: 16px;
}

.device-frame--phone {
  width: 31%;
  max-width: 146px;
  border-radius: 22px;
}

.device-frame--phone img {
  border-radius: 16px;
}

/* Card 2: Centered 6-Slot Android Widget Board (5 cols) */
.bento-card--widgets {
  grid-column: span 5;
  background: #f8e3db;
}

.bento-card--widgets .bento-tag {
  color: #9e3223;
}

.bento-visual--widgets {
  min-height: 310px;
  padding: 28px 26px 6px;
}

.widget-board {
  width: 100%;
  max-width: 400px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.widget-tile {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(35, 40, 59, 0.14);
}

.widget-tile--native {
  border-radius: 20px;
  overflow: visible;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-tile--native img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 20px rgba(35, 40, 59, 0.16));
  box-shadow: none;
}

/* Card 3: Bedside Obsidian Night Mode (4 cols) */
.bento-card--night {
  grid-column: span 4;
  background: #000000;
}

.bento-card--night .bento-tag {
  color: #ff4d4d;
}

.bento-card--night .bento-copy h3 {
  color: #fbf4ef;
}

.bento-card--night .bento-copy p {
  color: #b7b6c2;
}

.bento-visual--night {
  min-height: 246px;
  padding: 24px 24px 0;
}

.bento-visual--night img {
  display: block;
  width: 212px;
  height: 212px;
  object-fit: contain;
}

/* Card 4: Wear OS Watch (4 cols · Single SVG Coordinate Space) */
.bento-card--watch {
  grid-column: span 4;
  background: #e4eae2;
}

.bento-card--watch .bento-tag {
  color: #2f5441;
}

.bento-visual--watch {
  min-height: 246px;
  padding: 22px 24px 0;
}

.watch-svg {
  display: block;
  width: 156px;
  height: auto;
}

/* Card 5: Yours to Own (4 cols · Header Top, 3 Promise Plates Bottom) */
.bento-card--own {
  grid-column: span 4;
  background: #35438d;
}

.bento-card--own .bento-copy {
  padding: 30px 30px 16px;
}

.bento-card--own .bento-tag {
  color: #ffb8ab;
}

.bento-card--own .bento-copy h3 {
  color: #fbf4ef;
}

.bento-card--own .bento-copy p {
  color: #dfe3ff;
}

.bento-visual--own {
  padding: 6px 24px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.promise-plate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 18px;
  background: rgba(251, 244, 239, 0.1);
  border: 1px solid rgba(251, 244, 239, 0.14);
}

.promise-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.promise-dot--mint {
  background: #9fe3c4;
}

.promise-dot--coral {
  background: #f57460;
}

.promise-dot--lavender {
  background: #e9dfff;
}

.promise-plate strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #fbf4ef;
}

.promise-plate span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #d6dcff;
}

/* Beat 4: Closing Launch Callout */
.closing-section {
  padding-bottom: 64px;
}

.closing-card {
  background: #23283b;
  color: #fbf4ef;
  border-radius: 32px;
  padding: 38px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.closing-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 520px;
}

.closing-icon {
  display: block;
  width: 56px;
  height: 56px;
  flex: none;
}

.closing-brand h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 760;
  font-variation-settings: 'ROND' 95;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fbf4ef;
}

.closing-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #cfd3e6;
  text-wrap: pretty;
}

.waitlist-form--closing {
  margin-top: 0;
  width: 100%;
  max-width: 430px;
}

.waitlist-form--closing .waitlist-bar {
  background: rgba(251, 244, 239, 0.08);
  border-color: rgba(251, 244, 239, 0.22);
  box-shadow: none;
}

.waitlist-form--closing .waitlist-bar:focus-within {
  border-color: #f57460;
}

.waitlist-form--closing .waitlist-bar input[type="email"] {
  color: #fbf4ef;
}

.waitlist-form--closing .waitlist-bar input[type="email"]::placeholder {
  color: #a8adbf;
}

.waitlist-form--closing .waitlist-status {
  background: rgba(233, 223, 255, 0.16);
  color: #fbf4ef;
}

.waitlist-form--closing .waitlist-status[data-tone="error"] {
  background: #fde4df;
  color: #8b2618;
}

/* Privacy Policy & 404 Pages */
.policy-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 25px 72px;
}

.policy-wrap h1 {
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.08;
  margin: 18px 0 12px;
  font-weight: 760;
  font-variation-settings: 'ROND' 90;
  letter-spacing: -1.4px;
  color: #23283b;
}

.policy-status {
  font-size: 13px;
  color: #76717a;
  margin: 0 0 28px;
}

.summary-box {
  background: #e9dfff66;
  border: 1px solid #35438d1f;
  border-radius: 24px;
  padding: 22px 24px;
  margin: 0 0 34px;
}

.summary-box h2 {
  font-size: 17px;
  margin: 0 0 10px;
  color: #35438d;
}

.summary-box ul {
  margin: 0;
  padding-left: 20px;
  color: #23283b;
}

.summary-box li {
  margin: 6px 0;
  font-size: 15px;
}

.policy-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #35438d1f;
}

.policy-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.policy-section h2 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  color: #23283b;
}

.policy-section h3 {
  font-size: 16px;
  margin: 20px 0 6px;
  color: #35438d;
}

.policy-section p {
  color: #555766;
  margin: 0 0 14px;
}

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

.policy-section ul {
  margin: 8px 0 14px;
  padding-left: 22px;
  color: #555766;
}

.policy-section li {
  margin: 7px 0;
}

.permission-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 10px;
  font-size: 14px;
}

.permission-table th,
.permission-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid #35438d1f;
}

.permission-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #35438d;
}

.permission-table td {
  color: #555766;
}

.permission-table td:first-child {
  color: #23283b;
  font-weight: 600;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  color: #35438d;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  background: #35438d;
  color: #fbf4ef;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.cta:hover {
  background: #2b387a;
  color: #fbf4ef;
}

.secondary-link {
  font-size: 14px;
  font-weight: 620;
  color: #35438d;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Footer */
.footer {
  border-top: 1px solid #35438d24;
  padding: 22px 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer .wordmark {
  width: 124px;
}

.footer small {
  font-size: 12px;
  color: #76717a;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  font-size: 12px;
  color: #35438d;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover {
  text-decoration: underline;
}

.brand-attribution {
  font-size: 9px;
  line-height: 1.5;
  color: #938e96;
  max-width: 100%;
  padding: 0 0 22px;
  margin: 0;
}

.brand-attribution a {
  color: inherit;
}

/* Responsive: Tablet & Narrow Desktop */
@media (max-width: 980px) {
  .bento-card--desk,
  .bento-card--widgets {
    grid-column: span 12;
  }

  .bento-visual--widgets {
    min-height: 260px;
  }

  .widget-board {
    max-width: 520px;
    gap: 14px;
  }

  .bento-card--night,
  .bento-card--watch {
    grid-column: span 6;
  }

  .bento-card--own {
    grid-column: span 12;
  }

  .bento-visual--own {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .closing-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
  }

  .waitlist-form--closing {
    max-width: 100%;
  }
}

@media (max-width: 920px) {
  .wrap {
    padding-inline: 24px;
  }

  .bento-section {
    padding-bottom: 44px;
  }

  .closing-section {
    padding-bottom: 44px;
  }

  .nav {
    height: 74px;
  }

  .hero-banner {
    aspect-ratio: auto;
    margin: 4px 0 40px;
    padding: 12px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(155deg, #efe4d6 0%, #e4d4be 100%);
  }

  .hero-glass {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    border-radius: 18px;
    padding: 26px 22px;
    background: rgba(251, 244, 239, 0.88);
    box-shadow: 0 8px 24px rgba(35, 40, 59, 0.06);
  }

  .hero-glass h1 {
    font-size: clamp(38px, 8vw, 52px);
    letter-spacing: -2px;
  }

  .waitlist-form {
    max-width: 100%;
  }

  .hero-stage-layer {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
  }

  .hero-plate--wide {
    display: none;
  }

  .hero-plate--mobile {
    display: block;
  }

  /* Exact measured phone display bounds inside 684x684 hero-desk-mobile.jpg */
  .phone-screen {
    left: 37.30%;
    top: 27.15%;
    width: 24.95%;
    height: 53.9%;
  }

  .face-tabs {
    top: 7.5%;
    left: 50%;
    max-width: calc(100% - 20px);
  }

  .face-caption {
    left: 50%;
    bottom: 3.4%;
  }

  .collection-section {
    padding: 16px 0 52px;
  }

  .specimen {
    width: 164px;
    height: 164px;
    border-radius: 20px;
  }
}

/* Responsive: Mobile */
@media (max-width: 620px) {
  .marquee-stack {
    gap: 10px;
  }

  .marquee {
    padding: 2px 0 4px;
  }

  .marquee-track,
  .marquee-group {
    gap: 10px;
  }

  .marquee--row3 {
    display: block;
  }

  .specimen--desktop-only {
    display: none;
  }

  .marquee--row1 .marquee-track {
    animation-duration: 26s;
  }

  .marquee--row2 .marquee-track--triple {
    animation-duration: 32s;
  }

  .specimen {
    width: 118px;
    height: 118px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(35, 40, 59, 0.09);
  }

  .specimen img {
    height: 100%;
    margin-top: 0;
  }

  .specimen figcaption {
    display: none;
  }

  .bento-card--night,
  .bento-card--watch,
  .bento-card--own {
    grid-column: span 12;
  }

  .bento-visual--own {
    grid-template-columns: 1fr;
  }

  .bento-copy {
    padding: 20px 22px 24px;
  }

  .bento-card--own .bento-copy {
    padding: 24px 22px 14px;
  }

  .bento-copy h3 {
    font-size: 22px;
  }

  .bento-visual--desk {
    min-height: 240px;
    padding: 22px 18px 4px;
    gap: 12px;
  }

  .bento-visual--widgets {
    padding: 22px 18px 4px;
  }

  .widget-board {
    gap: 10px;
  }

  .widget-tile,
  .widget-tile--native img {
    border-radius: 16px;
  }

  .closing-card {
    padding: 26px 22px;
    border-radius: 26px;
  }

  .closing-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding-inline: 20px;
  }

  .nav {
    height: 68px;
  }

  .wordmark {
    width: 146px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links .nav-pill {
    padding: 8px 13px;
    font-size: 12px;
  }

  .hero-banner {
    padding: 10px;
    border-radius: 26px;
  }

  .hero-glass {
    padding: 22px 18px;
    border-radius: 17px;
  }

  .hero-glass h1 {
    font-size: 38px;
    letter-spacing: -1.9px;
  }

  .waitlist-bar {
    padding: 5px;
  }

  .waitlist-bar input[type="email"] {
    padding: 10px 12px;
    font-size: 14px;
  }

  .waitlist-btn {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 13px;
    gap: 6px;
  }

  .face-tabs {
    top: 6.5%;
    gap: 1px;
    padding: 2.5px;
  }

  .face-tabs button {
    font-size: 10.5px;
    padding: 5.5px 8.5px;
  }

  .face-caption {
    font-size: 9px;
    bottom: 3%;
  }

  .policy-wrap {
    padding: 12px 20px 56px;
  }

  .permission-table,
  .permission-table thead,
  .permission-table tbody,
  .permission-table th,
  .permission-table td,
  .permission-table tr {
    display: block;
  }

  .permission-table thead {
    display: none;
  }

  .permission-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #35438d1f;
  }

  .permission-table td {
    border: 0;
    padding: 3px 0;
  }
}

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

  .preview-square,
  .phone-clock,
  .selection-pill,
  .face-tabs button,
  .waitlist-btn,
  .btn-arrow {
    transition: none !important;
  }

  .marquee {
    padding-inline: 24px;
  }

  .marquee-track,
  .marquee--row2 .marquee-track {
    animation: none !important;
    margin-left: 0;
    width: 100%;
    max-width: 1084px;
    margin: 0 auto;
    display: block;
  }

  .marquee-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
  }

  .marquee-group--clone {
    display: none;
  }

  .specimen {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* TEMPORARY PREVIEW GATE (remove before public launch) */
html:not(.gate-unlocked) body {
  overflow: hidden;
}

html.gate-unlocked .preview-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preview-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(251, 244, 239, 0.72);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  transition: opacity 280ms ease, visibility 280ms ease;
}

.preview-gate-card {
  width: 100%;
  max-width: 410px;
  padding: 36px 28px 28px;
  border-radius: 32px;
  background: rgba(255, 252, 249, 0.94);
  border: 1px solid rgba(53, 67, 141, 0.14);
  box-shadow: 0 28px 70px rgba(35, 40, 59, 0.16);
  text-align: center;
}

.preview-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.preview-gate-icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(53, 67, 141, 0.22);
}

.preview-gate-wordmark {
  display: block;
  width: 138px;
  height: auto;
}

.preview-gate-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e9dfff;
  color: #35438d;
  font-size: 10.5px;
  font-weight: 740;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.preview-gate-card h2 {
  margin: 14px 0 8px;
  font-size: 30px;
  font-weight: 780;
  font-variation-settings: 'ROND' 100;
  letter-spacing: -1.1px;
  line-height: 1.08;
  color: #23283b;
}

.preview-gate-sub {
  margin: 0 auto 22px;
  max-width: 310px;
  font-size: 14px;
  line-height: 1.5;
  color: #53566a;
}

.preview-gate-bar input[type="password"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #23283b;
  border-radius: 999px;
}

.preview-gate-bar input[type="password"]::placeholder {
  color: #7d7a88;
  letter-spacing: normal;
}

.preview-gate-bar input[type="password"]:focus-visible {
  outline: none;
}

.preview-gate-error {
  margin: 10px 0 0;
  font-size: 12.5px;
  font-weight: 650;
  color: #b53420;
}

.preview-gate-error[hidden] {
  display: none;
}

.preview-gate-links {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #7a7888;
}

.preview-gate-links a {
  color: #53566a;
  text-decoration: none;
  font-weight: 560;
}

.preview-gate-links a:hover {
  color: #35438d;
  text-decoration: underline;
}

@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-7px); }
  40%, 80% { transform: translateX(7px); }
}

.preview-gate-card.is-shake {
  animation: gate-shake 340ms ease;
}
