/* GiriTech Dealer Platform — aligned with the classic Keygen card UI, in orange. */
:root {
  color-scheme: light;
  --bg: #f7f8fb; --bg-soft: #f0f2f7; --surface: #ffffff; --surface-2:#fbfcfe;
  --text: #1c2638; --muted: #69778d; --faint:#95a0b1; --stroke: #e4e8f0;
  --accent:#f47724; --accent-strong:#db5c10; --accent-pale:#fff2e9;
  --accent-glow:rgba(244,119,36,.13); --ok:#168456; --ok-soft:#e8f8ef;
  --danger:#bf4b4b; --danger-soft:#fff0ef;
  --shadow-sm:0 3px 12px rgba(20,34,56,.035);
  --shadow:0 18px 45px -29px rgba(24,37,62,.23);
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg:#0e1420; --bg-soft:#131d2b; --surface:#172233; --surface-2:#1b293b;
  --text:#f2f5fb; --muted:#a1b0c5; --faint:#8090a8; --stroke:#2b3a4d;
  --accent:#ff953b; --accent-strong:#ffac65; --accent-pale:#36291d;
  --accent-glow:rgba(255,149,59,.12); --ok:#57ca93; --ok-soft:#173a31;
  --danger:#ff8e86; --danger-soft:#4a292d;
  --shadow-sm:0 4px 15px rgba(0,0,0,.11); --shadow:0 25px 55px -25px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 10% -15%,var(--accent-glow),transparent 38%),radial-gradient(circle at 95% 20%,rgba(245,164,79,.045),transparent 38%),var(--bg);color:var(--text);font:14px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body>main{flex:1}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:disabled{cursor:not-allowed}
::selection{background:var(--accent-pale)}
.shell{width:min(1160px,calc(100% - 44px));margin-inline:auto}
.site-header{background:var(--surface);border-bottom:1px solid var(--stroke)}
.header-bar{display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:82px}
.brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;line-height:1.2;letter-spacing:-.025em}
.brand-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:13px;background:linear-gradient(135deg,#ff9c47,#eb6621);color:#fff;box-shadow:0 8px 17px rgba(234,107,28,.19);font-size:26px;font-weight:900;font-style:italic;letter-spacing:-.09em;padding-right:3px}
.brand-name{font-size:19px;font-weight:850}
.brand-tag{display:block;font-size:9.7px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-top:3px}
.navlinks{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.navlinks>a,.navlinks>form>button{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:9px;color:var(--muted);font-weight:750;font-size:12.5px;background:transparent;border:1px solid transparent;white-space:nowrap}
.navlinks>a:hover,.navlinks>form>button:hover{color:var(--accent-strong);background:var(--accent-pale)}
.navlinks>a.active{background:var(--accent-pale);color:var(--accent-strong)}
.navlinks>form{margin:0}
.theme-toggle{display:grid;place-items:center;width:36px;height:36px;margin-left:5px;color:var(--muted);border:1px solid var(--stroke);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent-strong)}
.theme-toggle .sun{display:none}
[data-theme="dark"] .theme-toggle .moon{display:none}
[data-theme="dark"] .theme-toggle .sun{display:inline}
/* Page-wide headings, buttons, cards */
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--accent-strong);font-size:11px;font-weight:850;letter-spacing:.115em;text-transform:uppercase}
.eyebrow:before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:var(--accent)}
.lead{color:var(--muted);font-size:16px;line-height:1.78}
.btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;padding:11px 19px;border-radius:10px;border:1px solid var(--accent);background:linear-gradient(135deg,#fc8a35,var(--accent-strong));color:#fff;font-weight:800;font-size:13px;text-align:center;box-shadow:0 6px 17px rgba(244,119,36,.15);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px rgba(244,119,36,.21)}
.btn.secondary{background:var(--surface);color:var(--text);border:1px solid var(--stroke);box-shadow:var(--shadow-sm)}
.btn.secondary:hover{border-color:var(--accent);color:var(--accent-strong)}
.btn.danger{background:var(--danger-soft);border-color:transparent;color:var(--danger);box-shadow:none}
.btn.small{min-height:34px;padding:6px 12px;font-size:12px}
.btn:disabled{opacity:.55;box-shadow:none;transform:none}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.panel,.feature,.stat{border-radius:16px;border:1px solid var(--stroke);background:var(--surface);box-shadow:var(--shadow-sm)}
.box{padding:25px}
.box h2{font-size:18px;line-height:1.25;letter-spacing:-.03em;margin:0 0 6px}
.box p{line-height:1.6}
.muted{color:var(--muted)}
.smalltext{font-size:12px}
.tight{margin:0}
.mono{font:600 12px/1.5 "SFMono-Regular",Consolas,"Liberation Mono",monospace}
.anchor{font-weight:750;color:var(--accent-strong)}
.anchor:hover{text-decoration:underline}
.divider,.subtleline{border:0;border-top:1px solid var(--stroke);margin:22px 0}
/* Marketing home */
.home-hero{display:grid;grid-template-columns:minmax(0,1.09fr) minmax(340px,.91fr);gap:56px;align-items:center;padding:79px 0 75px}
.hero-copy h1{font-size:clamp(38px,5.1vw,64px);line-height:1.12;letter-spacing:-.055em;margin:17px 0 20px;max-width:670px;font-weight:850}
.hero-copy h1 em{font-style:normal;color:var(--accent-strong)}
.hero-copy .lead{max-width:575px;margin:0}
.hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:29px}
.trust-row{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:29px;color:var(--muted);font-size:12px;font-weight:650}
.trust-row span{display:inline-flex;align-items:center;gap:7px}
.trust-row span:before{content:"✓";display:grid;place-items:center;border-radius:50%;width:17px;height:17px;background:var(--ok-soft);color:var(--ok);font-size:10px}
.showcase{border:1px solid var(--stroke);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;position:relative}
.showcase:before{content:"";display:block;height:5px;background:linear-gradient(90deg,var(--accent),#ffb568)}
.showcase-header{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 16px;gap:12px}
.showcase-header strong{font-size:15px;letter-spacing:-.02em}
.showcase-header p{font-size:11px;color:var(--muted);margin:3px 0 0}
.status-indicator{font-size:10px;font-weight:800;padding:5px 9px;background:var(--ok-soft);color:var(--ok);border-radius:20px;white-space:nowrap}
.showcase-graphic{margin:6px 26px 20px;padding:25px;border-radius:14px;background:linear-gradient(135deg,var(--accent-pale),var(--surface-2));border:1px solid var(--stroke)}
.graphic-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px}
.graphic-label{font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.graphic-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--surface);border:1px solid var(--stroke);font-size:27px;color:var(--accent-strong);font-weight:850}
.big-number{font-size:55px;font-weight:850;letter-spacing:-.075em;line-height:1.03;color:var(--text)}
.graphic-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}
.graphic-tag{display:inline-block;padding:5px 10px;border-radius:8px;background:var(--surface);font-weight:800;font-size:11px;color:var(--accent-strong);border:1px solid var(--stroke)}
.showcase-item{display:flex;gap:13px;align-items:center;padding:15px 26px;border-top:1px solid var(--stroke)}
.module-icon,.feature-icon{width:41px;height:41px;border-radius:12px;background:var(--accent-pale);color:var(--accent-strong);display:grid;place-items:center;font-weight:850;font-size:17px;flex:0 0 auto}
.showcase-item strong{display:block;font-size:13px}
.showcase-item small{display:block;color:var(--muted);font-size:11px}
.showcase-item .arrow-right{margin-left:auto;color:var(--accent-strong);font-weight:900}
.home-section{padding:0 0 55px}
.section-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-intro h2{font-size:30px;letter-spacing:-.045em;line-height:1.2;margin:10px 0 0}
.section-intro p{max-width:425px;color:var(--muted);font-size:13px;margin:0}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.feature{padding:27px;min-height:205px}
.feature-icon{width:47px;height:47px;margin-bottom:22px}
.feature h3{font-size:17px;letter-spacing:-.025em;margin:0 0 8px}
.feature p{color:var(--muted);font-size:13px;margin:0 0 16px}
.feature .note{color:var(--accent-strong);font-weight:800;font-size:11px;letter-spacing:.03em}
.handoff-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;border-radius:18px;padding:29px 34px;background:linear-gradient(110deg,#b84d11,#f47b28);color:white;margin:13px 0 60px;box-shadow:0 15px 28px rgba(222,92,19,.13)}
.handoff-banner h2{font-size:22px;margin:0 0 5px;letter-spacing:-.035em}
.handoff-banner p{font-size:13px;color:#fff2e9;margin:0}
.handoff-banner .btn{background:#fff;color:#af4b18;border-color:#fff;box-shadow:none;white-space:nowrap}
/* Subpages */
.pagehead{margin:42px 0 24px}
.pagehead h1{font-size:clamp(27px,4vw,37px);line-height:1.2;letter-spacing:-.047em;margin:10px 0 8px}
.pagehead p{margin:0;color:var(--muted);font-size:13px}
.dashboard-topline{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.user-chip{background:var(--surface);padding:9px 14px;border-radius:100px;border:1px solid var(--stroke);font-size:11px;font-weight:700;color:var(--muted)}
.statrow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0 23px}
.stat{padding:20px}
.stat strong{font-size:29px;display:block;line-height:1.12;letter-spacing:-.06em;color:var(--text)}
.stat span{display:block;font-size:11px;margin-top:8px;color:var(--muted);font-weight:700}
.stat .accent-number{color:var(--accent-strong)}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;margin-bottom:16px}
.toolbar h2{margin:0}
.toolbar p{margin:6px 0 0}
.pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;color:var(--ok);background:var(--ok-soft);white-space:nowrap}
.pill.off{color:var(--muted);background:var(--bg-soft)}
.tool-title{display:flex;align-items:center;gap:12px}
.tool-title .feature-icon{width:44px;height:44px;margin:0;font-size:14px}
.tool-title h2{margin:0}
.tool-subtitle{color:var(--muted);font-size:12px;min-height:54px;line-height:1.7}
.disabled{opacity:.65}
.disabled .field input,.disabled .field select{background:var(--bg-soft)}
.field{margin-bottom:15px}
.field label{display:block;font-size:12px;font-weight:750;margin-bottom:7px;color:var(--text)}
.field input,.field select,.search{width:100%;min-height:44px;padding:10px 13px;border-radius:10px;border:1px solid var(--stroke);background:var(--surface-2);color:var(--text);outline:none}
.field input::placeholder,.search::placeholder{color:var(--faint)}
.field input[readonly]{background:var(--bg-soft);font-weight:750;color:var(--accent-strong)}
.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}
.formgrid>.full{grid-column:1/-1}
.field-hint{font-size:11px;color:var(--muted);margin-top:5px}
.note-box{font-size:12px;padding:11px 14px;border-radius:10px;color:var(--muted);background:var(--bg-soft);border:1px solid var(--stroke)}
.notice{background:var(--ok-soft);color:var(--ok);padding:12px 15px;border-radius:10px;border:1px solid var(--ok-soft);margin-bottom:17px;font-size:13px;font-weight:650}
.notice.bad{color:var(--danger);background:var(--danger-soft);border-color:var(--danger-soft)}
.result{padding:19px;border-radius:13px;background:var(--accent-pale);border:1px solid rgba(244,119,36,.25);margin-top:19px;text-align:center}
.result p{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0}
.result code{display:block;margin:6px 0;font:850 clamp(28px,4vw,38px)/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.17em;color:var(--accent-strong)}
.result .copy-code{display:inline-flex;align-items:center;gap:5px;margin-top:9px;background:var(--surface);border:1px solid var(--stroke);border-radius:7px;padding:6px 12px;font-size:11px;font-weight:800;color:var(--text)}
.tablewrap{overflow-x:auto;max-width:100%}
.datatable{width:100%;border-collapse:collapse;font-size:12px}
.datatable th{text-align:left;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:850;padding:12px 10px;background:var(--surface-2);border-bottom:1px solid var(--stroke)}
.datatable td{padding:13px 10px;vertical-align:middle;border-bottom:1px solid var(--stroke)}
.datatable tr:last-child td{border-bottom:0}
.datatable td b{font-weight:800}
.datatable .mono{font-size:11px}
.accessform{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.inline-check{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:700;color:var(--muted)}
.inline-check input{accent-color:var(--accent);width:16px;height:16px}
.captionrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:17px}
.search{max-width:240px;min-height:38px}
/* Login, pending */
.auth-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(350px,1.1fr);align-items:stretch;max-width:940px;margin:70px auto 74px;border:1px solid var(--stroke);border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}
.auth-side{padding:48px 38px;background:linear-gradient(149deg,#e9691b,#bb4d11);color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.auth-side .eyebrow{color:#ffe4ce}
.auth-side .eyebrow:before{background:#ffcd9d}
.auth-side h2{font-size:33px;line-height:1.18;letter-spacing:-.045em;margin:19px 0 15px}
.auth-side p{color:#ffe5d1;font-size:13px;line-height:1.8}
.auth-points{margin-top:44px;display:grid;gap:15px}
.auth-point{display:flex;gap:11px;align-items:center;color:#fff4ec;font-size:12px;font-weight:750}
.auth-point span{width:28px;height:28px;border-radius:8px;background:#ffffff24;border:1px solid #ffffff30;display:grid;place-items:center;flex:0 0 auto}
.auth-main{padding:46px 49px 44px;display:flex;flex-direction:column;justify-content:center}
.auth-main h1{font-size:29px;letter-spacing:-.04em;line-height:1.2;margin:13px 0 8px}
.auth-main .muted{line-height:1.7;font-size:13px}
.auth-form{margin-top:23px}
.auth-form .field{margin-bottom:18px}
.auth-main input[name="otp"]{font-size:24px;letter-spacing:.23em;text-align:center}
.auth-main .btn{width:100%}
.auth-support{font-size:11px;color:var(--muted);margin-top:24px;border-top:1px solid var(--stroke);padding-top:19px}
.auth-actions{margin-top:12px;display:flex;gap:9px;flex-wrap:wrap}
.auth-actions .btn{width:auto}
.auth-single{max-width:490px;margin:72px auto;padding:38px}
.auth-single h1{font-size:30px;letter-spacing:-.04em;margin:14px 0 8px}
/* Footer */
.footer{margin-top:auto;border-top:1px solid var(--stroke);background:var(--surface);padding:22px 0;color:var(--muted);font-size:11px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.footer-brand{font-weight:850;font-size:12px;color:var(--text)}
.powered{font-weight:650}
.powered strong{color:var(--accent-strong);font-weight:850}
/* Responsiveness */
@media(max-width:970px){.home-hero{gap:28px;grid-template-columns:1.05fr .95fr}.hero-copy h1{font-size:47px}.grid3{grid-template-columns:repeat(2,1fr)}.grid3>.feature:last-child{grid-column:1/-1}.section-intro{align-items:start}}
@media(max-width:760px){.header-bar{padding:12px 0;min-height:70px;flex-wrap:wrap}.navlinks{width:100%;justify-content:flex-start}.navlinks a:first-child{margin-left:-8px}.home-hero{grid-template-columns:1fr;padding:49px 0 48px}.showcase{max-width:560px}.section-intro{display:block}.section-intro p{margin-top:12px}.split,.auth-layout{grid-template-columns:1fr}.auth-layout{margin:35px auto}.auth-side{padding:27px}.auth-side h2{font-size:26px}.auth-points{margin-top:19px;grid-template-columns:1fr 1fr;gap:10px}.auth-main{padding:34px}.statrow{grid-template-columns:repeat(2,1fr)}.handoff-banner{align-items:start;flex-direction:column}.home-section{padding-bottom:35px}}
@media(max-width:520px){.shell{width:min(100% - 28px,1160px)}.brand-name{font-size:18px}.navlinks{gap:2px}.navlinks>a,.navlinks>form>button{font-size:11px;padding:8px 9px}.theme-toggle{margin-left:auto}.hero-copy h1{font-size:39px}.hero-copy .lead{font-size:14px}.hero-actions .btn{width:100%}.grid3,.grid2,.formgrid{grid-template-columns:1fr}.grid3>.feature:last-child,.formgrid>.full{grid-column:auto}.feature{min-height:0}.statrow{gap:9px}.stat{padding:15px}.stat strong{font-size:24px}.box{padding:19px}.auth-side{padding:26px}.auth-main{padding:26px}.auth-points{grid-template-columns:1fr}.auth-single{margin:32px auto;padding:25px}.handoff-banner{padding:24px}.tablewrap .datatable{min-width:580px}.footer-inner{flex-direction:column;align-items:flex-start}.pagehead{margin-top:28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
