/* Kadrin coming-soon site */

:root {
  --navy: #1B4458;
  --ink: #16323F;
  --slate: #9FB6BF;
  --mist: #EEF2F2;
  --tile: #DCE5E8;
  --text: #455963;
  --quiet: #56696F;
  --rule: #CBD7DB;
  --gutter: max(24px, 7.5vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, p { margin: 0; }
a { color: var(--navy); }
img, svg { display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter) 8px;
}
.site-header img { width: 190px; height: auto; }
.pill {
  padding: 7px 15px;
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- Top section ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  padding: 48px var(--gutter) 64px;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--text);
  max-width: 560px;
}
.graphic { display: flex; justify-content: center; }
.graphic svg { width: 100%; max-width: 560px; height: auto; }

/* ---------- Signup form ---------- */
.signup { display: flex; flex-direction: column; gap: 12px; max-width: 560px; padding-top: 4px; }
.signup label { font-size: 16px; font-weight: 600; }
.signup-row { display: flex; gap: 12px; }
.signup input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 14px 18px;
  border: 1.5px solid var(--slate);
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}
.signup input[type="email"]::placeholder { color: #6B7F88; }
.signup input[type="email"]:focus-visible,
.signup button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.signup button {
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #FFFFFF;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.signup button:hover { background: #0F2A38; }
.fine-print { font-size: 14px; line-height: 1.5; color: var(--quiet); }

/* ---------- Three points ---------- */
.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0 var(--gutter);
  padding: 36px 0 80px;
  border-top: 1px solid var(--rule);
}
.points h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.points p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- Examples ---------- */
.examples { background: #FFFFFF; padding: 88px var(--gutter) 96px; }
.examples-head { max-width: 780px; margin-bottom: 44px; }
.examples-head h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.examples-head p { font-size: 19px; line-height: 1.6; color: var(--text); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  background: var(--mist);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.card-tag svg { flex: none; }
.card-q {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
}
.card-a { font-size: 15.5px; line-height: 1.6; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 26px var(--gutter);
  background: var(--navy);
  color: #DCE5E8;
  font-size: 14.5px;
}

/* ---------- Simple pages (thanks, 404) ---------- */
.simple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px var(--gutter);
  max-width: 820px;
}
.simple .button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--navy);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Tablets and phones ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .graphic svg { max-width: 380px; }
}
@media (max-width: 640px) {
  .points, .cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .card { padding: 26px; }
  .site-header img { width: 150px; }
}
@media (max-width: 480px) {
  .signup-row { flex-direction: column; }
}
