/* Mirembajtja.com — main stylesheet */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-3);
}
@media (min-width: 900px) {
  .wrap { padding-inline: var(--space-5); }
}

:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-2);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.18; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; font-family: var(--font-body); }

p { margin: 0 0 var(--space-2); color: var(--ink-soft); }
.lede { font-size: 1.08rem; line-height: 1.65; }

.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: var(--on-forest); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--navy); background: var(--mist); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Visuals: icons, skyline, illustrations ---------- */
.icon-24 { width: 24px; height: 24px; flex-shrink: 0; }
.icon-32 { width: 32px; height: 32px; flex-shrink: 0; }
.check-group-icon { color: #99342a; margin-bottom: var(--space-2); }
.check-group:nth-child(2) .check-group-icon { color: #b07a16; }
.check-group:nth-child(3) .check-group-icon { color: #1f6b4e; }
.check-group:nth-child(4) .check-group-icon { color: var(--navy); }

.trust-item .mark-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--verified);
}
.trust-item.in-progress .mark-icon { color: var(--gold); }

.step-icon { display: none; }

/* ---------- Photography ---------- */
.hero-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--sage);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.problem-layout { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .problem-layout { grid-template-columns: 1fr 260px; align-items: start; } }
.problem-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--rule);
}

.banner-photo { margin: 0; line-height: 0; }
.banner-photo img { width: 100%; height: 280px; object-fit: cover; display: block; }
@media (min-width: 900px) { .banner-photo img { height: 380px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.prelaunch-bar {
  background: var(--navy);
  color: var(--on-forest);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
  padding: 0.55em var(--space-2);
  letter-spacing: 0.01em;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand-mark { width: 22px; height: 30px; display: block; flex-shrink: 0; }
.brand-dot { font-weight: 500; color: var(--sage); }
.nav-links {
  display: none;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-right { display: flex; align-items: center; gap: var(--space-3); }
.lang-switch {
  display: flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.lang-switch button {
  background: transparent;
  border: none;
  padding: 0.4em 0.65em;
  cursor: pointer;
  color: var(--ink-soft);
}
.lang-switch button[aria-current="true"] { background: var(--navy); color: var(--on-forest); }
.nav-cta { display: none; }
@media (min-width: 700px) { .nav-cta { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  padding-block: var(--space-6) var(--space-5);
  position: relative;
  background: var(--navy);
  color: var(--on-forest);
}
.hero h1 { color: var(--on-forest); }
.hero h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  background: var(--sage);
  margin-top: 1.25rem;
}
.hero .lede { color: var(--on-forest-muted); font-size: 1.12rem; max-width: 38rem; }
.hero .eyebrow {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--sage);
  color: #cfe0d8;
  padding: 0.4em 0.85em;
  margin-bottom: var(--space-3);
}
.hero .btn-primary { background: var(--on-forest); color: var(--navy); border-color: var(--on-forest); }
.hero .btn-primary:hover { background: #ffffff; }
.hero .btn-ghost { color: var(--on-forest); border-color: var(--sage); background: transparent; }
.hero .btn-ghost:hover { border-color: var(--on-forest); background: transparent; }
.hero-grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-copy h1 { margin-bottom: var(--space-3); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-left: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.hero .trust-points { border-top-color: var(--sage); color: #afc8bd; }
.trust-points li::before { content: "— "; color: var(--sage-soft); }

/* Stamp motif */
.stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cfe0d8;
  background: var(--navy);
  border: 1px solid var(--sage);
  padding: 0.45em 0.75em;
  position: relative;
  flex-shrink: 0;
}
.stamp-text { font-size: 0.62rem; letter-spacing: 0.12em; line-height: 1.45; }
.stamp-text strong { display: block; font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 500; }

.hero-photo-stamp {
  position: absolute !important;
  right: 12px;
  bottom: 12px;
  background: var(--navy);
  color: #cfe0d8;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 0.6em;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.92rem;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-label { color: var(--ink-soft); }
.ledger-value { font-family: var(--font-mono); color: var(--navy); }
.status-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25em 0.55em;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  white-space: nowrap;
}
.status-ok { background: var(--verified-soft); color: var(--verified); }
.status-watch { background: var(--gold-soft); color: var(--gold); }
.status-urg { background: var(--rust-soft); color: var(--rust); }

/* ---------- Section shell ---------- */
section { padding-block: var(--space-6); }
section[id] { scroll-margin-top: 8.5rem; }
.section-head {
  max-width: none;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1.5px solid var(--navy);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.section-head .eyebrow { margin-bottom: 0; }
.section-alt { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 760px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-item {
  border-top: 1px solid #dde3db;
  padding-top: var(--space-3);
  padding-bottom: var(--space-2);
}
.problem-item:nth-child(1),
.problem-item:nth-child(2) { border-top: none; padding-top: 0; }
@media (max-width: 759px) {
  .problem-item:nth-child(2) { border-top: 1px solid #dde3db; padding-top: var(--space-3); }
}
.problem-item h3 { margin-bottom: 0.3em; }
.alternative-note {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--paper);
  border-left: 2px solid var(--navy);
  color: var(--ink-soft);
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); } }
.step {
  counter-increment: step;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
@media (min-width: 760px) { .step { border-top: none; border-left: 1px solid var(--rule); padding: 0 var(--space-3); } }
.step:first-child { border: none; padding-inline-start: 0; }
.step::before {
  content: counter(step);
  width: 2.15rem;
  height: 2.15rem;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85em;
}
.step h3 { margin-bottom: 0.3em; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Check groups ---------- */
.check-groups { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .check-groups { grid-template-columns: repeat(2, 1fr); } }
.check-group {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--space-4);
}
.check-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.check-group-head h3 { font-family: var(--font-body); font-size: 1rem; letter-spacing: -0.005em; color: var(--ink); font-weight: 600; text-transform: none; }
.risk-tag { font-family: var(--font-mono); font-size: 0.68rem; padding: 0.25em 0.55em; letter-spacing: 0.06em; text-transform: uppercase; }
.risk-high { background: var(--rust-soft); color: var(--rust); }
.risk-mid { background: var(--gold-soft); color: var(--gold); }
.risk-routine { background: var(--verified-soft); color: var(--verified); }
.risk-seasonal { background: #e7eeea; color: var(--navy); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  padding-block: 0.55em;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink);
}
.check-list li:last-child { border-bottom: none; }

/* ---------- Screenshots / mockups ---------- */
.mock-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); margin-bottom: var(--space-4); }
.mock-strip {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-3);
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.mock-strip::-webkit-scrollbar { height: 6px; }
.mock-strip::-webkit-scrollbar-thumb { background: var(--rule-strong); border-radius: 3px; }
.device-frame {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  padding: 0;
}
.device-screen {
  background: transparent;
  padding: var(--space-3);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.device-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  text-align: left;
  padding: 0 var(--space-3) var(--space-3);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--rule);
  margin: 0;
  padding-top: var(--space-2);
}
.device-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--rule);
  padding: 0.2em 0.55em;
  align-self: flex-start;
  margin-bottom: var(--space-2);
}
.photo-anchor {
  background: repeating-linear-gradient(135deg, var(--rule) 0 6px, transparent 6px 12px);
  border: 1px dashed var(--rule-strong);
  border-radius: 6px;
  height: 84px;
  display: flex;
  align-items: flex-end;
  padding: 6px;
  margin-bottom: 8px;
}
.photo-anchor span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  background: var(--navy);
  color: var(--on-forest);
  padding: 2px 5px;
}
.anchor-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.offline-flag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: var(--space-2);
}
.offline-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); display: inline-block; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: var(--space-3); }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.is-recommended { border-color: var(--navy); border-width: 1.5px; }
.price-recommend-tag {
  position: static;
  display: inline-block;
  align-self: flex-start;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.price-name { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 0.55em; }
.price-card.is-recommended .price-name { color: var(--navy); }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount sup { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.price-features { list-style: none; margin: var(--space-3) 0; padding: 0; flex: 1; }
.price-features li {
  font-size: 0.9rem;
  padding-block: 0.5em;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}
.price-scope-note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); margin-top: var(--space-4); }
.addons {
  margin-top: var(--space-5);
  display: grid;
  gap: 0.4em;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.addon-chip {
  font-size: 0.85rem;
  padding: 0.6em 0.9em;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; gap: var(--space-2); align-items: flex-start; }
.trust-item .mark { font-family: var(--font-mono); color: var(--verified); font-size: 1.1rem; margin-top: 0.1em; }
.trust-item.in-progress .mark { color: var(--gold); }
.trust-item h3 { margin-bottom: 0.2em; }
.trust-item p { margin: 0; font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer;
  padding: var(--space-3) 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-family: var(--font-body);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--navy);
  font-size: 1.2rem;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: var(--space-3); max-width: 620px; }

/* ---------- Form ---------- */
.form-section-grid { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .form-section-grid { grid-template-columns: 1.3fr 0.7fr; } }
.qform { display: grid; gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  font: inherit;
  padding: 0.75em 0.9em;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--navy); }
.field.has-error input, .field.has-error select { border-color: var(--rust); }
.error-msg { font-size: 0.78rem; color: var(--rust); display: none; }
.field.has-error .error-msg { display: block; }
.field-row { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.5em; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip span {
  display: inline-block;
  padding: 0.5em 0.9em;
  border: 1px solid var(--rule);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
  background: var(--paper);
}
.radio-chip input:checked + span { background: var(--navy); color: var(--on-forest); border-color: var(--navy); }
.radio-chip input:focus-visible + span { outline: 2.5px solid var(--navy); outline-offset: 2px; }
.consent-row { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.consent-row input { margin-top: 0.3em; }
.form-status { font-size: 0.88rem; margin-top: var(--space-2); }
.form-status[data-state="success"] { color: var(--verified); }
.form-status[data-state="error"] { color: var(--rust); }
.direct-contact {
  background: var(--mist);
  border: 1px solid var(--rule);
  padding: var(--space-4);
  height: fit-content;
}
.direct-contact h3 { margin-bottom: 0.5em; }
.direct-contact a { color: var(--navy); font-weight: 600; text-decoration: none; }
.timing-note { margin-top: var(--space-3); font-family: var(--font-mono); font-size: 0.78rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-forest);
  padding-block: var(--space-5) var(--space-4);
  margin-top: 0;
}
.site-footer p { color: #cfe0d8; }
.site-footer .brand { color: var(--on-forest); }
.site-footer .brand-dot { color: var(--sage-soft); }
.site-footer a { color: var(--on-forest); opacity: 0.85; text-decoration: none; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-col .brand { margin-bottom: var(--space-2); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: #afc8bd; opacity: 1; margin-bottom: var(--space-2); font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5em; font-size: 0.88rem; }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--sage);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: var(--space-2) var(--space-3);
  z-index: 50;
  display: flex;
}
@media (min-width: 700px) { .mobile-cta { display: none; } }
body { padding-bottom: 70px; }
@media (min-width: 700px) { body { padding-bottom: 0; } }

/* fade-up on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
