/* cc-agent.dev app index */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --paper: #F6F5F1;
  --sunken: #F2F1EC;
  --bone: #ECEAE3;
  --ink: #111110;
  --ink-soft: #58554F;
  --muted: #75716A;
  --subtle: #BFBCB1;
  --faint: #D4D1C7;
  --border: rgba(17, 17, 16, 0.10);
  --border-subtle: rgba(17, 17, 16, 0.06);
  --signal: #3A4BFF;
  --delete: #D9402D;
  --keep: #3A9C5F;
  --favorite: #E8AE27;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SF Mono", "Fira Code", monospace;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 120ms;
  --dur-mid: 240ms;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 14px var(--font-sans);
  letter-spacing: 0;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: #2A2926;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bone);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 241, 0.84);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-text {
  font: 600 17px var(--font-sans);
  letter-spacing: 0;
}

.wordmark-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  flex: 0 0 auto;
  transform: translateY(2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font: 500 14px var(--font-sans);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

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

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  padding-top: 112px;
  padding-bottom: 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
  min-width: 0;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero-heading {
  max-width: 760px;
  margin: 0 0 24px;
  font: 500 72px var(--font-sans);
  line-height: 1;
  letter-spacing: 0;
}

.no-break {
  white-space: nowrap;
}

.hero-sub {
  width: 100%;
  max-width: 580px;
  margin: 0 0 36px;
  color: var(--ink-soft);
  font: 400 20px var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-product-card {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--sunken);
  padding: 24px;
  box-shadow:
    0 18px 60px rgba(17, 17, 16, 0.08),
    0 1px 3px rgba(17, 17, 16, 0.04);
}

.hero-product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-product-icon,
.product-icon {
  border-radius: 22.5%;
  box-shadow:
    0 10px 28px rgba(17, 17, 16, 0.16),
    0 1px 3px rgba(17, 17, 16, 0.08);
}

.status-badge {
  flex: 0 0 auto;
  border-radius: 6px;
  background: #E3F5EC;
  color: #1A6E3C;
  padding: 5px 8px;
  font: 600 10px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font: 500 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-name {
  margin: 0 0 12px;
  font: 600 30px var(--font-sans);
  letter-spacing: 0;
}

.hero-product-copy {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.product-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 22px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.product-facts div {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: rgba(246, 245, 241, 0.7);
  padding: 10px 12px;
}

.product-facts dt,
.product-facts dd {
  margin: 0;
}

.product-facts dt {
  color: var(--muted);
  font: 500 11px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-facts dd {
  color: var(--ink);
  font: 500 13px var(--font-sans);
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--signal);
  font-weight: 600;
  text-decoration: none;
}

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

.apps-section {
  background: var(--sunken);
}

.section-header {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-header .eyebrow {
  margin-bottom: 14px;
}

.section-heading {
  margin: 0;
  font: 500 42px var(--font-sans);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-sub {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font: 400 17px var(--font-sans);
  line-height: 1.58;
  letter-spacing: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 44px;
  align-items: center;
  min-width: 0;
}

.product-copy {
  max-width: 500px;
  min-width: 0;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.product-title-row .eyebrow {
  margin-bottom: 6px;
}

.product-title-row h3 {
  margin: 0;
  font: 600 36px var(--font-sans);
  letter-spacing: 0;
}

.product-lede {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

.product-points {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
}

.point-mark {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
}

.point-delete {
  background: var(--delete);
}

.point-keep {
  background: var(--keep);
}

.point-fav {
  background: var(--favorite);
}

.product-media {
  min-height: 540px;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 40px 8px 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(246, 245, 241, 0.92), rgba(236, 234, 227, 0.78));
}

.preview-image {
  position: absolute;
  top: 74px;
  width: 220px;
  height: auto;
  aspect-ratio: 660 / 870;
  object-fit: cover;
  border: 10px solid #1C1C1A;
  border-radius: 34px;
  box-shadow:
    0 20px 54px rgba(17, 17, 16, 0.22),
    0 2px 8px rgba(17, 17, 16, 0.12);
}

.preview-delete {
  left: 10%;
  transform: rotate(-8deg) translateY(20px);
  z-index: 1;
}

.preview-keep {
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.preview-favorite {
  right: 10%;
  transform: rotate(8deg) translateY(24px);
  z-index: 2;
}

.notes-section {
  background: var(--ink);
  color: var(--paper);
}

.notes-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
}

.notes-section .eyebrow,
.notes-section .note-number {
  color: rgba(246, 245, 241, 0.42);
}

.note-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.note-item {
  border: 1px solid rgba(246, 245, 241, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(246, 245, 241, 0.04);
}

.note-number {
  display: block;
  margin-bottom: 18px;
  font: 500 11px var(--font-mono);
  letter-spacing: 0.08em;
}

.note-item h3 {
  margin: 0 0 10px;
  color: var(--paper);
  font: 600 18px var(--font-sans);
}

.note-item p {
  margin: 0;
  color: rgba(246, 245, 241, 0.62);
  font-size: 14px;
  line-height: 1.58;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
  min-width: 0;
}

.contact-heading {
  margin: 12px 0 0;
  font: 500 42px var(--font-sans);
  line-height: 1.12;
  letter-spacing: 0;
}

.contact-sub {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.58;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--sunken);
  color: var(--ink);
  font: 500 14px var(--font-mono);
  text-decoration: none;
}

.contact-email:hover {
  background: var(--bone);
}

.site-footer {
  padding: 52px 0 72px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-legal {
  margin: 44px 0 0;
  color: var(--subtle);
  font: 400 11px var(--font-mono);
}

@media (max-width: 920px) {
  .hero-grid,
  .product-showcase,
  .notes-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-product-card,
  .product-copy {
    max-width: 620px;
  }

  .product-media {
    min-height: 480px;
  }

  .preview-image {
    top: 64px;
    width: 190px;
  }

  .preview-delete {
    left: 14%;
  }

  .preview-favorite {
    right: 14%;
  }

  .note-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  section {
    padding: 68px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 76px;
    padding-bottom: 72px;
  }

  .hero-grid,
  .product-showcase {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy,
  .hero-product-card,
  .product-copy,
  .product-media {
    width: 100%;
    max-width: 100%;
  }

  .hero-grid,
  .hero-copy,
  .hero-sub,
  .hero-actions,
  .hero-product-card,
  .section-header,
  .product-showcase,
  .product-copy,
  .product-media,
  .notes-grid,
  .contact-grid {
    max-width: calc(100vw - 40px);
  }

  .hero-sub,
  .hero-product-copy,
  .section-sub,
  .product-lede,
  .contact-sub {
    overflow-wrap: break-word;
  }

  .hero-heading {
    font-size: 44px;
    line-height: 1.05;
  }

  .hero-sub {
    font-size: 17px;
  }

  .section-heading,
  .contact-heading {
    font-size: 32px;
  }

  .product-media {
    min-height: 420px;
    overflow: hidden;
  }

  .preview-image {
    top: 60px;
    width: 160px;
    border-width: 8px;
    border-radius: 28px;
  }
}

@media (max-width: 520px) {
  .hero-grid,
  .hero-copy,
  .hero-sub,
  .hero-actions,
  .hero-product-card,
  .section-header,
  .product-showcase,
  .product-copy,
  .product-media,
  .notes-grid,
  .contact-grid {
    max-width: min(calc(100vw - 80px), 310px);
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-product-card {
    padding: 20px;
  }

  .product-title-row {
    align-items: flex-start;
  }

  .product-media {
    min-height: 360px;
  }

  .preview-image {
    top: 58px;
    width: 138px;
  }

  .preview-delete {
    left: 2%;
  }

  .preview-keep {
    left: 50%;
  }

  .preview-favorite {
    right: 2%;
  }

  .footer-links {
    gap: 16px;
  }

  .product-facts div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-facts dd {
    text-align: left;
  }
}
