/* Fonts: self-hosted Roboto (no Google requests) */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700.woff2") format("woff2"); }

/* Design tokens */
:root {
  --accent: #4fbfa8;
  --accent-hover: #3da892;
  --accent-border: #41b39c;
  --link-hover: #348e7b;
  --topbar: #555555;
  --page: #f0f0f0;
  --card: #ffffff;
  --card-border: #e6e6e6;
  --card-header: #f7f7f7;
  --text: #333333;
  --muted: #777777;
  --footer: #e0e0e0;
  --copyright-bg: #333333;
  --copyright-text: #cccccc;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--page);
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0 0 16px; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
#top { background: var(--topbar); color: #fff; font-size: 13px; padding: 8px 0; }
#top .container { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
#top a { color: #fff; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px; padding: 3px 9px; cursor: pointer;
}
.lang-switch button:hover { border-color: #fff; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent-border); }

/* Navbar */
.navbar { background: var(--card); border-bottom: 1px solid var(--card-border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand svg { flex: none; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-name span { color: var(--accent); }
.badge {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 3px; padding: 5px 10px; white-space: nowrap;
}

/* Hero — staff lines background */
.hero {
  color: #fff; text-align: center; padding: 88px 0 96px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120'%3E%3Cg stroke='%23ffffff' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M0 30h400M0 42h400M0 54h400M0 66h400M0 78h400'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(135deg, #4fbfa8 0%, #3da892 55%, #318675 100%);
}
.hero h1 { font-size: 44px; max-width: 820px; margin: 0 auto 18px; text-shadow: 2px 2px 3px rgba(0,0,0,.25); }
.hero .lead { font-size: 19px; font-weight: 300; max-width: 640px; margin: 0 auto 32px; }
.hero-divider { width: 320px; max-width: 100%; margin: 0 auto 28px; border: 0; border-top: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(0,0,0,.12); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn-primary { color: #fff; background: var(--accent); border-color: var(--accent-border); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: var(--accent-hover); border-color: #318675; }
.btn-light { color: var(--link-hover); background: #fff; border-color: #fff; }
.btn-light:hover, .btn-light:focus { color: var(--link-hover); background: #f7f7f7; }
.btn-ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover, .btn-ghost:focus { color: #fff; background: rgba(255,255,255,.12); }

/* Boxes */
main { padding: 40px 0 20px; }
.box {
  background: var(--card); border: 1px solid var(--card-border); padding: 24px;
  box-shadow: 0 1px 5px rgba(0,0,0,.1); margin: 0 0 30px;
}
.box h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .06em; }
.box h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.features .box { margin: 0; text-align: center; }
.icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); border: 2px solid var(--accent);
}
.features p { color: #555; margin: 0; }


.box-cta { text-align: center; }
.box-cta .box-header { background: var(--card-header); margin: -24px -24px 24px; padding: 24px; border-bottom: 1px solid #eee; }
.box-cta .box-header h2 { margin: 0; }
.box-cta p { max-width: 640px; margin: 0 auto 20px; color: #555; }
.box-cta .small { font-size: 14px; color: var(--muted); margin-top: 24px; margin-bottom: 0; }

/* Footer */
#footer { background: var(--footer); padding: 24px 0; font-size: 14px; }
#footer .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
#copyright { background: var(--copyright-bg); color: var(--copyright-text); padding: 18px 0; font-size: 12px; }
#copyright p { margin: 0; }

@media (max-width: 991px) {
  .features { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 767px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 17px; }
  .brand-name { font-size: 16px; letter-spacing: .1em; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand svg { width: 28px; height: 28px; }
  .brand-name { font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
  .badge { font-size: 10px; letter-spacing: .06em; padding: 4px 7px; }
}
@media (max-width: 359px) {
  .badge { display: none; }
}

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 26px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.legal h2 { font-size: 17px; text-transform: none; letter-spacing: 0; margin: 28px 0 10px; }
.legal p, .legal li { color: #444; }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; margin: 0 0 16px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-top: 28px; }
[data-lang-block][hidden] { display: none; }

/* Notify form */
.notify-form { max-width: 520px; margin: 0 auto; text-align: left; }
.notify-form label.field { display: block; font-weight: 500; margin-bottom: 6px; }
.notify-form input[type="email"] {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; color: var(--text);
  border: 1px solid #ccc; border-radius: 3px; background: #fff;
}
.notify-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.notify-form .consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; font-size: 14px; color: #555; }
.notify-form .consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.notify-form .btn { width: 100%; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.result { max-width: 640px; margin: 0 auto; text-align: center; }
.result p { color: #555; }
