*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FAFAF5;
  --cream-dark: #F0F0E8;
  --navy: #1B3A5C;
  --navy-light: #2A5580;
  --navy-dark: #0F2540;
  --gold: #C8963E;
  --gold-light: #DDB05E;
  --charcoal: #1A1A1A;
  --text: #2D2D2D;
  --text-light: #5A5A5A;
  --white: #FFFFFF;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 72px;
  --container: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 8px 48px rgba(27, 58, 92, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hide-mobile {
  display: inline;
}

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 58, 92, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 250, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 58, 92, 0.06);
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(27, 58, 92, 0.08);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.nav__logo-mark {
  font-weight: 700;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: all var(--transition) !important;
}

.nav__cta:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* HERO */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero__bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(27, 58, 92, 0.03) 39px,
      rgba(27, 58, 92, 0.03) 40px
    );
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FEATURES */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(27, 58, 92, 0.06);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 150, 62, 0.2);
}

.feature-card__icon {
  color: var(--navy);
  margin-bottom: 20px;
}

.feature-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* PRODUCT */
.product {
  padding: 120px 0;
  background: var(--cream-dark);
}

.product__showcase {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

.product__mockup {
  width: 100%;
  max-width: 700px;
}

.product__screen {
  background: var(--charcoal);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 2px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 3px solid #333;
}

.product__screen-content {
  width: 100%;
  height: 100%;
  background: #1e1e2e;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
}

.product__screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product__screen-logo {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.product__screen-clock {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--sans);
}

.product__screen-body {
  display: flex;
  flex: 1;
  padding: 16px;
  gap: 16px;
}

.product__screen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 48px;
  flex-shrink: 0;
}

.product__screen-sidebar-item {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.product__screen-sidebar-item.active {
  background: rgba(200, 150, 62, 0.2);
  border: 1px solid rgba(200, 150, 62, 0.3);
}

.sidebar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin: auto;
}

.product__screen-sidebar-item.active .sidebar-dot {
  background: var(--gold);
}

.product__ai-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(200, 150, 62, 0.08);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid rgba(200, 150, 62, 0.15);
}

.ai-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200, 150, 62, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(200, 150, 62, 0); }
}

.product__ai-bar .product__line {
  background: rgba(200, 150, 62, 0.2);
}

.product__screen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.product__line {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.product__line.w40 { width: 40%; }
.product__line.w50 { width: 50%; }
.product__line.w60 { width: 60%; }
.product__line.w70 { width: 70%; }
.product__line.w80 { width: 80%; }
.product__line.w90 { width: 90%; }

.product__base {
  background: linear-gradient(180deg, #555 0%, #444 100%);
  height: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product__notch {
  width: 80px;
  height: 4px;
  background: #666;
  border-radius: 0 0 4px 4px;
  margin-top: 0;
}

.product__highlights {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.product__highlight {
  text-align: center;
}

.product__highlight-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.product__highlight-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ABOUT */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about__text em {
  color: var(--navy);
  font-style: italic;
}

.about__motto {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__crest {
  text-align: center;
}

.about__crest-shield {
  width: 160px;
  height: 180px;
  margin: 0 auto 20px;
  background: var(--navy);
  border-radius: 80px 80px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 32px rgba(27, 58, 92, 0.2);
}

.about__crest-shield::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 76px 76px 8px 8px;
  border: 2px solid var(--gold);
}

.about__crest-letter {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}

.about__crest-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.about__crest-year {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* WAITLIST */
.waitlist {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.waitlist__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.waitlist__text {
  margin-bottom: 48px;
}

.waitlist__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.waitlist__note {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FOOTER */
.footer {
  padding: 48px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
}

.footer__tagline {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(27, 58, 92, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 64px;
  }

  .features {
    padding: 80px 0;
  }

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

  .feature-card {
    padding: 28px;
  }

  .product {
    padding: 80px 0;
  }

  .product__highlights {
    gap: 40px;
  }

  .about {
    padding: 80px 0;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__crest-shield {
    width: 120px;
    height: 140px;
    border-radius: 60px 60px 10px 10px;
  }

  .about__crest-shield::before {
    border-radius: 56px 56px 6px 6px;
  }

  .about__crest-letter {
    font-size: 3.5rem;
  }

  .waitlist {
    padding: 80px 0;
  }

  .hide-mobile {
    display: none;
  }

  .btn--large {
    padding: 16px 36px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .product__screen-body {
    padding: 10px;
    gap: 10px;
  }

  .product__screen-sidebar {
    width: 36px;
  }

  .product__screen-sidebar-item {
    width: 36px;
    height: 28px;
  }
}
