:root {
  color-scheme: dark;
  font-family: var(--rf-font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: var(--rf-background);
  --panel: var(--rf-surface);
  --text: var(--rf-text);
  --muted: var(--rf-muted);
  --line: var(--rf-line);
  --orange: var(--rf-accent);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--rf-focus); outline-offset: 3px; }
button { cursor: pointer; }
.page { width: min(1180px, calc(100% - 56px)); margin: auto; }
.site-header { padding-left: 0; padding-right: 0; }
.hero { display: flex; justify-content: space-between; align-items: center; padding: 54px 0 42px; gap: 32px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: 1.6px; margin: 0 0 18px; }
.small-line { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
h1 { margin: 0 0 18px; font-size: clamp(36px, 4.4vw, 54px); font-weight: 550; letter-spacing: -1.8px; line-height: 1.15; }
h1 span:last-child { color: var(--rf-accent-text); }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.hero-note { align-self: flex-end; margin: 0 8px 8px 0; display: grid; grid-template-columns: auto 60px; gap: 4px 36px; color: var(--muted); }
.note-number { color: var(--rf-accent-text); font-size: 76px; font-weight: 500; line-height: 1.15; letter-spacing: -4px; font-variant-numeric: tabular-nums; }
.hero-note > span:nth-child(2) { grid-column: 1; font-size: 9px; line-height: 1.8; letter-spacing: 1.2px; }
.hero-note svg { width: 40px; stroke: var(--rf-control-border); stroke-width: 1; fill: none; grid-column: 2; grid-row: 1; align-self: center; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-heading h2 { font-size: 16px; font-weight: 600; letter-spacing: -.3px; margin: 0; }
.section-heading > span { font-size: 9px; letter-spacing: 1.5px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool-card { position: relative; padding: 25px 27px 20px; border: 1px solid var(--line); border-radius: var(--rf-radius-panel); background: var(--panel); box-shadow: 0 3px 6px var(--rf-shadow); min-width: 0; transition: border-color .15s; }
.tool-card:hover { border-color: var(--rf-control-border); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tool-number { color: var(--rf-accent-text); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.tool-number > span { color: var(--muted); font-size: 9px; margin-left: 8px; letter-spacing: 1.1px; font-weight: 500; }
.tool-kind { color: var(--muted); font-size: 10px; border: 1px solid var(--line); background: var(--rf-surface-inset); padding: 4px 9px; border-radius: 6px; }
.tool-visual { height: 124px; position: relative; display: flex; align-items: center; justify-content: center; gap: 32px; overflow: hidden; margin: 12px 0 18px; }
.visual-caption { position: absolute; bottom: 0; color: var(--muted); font-size: 8px; letter-spacing: 1.4px; }
.mini-hand { display: flex; padding: 0 7px 8px; }
.mini-hand i { display: block; width: 34px; height: 49px; margin-left: -9px; border: 1px solid var(--rf-accent-line); border-radius: 4px; background: var(--rf-accent-soft); transform: rotate(-12deg) translateY(4px); }
.mini-hand i:nth-child(2) { transform: rotate(-6deg); }
.mini-hand i:nth-child(3) { transform: translateY(-5px); background: #e4654440; border-color: var(--orange); }
.mini-hand i:nth-child(4) { transform: rotate(6deg); }
.mini-hand i:nth-child(5) { transform: rotate(12deg) translateY(4px); }
.probability-bars { display: flex; gap: 4px; align-items: flex-end; height: 60px; padding-bottom: 4px; }
.probability-bars i { display: block; width: 8px; height: 14%; border-radius: 2px 2px 0 0; background: #e4654450; }
.probability-bars i:nth-child(2), .probability-bars i:nth-child(8) { height: 30%; }
.probability-bars i:nth-child(3), .probability-bars i:nth-child(7) { height: 56%; }
.probability-bars i:nth-child(4), .probability-bars i:nth-child(6) { height: 84%; background: #e4654490; }
.probability-bars i:nth-child(5) { height: 100%; background: var(--orange); }
.probability-bars i:nth-child(9) { height: 16%; }
.probability-bars i:nth-child(10) { height: 8%; }
.pie-chart { width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(from -90deg, #e46544 0 50%, #96a6e5 50% 82.5%, #7fc4c9 82.5%); transform: rotate(-10deg); }
.chart-legend { display: flex; flex-direction: column; gap: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 8px; letter-spacing: 1px; }
.chart-legend i { display: block; width: 5px; height: 5px; background: var(--orange); border-radius: 1px; }
.chart-legend span:nth-child(2) i { background: #96a6e5; }
.chart-legend span:nth-child(3) i { background: #7fc4c9; }
.deck-sheet { width: 166px; padding: 11px 13px; background: var(--rf-field); border: 1px solid var(--rf-control-border); border-radius: 4px; transform: rotate(-4deg); }
.sheet-title { width: 50px; height: 4px; margin-bottom: 8px; background: var(--rf-accent-text); border-radius: 1px; }
.sheet-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.sheet-cards i { height: 24px; background: linear-gradient(#e4654450 18%, #96a6e530 18% 77%, #e4654430 77%); border: 1px solid #7381a570; border-radius: 1px; }
.sheet-cards i:nth-child(3n) { background: linear-gradient(#7fc4c950 18%, #7fc4c930 18% 77%, #7fc4c920 77%); }
.proxy-visual { gap: 10px; }
.proxy-card { width: 57px; height: 82px; padding: 5px; border: 1px solid #7381a5; border-radius: 3px; background: #96a6e520; transform: rotate(-12deg) translateY(4px); }
.proxy-card:nth-child(2) { background: var(--rf-accent-soft); border-color: var(--rf-accent-text); transform: translateY(-4px); }
.proxy-card:nth-child(3) { background: #7fc4c920; transform: rotate(12deg) translateY(4px); }
.proxy-card b { display: block; width: 72%; height: 3px; margin: 1px 0 5px; background: #b6c7da80; }
.proxy-card i { display: block; height: 32px; background: linear-gradient(140deg, #b6c7da11, #b6c7da4d); border: 1px solid #b6c7da33; }
.proxy-card span { display: block; height: 17px; margin-top: 5px; background: repeating-linear-gradient(to bottom, #b6c7da60 0 1px, transparent 1px 4px); }
.card-content h3 { font-size: 21px; font-weight: 600; letter-spacing: -.4px; margin: 0 0 9px; }
.card-content p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; max-width: 460px; min-height: 46px; }
.card-bottom { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px; }
.open-tool { flex: 1; justify-content: space-between; }
.open-tool::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--rf-radius-panel); }
.open-tool:focus-visible { outline: none; }
.open-tool:focus-visible::after { outline: 3px solid var(--rf-focus); outline-offset: 4px; }
.open-tool > span[aria-hidden] { font-size: 20px; line-height: 1; }
.copy-link { position: relative; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--rf-control-border); border-radius: var(--rf-radius-control); background: var(--panel); color: var(--muted); }
.copy-link:hover { color: var(--text); background: var(--rf-surface-inset); }
.copy-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.closing-note { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 32px 0 36px; margin: 0; color: var(--muted); font-size: 12px; }
.closing-note > span[aria-hidden] { color: var(--orange); font-size: 18px; }
.site-footer { display: grid; gap: 20px; padding: 24px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-summary > span { font-size: 12px; font-weight: 650; color: var(--text); }
.footer-summary p { margin: 0; text-align: center; line-height: 1.8; }
.footer-summary a { display: flex; align-items: center; gap: 12px; }
.footer-summary a span[aria-hidden] { font-size: 16px; }
.footer-branding { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-credit { margin: 0; font-size: 12px; line-height: 1.8; }
.footer-social { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 4px 12px; border-radius: var(--rf-radius-control); color: var(--text); }
.footer-social img { display: block; width: 64px; max-width: 100%; height: auto; }
.footer-social > span { display: flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.footer-social:hover { color: var(--rf-accent-text); background: var(--rf-hover); }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 150; padding: 10px 16px; border-radius: 8px; background: var(--orange); color: var(--rf-field); }
.skip-link:focus { top: 20px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; z-index: 150; padding: 13px 20px; width: max-content; max-width: calc(100% - 32px); border: 1px solid var(--rf-accent-line); border-radius: 9px; background: var(--rf-surface); color: var(--rf-accent-text); box-shadow: 0 4px 30px #0005; overflow-wrap: anywhere; font-size: 12px; transition: opacity .15s, transform .15s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(440px, calc(100% - 32px)); padding: 27px; border: 1px solid var(--rf-control-border); border-radius: 15px; background: var(--panel); color: var(--text); box-shadow: 0 15px 90px #0006; }
dialog::backdrop { background: var(--rf-backdrop); }
dialog h2 { font-size: 21px; font-weight: 550; margin: 0; letter-spacing: -.6px; }
dialog p { color: var(--muted); font-size: 13px; line-height: 1.8; }
dialog input { width: 100%; padding: 11px; border: 1px solid var(--rf-control-border); border-radius: 8px; background: var(--rf-field); color: var(--text); font-size: 12px; }
.dialog-close { margin-top: 20px; padding: 10px 16px; border: 1px solid var(--orange); border-radius: 8px; background: var(--orange); color: var(--rf-field); font-weight: 600; }
@media (max-width: 760px) {
  .page { width: calc(100% - 40px); }
  .site-header { padding-left: 0; padding-right: 0; }
  .hero { padding: 38px 0 32px; }
  .hero-note { display: none; }
  h1 { font-size: 42px; }
  .section-heading > span { display: none; }
  .tool-grid { gap: 16px; }
  .tool-card { padding: 20px; }
  .tool-visual { gap: 18px; height: 110px; }
  .card-content h3 { font-size: 19px; }
  .card-content p { min-height: 84px; font-size: 12px; }
  .tool-kind { display: none; }
  .mini-hand i { width: 28px; height: 42px; }
  .probability-bars { gap: 3px; }
  .probability-bars i { width: 5px; }
}
@media (max-width: 560px) {
  .site-header { flex-wrap: wrap; }
  .site-header .rf-suite-actions { width: 100%; justify-content: space-between; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 22px 24px 18px; }
  .tool-visual { height: 124px; gap: 30px; }
  .tool-kind { display: block; }
  .card-content h3 { font-size: 21px; }
  .card-content p { font-size: 13px; min-height: 0; }
  .hero-description { max-width: 300px; font-size: 13px; }
  .desktop-break { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .section-heading h2 { font-size: 14px; }
  .footer-summary { flex-wrap: wrap; gap: 12px; }
  .footer-summary p { order: 3; width: 100%; margin-top: 6px; text-align: left; }
  .footer-branding { flex-direction: column; gap: 8px; }
  .closing-note { font-size: 11px; padding: 28px 0; }
  .mini-hand i { width: 34px; height: 49px; }
  .probability-bars { gap: 4px; }
  .probability-bars i { width: 8px; }
}
@media (max-width: 380px) { .rf-brand { font-size: 18px; gap: 8px; } .rf-brand__product { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
