/* ==========================================================================
   Ortus - "First Light" landing page
   Dark cinematic dawn. All tokens from the binding design system.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (defined once)
   -------------------------------------------------------------------------- */
:root {
  /* Accent - the ONE interactive accent (dark values) */
  --accent: #FD9E4D;
  --accent-hover: #FFBA75;

  /* Dawn gradient - BRAND / HERO ONLY */
  --dawn-1: #2B294D; /* predawn indigo */
  --dawn-2: #A8457D; /* mauve */
  --dawn-3: #E36333; /* coral */
  --dawn-4: #F7BC63; /* gold */
  --dawn: linear-gradient(135deg, var(--dawn-1) 0%, var(--dawn-2) 40%, var(--dawn-3) 72%, var(--dawn-4) 100%);

  /* Surfaces (dark is primary) */
  --canvas: #151418;
  --canvas-deep: #0E0D11;
  --card: #201E25;
  --raised: #28262E;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #F3F0EC;
  --muted: #B7B3AE;

  /* Semantic (used sparingly) */
  --danger: #F87552;

  /* Type */
  --font-ui: -apple-system, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Elevation */
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 22px 48px rgba(0, 0, 0, 0.55), 0 4px 10px rgba(0, 0, 0, 0.35);
  --glow-accent: 0 8px 28px rgba(253, 158, 77, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 140ms;
  --t-mid: 200ms;
  --t-slow: 260ms;

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-ui);
  background: var(--canvas);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-round);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

strong { font-weight: 600; color: var(--text); }

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

/* Visible focus rings everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Shared gradient-text treatment (brand moment) */
.grad-text {
  color: var(--accent);
}

/* Section eyebrow */
.eyebrow {
  font-size: clamp(11px, 1.4vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-title {
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
  font-weight: 500;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   3. Buttons (capsules)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              background var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
  white-space: nowrap;
}
.btn__icon { display: inline-flex; }

.btn--primary {
  background: var(--accent);
  color: #1A1410;
  box-shadow: var(--glow-accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(253, 158, 77, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--capsule {
  background: var(--accent);
  color: #1A1410;
  padding: 9px 18px;
  font-size: 0.9rem;
  box-shadow: var(--glow-accent);
}
.btn--capsule:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn--lg { padding: 15px 30px; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   3b. Install command block (CLI-style)
   -------------------------------------------------------------------------- */
.install {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  background: var(--canvas-deep);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 12px 12px 12px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), var(--shadow-card);
}
.install__cmd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
  overflow-x: auto;
  letter-spacing: -0.01em;
  -webkit-overflow-scrolling: touch;
}
.install__prompt {
  color: var(--accent);
  opacity: 0.7;
  margin-right: 6px;
  user-select: none;
}
.install__copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease),
              background var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.install__copy:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--hairline-strong);
}
.install__copy .install__icon-copy { flex: 0 0 auto; }
.install__copy.is-copied {
  color: var(--accent);
  border-color: rgba(253, 158, 77, 0.4);
  background: rgba(253, 158, 77, 0.1);
}

/* --------------------------------------------------------------------------
   4. Floating nav (logo only)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: clamp(14px, 2.5vw, 22px);
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
}
.nav__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(32, 30, 37, 0.55);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-card);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  transition: transform var(--t-fast) var(--ease);
}
.nav__brand:hover {
  transform: translateY(-1px);
}
.nav__logo {
  display: block;
  border-radius: 8px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, #1c1a22 0%, var(--canvas) 45%, var(--canvas-deep) 100%);
}
/* Dawn horizon glow */
.hero__glow {
  position: absolute;
  left: 50%;
  top: -8%;
  width: min(1300px, 150vw);
  height: 720px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(247, 188, 99, 0.30), rgba(227, 99, 51, 0.16) 45%, rgba(168, 69, 125, 0.10) 70%, transparent 78%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
/* thin dawn horizon line */
.hero__horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 360px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 188, 99, 0.5) 30%, rgba(227, 99, 51, 0.55) 50%, rgba(247, 188, 99, 0.5) 70%, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 12vw, 110px) var(--gutter) clamp(70px, 12vw, 120px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__title {
  font-size: clamp(2.6rem, 8vw, 4.7rem);
  font-weight: 500;
  margin: 18px 0 0;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.3vw, 1.22rem);
  color: var(--muted);
  max-width: 480px;
}
.hero__sub--detail {
  margin-top: 14px;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__meta {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   6. App popover mock (the proof)
   -------------------------------------------------------------------------- */
.hero__device { display: flex; justify-content: center; }
.popover {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(180deg, #232029 0%, #1b1922 100%);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-xl);
  padding: 18px 18px 24px;
  box-shadow: var(--shadow-lift);
}
/* floating capsule tab bar */
.popover__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 13, 17, 0.7);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 6px;
  cursor: default;
}
.tab svg { opacity: 0.9; }
.tab--active {
  color: #1A1410;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(253, 158, 77, 0.4);
}
.tab--icon { flex: 0 0 auto; width: 34px; padding: 8px; }

/* focus screen */
.popover__screen {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popover__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* circular timer */
.timer {
  position: relative;
  margin: 6px 0 18px;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
}
.timer__glow {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 158, 77, 0.45), rgba(227, 99, 51, 0.16) 60%, transparent 75%);
  filter: blur(10px);
  animation: breathe 5.5s ease-in-out infinite;
}
.timer__ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* conic progress: ~73% complete (38 of 52 min elapsed look) */
  background: conic-gradient(var(--accent) 0turn 0.62turn, rgba(255, 255, 255, 0.08) 0.62turn 1turn);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.timer__ring::before {
  /* inner disc to make it a ring */
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #211f28, #191720);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.timer__center {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timer__time {
  font-family: var(--font-round);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.timer__label {
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.popover__row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
}
.pill--accent {
  color: var(--accent);
  border-color: rgba(253, 158, 77, 0.4);
  background: rgba(253, 158, 77, 0.1);
}

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 90px) var(--gutter);
  text-align: center;
}
.trust__line {
  font-family: var(--font-round);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
}

/* --------------------------------------------------------------------------
   8. Features - bento grid
   -------------------------------------------------------------------------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) var(--gutter);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 20px);
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 158, 77, 0.35);
  box-shadow: var(--shadow-lift);
}
.card--wide { grid-column: span 2; }

.card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(253, 158, 77, 0.1);
  border: 1px solid rgba(253, 158, 77, 0.22);
  color: var(--accent);
  margin-bottom: 18px;
  transition: background var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: rgba(253, 158, 77, 0.18); transform: scale(1.04); }

.card__title {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 600;
  margin-bottom: 9px;
}
.card__body {
  color: var(--muted);
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   9. How it works - steps
   -------------------------------------------------------------------------- */
.how {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 70px) var(--gutter);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-round);
  font-size: 1.5rem;
  font-weight: 500;
  color: #1A1410;
  background: var(--dawn);
  box-shadow: 0 8px 24px rgba(227, 99, 51, 0.3);
  margin-bottom: 18px;
}
.step__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.step__body { color: var(--muted); font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 70px) var(--gutter);
}
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 4px 20px;
  transition: border-color var(--t-mid) var(--ease);
}
.qa[open] { border-color: rgba(253, 158, 77, 0.3); }
.qa summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--t-mid) var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg); }
.qa p { color: var(--muted); padding: 0 0 18px; font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   11. Final CTA band
   -------------------------------------------------------------------------- */
.cta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--gutter);
}
.cta__panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--r-xl);
  padding: clamp(48px, 9vw, 90px) var(--gutter);
  background: var(--dawn);
  box-shadow: var(--shadow-lift);
}
/* darken overlay for text contrast over the dawn gradient */
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 24, 0.18), rgba(20, 16, 24, 0.42));
  z-index: 0;
}
.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 80%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.25), transparent 70%);
  z-index: 0;
}
.cta__title,
.cta__sub,
.cta .btn,
.cta .install,
.cta__meta { position: relative; z-index: 1; }
/* center the install block within the final CTA panel */
.cta .install {
  display: inline-flex;
  margin: 0 auto;
  background: rgba(14, 13, 17, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cta .install__cmd { color: #fff; }
.cta__title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.cta__sub {
  margin: 16px auto 30px;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 460px;
}
/* On the dawn panel the primary button reads as a clean white capsule */
.cta .btn--primary {
  background: #fff;
  color: #1A1410;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.cta .btn--primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
.cta__meta { margin-top: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--canvas-deep);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 56px) var(--gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__word { font-family: var(--font-round); font-weight: 600; font-size: 1.1rem; }
.footer__tag { color: var(--muted); font-size: 0.88rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--muted); font-size: 0.92rem; transition: color var(--t-fast) var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter) 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.footer__latin {
  font-family: var(--font-round);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
}
.footer__copy { color: var(--muted); font-size: 0.84rem; }

/* --------------------------------------------------------------------------
   13. Scroll-reveal (progressive enhancement)
   JS adds .reveal-ready to <html>; without JS, content is visible.
   -------------------------------------------------------------------------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .card--wide { grid-column: span 2; }
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
  .hero__device { margin-top: 8px; }
  .hero__horizon { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer__inner { flex-direction: column; }
  /* Install block: full width, command + copy stack/scroll without overflow */
  .install {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .install__cmd { min-width: 0; flex: 1 1 auto; }
  .cta .install { width: 100%; }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .timer__glow { animation: none; }
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   16. Minimal feature list (replaces the bento grid)
   -------------------------------------------------------------------------- */
.feature-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 56px;
}
.feature-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}
.feature-list p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 620px) {
  .feature-list {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 28px;
  }
}

/* --------------------------------------------------------------------------
   17. Hero redesign - glass badge, bigger headline, mockup glow, load-in
   -------------------------------------------------------------------------- */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero__badge svg { color: var(--accent); }

/* Bigger, tighter hero headline */
.hero__title {
  font-size: clamp(2.9rem, 8.6vw, 5.4rem);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

/* Soft dawn glow behind the app mockup */
.hero__device { position: relative; }
.hero__device-glow {
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(closest-side, rgba(247, 188, 99, 0.22), rgba(227, 99, 51, 0.12) 55%, transparent 76%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   19. macOS menu-bar scene (menu bar + drop-down popover)
   -------------------------------------------------------------------------- */
.macscene {
  position: relative;
  z-index: 1;
  width: min(432px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* translucent macOS menu bar */
.menubar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  padding: 0 13px;
  border-radius: 11px;
  background: rgba(18, 17, 22, 0.62);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-card);
}
.menubar__sys {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.menubar__sys svg { opacity: 0.82; }
.menubar__clock {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(243, 240, 236, 0.85);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
/* the Ortus icon, lit to show a focus session is live */
.menubar__ortus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: rgba(253, 158, 77, 0.16);
  border: 1px solid rgba(253, 158, 77, 0.36);
  box-shadow: 0 0 16px rgba(253, 158, 77, 0.4);
}
.menubar__ortus img { width: 18px; height: 18px; }

/* the panel hangs from the menu bar with a little notch */
.macscene .popover { position: relative; z-index: 1; width: 100%; }
.popover__notch {
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #232029;
  border-left: 1px solid var(--hairline-strong);
  border-top: 1px solid var(--hairline-strong);
  border-radius: 3px 0 0 0;
  transform: rotate(45deg);
}

/* Staggered load-in for the hero */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) forwards;
}
.fade-up.d1 { animation-delay: 0.05s; }
.fade-up.d2 { animation-delay: 0.16s; }
.fade-up.d3 { animation-delay: 0.30s; }
.fade-up.d4 { animation-delay: 0.44s; }
.fade-up.d5 { animation-delay: 0.30s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* --------------------------------------------------------------------------
   18. Interactive mockup panels (Focus / Schedule / Chat / Settings)
   -------------------------------------------------------------------------- */
.tab { cursor: pointer; transition: color 0.15s, background 0.15s; }
.tab:not(.tab--active):hover { color: var(--text); }

/* Keep the card height stable across panels */
.popover__screen { min-height: 338px; justify-content: flex-start; }
.panel { width: 100%; }
.panel[hidden] { display: none; }
.panel--active { animation: panelIn 0.28s var(--ease, ease) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.popover__screen[data-panel="focus"] { justify-content: center; }

/* Mock toggle switch */
.toggle {
  flex: 0 0 auto;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  background: var(--raised);
  border: 1px solid var(--hairline-strong);
  position: relative;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transform: translateY(-50%);
}
.toggle.is-on { background: var(--accent); border-color: transparent; }
.toggle.is-on::after { transform: translateY(-50%) translateX(15px); background: #1A1410; }

/* Schedule + Settings rows */
.sched, .set {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sched__row, .set__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
}
.sched__name { font-size: 0.92rem; font-weight: 600; color: var(--text); margin: 0; }
.sched__time { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; }
.set__row > span:first-child { font-size: 0.9rem; color: var(--text); }

/* Settings placeholders (skeleton bars) */
.ph {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--hairline-strong);
}
.ph--lg { width: 58%; }
.ph--md { width: 44%; }
.ph--sm { width: 30%; }

/* Chat */
.chat {
  width: 100%;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat__bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  background: var(--raised);
  border: 1px solid var(--hairline);
  color: var(--text);
  align-self: flex-start;
}
.chat__bubble--me {
  align-self: flex-end;
  background: var(--accent);
  color: #1A1410;
  border: none;
  border-radius: 14px;
  border-bottom-right-radius: 4px;
}

/* --------------------------------------------------------------------------
   20. Focus panel labels (matches the real app: label + name below the ring)
   -------------------------------------------------------------------------- */
.focus__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.focus__name {
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.focus__extend {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 8px 18px;
}
