/* Cycles Arc — Circadian API theme: the 24-hour arc.
   dawn amber → noon gold → dusk violet → deep-indigo night.
   Overrides the CSS-variable-driven nous-base.css to the Cycles Arc brand. */
:root {
  --accent: #e8963f;                         /* dawn amber */
  --accent-soft: rgba(232, 150, 63, 0.14);
  --night: #171a3a;                          /* deep indigo — header/hero/footer/dark surfaces */
  --paper: #f6f3ec;                          /* warm cream */
  --ink: #23202b;
  --rule: #e7e2d7;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, .brand .product {
  font-family: 'Raleway', 'Open Sans', sans-serif;
}

/* Logo mark + wordmark */
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand img { height: 40px; width: auto; display: block; }
.brand .co { font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: 0.01em; }
.brand .product { font-family: 'Open Sans', sans-serif; opacity: 0.85; margin-left: 0.15rem; }

/* Warm the hero stat numbers against the deep indigo night */
.hero .num { color: #f2b45a; }

/* The circadian arc — the shape of a day sweeping the hero:
   a sun-elevation sine rising at dawn, cresting at noon, setting into a
   dusk-violet dip, with a soft band marking the sleep window at night. */
.hero .motif {
  opacity: 0.9;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 420' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='arc' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23ffcf87'/%3E%3Cstop offset='0.42' stop-color='%23ffe9a8'/%3E%3Cstop offset='0.72' stop-color='%23c9a6e4'/%3E%3Cstop offset='1' stop-color='%237ea6ff'/%3E%3C/linearGradient%3E%3ClinearGradient id='day' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd98f' stop-opacity='0.30'/%3E%3Cstop offset='1' stop-color='%23ffd98f' stop-opacity='0'/%3E%3C/linearGradient%3E%3CradialGradient id='sun' cx='0.5' cy='0.5' r='0.5'%3E%3Cstop offset='0' stop-color='%23fff1cf'/%3E%3Cstop offset='0.55' stop-color='%23f2b45a'/%3E%3Cstop offset='1' stop-color='%23e8963f' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect x='980' y='0' width='220' height='420' fill='%238a7fff' opacity='0.10'/%3E%3Cpath d='M -20 316 C 150 316 250 78 440 78 C 630 78 740 316 905 316 C 1015 316 1120 360 1240 366 L 1240 420 L -20 420 Z' fill='url(%23day)'/%3E%3Cline x1='0' y1='316' x2='1200' y2='316' stroke='%23ffffff' stroke-opacity='0.16' stroke-width='1.5'/%3E%3Cpath d='M -20 316 C 150 316 250 78 440 78 C 630 78 740 316 905 316 C 1015 316 1120 360 1240 366' fill='none' stroke='url(%23arc)' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='150' cy='250' r='64' fill='url(%23sun)'/%3E%3Ccircle cx='150' cy='250' r='19' fill='%23fff1cf'/%3E%3Cpath d='M 1075 96 A 30 30 0 1 1 1051 62 A 24 24 0 1 0 1075 96 Z' fill='%23cfd6ff' opacity='0.9'/%3E%3Ccircle cx='1000' cy='70' r='1.6' fill='%23ffffff' opacity='0.8'/%3E%3Ccircle cx='1120' cy='120' r='1.4' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='1060' cy='170' r='1.2' fill='%23ffffff' opacity='0.6'/%3E%3C/svg%3E");
}

/* Pricing: five tiers on one rail (Free / Indie / Pro / Scale / Enterprise). */
.pricing-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pricing-grid .price-card { padding: 22px 18px; }
.pricing-grid .price-card .amount { font-size: 25px; }
.pricing-grid .price-card ul { font-size: 12.5px; }
@media (max-width: 1040px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* The Science section — the bibliography is the marketing. */
.science { background: var(--panel); }
.science .lead {
  max-width: 680px; margin: 0 0 36px; font-size: 16px; color: var(--soft);
}
.biblio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px 34px; }
.biblio-group h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent); margin: 0 0 10px;
}
.biblio-list { list-style: none; padding: 0; margin: 0; }
.biblio-list li {
  font-size: 13.5px; color: var(--soft); padding: 8px 0;
  border-bottom: 1px solid var(--rule); line-height: 1.5;
}
.biblio-list li:last-child { border-bottom: none; }
.biblio-list b { color: var(--ink); font-weight: 700; }
.biblio-list .src { color: var(--faint); font-style: italic; }
.contested-note {
  margin-top: 26px; padding: 16px 20px; border-radius: var(--radius);
  background: rgba(138, 127, 255, 0.10); border: 1px solid rgba(138, 127, 255, 0.28);
  font-size: 13.5px; color: var(--soft);
}
.contested-note b { color: var(--ink); }
