/* Keyment Notes website. Look borrowed from keyment.app: dark #151419, orange #F56F10,
   Montserrat with light headings, slanted orange header, thin orange outlines. */
:root {
  --bg: #151419;
  --card: #1b1a1f;
  --text: #f4f1ec;
  --muted: #a7a3ad;
  --faint: #6f6c76;
  --line: #3a3a3a;
  --accent: #f56f10;
  --accent-line: rgba(245, 111, 16, 0.55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header: orange block with a slanted edge, dark to the right. */
.top { display: flex; align-items: center; height: 60px; background: var(--bg); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #222127; }
.top-block {
  display: flex; align-items: center; gap: 28px; height: 100%;
  background: var(--accent); color: var(--bg);
  padding: 0 64px 0 max(24px, calc((100vw - 1080px) / 2 + 24px));
  clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--bg); text-decoration: none; font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; }
.top nav a { color: var(--bg); text-decoration: none; font-weight: 500; font-size: 15px; opacity: 0.8; }
.top nav a:hover, .top nav a[aria-current="page"] { opacity: 1; }
.top-right { margin-left: auto; padding-right: max(24px, calc((100vw - 1080px) / 2 + 24px)); }

/* Buttons: small corners, filled or thin orange outline. */
.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--accent); }
.btn-fill { background: var(--accent); color: var(--bg); }
.btn-line { color: var(--accent); background: transparent; }
.btn-dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn-sm { padding: 6px 14px; font-size: 14px; font-weight: 500; }

/* Home */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 88px 0 72px; }
.hero h1 { font-weight: 300; font-size: 56px; line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.5px; }
.hero h1 span { color: var(--faint); }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; align-items: center; aspect-ratio: 1; background: radial-gradient(circle closest-side, rgba(245, 111, 16, 0.12), rgba(245, 111, 16, 0.04) 70%, transparent); }
.hero-art img { width: 48%; border-radius: 22%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }

.section-title { font-weight: 300; font-size: 34px; margin: 0 0 24px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding: 0; margin: 0 0 88px; list-style: none; }
.features li { border: 1px solid var(--accent-line); border-radius: 6px; padding: 16px 18px; color: var(--muted); font-size: 15px; }
.features strong { display: block; color: var(--accent); font-weight: 500; font-size: 16px; margin-bottom: 4px; }

.band { background: var(--accent); color: var(--bg); text-align: center; padding: 56px 24px; }
.band-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 30px; margin-bottom: 6px; }
.band-brand img { width: 44px; height: 44px; border-radius: 11px; }
.band p { font-size: 19px; margin: 0 0 24px; }

/* Legal pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-weight: 300; font-size: 40px; line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-weight: 600; font-size: 19px; margin: 32px 0 8px; }
.doc li { margin-bottom: 4px; }
.updated { color: var(--faint); font-size: 14px; }

footer { border-top: 1px solid #222127; padding: 28px 24px 40px; text-align: center; color: var(--faint); font-size: 14px; }
footer nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 16px; }
footer nav a { color: var(--text); text-decoration: none; }
footer p { margin: 0 0 6px; line-height: 1.5; }

@media (max-width: 720px) {
  .top-block { gap: 16px; padding-right: 40px; clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%); }
  .top nav { gap: 14px; }
  .top-right { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 48px; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .hero-art { order: -1; justify-content: flex-start; aspect-ratio: auto; background: none; }
  .hero-art img { width: 88px; }
  .section-title { font-size: 28px; }
  .doc h1 { font-size: 32px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}
