/* Sombra website: one stylesheet, no JavaScript. Colors match the app (src/styles.css). */
:root {
  --navy: #1F2C5C;
  --sun: #F2B53B;
  --shade: #4FB8E8;
  --ink: #111827;
  --muted: #6B7280;
  --bg: #F3F4F6;
  --line: #E5E7EB;
  --danger: #B91C1C;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.top { padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
main { padding-bottom: 56px; }

h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.8px; margin: 24px 0 8px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.3px; margin: 40px 0 8px; }
h3 { font-size: 18px; line-height: 1.35; margin: 28px 0 4px; }
ul { padding-left: 22px; }
.meta, .fine { color: var(--muted); }
.meta { margin-top: 0; }
.fine { font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 20px; }
.card h2:first-child { margin-top: 20px; }

/* Landing */
.hero { text-align: center; padding: 32px 0 8px; }
.hero h1 { font-size: 44px; margin: 14px 0 2px; }
.pitch { font-size: 21px; font-weight: 600; line-height: 1.35; margin: 0 0 20px; }
.soon { display: inline-block; margin: 0; padding: 8px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.strip { margin: 36px 0 0; padding: 16px 20px 4px; }
.strip figcaption { display: flex; justify-content: space-between; font-weight: 800; }
.strip figcaption span { color: var(--muted); font-weight: 600; font-size: 14px; }
.strip ol { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; list-style: none; padding: 0; margin: 12px 0 8px; }
.strip li { border-radius: 8px; background: var(--shade); color: var(--navy); text-align: center; font-weight: 800; font-size: 14px; line-height: 36px; }
.strip li.sun { background: var(--sun); }
.features { list-style: none; padding: 0; margin: 28px 0; }
.features li { position: relative; padding-left: 30px; margin: 14px 0; }
.features li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(90deg, var(--sun) 50%, var(--shade) 50%); }

/* Support form */
form { margin-top: 8px; }
label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 15px; }
label span { color: var(--muted); font-weight: 500; }
input, select, textarea { display: block; width: 100%; padding: 12px 14px; border: 1px solid #D1D5DB; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
textarea { min-height: 170px; resize: vertical; }
button { margin: 22px 0 8px; padding: 13px 28px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error { display: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #FEF2F2; color: var(--danger); font-weight: 600; }
.error:target { display: block; }

/* Licenses */
details { border-top: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
summary span { color: var(--muted); font-weight: 500; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }

footer { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 40px; font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer p { color: var(--muted); margin: 10px 0 0; }
