/* The Sukrit website (README.md entry 641): sukritsetu.com, the privacy policy, the terms and the
   account deletion page. The colours are the app's own (ui/theme/Tokens.kt lightColors, DarkLooks.kt
   look 0, the gold accent), the same tokens the dashboard uses (dash/index.html); the type is Inter
   with Noto Sans Devanagari behind it. Plain pages: a top bar, one column of text, a footer. */
:root{
  --bg:#f1f1f3; --panel:#ffffff; --line:rgba(0,0,0,.10); --line2:rgba(0,0,0,.16);
  --ink:#1a1d21; --ink2:#4a4d52; --ink3:#6d6d72; --ink4:#a8a8a8;
  --accent:#a88b45; --accent-h:#8c7232; --accent-soft:rgba(168,139,69,.13); --accent-ink:#6f5a26;
  --font:"Inter","Noto Sans Devanagari",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#1a1a1a; --panel:#262626; --line:rgba(255,255,255,.08); --line2:rgba(255,255,255,.14);
    --ink:#f3f3f3; --ink2:#b3b3b3; --ink3:#999999; --ink4:#6b6b6b;
    --accent:#ccaf69; --accent-h:#e5d3a3; --accent-soft:rgba(204,175,105,.14); --accent-ink:#e5d3a3;
    color-scheme:dark;
  }
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:16px/1.6 var(--font);-webkit-font-smoothing:antialiased}
a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:2px}
a:hover{color:var(--accent-h)}

/* the top bar */
.top{position:sticky;top:0;background:var(--panel);border-bottom:1px solid var(--line);z-index:1}
.top .in{max-width:860px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);margin-right:auto}
.brand b{font-weight:600}
.top nav{display:flex;gap:16px;flex-wrap:wrap}
.top nav a{text-decoration:none;color:var(--ink2);font-size:14.5px}
.top nav a:hover,.top nav a[aria-current="page"]{color:var(--ink)}
.top nav a[aria-current="page"]{font-weight:600}

/* the page */
main{max-width:860px;margin:0 auto;padding:28px 20px 56px}
h1{font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.01em;margin:8px 0 6px}
h2{font-size:21px;line-height:1.3;font-weight:600;margin:40px 0 10px;padding-top:12px;border-top:1px solid var(--line)}
h3{font-size:16.5px;font-weight:600;margin:22px 0 6px}
p{margin:0 0 12px}
ul,ol{margin:0 0 12px;padding-left:22px}
li{margin:4px 0}
.lede{color:var(--ink2);font-size:17px;margin-bottom:6px}
.date{color:var(--ink3);font-size:14px;margin-bottom:24px}
.note{background:var(--accent-soft);border:1px solid var(--accent);border-radius:12px;padding:14px 16px;margin:16px 0}
.note b{color:var(--accent-ink)}
.toc{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 18px 14px 34px;margin:16px 0 8px;columns:2;column-gap:28px}
.toc li{break-inside:avoid;margin:3px 0}
.toc a{text-decoration:none}
.toc a:hover{text-decoration:underline}
table{border-collapse:collapse;width:100%;margin:8px 0 16px;font-size:15px}
th,td{text-align:left;vertical-align:top;padding:8px 10px;border-bottom:1px solid var(--line)}
th{color:var(--ink3);font-weight:600;font-size:13px;letter-spacing:.04em;text-transform:uppercase}
code{font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;font-size:14px;background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:1px 5px}

/* the home page */
.hero{padding:40px 0 20px;text-align:center}
/* the diya lights as the page opens (README.md entry 642): 31 frames side by side in
   diya_sprite.svg, 500 ms in 30 steps from the first to the last, as the reference site plays its
   logo; hovering plays it again (the other keyframes name restarts it) */
.hero .diya{width:144px;height:144px;margin:0 auto 4px;background:url(diya_sprite.svg) no-repeat 0 0;background-size:cover;animation:500ms steps(30) both;animation-name:diya-play}
.hero .diya:hover{animation-name:diya-play-again}
@keyframes diya-play{from{background-position:0% 0%}to{background-position:100% 0%}}
@keyframes diya-play-again{from{background-position:0% 0%}to{background-position:100% 0%}}
@media (prefers-reduced-motion:reduce){.hero .diya{animation:none;background-position:100% 0%}}
.hero h1{font-size:40px}
.hero p{max-width:560px;margin:0 auto 18px;color:var(--ink2);font-size:18px}
.cta{display:inline-block;background:var(--accent);color:#1a1200;padding:11px 20px;border-radius:999px;text-decoration:none;font-weight:600}
.cta:hover{background:var(--accent-h);color:#1a1200}
.cta.soon{background:var(--panel);color:var(--ink2);border:1px solid var(--line2);cursor:default}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:28px 0}
.card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.card svg{width:26px;height:26px;color:var(--accent);margin-bottom:10px;display:block}
.card h3{margin:0 0 6px}
.card p{margin:0;color:var(--ink2);font-size:15px}

footer{border-top:1px solid var(--line);color:var(--ink3);font-size:13.5px}
footer .in{max-width:860px;margin:0 auto;padding:18px 20px;display:flex;gap:16px;flex-wrap:wrap}
footer a{color:var(--ink3);text-decoration:none}
footer a:hover{color:var(--ink)}
/* the menu on a phone (README.md entry 646): the three bars open the links under the bar, no
   script (the page has none): a hidden checkbox, its label is the button, the nav follows it */
.menu-box{display:none}
.menu-btn{display:none;width:40px;height:40px;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer;margin-left:auto}
.menu-btn span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s}
.menu-btn:hover{background:var(--accent-soft)}
@media (max-width:600px){
  .toc{columns:1} h1{font-size:26px} .hero h1{font-size:32px}
  .top .in{padding:10px 16px;gap:0}
  .brand{margin-right:0}
  .menu-btn{display:flex}
  .top nav{display:none;flex-basis:100%;flex-direction:column;gap:0;padding:6px 0 4px;border-top:1px solid var(--line);margin-top:10px}
  .top nav a{padding:10px 4px;font-size:15.5px}
  .menu-box:checked ~ nav{display:flex}
  .menu-box:checked ~ .menu-btn span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-box:checked ~ .menu-btn span:nth-child(2){opacity:0}
  .menu-box:checked ~ .menu-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
