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

:root {
  color-scheme: light;
  --green: #103b2b;
  --green-2: #18543d;
  --gold: #c7a44a;
  --cream: #f8f6ef;
  --ink: #1b2923;
  --muted: #627069;
  --line: #dfe5e1;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--green-2); }
a:hover { color: var(--green); }

.topbar {
  background: var(--green);
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}

.nav {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.links { display: flex; gap: 22px; }
.links a { color: #eef7f2; text-decoration: none; font-size: 14px; font-weight: 600; }
.links a:hover { color: var(--gold); }

main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.03em; }
h1 { margin: 0; color: var(--green); font-size: clamp(38px, 7vw, 66px); }
h2 { margin: 0 0 18px; color: var(--green); font-size: clamp(27px, 4vw, 38px); }
h3 { margin: 0 0 8px; color: var(--green); font-size: 18px; }

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: #44534c;
  font-size: clamp(18px, 2.4vw, 22px);
}

.contact-card {
  margin: 36px 0 56px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(16, 59, 43, 0.08);
}

.contact-card p { margin: 3px 0 0; color: var(--muted); }
.button {
  flex: 0 0 auto;
  padding: 12px 18px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: var(--green-2); color: var(--white); }

.section { padding: 52px 0; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item {
  padding: 24px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.item p { margin: 0; color: var(--muted); }

.steps { margin: 0; padding-left: 22px; }
.steps li { padding: 5px 0; }

.note {
  margin-top: 22px;
  padding: 18px 20px;
  background: #edf5f0;
  border-radius: 10px;
  color: #315143;
}

.marketing-hero {
  max-width: 760px;
  padding-bottom: 70px;
}

.marketing-copy h1 { max-width: 720px; }
.marketing-copy .lead { margin-bottom: 28px; }
.marketing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-secondary {
  padding: 11px 17px;
  color: var(--green);
  border: 1px solid #b8c8bf;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.button-secondary:hover { background: #edf5f0; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-list .item { min-height: 180px; }
.closing-card {
  padding: clamp(28px, 6vw, 54px);
  background: var(--green);
  color: var(--white);
  border-radius: 18px;
}
.closing-card h2 { color: var(--white); }
.closing-card p { color: #dbe8e1; }
.closing-card .button { background: var(--gold); color: #173427; }
.closing-card .button:hover { background: #d6b85f; }

footer {
  background: var(--green);
  color: #dbe8e1;
}
.footer-inner {
  width: min(900px, calc(100% - 40px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
footer a { color: var(--white); }

@media (max-width: 660px) {
  .nav { min-height: 70px; }
  .links { gap: 12px; }
  .links a { font-size: 13px; }
  main { padding-top: 52px; }
  .contact-card { align-items: stretch; flex-direction: column; }
  .button { text-align: center; }
  .grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list .item { min-height: auto; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 430px) {
  .links a:first-child { display: none; }
}

/* Bilingual support and getting-started tutorial */
.nav { flex-wrap: wrap; padding: 16px 0; gap: 16px; }
.links { flex-wrap: wrap; }
.language-switch { display: flex; gap: 4px; border: 1px solid #8da699; border-radius: 9px; padding: 3px; }
.language-switch a { color: white; padding: 6px 10px; text-decoration: none; font-size: 14px; border-radius: 6px; }
.language-switch [aria-current] { color: var(--green); background: white; font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.tutorial { margin-top: 40px; }
.tutorial video { width: 100%; aspect-ratio: 16/9; display: block; background: #103b2b; border-radius: 12px; }
.tutorial .downloads { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0 24px; }
.tutorial details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.tutorial summary { cursor: pointer; color: var(--green); font-weight: 700; }
.tutorial details p { margin-bottom: 8px; }
@media (max-width: 660px) { .nav { gap: 12px; } .links { order: 3; width: 100%; } .links a { font-size: 14px; } }
@media (max-width: 430px) { .links a:first-child { display: inline; } }

.tutorial-callout { margin: 24px 0 0; padding: 18px 20px; border-left: 4px solid var(--gold); background: white; border-radius: 10px; }
.tutorial-callout a { display: inline-block; margin-left: 8px; font-weight: 800; }
.guide-intro { margin-bottom: 28px; }
.guide-index { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 30px 0 48px; }
.guide-index a { padding: 16px 18px; background: white; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; font-weight: 700; text-decoration: none; }
.guide-index a:hover { background: #edf5f0; }
.guide { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.guide h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 10px; }
.guide p { max-width: 720px; }
.guide ol { padding-left: 24px; max-width: 760px; }
.guide li { padding: 5px 0 8px 5px; }
.guide .tip { background: #edf5f0; border-radius: 10px; padding: 16px 20px; color: #315143; }
.guide-video { margin: 20px 0 24px; }
.guide-video video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--green); border-radius: 12px; }
.guide-video a { display: inline-block; margin-top: 8px; }
@media (max-width: 660px) { .guide-index { grid-template-columns: 1fr; } .tutorial-callout a { margin-left: 0; } }

.release-screen-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:18px}.release-screen-grid figure{margin:0}.release-screen-grid img{width:100%;height:auto;border-radius:18px;border:1px solid #d8dfd9}.release-screen-grid figcaption{margin-top:8px;font-weight:600}.release-screen-grid a{display:block}
