/* separite.app: slate gradients, frosted-glass panes, accent #3E93C9. System fonts only. */

:root {
  color-scheme: light dark;
  --accent: #3E93C9;
  --accent-strong: #2a77a8;
  --accent-soft: rgba(62, 147, 201, .14);
  --bg: #eef2f6;
  --bg-grad-a: #f6f8fb;
  --bg-grad-b: #dde4ec;
  --text: #1a212c;
  --muted: #536173;
  --pane: rgba(255, 255, 255, .62);
  --pane-border: rgba(255, 255, 255, .85);
  --pane-shadow: 0 1px 2px rgba(26, 33, 44, .06), 0 8px 24px rgba(26, 33, 44, .08);
  --line: rgba(26, 33, 44, .12);
  --field: rgba(255, 255, 255, .85);
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 16px;
  --wrap: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5aa9da;
    --accent-strong: #8fd3f0;
    --accent-soft: rgba(90, 169, 218, .16);
    --bg: #151b24;
    --bg-grad-a: #232c39;
    --bg-grad-b: #12171f;
    --text: #e8edf3;
    --muted: #a3afbf;
    --pane: rgba(58, 70, 88, .38);
    --pane-border: rgba(255, 255, 255, .09);
    --pane-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .28);
    --line: rgba(255, 255, 255, .12);
    --field: rgba(20, 26, 35, .7);
    --ok: #6fd3a0;
    --err: #ff8a80;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, var(--accent-soft), transparent 70%),
    linear-gradient(160deg, var(--bg-grad-a), var(--bg-grad-b));
  background-attachment: fixed;
}

main { flex: 1; }

a { color: var(--accent-strong); text-underline-offset: .15em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 0 0 .5rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 42rem; }
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: -999px; top: .5rem;
  background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 10;
}
.skip:focus { left: .5rem; }

/* Frosted glass */
.pane, .card, .site-header {
  background: var(--pane);
  border: 1px solid var(--pane-border);
  box-shadow: var(--pane-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.pane { border-radius: var(--radius); padding: 1.25rem 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.brand:hover { color: var(--text); }
.logo { display: block; flex: none; border-radius: 22%; }
.site-header nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  display: block; padding: .4rem .7rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: .95rem;
}
.site-header nav a:hover { color: var(--text); background: var(--accent-soft); }
.site-header nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }

/* Hero */
.hero { padding: clamp(3rem, 10vw, 6rem) 0 2rem; text-align: center; }
.hero-inner { max-width: 44rem; }
.hero-mark { display: flex; justify-content: center; margin-bottom: 1.25rem; }
.logo-hero { width: 88px; height: 88px; box-shadow: 0 12px 32px rgba(26, 33, 44, .28); }
.pitch { font-size: clamp(1.1rem, 3vw, 1.3rem); color: var(--muted); margin: 0 auto 1.5rem; max-width: 36rem; }
.cta { margin: 0 0 1rem; }
.badge-soon {
  display: inline-block; padding: .65rem 1.2rem; border-radius: 999px;
  background: linear-gradient(135deg, #3E93C9, #2a6f9c); color: #fff; font-weight: 600;
  box-shadow: 0 6px 18px rgba(62, 147, 201, .35);
}
.hero-links { color: var(--muted); font-size: .95rem; }

/* Feature cards */
.section { padding: 1rem 1.25rem 1.5rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { border-radius: var(--radius); padding: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 12px; margin-bottom: .8rem;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.card-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.promises h2 { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { position: relative; padding-left: 1.75rem; margin: .45rem 0; }
.checks li::before {
  content: ""; position: absolute; left: .2rem; top: .45em;
  width: .5rem; height: .85rem; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.note, .meta { color: var(--muted); font-size: .92rem; }
.closing { text-align: center; padding-bottom: 3rem; }

/* Inner pages */
.page { padding-top: 2.5rem; padding-bottom: 3rem; }
.prose { max-width: 46rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.summary h2 { margin-top: 0; }
.after { margin-top: 2rem; }

/* FAQ */
.faq-search { margin: 1.25rem 0; }
.faq-search label { display: block; font-weight: 600; margin-bottom: .35rem; }
.faq-index { margin: 1.25rem 0 1.5rem; }
.faq-index h2 { margin: 0 0 .5rem; font-size: 1rem; }
.faq-index ol { margin: 0; padding-left: 1.25rem; columns: 2 14rem; }
.faq-section { scroll-margin-top: 4.5rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: 12px; margin: .5rem 0;
  background: var(--pane); scroll-margin-top: 4.5rem;
}
.faq-item summary {
  cursor: pointer; padding: .85rem 2.5rem .85rem 1rem; font-weight: 600; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 1.15rem;
  width: .5rem; height: .5rem; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg);
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.35rem; }
.answer { padding: 0 1rem .5rem; }
.answer p, .answer ul { margin: 0 0 .75rem; }
.answer ul { padding-left: 1.25rem; }

/* Forms */
.form { display: grid; gap: .5rem; margin-top: 1.5rem; }
.form fieldset { border: 0; margin: 0 0 .5rem; padding: 0; }
.form legend, .form > label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.choices label {
  display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--field);
}
.choices input { accent-color: var(--accent); margin: 0; }
input[type="email"], input[type="search"], input[type="text"], textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--field);
  border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem;
}
textarea { resize: vertical; min-height: 9rem; }
.counter { margin: -.25rem 0 .5rem; }
.button {
  justify-self: start; font: inherit; font-weight: 600; cursor: pointer;
  padding: .7rem 1.6rem; border: 0; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #3E93C9, #2a6f9c);
  box-shadow: 0 4px 14px rgba(62, 147, 201, .3);
}
.button:hover { filter: brightness(1.07); }
.button:disabled { opacity: .6; cursor: progress; }
.status { margin: .25rem 0 0; min-height: 1.6em; }
.status.success { color: var(--ok); }
.status.error { color: var(--err); }
.notice { margin: 1rem 0; }
/* Honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.75rem 0 2rem; margin-top: 2rem; }
.footer-inner { display: grid; gap: .5rem; justify-items: center; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-weight: 600; }
.footer-links { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-note { margin: 0; color: var(--muted); font-size: .85rem; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .pane, .card, .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
