/* DaftarKit: green #0F5C4A, saffron #F2A93B, ink #16181D, paper #F7F5F0, slate #5B6170 */
:root {
  --green: #0F5C4A;
  --green-dark: #0A4335;
  --green-tint: #E7F1EE;
  --saffron: #F2A93B;
  --saffron-tint: #FDF1DD;
  --ink: #16181D;
  --paper: #F7F5F0;
  --slate: #5B6170;
  --line: #E4E1D8;
  --white: #FFFFFF;
  --danger: #A12A1F;
  --radius: 14px;
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
code { font-size: .92em; background: var(--green-tint); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding-top: 48px; padding-bottom: 48px; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
.lead { font-size: 19px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-word { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.logo-word span { color: var(--green); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; flex: 1 1 auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.main-nav a:hover { color: var(--green); }
.cur-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cur-toggle a { padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--slate); min-height: 44px; display: inline-flex; align-items: center; }
.cur-toggle a.on { background: var(--green); color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 2px solid var(--green); background: var(--green); color: var(--white); font: 600 16px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green-dark); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-points li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 2px; }
.hero-points span { color: var(--slate); font-size: 15px; }

/* Grids and cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat { display: grid; gap: 6px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.cat:hover { border-color: var(--green); }
.cat span { font-size: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.card p { margin: 0; }
.card-kind { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.card-title { margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ''; }
.card-title a:hover { color: var(--green); }
.card-price { margin-top: auto !important; padding-top: 10px; font-weight: 600; }
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 36px; margin-bottom: 48px; }
.band .muted { color: #C9CDD6; }
.band .btn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.band-inline { margin-top: 28px; padding: 18px 20px; background: var(--green-tint); border-radius: var(--radius); }

/* Product */
.crumbs { font-size: 14px; color: var(--slate); margin-bottom: 16px; }
.product-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 16px; }
.price { font-family: var(--head); font-size: 34px; font-weight: 700; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.shots img { border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin: 10px 0 0; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review blockquote { margin: 0 0 12px; }
.stars { color: #8A5A00; letter-spacing: 2px; margin: 0 0 8px; }

/* Forms */
.form { display: grid; gap: 16px; margin-top: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid #B9B5AA; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; min-height: 46px; }
input[type=radio], input[type=checkbox] { width: auto; min-height: 0; }
input[type=file] { padding: 9px; }
input[aria-invalid=true] { border-color: var(--danger); }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.field-error { color: var(--danger); font-size: 14px; margin: 0; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.inline-form input { width: auto; }
.steps { padding-left: 22px; display: grid; gap: 6px; }
.pay-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.pay-account { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.pay-account p { margin: 4px 0 0; font-size: 15px; }

.notice { background: var(--green-tint); border-radius: 10px; padding: 14px 18px; }
.notice-error { background: #FBE9E7; color: var(--danger); }
.notice-warn { background: var(--saffron-tint); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 13px; color: var(--slate); font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #D6D9E0; padding: 48px 0 24px; }
.site-footer a { color: #D6D9E0; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .logo-word { color: var(--white); }
.site-footer .logo-word span { color: var(--saffron); }
.site-footer .muted { color: #A9AEB9; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 28px; }
.foot-h { font-family: var(--body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--white); }
.copy { margin-top: 28px; font-size: 14px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; background: #1B7D45; color: var(--white); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18); min-height: 44px; }
.wa-float:hover { color: var(--white); background: #146236; }

/* Admin */
.admin .main-nav a { font-size: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tabs a { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.tabs a.on { background: var(--ink); color: var(--white); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; }
.dl dt { color: var(--slate); }
.dl dd { margin: 0; }
.proof { border: 1px solid var(--line); border-radius: 10px; }
.pill { font-family: var(--body); font-size: 13px; padding: 4px 10px; border-radius: 999px; vertical-align: middle; background: var(--saffron-tint); }
.pill-paid { background: var(--green-tint); }
.pill-rejected { background: #FBE9E7; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.stat strong { font-family: var(--head); font-size: 26px; }

@media (max-width: 860px) {
  .hero-grid, .product-top, .admin-grid, .footer-grid { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .band { padding: 24px; }
}

/* Blog */
.post-list { display: grid; gap: 8px; margin-top: 24px; }
.post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { margin: 0 0 6px; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { color: var(--green); }
.post-item p { margin: 0 0 6px; }
.prose { font-size: 17px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.prose .table-wrap { margin: 0 0 1.2em; }
