/* Sentry IQ marketing site. Dark, red accent from the app icon (#BD0605). */
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #14171c;
  --line: #23272e;
  --text: #e7e9ea;
  --dim: #9aa1a8;
  --red: #e0393e;
  --red-deep: #bd0605;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 650; }
h3 { font-size: 19px; margin: 14px 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--text); }

.nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 1040px; margin: 0 auto; padding: 18px 24px;
}
/* nowrap on the brand and the nav CTA: they are flex children, and once the
   language dropdown joined the row the first thing flexbox does under pressure
   is wrap their text to two lines instead of overflowing. */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; font-size: 18px; white-space: nowrap; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { color: var(--dim); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

.cta {
  display: inline-block; background: var(--red-deep); color: #fff; text-decoration: none;
  font-weight: 600; padding: 14px 26px; border-radius: 10px; font-size: 17px;
}
.cta:hover { background: var(--red); }
.cta.small { padding: 9px 16px; font-size: 14px; color: #fff !important; white-space: nowrap; }

/* Above the media blocks at the bottom, which compact it on phones — the
   override only wins while the base rule comes first. */
.lang-select {
  background: var(--panel); color: var(--dim); border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 10px; font-size: 14px; font-family: inherit;
}
.lang-select:hover { color: var(--text); }

main > section { max-width: 1040px; margin: 0 auto; padding: 72px 24px; }

.hero { text-align: center; padding-top: 88px; }
.kicker { color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin-bottom: 14px; }
.hero .sub { color: var(--dim); font-size: 19px; max-width: 640px; margin: 0 auto 32px; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { color: var(--dim); font-size: 14px; }

.gap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gap p { color: var(--dim); font-size: 18px; }
.gap-text p:last-child { color: var(--text); }
.gap-video { margin: 0; }
.gap-video video {
  width: 100%; display: block; border-radius: 14px; border: 1px solid var(--line);
}
.gap-video figcaption { color: var(--dim); font-size: 14px; margin-top: 10px; }
@media (max-width: 800px) { .gap { grid-template-columns: 1fr; } }

.features .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px;
}
.features article {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
}
.features article p { color: var(--dim); font-size: 15.5px; margin: 0; }
.features svg {
  width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.how ol { margin: 0; padding: 0 0 0 22px; max-width: 560px; }
.how li { margin-bottom: 14px; color: var(--dim); }
.how strong { color: var(--text); }

.pricing { text-align: center; }
.pricing h2 { font-size: clamp(40px, 7vw, 64px); }
.pricing p { color: var(--dim); max-width: 480px; margin: 0 auto 28px; }

.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--dim); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--dim); padding-bottom: 14px; font-size: 16px; }

.trust { max-width: 720px; }
.trust > p { color: var(--dim); }
.trust ul { margin: 24px 0 0; padding: 0; list-style: none; }
.trust li {
  color: var(--dim); padding: 14px 0 14px 18px; border-left: 2px solid var(--red-deep);
  margin-bottom: 14px; font-size: 16px;
}
.trust strong { color: var(--text); display: block; margin-bottom: 2px; }

.closer { text-align: center; padding-bottom: 96px; }
.closer h2 { margin-bottom: 14px; }
.closer p { color: var(--dim); max-width: 480px; margin: 0 auto 28px; }

footer { border-top: 1px solid var(--line); padding: 32px 24px 48px; text-align: center; }
footer div { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }
footer span { font-weight: 600; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer p { color: var(--dim); font-size: 13px; margin: 0; }

/* 700, not 560: the language dropdown costs about a hundred pixels, and with
   it in the row the text links stopped fitting between 560 and 700 too. */
@media (max-width: 700px) {
  .nav nav a:not(.cta) { display: none; }
}
@media (max-width: 560px) {
  main > section { padding: 48px 20px; }
  /* The row carries brand + dropdown + CTA on a phone; every step below buys
     the pixels that keep all three on one line down to ~390px, with the
     longest language name (Nederlands) selected. */
  .nav { padding: 14px 16px; }
  .nav nav { gap: 12px; }
  .cta.small { padding: 8px 12px; }
  .lang-select { padding: 6px 8px; font-size: 13px; }
}
/* On phones the icon is the brand. 430 covers every iPhone width, and it is
   set by the longest localized pair, not by English: "Nederlands" in the
   dropdown next to "Download de app" needs ~290px before the brand gets any —
   the name is all over the page below, and nav chrome that wraps or overflows
   is worse than a missing word. */
@media (max-width: 430px) {
  .brand span { display: none; }
}
