/* ═══════════════════════════════════════════════════════════════
   features.css: the feature pages (alpha-site/features/*.html)
   ═══════════════════════════════════════════════════════════════
   4.2531.1. get-started-now.html's idiom (one quiet column, serif
   display headings, kicker labels, ruled sections, accent-left step
   cards) plus the feature pages' flare: an aura behind the hero, a
   shimmering underline, staggered entrances, glowing recording tiles
   and the recording player (feature-rec.js). Everything that moves
   stands still under prefers-reduced-motion. */
:root {
  --ink: #0f0f0f; --paper: #f7f5f0; --rule: #d6d0c4;
  --accent: #1a3a5c; --accent-lt: #e8edf2; --muted: #6b6659; --gap: 1.5rem;
  --teal: #2f7d8c; --gold: #c9a227; --card: #fffdf9;
  --glow: linear-gradient(90deg, var(--accent), var(--teal), var(--gold), var(--teal), var(--accent));
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: 1rem; line-height: 1.55; }
main { max-width: 52rem; margin: 0 auto; padding: 1.75rem 1.5rem 2.5rem; }
a { color: var(--accent); }
p { margin: 0; }
p + p { margin-top: 1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fffdf9; padding: 0.4rem 0.7rem; }
.skip-link:focus { left: 0.5rem; z-index: 60; }
/* 4.2531.2: the top bar is positioned above every decorative layer
   (the hero aura used to paint over it and swallow clicks), and
   every decorative pseudo-element below ignores the pointer. */
.topbar { position: relative; z-index: 20; max-width: 52rem; margin: 0 auto; padding: 1rem 1.5rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
/* 4.2531.6: the top bar's links (Home, Features, Sign In) share one look:
   15px (0.9375rem) in the theme accent. 4.2531.7: underlined only on
   hover; Features and Get Started follow Home on the left, and Sign In
   stands alone at the far right. */
.topbar > a, .topbar-mid > a, .topbar .fmenu > summary { color: var(--accent); font-size: 0.9375rem; text-decoration: none; text-underline-offset: 0.18em; }
.topbar > a:hover, .topbar-mid > a:hover, .topbar .fmenu > summary:hover { text-decoration: underline; }
.topbar-mid { display: flex; gap: 1.1rem; align-items: baseline; flex-wrap: wrap; flex: 1 1 auto; }
/* 4.2531.28: the sides swapped: Sign In on the left; Home, Features and
   Get Started on the right, so the Features panel opens leftward from its
   toggle (phones keep the full-width sheet from feature-menu.css). */
.topbar-mid { justify-content: flex-end; }
.topbar-mid .fmenu .fmenu-panel { left: auto; right: 0; }
/* 4.2531.5: Features, Get Started and Sign In sit together on the
   right; Get Started is the top bar's call to action. */
.topbar-mid > a.ftop-cta { color: #fffdf9; font-size: 0.9rem; text-decoration: none; background: var(--accent); padding: 0.28rem 0.75rem; border-radius: 999px; font-weight: 500;
  box-shadow: 0 2px 10px rgba(26, 58, 92, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.topbar-mid > a.ftop-cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26, 58, 92, 0.3); }
.topbar-mid > a.ftop-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero: an aura of color behind a serif headline. */
.fx-hero { position: relative; padding: 1.4rem 0 0.4rem; isolation: isolate; }
.fx-hero::before { pointer-events: none; content: ""; position: absolute; inset: -2.5rem -3rem auto -3rem; height: 15rem; z-index: -1;
  background: radial-gradient(40% 60% at 15% 30%, rgba(47, 125, 140, 0.20), transparent 70%),
              radial-gradient(35% 55% at 80% 20%, rgba(201, 162, 39, 0.18), transparent 70%),
              radial-gradient(45% 70% at 55% 80%, rgba(26, 58, 92, 0.14), transparent 70%);
  filter: blur(6px); animation: fx-breathe 9s ease-in-out infinite alternate; }
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 500; margin: 0 0 0.75rem; }
.kicker .fx-spark { display: inline-block; margin-right: 0.4rem; color: var(--gold); animation: fx-twinkle 2.4s ease-in-out infinite; }
h1 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: clamp(1.8rem, 4.6vw, 2.5rem); line-height: 1.12; margin: 0 0 0.6rem; }
h1 .fx-under { background-image: var(--glow); background-size: 300% 4px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 0.18em; animation: fx-shimmer 6s linear infinite; }
.fx-tagline { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.fx-progress { margin-top: 1.1rem; height: 4px; background: var(--rule); border-radius: 4px; overflow: hidden; max-width: 22rem; }
.fx-progress span { display: block; height: 100%; background-image: var(--glow); background-size: 300% 100%; animation: fx-shimmer 6s linear infinite; }

/* Sections: ruled, with a jewel before each heading. */
h2 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.35rem; margin: var(--gap) 0 0.6rem; padding-top: var(--gap); border-top: 1px solid var(--rule); }
h2 .fx-jewel { display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.55rem; vertical-align: 0.15em; transform: rotate(45deg); background-image: var(--glow); background-size: 300% 100%; }
h3 { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.1rem; margin: 1.1rem 0 0.4rem; }
.fx-sec { animation: fx-rise 0.7s ease both; }
.fx-sec:nth-of-type(2) { animation-delay: 0.08s; }
.fx-sec:nth-of-type(3) { animation-delay: 0.16s; }
.fx-guarantee { border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(201, 162, 39, 0.10), transparent 70%); padding: 0.8rem 1rem; }

/* Workflow: steps beside their recording. */
.fx-flow { display: grid; grid-template-columns: 1fr auto; gap: 1.3rem; align-items: start; margin-top: 0.4rem; }
@media (max-width: 640px) { .fx-flow { grid-template-columns: 1fr; } .fx-flow .frec { justify-self: start; } }
.steps { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.65rem; counter-reset: step; }
.step { background: var(--accent-lt); border-left: 3px solid var(--accent); padding: 0.75rem 1rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step:hover { transform: translateX(3px); box-shadow: 0 2px 10px rgba(26, 58, 92, 0.10); }
.step .num { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-right: 0.35rem; color: var(--accent); }
.note { border: 1px solid var(--rule); background: var(--card); padding: 0.9rem 1.1rem; margin-top: 0.9rem; }

/* 4.2531.25: the recording tiles, the player and the scenes moved to
   feature-rec.css, shared with the landing page's tour gallery. */

/* Pager and call to action. */
.fx-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2rem; padding-top: var(--gap); border-top: 1px solid var(--rule); }
.fx-pager a { display: block; text-decoration: none; padding: 0.8rem 1rem; border: 1px solid var(--rule); background: var(--card); border-radius: 8px; transition: transform 0.2s ease, border-color 0.2s ease; }
.fx-pager a:hover, .fx-pager a:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.fx-pager .fx-dir { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.fx-pager .fx-next { text-align: right; grid-column: 2; }
.fx-cta { margin-top: 1.8rem; padding: 1.3rem 1.4rem; border-radius: 12px; color: #fffdf9; background: linear-gradient(135deg, var(--accent), #234d6e 55%, var(--teal)); position: relative; overflow: hidden; }
.fx-cta::after { pointer-events: none; content: ""; position: absolute; right: -3rem; top: -3rem; width: 10rem; height: 10rem; border-radius: 50%; background: radial-gradient(rgba(201, 162, 39, 0.45), transparent 70%); animation: fx-breathe 7s ease-in-out infinite alternate; }
.fx-cta h2 { color: #fffdf9; border: 0; padding: 0; margin: 0 0 0.4rem; }
.fx-cta p { position: relative; z-index: 1; }
.fx-cta .btn { display: inline-block; margin: 0.9rem 0.6rem 0 0; position: relative; z-index: 1; font: inherit; font-weight: 500; padding: 0.55rem 1.1rem; border-radius: 6px; text-decoration: none; background: var(--gold); color: var(--ink); }
.fx-cta .btn.ghost { background: transparent; color: #fffdf9; border: 1px solid rgba(255, 253, 249, 0.7); }

@keyframes fx-breathe { from { transform: scale(1) translateY(0); opacity: 0.85; } to { transform: scale(1.06) translateY(-6px); opacity: 1; } }
@keyframes fx-shimmer { from { background-position: 0% 100%; } to { background-position: 300% 100%; } }
@keyframes fx-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fx-pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55); } 80%, 100% { box-shadow: 0 0 0 14px rgba(201, 162, 39, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
