/* Kagzy site: "Green ink" (docs/design.md). No scripts, no remote assets. */
@font-face { font-family: "Martel"; font-weight: 700; font-display: swap; src: url(/assets/fonts/Martel-Bold-latin.woff) format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+20B9, U+2122, U+2190-2193, U+2212, U+2713; }
@font-face { font-family: "Martel"; font-weight: 700; font-display: swap; src: url(/assets/fonts/Martel-Bold-deva.woff) format("woff"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/assets/fonts/Inter-Regular-latin.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/assets/fonts/Inter-SemiBold-latin.woff) format("woff"); }
@font-face { font-family: "Noto Sans Devanagari"; font-weight: 400; font-display: swap; src: url(/assets/fonts/NotoSansDevanagari-Regular-deva.woff) format("woff"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root {
  --desk: #EEF1F0; --desk-deep: #E3E7E5; --surface: #FFFFFF; --paper: #FFFFFF; --paper-edge: #D9DEDC;
  --ink: #131917; --muted: #56605C; --faint: #6B7571; --hairline: #DFE4E2;
  --accent: #0B6E55; --on-accent: #FFFFFF; --accent-tint: #E1F1EB; --accent-text: #0A6650; --highlight: #FFE89A;
  --shadow: 0 1px 2px rgba(19,25,23,.10), 0 8px 20px rgba(19,25,23,.08);
  --display: "Martel", Georgia, serif;
  --body: "Inter", "Noto Sans Devanagari", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --desk: #0E1110; --desk-deep: #0A0C0B; --surface: #171B1A; --paper: #F4F5F2; --paper-edge: #2F3533;
    --ink: #E9EEEC; --muted: #A4AEAA; --faint: #848E8A; --hairline: #29302D;
    --accent: #4FC9A2; --on-accent: #06231B; --accent-tint: #123129; --accent-text: #7FDDBE; --highlight: #5C4C0E;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 24px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 400 17px/1.6 var(--body); }
a { color: var(--accent-text); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 0; padding: 10px 14px; background: var(--surface); }
.skip:focus { left: 12px; top: 12px; z-index: 9; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 16px; }
h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; }
p { margin: 0 0 14px; }

.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 24px/1 var(--display); }
.site-nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 2px; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .nav-wide { display: none; } }

.hero { padding: 40px 0 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.button.quiet { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.note { color: var(--faint); font-size: 14px; margin-top: 12px; }

/* The desk illustration: a stack of paper sheets drawn in CSS. */
.desk { position: relative; height: 420px; }
.sheet { position: absolute; width: 230px; height: 320px; background: var(--paper); border: .5px solid var(--paper-edge); border-radius: 3px; box-shadow: var(--shadow); padding: 28px 24px; }
.sheet i { display: block; height: 7px; border-radius: 4px; background: #D5DCD9; margin: 0 0 13px; }
.sheet i.short { width: 55%; }
.sheet.one { left: 10%; top: 40px; transform: rotate(-7deg); }
.sheet.two { left: 36%; top: 20px; transform: rotate(4deg); }
.sign { height: 46px; margin-top: 26px; border-bottom: 2px solid #C9D3CF; position: relative; }
.sign::after { content: ""; position: absolute; left: 6px; bottom: 8px; width: 120px; height: 34px; border: 3.5px solid #0B6E55; border-color: #0B6E55 transparent transparent #0B6E55; border-radius: 60% 40% 0 50%; transform: rotate(-8deg); }
.stamp { position: absolute; right: 6%; bottom: 40px; padding: 10px 16px; border: 2px solid var(--accent); border-radius: 10px; color: var(--accent-text); background: var(--accent-tint); font-weight: 700; letter-spacing: .08em; transform: rotate(-4deg); font-size: 15px; }
.hl { background: var(--highlight); }

section { padding: 48px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: 16px; padding: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon { min-width: 40px; width: max-content; padding: 0 10px; height: 40px; border-radius: 13px; font-size: 15px !important; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; font: 700 18px/1 var(--display); margin-bottom: 14px; }
.promise { background: var(--surface); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
@media (max-width: 640px) { .promise { grid-template-columns: 1fr; } }
.promise img { width: 88px; }

.faq details { background: var(--surface); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; min-height: 28px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.doc { overflow-wrap: anywhere; background: var(--surface); border-radius: 20px; padding: clamp(22px, 5vw, 48px); margin: 12px 0 48px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 24px; margin-top: 30px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc td, .doc th { border-bottom: 1px solid var(--hairline); padding: 8px; text-align: left; vertical-align: top; }
.doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }

.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.studio { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; }
.studio img { height: 28px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: inline; } }
.foot-links a { color: var(--muted); margin-right: 14px; }
.apps { columns: 2; padding-left: 18px; color: var(--muted); }
@media (max-width: 560px) { .apps { columns: 1; } }
.more-apps { width: 100%; margin-top: 18px; }
.more-apps summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.doc table { display: block; overflow-x: auto; }
body { overflow-x: hidden; }
