/* SenseSearch website. No external fonts, scripts or trackers: the CSP allows only this file and our images. */
:root {
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-2: #eef3f5;
  --border: #e1e7ec;
  --text: #1c2430;
  --muted: #5b6878;
  --accent: #0f766e;
  --accent-hover: #0b5f58;
  --accent-text: #ffffff;
  --accent-soft: #e3f3f1;
  --accent-ink: #0b5f58;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .10);
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141c;
    --surface: #151d28;
    --surface-2: #1a2431;
    --border: #253141;
    --text: #e6eaf0;
    --muted: #9aa6b5;
    --accent: #14a394;
    --accent-hover: #18b8a8;
    --accent-text: #061412;
    --accent-soft: #10302d;
    --accent-ink: #7fded2;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent-ink); }
a:hover { color: var(--accent-hover); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 18px; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); }
.langs a { padding: 3px 10px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; }
.langs a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* Hero */
.hero { padding: 56px 0 28px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; margin: 16px 0 14px; letter-spacing: -0.02em; max-width: 880px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 760px; margin: 0 0 24px; }
.points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 15px; }
.points li { display: flex; align-items: center; gap: 8px; }
.points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

.shot { margin: 36px 0 8px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.shot figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }

/* Sections */
section { padding: 44px 0; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 26px; max-width: 760px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.card .mark { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }

.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }

.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.facts ul { margin: 0; padding-left: 20px; color: var(--muted); }
.facts li { margin: 4px 0; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 2px; }

.note { background: var(--accent-soft); border-radius: var(--radius); padding: 22px; }
.note h2 { font-size: 22px; }
.note p { margin: 0; }

/* Privacy policy and other text pages */
.doc { max-width: 780px; padding: 44px 0 24px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc h2 { font-size: 20px; margin: 30px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc .date { color: var(--muted); }
code { font-family: "Cascadia Mono", Consolas, monospace; font-size: .92em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }

/* Footer */
.foot { border-top: 1px solid var(--border); margin-top: 32px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  section { padding: 32px 0; }
  .top .wrap { padding-top: 10px; padding-bottom: 10px; }
}
