:root { color-scheme: light; }
* { box-sizing: border-box; }
body { background: #f7f6f2; color: #26231f; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.font-display { font-family: Georgia, 'Times New Roman', serif; }
.section-kicker { color: rgba(38,35,31,.48); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.card { border: 1px solid rgba(38,35,31,.12); border-radius: 1.25rem; background: rgba(255,255,255,.68); padding: 1.5rem; box-shadow: 0 12px 34px rgba(38,35,31,.05); }
.card-header { align-items: flex-start; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.source-panel { border: 1px dashed rgba(38,35,31,.2); border-radius: .9rem; background: rgba(247,246,242,.72); padding: 1.25rem; transition: border-color .2s, background .2s; }
.source-panel:focus-within { border-color: rgba(38,35,31,.45); }
.source-switch { color: rgba(38,35,31,.45); font-size: 12px; text-decoration: underline; text-decoration-color: rgba(38,35,31,.2); text-underline-offset: 4px; }
.source-switch:hover { color: #26231f; text-decoration-color: rgba(38,35,31,.7); }
.source-panel.dragging { border-color: #6e8e73; background: rgba(110,142,115,.08); }
.input { border: 1px solid rgba(38,35,31,.16); border-radius: .65rem; background: rgba(255,255,255,.72); color: #26231f; outline: none; padding: .8rem .85rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: rgba(38,35,31,.5); box-shadow: 0 0 0 3px rgba(38,35,31,.06); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(38,35,31,.5) 50%), linear-gradient(135deg, rgba(38,35,31,.5) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 12px) 52%; background-repeat: no-repeat; background-size: 4px 4px, 4px 4px; padding-right: 2rem; }
select.input option { background: #fff; color: #26231f; }
.field-label { color: rgba(38,35,31,.65); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.button-primary { border: 1px solid #26231f; border-radius: .65rem; background: #26231f; color: #fff; padding: .85rem 1.1rem; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.button-primary:hover { background: #4b453e; transform: translateY(-1px); }
.button-primary:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button-secondary { border: 1px solid rgba(38,35,31,.16); border-radius: .6rem; color: rgba(38,35,31,.6); font-size: 12px; padding: .5rem .75rem; transition: border-color .2s, color .2s; }
.button-secondary:hover { border-color: rgba(38,35,31,.45); color: #26231f; }
.export-button { align-items: center; border: 1px solid rgba(38,35,31,.14); border-radius: .6rem; color: rgba(38,35,31,.62); display: inline-flex; font-size: 12px; gap: .45rem; padding: .55rem .75rem; transition: border-color .2s, color .2s, background .2s; }
.export-button:hover { background: rgba(38,35,31,.035); border-color: rgba(38,35,31,.4); color: #26231f; }
.export-button:disabled { cursor: wait; opacity: .55; }
.loader { height: 20px; width: 20px; border: 2px solid rgba(38,35,31,.14); border-top-color: #26231f; border-radius: 50%; animation: spin .8s linear infinite; }
.result-text { opacity: 1; }
.result-text .arriving-text { animation: materialize .85s ease both; }
.waiting-cursor { background: #6e8e73; border-radius: 999px; box-shadow: 0 0 12px rgba(110,142,115,.55); height: 1.75rem; margin: .35rem 0 .75rem; width: .22rem; animation: cursor-breathe 1.8s ease-in-out infinite; }
.token { animation: token-in .28s ease both; }
.range { accent-color: #26231f; }
.api-online { background: #6e8e73; box-shadow: 0 0 8px rgba(110,142,115,.6); }
.api-warning { background: #bd8a40; box-shadow: 0 0 8px rgba(189,138,64,.45); }
.api-offline { background: #a34c35; box-shadow: 0 0 8px rgba(163,76,53,.45); }
.landing-visual { min-height: 25rem; position: relative; }
.landing-orbit { border: 1px solid rgba(110,142,115,.42); border-radius: 999px; height: 19rem; left: 8%; position: absolute; top: 4%; transform: rotate(-19deg); width: 27rem; }
.landing-orbit::after { background: #a34c35; border-radius: 999px; content: ''; height: .55rem; position: absolute; right: 15%; top: 5%; width: .55rem; }
.landing-sheet { border: 1px solid rgba(38,35,31,.12); border-radius: .2rem; height: 20rem; position: absolute; width: min(23rem, 78%); }
.landing-sheet-back { background: rgba(224,229,219,.7); right: 8%; top: 10%; transform: rotate(7deg); }
.landing-sheet-front { background: rgba(255,255,255,.86); box-shadow: 0 24px 45px rgba(38,35,31,.1); left: 9%; padding: 1.65rem; top: 5%; transform: rotate(-4deg); }
.landing-sheet-top { color: rgba(38,35,31,.45); font-size: .56rem; font-weight: 600; letter-spacing: .13em; }
.landing-rule { background: rgba(38,35,31,.13); height: .2rem; margin-top: 1rem; }
.landing-rule-dark { background: rgba(38,35,31,.52); height: .3rem; margin-top: 2.3rem; }
.landing-rule-long { width: 86%; }
.landing-rule-medium { width: 63%; }
.landing-rule-short { width: 38%; }
.landing-space { height: 2.5rem; }
.landing-mark { background: #6e8e73; border-radius: 999px; bottom: 1.6rem; height: .42rem; position: absolute; right: 1.65rem; width: .42rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes materialize { from { filter: blur(3px); opacity: 0; transform: translateY(3px); } to { filter: blur(0); opacity: 1; transform: translateY(0); } }
@keyframes token-in { from { filter: blur(1px); opacity: .15; } to { filter: blur(0); opacity: 1; } }
@keyframes cursor-breathe { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 1023px) { .landing-visual { margin: 0 auto; max-width: 35rem; width: 100%; } }
