/* SonoCase website: the same calm, dark look as the app. Near-black, one teal accent, no gradients. */

:root {
  --background: #0b0c0d;
  --surface: #16181a;
  --hairline: #2b2f33;
  --text: #eceeef;
  --text-secondary: #9ba1a6;
  --text-tertiary: #6a7075;
  --accent: #4fb6a6;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 2px; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 1px solid var(--hairline);
}

.brand { color: var(--text); font-weight: 700; font-size: 19px; text-decoration: none; }

nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
nav a { color: var(--text-secondary); text-decoration: none; padding: 10px 0; min-height: 44px; }
nav a[aria-current="page"] { color: var(--accent); }

main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; overflow-wrap: break-word; }

h1 { font-size: 32px; line-height: 1.25; margin: 16px 0 8px; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }

p, ul { margin: 0 0 12px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.clause { display: flex; gap: 12px; }
.clause .number { flex: none; min-width: 2.6em; color: var(--text-secondary); font-variant-numeric: tabular-nums; }

.box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0 24px;
}
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--hairline);
  color: var(--text-tertiary);
  font-size: 13px;
}
