/* frontdoor marketing site — same palette and ethos as the product. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

:root {
  --bg-deep: #0a0e17;
  --bg-card: #131a28;
  --bg-card-hover: #182030;
  --border: #1a2538;
  --border-glow: #253550;
  --text-primary: #d0dce8;
  --text-secondary: #8494a7;
  --text-dim: #56687d;
  --accent-cyan: #4ecdc4;
  --accent-blue: #6b9cf0;
  --accent-amber: #fbbf24;
  --glow-cyan: rgba(78, 205, 196, 0.06);

  --font-sans: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html,
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient background — same idea as the app. */
body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
body::before {
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(78, 205, 196, 0.04) 0%, transparent 70%);
}
body::after {
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(107, 156, 240, 0.03) 0%, transparent 70%);
}

.grid-dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--text-dim) 0.4px, transparent 0.4px);
  background-size: 40px 40px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* Shell */
.shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 36px 104px;
}

/* Hero */
.hero {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(78, 205, 196, 0.15);
  margin-bottom: 32px;
}
.logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent-cyan);
  border-radius: 50%;
  margin-left: 2px;
  opacity: 0.7;
}

.hero h1 {
  font-size: 34px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

/* Status callout — under the tagline, honest about pre-launch state */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Section dividers (lifted from the app's design language) */
.section-divider {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  margin: 56px 0 24px;
}
.section-divider-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-glow), transparent);
}
.section-divider-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* Why */
.why p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}
.why p:last-child {
  margin-bottom: 0;
}
.why strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Arc */
.arc-list {
  list-style: none;
}
.arc-list li {
  display: grid;
  grid-template-columns: 36px 104px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.arc-list li:last-child {
  border-bottom: 1px solid var(--border);
}
.arc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.arc-name {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
}
.arc-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Values */
.value-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-grid li {
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 22px;
  transition: all 0.3s ease;
}
.value-grid li:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}
.value-grid h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}
.value-grid p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* See it — inline preview iframe of the design reference */
.see-lede {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
}
.preview {
  position: relative;
  width: 100%;
  /* 16:10-ish — close enough to a desktop start page; not too short to lose context */
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* The reference page was authored at desktop width; zoom out so a full
     screen fits in the embed without horizontal scroll. */
  transform: scale(0.6);
  transform-origin: top left;
  width: 166.67%;
  height: 166.67%;
}
.see-link {
  margin-top: 14px;
}
.see-link a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px dotted var(--border-glow);
  padding-bottom: 1px;
}
.see-link a:hover {
  color: var(--accent-blue);
}

/* Try it */
.try p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 15px;
}
.try-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim);
}
.try-note code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 3px;
}

.code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  overflow-x: auto;
}
.code code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
  white-space: pre;
}

/* Footer */
.footer {
  margin-top: 72px;
  padding-top: 8px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-links .sep {
  color: var(--text-dim);
  opacity: 0.5;
}
.footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 760px) {
  html,
  body {
    font-size: 15px;
  }
  .shell {
    padding: 40px 22px 56px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .arc-list li {
    grid-template-columns: 28px 88px 1fr;
    gap: 12px;
  }
  .preview {
    /* On narrow viewports drop to a taller aspect so widgets stay readable */
    aspect-ratio: 4 / 5;
  }
  .preview iframe {
    transform: scale(0.45);
    width: 222.22%;
    height: 222.22%;
  }
}
