html{scroll-behavior:smooth}
/* ===== PARKO DESIGN SYSTEM ===== */
:root {
  --p: #3d4f63;
  --a: #4a7c59;
  --al: #e8f5e1;
  --bg: #fff;
  --bg2: #f7f7f5;
  --t: #1a1a1a;
  --m: #6b7280;
  --b: #e5e7eb;
  --r: 12px;
  --sh: 0 2px 12px rgba(0,0,0,.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; color: var(--t); background: #fff; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* NAV */
nav { position: sticky; top: 0; z-index: 1001; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--b); padding: 0 1.5rem; }
.ni { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; color: var(--p); cursor: pointer; text-decoration: none; }
.logo svg { width: 32px; height: 32px; }
.nl { display: flex; gap: 2rem; }
.nl a { font-size: 14px; font-weight: 500; color: var(--m); cursor: pointer; transition: color .2s; text-decoration: none; }
.nl a:hover { color: var(--t); }
.nr { display: flex; align-items: center; gap: 8px; }
.bg { background: none; border: none; font-size: 14px; font-weight: 500; color: var(--m); padding: 8px 14px; border-radius: 10px; transition: all .2s; }
.bg:hover { background: var(--bg2); }
.bp { background: var(--a); color: #fff; border: none; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: all .2s; text-decoration: none; display: inline-block; }
.bp:hover { background: #3d6b4a; }
.hbg { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.hbg span { display: block; width: 22px; height: 2px; background: var(--t); border-radius: 2px; transition: all .3s; }
.hbg.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* MOBILE MENU */
.mm { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--b); padding: 1rem; z-index: 1002; box-shadow: var(--sh); }
.mm.open { display: block; }
.mm a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 500; cursor: pointer; border-radius: 10px; transition: background .2s; text-decoration: none; color: var(--t); }
.mm a:hover { background: var(--bg2); }
.mm .mb { width: 100%; margin-top: 8px; padding: 13px; border-radius: 10px; background: var(--a); color: #fff; border: none; font-size: 15px; font-weight: 500; cursor: pointer; }

/* BETA BANNER */
.beta { background: var(--p); color: #fff; text-align: center; padding: 8px; font-size: 13px; font-weight: 500; }

/* BUTTONS */
.btn-primary { background: var(--a); color: #fff; border: none; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.btn-primary:hover { background: #3d6b4a; }
.btn-secondary { background: var(--p); color: #fff; border: none; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.btn-white { background: #fff; color: var(--p); border: none; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-ghost { background: none; border: 1.5px solid var(--b); padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.btn-ghost:hover { border-color: var(--p); color: var(--p); }
.btn-full { width: 100%; padding: 13px; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; background: var(--a); color: #fff; cursor: pointer; transition: all .2s; margin-top: .5rem; }
.btn-full:hover { background: #3d6b4a; }

/* FORMS */
.fg { margin-bottom: .875rem; }
.fg label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--b); border-radius: 10px; font-size: 16px; outline: none; transition: border-color .2s; font-family: inherit; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--a); box-shadow: 0 0 0 3px rgba(74,124,89,.1); }

/* CHIPS */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--b); font-size: 13px; background: #fff; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--p); background: #e8edf2; color: var(--p); }

/* CARDS */
.card { background: #fff; border: 1.5px solid var(--b); border-radius: var(--r); padding: 1.5rem; }
.card-hover { transition: all .2s; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--sh); }

/* SECTIONS */
.sec { padding: 70px 1.5rem; }
.si { max-width: 1200px; margin: 0 auto; }
.slbl { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--m); margin-bottom: .5rem; }
.sec h2 { font-size: clamp(26px,3.5vw,38px); font-weight: 600; margin-bottom: .75rem; }
.subt { font-size: 17px; color: var(--m); margin-bottom: 2.5rem; max-width: 580px; }

/* DASHBOARD LAYOUT */
.dash-layout { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 65px); }
.sidebar { border-right: 1px solid var(--b); padding: 1.5rem; }
.sb-user { display: flex; align-items: center; gap: 12px; padding: 1rem; background: var(--bg2); border-radius: var(--r); margin-bottom: 1.5rem; }
.sb-av { width: 44px; height: 44px; border-radius: 50%; background: var(--p); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; position: relative; flex-shrink: 0; }
.sb-av::after { content: ''; width: 10px; height: 10px; background: var(--a); border-radius: 50%; border: 2px solid #fff; position: absolute; bottom: 0; right: 0; }
.sb-name { font-weight: 600; font-size: 14px; }
.sb-badge { font-size: 11px; color: var(--a); font-weight: 600; }
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--m); cursor: pointer; transition: all .2s; text-decoration: none; }
.sb-link:hover { background: var(--bg2); color: var(--t); }
.sb-link.active { background: var(--al); color: var(--a); }
.sb-link-in { display: flex; align-items: center; gap: 10px; }
.sb-count { background: var(--b); color: var(--m); font-size: 11px; padding: 2px 8px; border-radius: 99px; font-weight: 600; }
.sb-divider { height: 1px; background: var(--b); margin: 1rem 0; }
.dash-main { padding: 2rem; overflow-y: auto; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.dash-title { font-size: 26px; font-weight: 600; }
.dash-sub { color: var(--m); font-size: 14px; margin-top: 3px; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.metric { background: #fff; border: 1.5px solid var(--b); border-radius: var(--r); padding: 1.25rem; }
.metric-icon { font-size: 18px; margin-bottom: .75rem; }
.metric-lbl { font-size: 12px; color: var(--m); font-weight: 500; margin-bottom: 3px; }
.metric-val { font-size: 26px; font-weight: 600; }
.metric-sub { font-size: 11px; color: var(--m); margin-top: 3px; font-family: monospace; }

/* EMPTY STATE */
.empty-state { background: #fff; border: 1.5px solid var(--b); border-radius: 16px; padding: 3rem; text-align: center; }
.empty-icon { font-size: 48px; margin-bottom: 1rem; }
.empty-state h3 { font-size: 20px; font-weight: 600; margin-bottom: .5rem; }
.empty-state p { color: var(--m); font-size: 14px; margin-bottom: 2rem; max-width: 340px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* TOGGLE */
.tog { position: relative; width: 44px; height: 24px; }
.tog input { opacity: 0; width: 0; height: 0; }
.togs { position: absolute; inset: 0; background: var(--b); border-radius: 99px; cursor: pointer; transition: .3s; }
.togs::before { content: ''; position: absolute; width: 18px; height: 18px; background: #fff; border-radius: 50%; bottom: 3px; left: 3px; transition: .3s; }
.tog input:checked + .togs { background: var(--a); }
.tog input:checked + .togs::before { transform: translateX(20px); }

/* MODALS */
.ov { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.ov.active { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 2rem; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; }
.modal-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.modal-title { font-size: 18px; font-weight: 600; }
.modal-close { width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid var(--b); background: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* TOAST */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--t); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; z-index: 2000; transform: translateY(100px); opacity: 0; transition: all .3s; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok { background: var(--a); }
.toast.err { background: #ef4444; }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--b); padding: 3.5rem 1.5rem 2rem; }
.fi { max-width: 1200px; margin: 0 auto; }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.fc h4 { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--m); margin-bottom: 1rem; }
.fc a { display: block; font-size: 14px; color: var(--m); margin-bottom: .5rem; cursor: pointer; transition: color .2s; text-decoration: none; }
.fc a:hover { color: var(--t); }
.fbot { border-top: 1px solid var(--b); padding-top: 1.5rem; display: flex; justify-content: space-between; }
.fbot p { font-size: 13px; color: var(--m); }

/* SIMPLE PAGES */
.simple-page { max-width: 800px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.simple-page h1 { font-size: 38px; font-weight: 600; margin-bottom: .5rem; }
.simple-page .sp-sub { color: var(--m); font-size: 16px; margin-bottom: 2.5rem; }
.simple-page h2 { font-size: 20px; font-weight: 600; margin: 1.5rem 0 .75rem; }
.simple-page p { color: var(--m); line-height: 1.8; margin-bottom: .75rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.info-card { background: var(--bg2); border-radius: var(--r); padding: 1.5rem; text-align: center; }
.info-card .icv { font-size: 32px; font-weight: 700; color: var(--p); }
.info-card .icl { font-size: 13px; color: var(--m); margin-top: 4px; }

/* FAQ */
.faq-item { border: 1.5px solid var(--b); border-radius: var(--r); margin-bottom: .75rem; overflow: hidden; }
.faq-q { padding: 1.125rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; transition: background .2s; }
.faq-q:hover { background: var(--bg2); }
.faq-item.open .faq-q { background: #e8edf2; }
.faq-arr { font-size: 12px; color: var(--m); transition: transform .3s; }
.faq-item.open .faq-arr { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 14px; color: var(--m); line-height: 1.7; }
.faq-a.open { max-height: 300px; padding: 0 1.125rem 1.125rem; }

@keyframes spin{to{transform:rotate(360deg)}}
.spinner{width:20px;height:20px;border:2.5px solid var(--b);border-top-color:var(--p);border-radius:50%;animation:spin .8s linear infinite;display:inline-block}

/* MOBILE BOTTOM NAV for dashboard pages */
.mob-bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--b);padding:.5rem 0;z-index:50;justify-content:space-around}
.mbn-item{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:500;color:var(--m);cursor:pointer;padding:.375rem .75rem;border-radius:10px;text-decoration:none;transition:all .2s}.mbn-item:hover{color:var(--a)}
.mbn-item.active{color:var(--a)}
.mbn-item span{font-size:20px}
@media(max-width:768px){
  .mob-bottom-nav{display:flex}
  .dash-main{padding-bottom:80px}
}

/* 404 page */
.notfound{text-align:center;padding:5rem 1.5rem;max-width:480px;margin:0 auto}
.notfound h1{font-size:80px;font-weight:700;color:var(--p);margin-bottom:.5rem;line-height:1}
.notfound h2{font-size:26px;font-weight:600;margin-bottom:.75rem}
.notfound p{color:var(--m);font-size:16px;margin-bottom:2rem}
  .nl { display: none; }
  .nr .bg, .nr .bp { display: none; }
  .hbg { display: flex; }
  .dash-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

/* FOCUS RINGS - accessibility */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--p);
  outline-offset: 2px;
}
button:disabled { opacity: .55; cursor: not-allowed; }

/* TABLET BREAKPOINT */
@media(max-width:1024px) and (min-width:769px) {
  .hero { gap: 2rem; padding: 60px 1.5rem 40px; }
  .dash-layout { grid-template-columns: 200px 1fr; }
  .sidebar { padding: 1rem; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .ft { grid-template-columns: 1fr 1fr; }
  .mg { grid-template-columns: 1fr 1fr; }
}

/* LARGE SCREEN */
@media(min-width:1400px) {
  .hero { padding: 100px 1.5rem 80px; }
  .sec { padding: 90px 1.5rem; }
  .hero h1 { font-size: 58px; }
}

/* MICRO-INTERACTIONS */
a, button { -webkit-tap-highlight-color: transparent; }
.bp:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bp:active { transform: translateY(0); }
.btn-ghost:hover { border-color: var(--p); color: var(--p); background: rgba(61,79,99,.04); }
.chip:hover { border-color: var(--p); color: var(--p); }
.chip.active { background: var(--p); color: #fff; border-color: var(--p); }

/* BETTER TYPOGRAPHY SCALE */
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.01em; }

/* SEARCH CARD IMAGE FILL */
.lt img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* HERO SEARCH ICON */
.sb::before { content: ''; display: block; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center; flex-shrink: 0; }

/* SMOOTH SECTION SPACING */
.sec { padding: 80px 1.5rem; }

/* NAV ACTIVE STATE */
.nl a.active { color: var(--t); font-weight: 600; }

/* FORCE LIGHT MODE – design not yet dark-mode ready */
:root {
  color-scheme: light only;
}
