/* RFellow landing preview — first-party, local assets only.
   Staged at landing.html; index.html stays the qualified Analyzer entry.
   Light/dark palette is inherited from the existing site-theme.js toggle. */
.rf-landing{
 --ll-bg:#eef3f8;--ll-panel:#f9fbfd;--ll-raised:#f3f7fb;
 --ll-ink:#172b43;--ll-muted:#52667e;--ll-border:#d6e1eb;
 --ll-blue:#175fbe;--ll-cyan:#087b99;--ll-glow:rgba(43,137,224,.085);
 --ll-tint:#eaf2f8;--ll-shadow:0 24px 70px rgba(22,48,76,.065);
 background:var(--ll-bg);color:var(--ll-ink);overflow-x:clip;
}
html[data-theme="dark"] .rf-landing{
 --ll-bg:#0b1727;--ll-panel:#13263b;--ll-raised:#172e46;
 --ll-ink:#f0f7ff;--ll-muted:#b5c9df;--ll-border:#304a66;
 --ll-blue:#85bfff;--ll-cyan:#81e1df;--ll-glow:rgba(54,146,217,.14);
 --ll-tint:#152c43;--ll-shadow:0 28px 90px rgba(0,0,0,.22);
}
.rf-landing *{box-sizing:border-box}
.rf-landing a{outline-offset:4px}
.rf-landing :is(a,button,summary):focus-visible{outline:3px solid #45b7db}
.rf-landing-skip{position:absolute;z-index:40;top:-100px;left:16px;padding:12px 16px;background:#fff;color:#153d65;border-radius:9px}
.rf-landing-skip:focus{top:12px}
.rf-landing-container{width:min(1200px,calc(100% - 56px));margin-inline:auto}
.rf-landing .topbar{background:var(--ll-panel);border-bottom-color:var(--ll-border)}
.rf-landing .local-pill{border-color:var(--ll-border);background:var(--ll-tint);color:var(--ll-muted)}
.rf-landing .local-pill i{background:#2ac2a9}
.rf-landing-hero{position:relative;isolation:isolate;min-height:610px;padding:90px 0 90px;overflow:hidden;background:linear-gradient(135deg,rgba(35,115,195,.06),transparent 55%),var(--ll-bg)}
html[data-theme="dark"] .rf-landing-hero{background:radial-gradient(ellipse at 75% 38%,rgba(23,96,162,.24),transparent 55%),#0b1727}
.rf-landing-glow{position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse 50% 75% at 70% 40%,var(--ll-glow),transparent 78%)}
.rf-landing-hero-layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:center;gap:50px}
.rf-landing-eyebrow,.rf-landing-kicker{margin:0;font-size:11px;font-weight:820;letter-spacing:.15em;line-height:1.6;color:var(--ll-cyan)}
.rf-landing-eyebrow{display:flex;align-items:center;gap:10px}
.rf-landing-pulse{width:8px;height:8px;background:#22b6a1;border-radius:50%;box-shadow:0 0 0 5px rgba(34,182,161,.1)}
.rf-landing-hero h1{max-width:690px;margin:23px 0 20px;font-size:clamp(45px,5.4vw,76px);line-height:1.04;letter-spacing:-.065em;font-weight:830;color:var(--ll-ink)}
.rf-landing-hero h1 span{display:block;background:linear-gradient(105deg,#177cbf,#18a6ad 75%);color:var(--ll-ink);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
html[data-theme="dark"] .rf-landing-hero h1 span{background-image:linear-gradient(100deg,#7abfff,#7bf0d6 90%)}
.rf-landing-lead{margin:0;max-width:530px;color:var(--ll-muted);font-size:clamp(16px,1.5vw,18px);line-height:1.73}
.rf-landing-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.rf-landing-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 19px;border-radius:10px;font-size:14px;font-weight:760;text-decoration:none;white-space:normal;border:1px solid transparent;transition:background-color .22s ease,border-color .22s ease,transform .25s ease,box-shadow .25s ease}
.rf-landing-button:hover{transform:translateY(-2px)}
.rf-landing-button-primary{background:#256ec3;color:#fff!important;box-shadow:0 12px 29px rgba(28,105,196,.2)}
.rf-landing-button-primary:hover{background:#155aa9;box-shadow:0 15px 36px rgba(28,105,196,.28)}
.rf-landing-button-secondary{border-color:var(--ll-border);background:var(--ll-panel);color:var(--ll-ink)!important}
.rf-landing-button-secondary:hover{border-color:var(--ll-cyan);background:var(--ll-raised)}
.rf-landing-button-quiet{border-color:var(--ll-border);color:var(--ll-ink)!important;background:transparent}
.rf-landing-button-quiet:hover{background:var(--ll-raised)}
.rf-landing-button span[aria-hidden]{font-size:17px;line-height:1}
.rf-landing-trust{display:flex;flex-wrap:wrap;gap:13px 22px;margin-top:28px;color:var(--ll-muted);font-size:11px;font-weight:660}
.rf-landing-trust span{display:inline-flex;align-items:center;gap:7px}
.rf-landing-trust span::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#39c4b8}
.rf-landing-preview-wrap{min-width:0;position:relative}
.rf-landing-preview-wrap::before{content:"";position:absolute;inset:10% -5%;z-index:-1;background:radial-gradient(ellipse,rgba(41,125,204,.27),transparent 68%);filter:blur(25px);pointer-events:none}
.rf-landing-preview{overflow:hidden;border:1px solid rgba(151,186,224,.3);border-radius:17px;background:#0b1929;box-shadow:0 32px 80px rgba(0,13,32,.32),0 0 0 6px rgba(117,183,232,.04);color:#dbeaff}
.rf-landing-preview-head{display:flex;align-items:center;gap:13px;height:43px;padding:0 16px;background:#112439;border-bottom:1px solid #26415a;font-size:10px;font-weight:770;letter-spacing:.08em;color:#b9d7ee}
.rf-landing-preview-head b{font-weight:630;color:#7fa3bc}
.rf-landing-window-dots{display:flex;gap:5px;margin-right:5px}
.rf-landing-window-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#607e9b}
.rf-landing-window-dots i:first-child{background:#e99b9b}
.rf-landing-window-dots i:nth-child(2){background:#e8c17a}
.rf-landing-window-dots i:nth-child(3){background:#7bc8b3}
.rf-landing-preview-status{display:flex;align-items:center;gap:6px;margin-left:auto;color:#99cabc;text-transform:none;font-size:10px;letter-spacing:0}
.rf-landing-preview-status i{width:5px;height:5px;border-radius:50%;background:#52d5b8}
.rf-landing-preview-body{display:grid;grid-template-columns:145px minmax(0,1fr);min-height:320px}
.rf-landing-preview-sidebar{display:flex;flex-direction:column;gap:12px;padding:22px 13px;border-right:1px solid #26415a;background:#101f31}
.rf-landing-skeleton-label{color:#7b9cb7;font-size:8px;font-weight:810;letter-spacing:.12em}
.rf-landing-preview-pill{border:1px solid #2b5873;color:#8ad8e3;background:#163349;border-radius:6px;padding:8px 9px;font-size:10px;font-weight:760}
.rf-landing-preview-line{display:block;width:70%;height:5px;background:#294159;border-radius:7px}
.rf-landing-preview-line.long{width:95%}.rf-landing-preview-line.short{width:51%}
.rf-landing-preview-separator{height:1px;background:#294159;margin:9px 0}
.rf-landing-preview-trace{display:flex;align-items:center;gap:6px;font-size:9px;white-space:nowrap;color:#a7c3dc}
.rf-landing-preview-trace i{display:inline-block;width:8px;height:8px;border:2px solid #38c7e9;border-radius:2px;flex:none}
.rf-landing-preview-trace.second i{border-color:#57dbb4}
.rf-landing-preview-plot{padding:19px 15px 15px;min-width:0}
.rf-landing-preview-plot-title{display:flex;justify-content:space-between;gap:10px;color:#aac5df;font-size:9px;font-weight:750;letter-spacing:.08em}
.rf-landing-plot-svg{display:block;width:100%;height:auto;max-height:245px;margin-top:4px}
.rf-landing-chart-grid{stroke:#2b445d;stroke-width:1;fill:none;stroke-dasharray:3 5}
.rf-landing-chart-labels{font:10px system-ui,sans-serif;fill:#8da8c3}
.rf-landing-chart-primary{stroke:url(#rfLandingCurve);stroke-width:3.6;stroke-linecap:round;fill:none}
.rf-landing-chart-secondary{stroke:#63deb7;stroke-width:2.3;stroke-linecap:round;fill:none;opacity:.75}
.rf-landing-chart-marker{stroke:#7ae4d1;stroke-dasharray:4 4;stroke-width:1}
.rf-landing-preview-readout{display:flex;gap:20px;padding:9px 0 0;border-top:1px solid #2b445d}
.rf-landing-preview-readout>div{display:flex;flex-direction:column;gap:4px}
.rf-landing-preview-readout small{color:#799db8;font-size:8px;letter-spacing:.08em}
.rf-landing-preview-readout strong{color:#dfedff;font-size:11px}
.rf-landing-preview-note{text-align:center;color:var(--ll-muted);margin:14px 0 0;font-size:11px;line-height:1.5}
.rf-landing-section{padding:89px 0}
.rf-landing-section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:29px}
.rf-landing-section-heading h2,.rf-landing-principles h2,.rf-landing-learning h2,.rf-landing-last h2{font-size:clamp(30px,3.4vw,46px);line-height:1.15;letter-spacing:-.044em;margin:12px 0 0;color:var(--ll-ink)}
.rf-landing-section-heading>p{max-width:360px;color:var(--ll-muted);line-height:1.68;font-size:14px;margin:0}
.rf-landing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.rf-landing-tool-card{display:flex;flex-direction:column;min-width:0;min-height:298px;padding:28px;border:1px solid var(--ll-border);border-radius:16px;background:var(--ll-panel);color:var(--ll-ink)!important;box-shadow:var(--ll-shadow);text-decoration:none;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.rf-landing-tool-card:hover{transform:translateY(-4px);border-color:#399bcb;box-shadow:0 22px 50px rgba(10,70,114,.14)}
.rf-landing-tool-feature{background:linear-gradient(140deg,var(--ll-tint),var(--ll-panel) 80%)}
.rf-landing-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:var(--ll-tint);color:var(--ll-cyan);font:780 27px/1 Georgia,serif;margin-bottom:21px}
.rf-landing-card-kicker{color:var(--ll-cyan);font-size:10px;font-weight:810;letter-spacing:.13em}
.rf-landing-tool-card h3{margin:10px 0 9px;font-size:22px;letter-spacing:-.02em;color:var(--ll-ink)}
.rf-landing-tool-card p{margin:0 0 22px;color:var(--ll-muted);line-height:1.67;font-size:14px}
.rf-landing-card-link{display:flex;align-items:center;gap:8px;margin-top:auto;color:var(--ll-blue);font-size:13px;font-weight:780}
.rf-landing-principles{background:var(--ll-panel);border-block:1px solid var(--ll-border)}
.rf-landing-principles-layout{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:90px;align-items:start}
.rf-landing-principles-lead>p:not(.rf-landing-kicker){color:var(--ll-muted);font-size:16px;line-height:1.8;max-width:470px}
.rf-landing-inline-link{display:inline-flex;margin-top:12px;align-items:center;gap:9px;font-size:14px;font-weight:780;color:var(--ll-blue)!important}
.rf-landing-principle-list{display:grid;gap:0}
.rf-landing-principle-list>div{display:flex;gap:23px;padding:21px 0;border-bottom:1px solid var(--ll-border)}
.rf-landing-principle-list>div:first-child{padding-top:0}
.rf-landing-principle-list>div:last-child{border-bottom:0}
.rf-landing-principle-num{color:var(--ll-cyan);font-size:12px;font-weight:820;letter-spacing:.05em;padding-top:4px}
.rf-landing-principle-list h3{font-size:17px;color:var(--ll-ink);margin:0 0 7px}
.rf-landing-principle-list p{font-size:14px;line-height:1.6;color:var(--ll-muted);margin:0}
.rf-landing-learning-panel{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;padding:56px;border:1px solid var(--ll-border);border-radius:23px;background:linear-gradient(140deg,var(--ll-panel),var(--ll-tint));box-shadow:var(--ll-shadow)}
.rf-landing-learning-copy>p:not(.rf-landing-kicker){max-width:540px;color:var(--ll-muted);line-height:1.75;font-size:15px}
.rf-landing-learning .rf-landing-disclosure{font-size:12px!important;color:var(--ll-muted);margin-top:21px}
.rf-landing-learning-topics{display:grid;align-content:center;gap:12px;min-width:0}
.rf-landing-learning-topics>div{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid var(--ll-border);border-radius:12px;background:var(--ll-panel)}
.rf-landing-topic-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;background:var(--ll-tint);color:var(--ll-cyan);font-size:23px}
.rf-landing-learning-topics strong{display:block;color:var(--ll-ink);font-size:13px;margin-bottom:5px}
.rf-landing-learning-topics small{display:block;color:var(--ll-muted);font-size:11px;line-height:1.4}
.rf-landing-last{padding:35px 0 75px}
.rf-landing-last-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:36px 0;border-top:1px solid var(--ll-border)}
.rf-landing-last h2{max-width:620px;font-size:clamp(27px,3vw,37px)}
.rf-landing-footer{background:var(--ll-panel);border-top:1px solid var(--ll-border)}
.rf-landing-footer-inner{display:flex;justify-content:space-between;gap:28px;align-items:center;padding:25px 0}
.rf-landing-footer p{margin:0;color:var(--ll-muted);font-size:12px}
.rf-landing-footer p strong{color:var(--ll-ink)}
.rf-landing-footer nav{display:flex;flex-wrap:wrap;gap:8px 17px}
.rf-landing-footer nav a{color:var(--ll-muted);font-size:12px}
.rf-landing-footer nav a:hover{color:var(--ll-blue)}
@media(max-width:1040px){
 .rf-landing-hero{padding:72px 0}.rf-landing-hero-layout{gap:28px}
 .rf-landing-preview-body{grid-template-columns:112px minmax(0,1fr)}
 .rf-landing-preview-sidebar{padding:17px 9px}
 .rf-landing-principles-layout{gap:48px}
 .rf-landing-learning-panel{padding:37px;gap:30px}
}
@media(max-width:760px){
 .rf-landing-container{width:min(620px,calc(100% - 32px))}
 .rf-landing-hero{padding:54px 0 62px}
 .rf-landing-hero-layout,.rf-landing-principles-layout,.rf-landing-learning-panel{grid-template-columns:1fr}
 .rf-landing-hero-layout{gap:34px}
 .rf-landing-hero h1{font-size:clamp(42px,9.3vw,66px);margin:18px 0}
 .rf-landing-preview-body{grid-template-columns:120px minmax(0,1fr)}
 .rf-landing-section{padding:64px 0}
 .rf-landing-section-heading{display:block}.rf-landing-section-heading>p{margin-top:15px}
 .rf-landing-grid{grid-template-columns:1fr;gap:12px}
 .rf-landing-tool-card{min-height:unset;padding:24px}
 .rf-landing-principles-layout{gap:28px}
 .rf-landing-learning-panel{gap:30px}
 .rf-landing-last-inner,.rf-landing-footer-inner{align-items:start;flex-direction:column}
 .rf-landing-last{padding:20px 0 45px}
}
@media(max-width:420px){
 .rf-landing-container{width:calc(100% - 26px)}
 .rf-landing-hero h1{font-size:clamp(38px,11vw,46px)}
 .rf-landing-eyebrow{font-size:10px}
 .rf-landing-actions{gap:10px}
 .rf-landing-actions .rf-landing-button{width:100%}
 .rf-landing-trust{gap:10px 14px}
 .rf-landing-preview-body{grid-template-columns:88px minmax(0,1fr);min-height:235px}
 .rf-landing-preview-head{padding:0 10px;gap:8px}
 .rf-landing-preview-status{font-size:9px}
 .rf-landing-preview-sidebar{padding:14px 7px;gap:9px}
 .rf-landing-preview-trace{font-size:7px}
 .rf-landing-preview-plot{padding:13px 7px}
 .rf-landing-preview-plot-title{font-size:7px}
 .rf-landing-preview-readout{gap:10px}
 .rf-landing-preview-readout strong{font-size:9px}
 .rf-landing-learning-panel{padding:23px 17px;border-radius:16px}
 .rf-landing-learning-topics>div{padding:13px}
 .rf-landing-section-heading h2{font-size:31px}
}
@media(prefers-reduced-motion:reduce){
 .rf-landing{scroll-behavior:auto!important}
 .rf-landing :is(.rf-landing-button,.rf-landing-tool-card){transition:none!important;transform:none!important}
}
@media(forced-colors:active){
 .rf-landing :is(.rf-landing-tool-card,.rf-landing-learning-panel,.rf-landing-preview){border:1px solid CanvasText}
 .rf-landing-hero h1 span{-webkit-text-fill-color:CanvasText!important;color:CanvasText!important}
}

/* Light-mode visual depth — same RFellow identity, not the dark mode inverted.
 * Soft sky / mint pools, cleaner raised panels, confident cyan accents. */
html[data-theme="light"] .rf-landing{
 --ll-bg:#eef4fa;
 --ll-panel:#f9fbfe;
 --ll-raised:#f3f9fc;
 --ll-border:#cddfeb;
 --ll-tint:#e7f2f8;
 --ll-glow:rgba(34,151,207,.19);
 --ll-shadow:0 20px 58px rgba(28,92,149,.095);
 background:
  radial-gradient(ellipse 46% 460px at 92% 18%,rgba(83,189,190,.14),transparent 83%),
  radial-gradient(ellipse 60% 640px at 6% 56%,rgba(75,145,217,.10),transparent 83%),
  var(--ll-bg);
}
html[data-theme="light"] .rf-landing-hero{
 background:
  radial-gradient(ellipse 48% 62% at 79% 37%,rgba(51,175,198,.22),transparent 80%),
  radial-gradient(ellipse 68% 74% at 14% 7%,rgba(95,157,225,.15),transparent 80%),
  linear-gradient(135deg,#f1f7fc,#edf5f9 69%,#eaf3f8);
}
html[data-theme="light"] .rf-landing-glow{
 background:radial-gradient(ellipse 54% 77% at 73% 47%,rgba(61,137,213,.17),transparent 76%);
}
html[data-theme="light"] .rf-landing-eyebrow{
 color:#176b86;
}
html[data-theme="light"] .rf-landing-preview-wrap::before{
 background:radial-gradient(ellipse,rgba(38,150,208,.28),transparent 71%);
}
html[data-theme="light"] .rf-landing-tool-card{
 background-image:radial-gradient(ellipse 89% 74% at 89% 1%,rgba(47,167,202,.085),transparent 79%);
 border-color:#cddfeb;
 box-shadow:0 20px 55px rgba(27,91,137,.105);
}
html[data-theme="light"] .rf-landing-tool-feature{
 background-image:
  radial-gradient(ellipse 87% 90% at 89% 3%,rgba(43,173,192,.15),transparent 78%),
  linear-gradient(145deg,#ecf6fa,#f9fbfe 82%);
}
html[data-theme="light"] .rf-landing-tool-card:hover{
 border-color:#58a7c4;
 box-shadow:0 24px 60px rgba(27,96,147,.17);
}
html[data-theme="light"] .rf-landing-icon{
 background:linear-gradient(145deg,#e0f2f4,#e8f0fb);
 border:1px solid #c6e1e9;
}
html[data-theme="light"] .rf-landing-principles{
 background:linear-gradient(105deg,#f9fbfe,#eef6fa);
}
html[data-theme="light"] .rf-landing-learning-panel{
 background:
  radial-gradient(ellipse 74% 93% at 92% 10%,rgba(45,174,190,.18),transparent 76%),
  linear-gradient(128deg,#f9fbfe,#e9f3f9 95%);
 box-shadow:0 25px 65px rgba(40,114,166,.13);
}
html[data-theme="light"] .rf-landing-learning-topics>div{
 background:rgba(249,252,255,.93);
 border-color:#cadee9;
}
@media(prefers-contrast:more){
 html[data-theme="light"] .rf-landing,
 html[data-theme="light"] .rf-landing-hero,
 html[data-theme="light"] .rf-landing-tool-card,
 html[data-theme="light"] .rf-landing-principles,
 html[data-theme="light"] .rf-landing-learning-panel{background:var(--ll-panel)}
}
@media(prefers-reduced-motion:reduce){
 html[data-theme="light"] .rf-landing-tool-card:hover{transform:none}
}

/* RFellow landing light V3 — one calm palette, not scattered color spots */
/* Align all three toolkit cards with the same neutral tone. Decorative color
   belongs to one broad page wash, not to separate disconnected card pools. */
html[data-theme="light"] .rf-landing{
 background:
  radial-gradient(ellipse 125% 900px at 72% 100px,
    rgba(101,173,200,.065),transparent 88%),
  linear-gradient(180deg,#f1f6fa 0%,#f0f5f9 48%,#eef4f8 100%);
}
html[data-theme="light"] .rf-landing-hero{
 background:transparent;
}
html[data-theme="light"] .rf-landing-glow{
 background:radial-gradient(ellipse 68% 90% at 74% 41%,
  rgba(70,150,196,.10),transparent 86%);
}
html[data-theme="light"] .rf-landing-tools-section{background:transparent}
html[data-theme="light"] .rf-landing-tool-card,
html[data-theme="light"] .rf-landing-tool-feature{
 background:#f9fbfe;
 background-image:none;
 border-color:#cfddea;
 box-shadow:0 13px 37px rgba(28,75,120,.065);
}
html[data-theme="light"] .rf-landing-tool-card:hover{
 border-color:#89b3ce;
 box-shadow:0 17px 44px rgba(28,75,120,.105);
}
html[data-theme="light"] .rf-landing-icon{
 background:#eaf3f9;
 border-color:#d4e4ed;
}
html[data-theme="light"] .rf-landing-learning-panel{
 background:linear-gradient(125deg,#f9fbfe 0%,#f4f9fc 100%);
 border-color:#d1e0eb;
 box-shadow:0 17px 43px rgba(28,75,120,.08);
}
html[data-theme="light"] .rf-landing-learning-topics>div{
 background:#f9fbfe;border-color:#d0e0ea;
}
@media(prefers-contrast:more){
 html[data-theme="light"] .rf-landing{background:#f1f6fa}
 html[data-theme="light"] .rf-landing-glow{background:none}
}
