/* kurmesti.lt — shared styles for the landing + legal/support pages. */

:root {
  --green: #2e7d4f;
  --green-dark: #1f5d3a;
  --green-darker: #143f28;
  --green-soft: #e8f1ea;
  --ink: #15241b;
  --muted: #5d6b62;
  --line: #e2e8e3;
  --bg: #ffffff;
  --bg-soft: #f2f5f1;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(20, 63, 40, 0.35);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green-dark); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* App Store badge */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 11px 20px 11px 18px;
  text-decoration: none;
  line-height: 1.1;
}
.appstore:hover { background: #1a1a1a; }
.appstore svg { width: 28px; height: 28px; flex: none; }
.appstore .t1 { font-size: 11px; opacity: 0.85; display: block; }
.appstore .t2 { font-size: 19px; font-weight: 600; letter-spacing: 0.2px; }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #2f8a56 0%, transparent 60%),
    linear-gradient(160deg, var(--green-dark) 0%, var(--green-darker) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #eafaef;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: 19px;
  color: #d7ecdd;
  margin: 0 0 30px;
  max-width: 30ch;
}
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero .trust {
  margin-top: 22px;
  font-size: 14px;
  color: #b9d7c2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img {
  width: 290px;
  border-radius: 26px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  transform: rotate(1.5deg);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 54px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .hero .trust { justify-content: center; }
  .hero-visual { margin-top: 36px; }
  .hero-visual img { width: 240px; transform: none; }
}

/* ---- Sections ---- */
section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 10px 0 12px;
  letter-spacing: -0.4px;
}
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Steps with screenshots */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step { text-align: center; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.step .shot {
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 48px; max-width: 360px; margin: 0 auto; }
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Final CTA */
.cta {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-darker) 100%);
  color: #fff;
  text-align: center;
}
.cta h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 14px; letter-spacing: -0.4px; }
.cta p { color: #d7ecdd; font-size: 18px; margin: 0 0 30px; }
.cta .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---- Footer ---- */
.site-footer {
  background: #0f2a1c;
  color: #cfe0d5;
  padding: 50px 0 40px;
  font-size: 15px;
}
.site-footer .cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand img { width: 30px; height: 30px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.site-footer a { color: #cfe0d5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: #8fae9c;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---- Legal / content pages ---- */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc .back { display: inline-block; margin-bottom: 18px; color: var(--green-dark); text-decoration: none; font-weight: 600; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; letter-spacing: -0.4px; }
.doc .updated { color: var(--muted); margin: 0 0 34px; font-size: 14px; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #2b3a31; font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .note {
  background: var(--green-soft);
  border: 1px solid #cfe6d6;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0;
  font-size: 15px;
}
.doc a { color: var(--green-dark); }
table.kv { border-collapse: collapse; width: 100%; margin: 14px 0; }
table.kv th, table.kv td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}
table.kv th { background: var(--bg-soft); width: 38%; }
.doc-wrap-scroll { overflow-x: auto; }
