/* ==========================================================================
   Nailit: coming-soon page (main branch only)
   ========================================================================== */

@font-face {
  font-family: "Bitter";
  src: url("../fonts/bitter-var.woff2") format("woff2-variations"),
       url("../fonts/bitter-var.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff;
  --bg-soft: #f7f4ef;
  --ink: #1f2328;
  --muted: #5b6470;
  --line: #e4ded5;
  --accent: #9e3a26;
  --accent-dark: #7f2e1e;
  --heading: "Bitter", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.icon {
  width: 1.2em; height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.cs {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  border-top: 5px solid var(--accent);
}

.cs__header,
.cs__main,
.cs__footer {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.cs__header { padding-top: 28px; }
.cs__logo { width: auto; height: 34px; }

.cs__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(40px, 10vh, 112px);
  padding-bottom: clamp(40px, 10vh, 112px);
}

@media (max-width: 599px) {
  .cs__main { justify-content: flex-start; padding-top: 56px; }
}

.cs__kicker {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.cs__title {
  font-family: var(--heading);
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.cs__status {
  margin-top: 24px;
  font-family: var(--heading);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
}

.cs__lead {
  margin-top: 10px;
  max-width: 34rem;
  color: var(--muted);
}

/* ---------- Contact buttons ---------- */
.cs__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0.7em 1.3em;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, background-color 0.15s;
}
.cs__btn:hover { border-color: var(--ink); }
.cs__btn--primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.cs__btn--primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }

@media (max-width: 479px) {
  .cs__actions { flex-direction: column; }
  .cs__btn { width: 100%; }
}

.cs__footer {
  padding-top: 20px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
