:root {
  --midnight: #14213D;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --muted: #465569;
  --line: #C9D3DF;
  --teal: #0B6B75;
  --teal-light: #7FD6DE;
  --sand: #FCE9C2;
  --sand-ink: #7A4B00;
  --amber: #F2B544;
  --bar-tint: #CFE5E8;
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 24px;
  --max: 1160px;
  --pad: clamp(20px, 5vw, 48px);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--midnight);
  background: var(--white);
  text-align: left;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

p {
  max-width: 62ch;
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.section-contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--teal-light);
}

.skip-link {
  position: absolute;
  left: var(--pad);
  top: 0;
  z-index: 1000;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--midnight);
  padding: 0.75rem 1rem;
  border-radius: var(--r-s);
  font-weight: 600;
  min-height: 44px;
}

.skip-link:focus {
  transform: translateY(0.75rem);
}

.shell {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 3rem + 5vw, 8rem);
  scroll-margin-top: 88px;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: #F4F7FA;
  background: rgba(244, 247, 250, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--midnight);
  min-height: 44px;
  flex-shrink: 0;
}

.logo-mark {
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--midnight);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-s);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  text-align: center;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #095960;
}

.btn-secondary {
  background: transparent;
  color: var(--midnight);
  border-color: var(--midnight);
}

.btn-secondary:hover {
  background: var(--midnight);
  color: var(--white);
}

.header-cta {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
  }

  .nav-links {
    display: none;
  }
}

/* Hero */

.hero {
  background: var(--paper);
  padding-block: clamp(4rem, 3rem + 5vw, 8rem);
  scroll-margin-top: 88px;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-lede {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-graphic {
  width: 100%;
  max-width: 420px;
}

.schedule-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow:
    0 30px 60px -20px rgba(20, 33, 61, 0.25),
    0 8px 20px -8px rgba(20, 33, 61, 0.12);
  padding: 24px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.75rem;
  align-items: center;
  height: 56px;
}

.schedule-time {
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.schedule-track {
  position: relative;
  height: 28px;
  border-bottom: 1px solid var(--line);
}

.bar {
  position: absolute;
  top: 0;
  height: 28px;
  border-radius: 8px;
  transform: scaleX(0);
  transform-origin: left center;
}

.bar-teal {
  background: var(--teal);
}

.bar-midnight {
  background: var(--midnight);
}

.bar-tint {
  background: var(--bar-tint);
}

.bar-amber {
  background: var(--amber);
}

@media (prefers-reduced-motion: no-preference) {
  .bar {
    animation: grow-bar 700ms ease-out forwards;
  }

  .bar-1 { animation-delay: 200ms; }
  .bar-2 { animation-delay: 320ms; }
  .bar-3 { animation-delay: 440ms; }
  .bar-4 { animation-delay: 560ms; }
  .bar-5 { animation-delay: 680ms; }
  .bar-6 { animation-delay: 800ms; }
}

@media (prefers-reduced-motion: reduce) {
  .bar {
    transform: scaleX(1);
  }
}

@keyframes grow-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }

  .hero-graphic {
    max-width: none;
    justify-self: stretch;
  }
}

/* Products */

.section-products {
  background: var(--white);
}

.products-grid {
  display: grid;
  gap: 1.25rem;
}

.product-card {
  padding: clamp(24px, 4vw, 40px);
}

.product-card-featured {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
}

.product-card-coming {
  background: transparent;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-m);
}

.product-card-coming h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.product-card-coming p {
  color: var(--muted);
}

.product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-title-row h3 {
  margin: 0;
  font-size: 2rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  color: var(--sand-ink);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  line-height: 1.4;
}

.product-card-featured > p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.audience-lead {
  margin-bottom: 0.85rem;
  color: var(--midnight);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  color: var(--midnight);
  line-height: 1.4;
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: 1.6fr 1fr;
    align-items: stretch;
  }
}

/* About */

.section-about {
  background: var(--paper);
}

.about-inner {
  display: grid;
  gap: 1.5rem;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.principles {
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.principles li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  max-width: 62ch;
}

.principles strong {
  font-weight: 700;
  color: var(--midnight);
}

@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: start;
  }

  .about-inner h2 {
    margin-bottom: 0;
  }
}

/* Company */

.section-company {
  background: var(--white);
}

.section-company h2 {
  margin-bottom: 1.5rem;
}

.company-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}

.company-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.company-row:last-child {
  border-bottom: none;
}

.company-row dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.company-row dd {
  margin: 0;
  font-weight: 500;
}

.company-row a {
  color: var(--teal);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.company-row a:hover {
  color: var(--midnight);
}

@media (min-width: 560px) {
  .company-row {
    grid-template-columns: minmax(10rem, 0.4fr) 1fr;
    gap: 1rem;
    align-items: center;
  }
}

/* Contact */

.section-contact {
  background: var(--midnight);
  color: var(--white);
}

.contact-inner {
  max-width: 42rem;
}

.section-contact h2 {
  color: var(--white);
}

.section-contact p {
  color: #B9C6D8;
  margin-bottom: 1.5rem;
}

.btn-contact {
  background: var(--white);
  color: var(--midnight);
  min-height: 48px;
  border-radius: var(--r-s);
}

.btn-contact:hover {
  background: var(--teal-light);
}

/* Footer */

.site-footer {
  background: var(--midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #B9C6D8;
  font-size: 0.9375rem;
  padding-block: 1.75rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  max-width: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #B9C6D8;
}

.footer-nav a:hover {
  color: var(--white);
}

@media (min-width: 760px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
