/* kestrelinbox.com — Kestrel brand: slate #0d1c30/#22426a, Fluent blue #0f6cbd, teal #2ec4b6 (assets/brand in deepak/kestrel) */
:root {
  --slate: #0d1c30; --slate-2: #22426a; --blue: #0f6cbd; --blue-2: #2b88d8; --teal: #2ec4b6; --teal-2: #0f9d9a;
  --bg: #f6f8fb; --surface: #ffffff; --tint: #eaf0f7; --text: #0d1c30; --text-2: #3c4f66; --muted: #6a7b90;
  --line: #dbe3ee; --r: 18px;
  --sans: "Segoe UI Variable", "Segoe UI", Selawik, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1524; --surface: #0f1e33; --tint: #0d1a2c; --text: #e8eef6; --text-2: #b4c2d4; --muted: #8596ab; --line: #1f3350;
  }
}
:root[data-theme="dark"] { --bg: #0a1524; --surface: #0f1e33; --tint: #0d1a2c; --text: #e8eef6; --text-2: #b4c2d4; --muted: #8596ab; --line: #1f3350; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 16px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #fff; color: var(--slate); padding: 8px 12px; border-radius: 8px; }
section { padding: 96px 0; }
.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); margin: 0 0 14px; }

.btn { display: inline-block; margin: 8px 10px 0 0; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal-2)); box-shadow: 0 10px 30px -12px var(--blue-2);
  transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px var(--teal); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn.small { margin: 0; padding: 9px 18px; font-size: 14px; }

/* header + hero share the slate band */
.site-header { background: var(--slate); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: block; line-height: 0; }
.brand img { width: 160px; height: auto; }
.hero { color: #e8eef6; padding: 72px 0 104px; overflow: hidden;
  background: radial-gradient(900px 500px at 85% 20%, rgba(46,196,182,.22), transparent 60%),
              radial-gradient(800px 500px at 10% 100%, rgba(15,108,189,.35), transparent 60%),
              linear-gradient(180deg, var(--slate), var(--slate-2)); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fe7df;
  border: 1px solid rgba(46,196,182,.4); border-radius: 999px; padding: 6px 12px; margin: 0 0 26px; }
.hero h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 700; letter-spacing: -.035em; margin-bottom: 22px; }
.grad { background: linear-gradient(90deg, #5aa9f0, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: #c5d3e4; max-width: 34em; margin: 0 0 26px; }

/* the stylised app window */
.app { background: #f8fafc; color: #0d1c30; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden; font-size: 13.5px; transform: perspective(1400px) rotateY(-6deg); }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #e9eef5; border-bottom: 1px solid #d6dee9; }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9d3e0; }
.app-bar span { margin-left: 10px; font-weight: 600; color: #3c4f66; }
.app-body { display: grid; grid-template-columns: 128px 1fr; min-height: 300px; }
.folders, .list { list-style: none; margin: 0; padding: 0; }
.folders { background: #eef2f8; padding: 10px 8px; border-right: 1px solid #d6dee9; }
.folders li { padding: 7px 10px; border-radius: 7px; color: #3c4f66; display: flex; justify-content: space-between; }
.folders li.on { background: #dbe8f8; color: var(--blue); font-weight: 600; }
.folders b { font-weight: 600; }
.list li { padding: 11px 16px; border-bottom: 1px solid #e3e9f1; border-left: 3px solid transparent; }
.list li b { display: block; font-weight: 500; }
.list li span { display: block; color: #6a7b90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list li.unread b { font-weight: 700; }
.list li.unread { border-left-color: var(--blue); }
.list li.sel { background: #e6f0fb; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillars article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; }
.pillars h2 { font-size: 26px; }
.pillars p { color: var(--text-2); margin: 0; }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 22px; }
.ico svg { width: 24px; height: 24px; fill: #fff; stroke: #fff; }
.ico.fast { background: linear-gradient(135deg, #0f6cbd, #2b88d8); }
.ico.secure { background: linear-gradient(135deg, #22426a, #3b6696); }
.ico.wise { background: linear-gradient(135deg, #0f9d9a, #2ec4b6); }

/* features */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(28px, 3.4vw, 38px); }
.split p { color: var(--text-2); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 50px; position: relative; color: var(--text-2); }
.features li::before { content: ""; position: absolute; left: 20px; top: 23px; width: 14px; height: 8px; border-left: 2.5px solid var(--teal-2); border-bottom: 2.5px solid var(--teal-2); transform: rotate(-45deg); }
.features b { color: var(--text); }

/* call to action */
.cta .panel { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 24px;
  background: linear-gradient(135deg, var(--slate), var(--slate-2)); color: #e8eef6; }
.cta h2 { font-size: 32px; margin-bottom: 6px; }
.cta p { margin: 0; color: #c5d3e4; }
.cta img { width: 88px; height: 88px; }

.site-footer { background: var(--slate); color: #b4c2d4; padding: 52px 0 40px; font-size: 15px; }
.site-footer p { margin: 18px 0 0; max-width: 60ch; }
.site-footer a { color: #9fe7df; }
.site-footer .legal { font-size: 13px; color: #8596ab; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 44px; }

@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .app { transform: none; }
  .pillars { grid-template-columns: 1fr; }
  .cta .panel { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 72px; }
  .brand img { width: 128px; }
  .app-body { grid-template-columns: 1fr; }
  .folders { display: none; }
  .cta .panel { padding: 30px 22px; }
}
