/* keepup.ge landing — page layer on top of the Modernist design system (modernist.css). */

:root {
  --gutter: clamp(20px, 5vw, 48px);
  --ink-78: color-mix(in srgb, var(--color-text) 78%, transparent);
  --ink-70: color-mix(in srgb, var(--color-text) 70%, transparent);
  --ink-65: color-mix(in srgb, var(--color-text) 65%, transparent);
  --ink-60: color-mix(in srgb, var(--color-text) 60%, transparent);
  --cta-pad: 0px;
}

html { scroll-behavior: auto; }
body { margin: 0; }
a { color: var(--color-accent-700); text-decoration: underline; }
a:hover { color: var(--color-accent); }
input, select { font-family: var(--font-body); }
details summary::-webkit-details-marker { color: var(--color-accent); }
details summary::marker { color: var(--color-accent); }

/* Sticky CTA visible → reserve room so it never covers the footer */
body.has-sticky-cta { --cta-pad: 76px; }

.page {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
}

/* — nav — */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
  border-bottom: 2px solid var(--color-divider);
  position: sticky; top: 0; z-index: 40;
  background: var(--color-bg);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.wordmark { font-family: var(--font-heading); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.topbar-phone { font-size: 14px; color: var(--color-text); text-decoration: none; font-weight: 600; }
.topbar-phone:hover { color: var(--color-accent); }

.container { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 36px 0; }
.hr { margin: 0; }
.kicker { color: var(--color-accent-700); margin-bottom: 16px; }

/* — hero — */
.hero { padding: clamp(28px, 6vw, 56px) 0 28px; }
.hero h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(28px, 5.5vw, 42px); line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-78); margin: 0 0 12px; max-width: 56ch; }
.lead-sm { font-size: 14px; line-height: 1.6; color: var(--ink-78); margin: 0 0 24px; max-width: 56ch; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 32px; }
.reassure { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 12px; color: var(--ink-65); }
.pilot-note { font-size: 13px; color: var(--ink-60); }
.hero-img { max-width: 560px; margin: 0 auto; }
.hero-img img { width: 100%; height: auto; display: block; }

.btn-lg { width: 100%; padding: 16px 24px; font-size: 16px; }

/* — cards — */
.stack { display: grid; gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
/* Segments: 2 columns on phones, 3 from tablet up */
.grid-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 .card-title { font-size: 15px; overflow-wrap: anywhere; }
.grid-3 .card-body { font-size: 12px; }
@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .grid-3 .card-title { font-size: 17px; }
  .grid-3 .card-body { font-size: 13px; }
}
.card .icon { color: var(--color-accent); flex: none; }
.card .card-title { margin: 2px 0 0; }
.stack .card .card-title { margin-top: 4px; }

/* — how it works — */
.steps { display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.step-num {
  width: 44px; height: 44px;
  background: var(--color-accent); color: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 18px;
}
.step .card-title { margin: 0 0 4px; }
.step-body { font-size: 14px; color: var(--ink-78); margin: 0 0 12px; }
.shot { width: 100%; max-width: 220px; height: auto; display: block; border: 2px solid var(--color-text); }
.shot-wide { max-width: 280px; }

/* — pilot band (full-bleed within the column) — */
.pilot {
  margin: 0 calc(-1 * var(--gutter));
  background: var(--color-accent); color: var(--color-bg);
  padding: 36px var(--gutter);
}
.pilot h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(24px, 4vw, 32px); margin: 0 0 16px; color: var(--color-bg);
}
.pilot ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.pilot li { display: flex; gap: 8px; font-size: 15px; }
.pilot .btn-ghost {
  border: 1.5px solid var(--color-bg); color: var(--color-bg);
  width: 100%; padding: 14px 24px; font-size: 15px;
}
.pilot .btn-ghost:hover { background: color-mix(in srgb, var(--color-bg) 14%, transparent); }
.pilot .btn-ghost:active { background: color-mix(in srgb, var(--color-bg) 24%, transparent); }
.pilot .btn-ghost:focus-visible { outline-color: var(--color-bg); }

/* — lead form — */
.lead-form { padding: 40px 0; }
.lead-form .kicker { margin-bottom: 4px; }
.form-micro { font-size: 14px; color: var(--ink-70); margin: 0 0 20px; }
.form { display: grid; gap: 14px; }
.form .input { min-height: 44px; font-size: 16px; } /* 16px avoids iOS zoom-on-focus */
.form .btn-lg { margin-top: 6px; }
.form-error { font-size: 13px; color: var(--color-accent-700); margin: 0; }
.alt-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.alt-contact .btn { width: 100%; padding: 14px; text-decoration: none; color: var(--color-text); }
.thanks {
  border: 2px solid var(--color-text); padding: 32px 20px; text-align: center;
}
.thanks svg { color: var(--color-accent); margin: 0 auto 12px; display: block; }
.thanks .card-title { font-size: 20px; margin: 0; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam honeypot */

/* — FAQ — */
.faq { display: grid; }
.faq details { padding: 14px 0; border-bottom: 1px solid var(--color-divider); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 15px; }
.faq p { font-size: 14px; color: var(--ink-78); margin: 10px 0 0; }

/* — footer — */
.footer {
  border-top: 2px solid var(--color-divider);
  padding: 32px var(--gutter) calc(32px + var(--cta-pad));
}
.footer-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.footer img { width: 36px; height: 36px; object-fit: contain; }
.footer .wordmark { font-size: 16px; }
.footer-meta { font-size: 13px; color: var(--ink-70); display: flex; flex-direction: column; gap: 4px; }
.footer-meta a { color: inherit; text-decoration: none; }

/* — sticky mobile CTA — */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--color-bg);
  border-top: 2px solid var(--color-divider);
  padding: 10px clamp(16px, 5vw, 24px);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg);
}
.sticky-cta .btn { width: 100%; padding: 14px; font-size: 15px; }
