/* Light theme is the default; <html data-theme="dark"> switches to dark. */
:root {
  --bg: #f3f6f7;
  --panel: #ffffff;
  --text: #10212a;
  --muted: #4a5e67;
  --green: #007a35;   /* green used as text: >= 4.5:1 on light backgrounds */
  --brand: #00df56;   /* bright brand green for fills and accents */
  --line: #d6e0e4;
  --header-bg: rgba(255, 255, 255, .92);
  --hero-overlay: linear-gradient(90deg, #f3f6f7 0%, rgba(243,246,247,.94) 45%, rgba(243,246,247,.35) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(243,246,247,.82), #f3f6f7 85%);
  --hero-text: #33474f;
  --shadow: 0 1px 3px rgba(16, 33, 42, .06);
}
:root[data-theme="dark"] {
  --bg: #081216;
  --panel: #101f25;
  --text: #edf3f5;
  --muted: #acbec6;
  --green: #00df56;
  --line: #2a4149;
  --header-bg: rgba(8, 18, 22, .92);
  --hero-overlay: linear-gradient(90deg, #081216 0%, rgba(8,18,22,.88) 42%, rgba(8,18,22,.25) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(8,18,22,.7), #081216 85%);
  --hero-text: #c9d6db;
  --shadow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
p { color: var(--muted); }
.lead { max-width: 720px; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font-size: 24px; letter-spacing: -.01em; }
.brand small { display: block; font-size: 9px; letter-spacing: .14em; color: var(--muted); }
nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; border: 1px solid var(--green); }
.btn.solid { background: var(--brand); border-color: var(--brand); color: #04110a; }
.btn:hover { filter: brightness(1.12); }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.lang a { text-decoration: none; color: var(--muted); padding: 4px 7px; border-radius: 6px; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { color: var(--green); border: 1px solid var(--line); }
.theme { flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--text); cursor: pointer; }
.theme:hover { border-color: var(--green); }
.theme .sun, [data-theme="dark"] .theme .moon { display: none; }
[data-theme="dark"] .theme .sun { display: block; }

/* hero */
.hero { position: relative; min-height: min(88vh, 720px); display: flex; align-items: center; border-bottom: 3px solid var(--brand);
  background: var(--hero-overlay), url(img/hero.jpg) center right / cover no-repeat; }
.hero .wrap { padding-top: 60px; padding-bottom: 60px; width: 100%; }
.hero h1 { font-size: clamp(38px, 6.5vw, 72px); font-weight: 800; }
.hero h1 span { color: var(--green); }
.hero p { max-width: 600px; font-size: 19px; margin: 20px 0 30px; color: var(--hero-text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.controls { border-bottom: 1px solid var(--line); }
.controls .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 20px; padding-bottom: 20px; font-weight: 700; letter-spacing: .1em; color: var(--muted); font-size: 15px; }
.controls .wrap span:first-child { color: var(--green); }

section { padding: 84px 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 36px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.card .num { color: var(--green); font-weight: 700; font-size: 14px; }
.card h3 { font-size: 20px; margin: 10px 0 10px; }
.card p { margin: 0; font-size: 16px; }

/* panel sections */
.why { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why .card { background: var(--bg); }
.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: 12px; border: 1px solid var(--line); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% center; }
.points { list-style: none; padding: 0; margin: 24px 0 0; }
.points li { padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.points b { color: var(--text); }

/* apps */
.app { display: flex; gap: 16px; align-items: flex-start; }
.app img { width: 64px; height: 64px; flex: none; }
.app small { display: block; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.app h3 { margin-top: 2px; }

/* process terms */
.terms { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 18px; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; box-shadow: var(--shadow); }
.terms b { color: var(--text); }
.terms p { margin: 4px 0 0; font-size: 15px; }

/* experience */
.stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; }
.stat { flex: 1 1 200px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 52px; line-height: 1; color: var(--green); }
.stat span { color: var(--muted); }

/* faq */
.faq { max-width: 860px; margin-top: 28px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -4px; color: var(--green); font-size: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; }

/* contact */
.contact { border-top: 3px solid var(--brand); background: linear-gradient(180deg, var(--panel), var(--bg)); }
.contact .split { align-items: start; }
.contact address { font-style: normal; color: var(--muted); margin-top: 28px; font-size: 15px; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.form h3 { font-size: 20px; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form textarea { resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.form .consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--green); }
.form button { font: inherit; font-weight: 700; cursor: pointer; }
.sent { display: none; margin: 0; padding: 12px 14px; border: 1px solid var(--green); border-radius: 8px; color: var(--text); }
.sent:target { display: block; }

footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; letter-spacing: .08em; }
footer a { color: var(--muted); }
.reveal { font: inherit; letter-spacing: inherit; color: var(--green); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* privacy policy pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; font-size: 16px; line-height: 1.7; }
.doc h1 { font-size: 32px; line-height: 1.2; margin: 24px 0 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc li { color: var(--muted); }
.doc a { color: var(--green); }
.doc ol ol { list-style: lower-alpha; }
.doc .back { font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  nav { display: none; }
  .lang { margin-left: auto; }
  header .wrap { gap: 14px; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { background: var(--hero-overlay-mobile), url(img/hero.jpg) 70% center / cover no-repeat; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  .cta .btn { width: 100%; text-align: center; }
}
