@font-face {
  font-family: "Overpass";
  src: url("assets/Overpass.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #25705f;
  --green-dark: #17493e;
  --green-tint: #e3f0ec;
  --plate: #ffffff;
  --ink: #12332b;
  --ink-soft: #4a5f59;
  --paper: #f1f4ef;
  --grey: #b8bfbc;
  --high: #1fa971;
  --medium: #f2c230;
  --low: #f08a24;
  --free: #3d8bd9;
  --jam: #9e2a2b;
  --radius: 28px;
  --border: 6px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Overpass", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--green); text-underline-offset: 3px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---- Top bar ----------------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }

.lang { font-weight: 700; font-size: 16px; }

/* ---- Hero: the page opens on a road sign ------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
  padding: 24px 0 64px;
}

.sign {
  background: var(--plate);
  border: var(--border) solid var(--green);
  border-radius: 44px;
  padding: 36px 40px 40px;
  box-shadow: 0 14px 40px rgba(18, 51, 43, 0.14);
}

.sign-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sign-p {
  font-weight: 900;
  font-size: clamp(96px, 16vw, 150px);
  line-height: 0.82;
  color: var(--green);
}

.sign-arrow { width: clamp(56px, 9vw, 84px); margin-top: 8px; }

h1 {
  margin: 22px 0 12px;
  font-weight: 900;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.lead { margin: 0 0 26px; font-size: 20px; color: var(--ink-soft); max-width: 34em; }

.download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 20px;
  background: var(--green);
  color: var(--plate);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.download:hover { background: var(--green-dark); }

.download small { display: block; font-weight: 600; font-size: 14px; opacity: 0.85; }

.download-alt { margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); }

.soon {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 20px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 800;
}

.phone {
  justify-self: center;
  width: min(300px, 100%);
  border-radius: 36px;
  border: 10px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(18, 51, 43, 0.22);
  background: var(--ink);
}

/* ---- Sections ---------------------------------------------------------- */

section { padding: 56px 0; }

section + section { border-top: 2px solid #dde3dc; }

h2 {
  margin: 0 0 18px;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
}

.nav { display: flex; align-items: center; gap: 22px; }

.nav a { font-weight: 700; font-size: 16px; }

/* ---- Partners: the reverse plate, right under the announcement -------- */

.partners {
  margin: 0 0 8px;
  padding: 40px 40px 36px;
  background: var(--green);
  color: var(--plate);
  border-radius: 44px;
  border: var(--border) solid var(--plate);
  box-shadow: 0 0 0 3px var(--green), 0 14px 40px rgba(18, 51, 43, 0.18);
}

.partners + section { border-top: 0; }

.partners h2 { max-width: 20em; }

.partners-lead { margin: 0 0 28px; font-size: 20px; max-width: 36em; opacity: 0.92; }

.offers {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offers li { padding: 4px 26px 0; border-left: 2px solid rgba(255, 255, 255, 0.35); }

.offers li:first-child { padding-left: 0; border-left: 0; }

.offers h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }

.offers p { margin: 0; font-size: 17px; opacity: 0.9; }

.partners-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.partners-cta p { margin: 0; font-size: 16px; max-width: 30em; opacity: 0.9; }

.cta {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 20px;
  background: var(--plate);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 19px;
  text-decoration: none;
}

.cta:hover { background: var(--green-tint); }

.partners a:focus-visible { outline-color: var(--plate); }

/* ---- What Fiara does: six short lines, each with its sign ------------- */

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 32px;
}

.features svg {
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 4px solid var(--green);
  border-radius: 14px;
  background: var(--plate);
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h3 { margin: 12px 0 4px; font-size: 20px; font-weight: 800; }

.features p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(18, 51, 43, 0.14);
}

.privacy p { margin: 0; max-width: 40em; font-size: 19px; }

.releases { display: grid; gap: 22px; max-width: 46em; }

.release h3 { margin: 0; font-size: 21px; font-weight: 800; }

.release time { color: var(--ink-soft); font-size: 15px; }

.release p { margin: 6px 0 0; }

.all { margin: 22px 0 0; font-weight: 700; }

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 14px 32px;
  max-width: 54em;
}

.project-list a { display: block; font-weight: 800; font-size: 18px; }

.project-list span { display: block; color: var(--ink-soft); font-size: 16px; }

.checksum { font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }

footer { padding: 40px 0 48px; border-top: 2px solid #dde3dc; font-size: 16px; color: var(--ink-soft); }

footer p { margin: 0 0 12px; max-width: 40em; }

.contact { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

.contact a { font-weight: 700; }

.legal { font-size: 14px; }

/* ---- Small screens ----------------------------------------------------- */

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero .phone { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; gap: 20px; max-width: 520px; }
  .sign { padding: 26px 24px 30px; border-radius: 34px; }
  .partners { padding: 30px 22px 28px; border-radius: 34px; }
  .offers { grid-template-columns: 1fr; gap: 20px; }
  .offers li { padding: 0; border-left: 0; }
}

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; gap: 26px; }
  .nav { gap: 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .download { transition: background 0.15s; }
}
