@font-face { font-family: "Asap Condensed"; font-weight: 600; font-display: swap; src: url("/assets/asap-600.627b0315776eeb8a.woff2") format("woff2"); }
@font-face { font-family: "Asap Condensed"; font-weight: 700; font-display: swap; src: url("/assets/asap-700.5876191aae1faa72.woff2") format("woff2"); }

:root {
  --ink: #1e2a44;
  --ink-soft: #4b5872;
  --bg: #e6efda;
  --bg-deep: #d6e4c6;
  --card: rgba(255, 255, 255, 0.86);
  --line: #d3dec6;
  --green: #5cb238;
  --green-dark: #3f8a24;
  --honey: #f0a21b;
  --rapeseed: #e9c62a;
  --phacelia: #7867d6;
  --meadow: #64ad45;
  --heather: #b25a98;
  --shadow: 0 18px 40px -18px rgba(30, 42, 68, 0.45);
  --radius-l: 32px;
  --radius-s: 16px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 1.1875rem/1.5 "Asap Condensed", "Arial Narrow", system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3 { font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* top bar */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.5rem; background: var(--card); backdrop-filter: blur(10px); padding: 5px 18px 5px 5px; border-radius: 999px; box-shadow: var(--shadow); }
.brand img { width: 40px; height: 40px; border-radius: 999px; }
.lang { display: flex; gap: 6px; background: var(--card); backdrop-filter: blur(10px); padding: 5px; border-radius: 999px; box-shadow: var(--shadow); }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.language-suggestion { position: absolute; top: 90px; right: var(--gutter); display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: 1rem; }
.language-suggestion a { padding-block: 10px; }
.language-suggestion button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 1.5rem; cursor: pointer; }

/* hero: the farm itself */
.hero { position: relative; overflow: hidden; background: #8fbf5a; }
.hero__farm { width: 100%; aspect-ratio: 1692 / 1003; object-fit: cover; max-height: 88vh; min-height: 420px; }
.hero__card {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 5vw, 64px);
  width: min(560px, 100% - 2 * var(--gutter));
  background: var(--card); backdrop-filter: blur(14px);
  border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow);
}
.hero__card h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero__card .tagline { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; margin-top: 10px; }
.hero__card .lead { color: var(--ink-soft); margin-top: 14px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px;
  background: var(--green); color: #fff; border: 0; border-radius: var(--radius-s);
  font: 700 1.2rem/1 inherit; font-family: inherit; text-decoration: none;
  box-shadow: inset 0 -4px 0 var(--green-dark);
}
.button[aria-disabled="true"] { background: var(--ink); box-shadow: inset 0 -4px 0 #0e1628; cursor: default; }
.button svg { width: 24px; height: 24px; flex-shrink: 0; }
.note { color: var(--ink-soft); font-size: 1rem; }

@media (max-width: 760px) {
  .hero__farm { min-height: 0; aspect-ratio: 4 / 3; object-position: 40% 50%; }
  .hero__card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px var(--gutter) 0; }
  .hero { background: none; overflow: visible; }
}

/* sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.head { max-width: 640px; }
.head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.25rem; }

/* demo: the one interactive thing */
.demo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 40px; }
.board { position: relative; width: 100%; aspect-ratio: 4.3 / 3.014570907; user-select: none; -webkit-user-select: none; }
.board__ground { position: absolute; inset: 0; }
.board .tile, .board .node, .board .hive, .board .range { position: absolute; }
.board .tile { pointer-events: none; transition: filter 0.35s ease; }
.board .tile.is-idle { filter: saturate(0.3) brightness(1.1) contrast(0.85); }
.board .range { border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.16); pointer-events: none; transition: left 0.25s ease, top 0.25s ease; }
.board .node {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.board .node::before { content: ""; position: absolute; width: 34px; height: 22px; left: 5px; top: 11px; border-radius: 50%; background: rgba(230, 196, 130, 0.92); border: 2px solid rgba(160, 120, 60, 0.55); }
.board .node:hover::before, .board .node:focus-visible::before { background: #fff1c9; }
.board .hive { pointer-events: auto; touch-action: none; cursor: grab; transition: left 0.25s ease, top 0.25s ease; filter: drop-shadow(0 8px 6px rgba(40, 30, 10, 0.35)); }
.board.is-dragging .hive, .board.is-dragging .range { transition: none; }
.board.is-dragging .hive { cursor: grabbing; }

.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.phase {
  min-height: 64px; padding: 8px 10px; text-align: left;
  border: 2px solid var(--line); border-radius: var(--radius-s); background: rgba(255, 255, 255, 0.6);
  font: inherit; color: var(--ink); cursor: pointer; line-height: 1.15;
}
.phase b { display: block; font-size: 1.35rem; }
.phase span { font-size: 0.95rem; color: var(--ink-soft); }
.phase[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.phase[aria-pressed="true"] span { color: #c9d3e6; }

.honey { background: var(--card); border-radius: var(--radius-l); padding: 26px 28px; box-shadow: var(--shadow); }
.honey__top { display: flex; align-items: center; gap: 18px; }
.honey__jar { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; }
.honey__name { font-size: 1.9rem; min-height: 2.1em; }
.honey__stars { color: var(--honey); font-size: 1.5rem; letter-spacing: 2px; min-height: 1.6rem; }
.honey__stars .off { color: #cfd6c4; }
.mix { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: #e3e8db; margin-top: 18px; }
.mix i { display: block; height: 100%; transition: width 0.3s ease; }
.legend { list-style: none; padding: 0; margin: 12px 0 0; min-height: 3.25em; display: flex; flex-wrap: wrap; align-content: start; gap: 4px 18px; font-size: 1.05rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.honey__why { margin-top: 16px; min-height: 6em; color: var(--ink-soft); font-size: 1.05rem; }
.hint { margin-top: 14px; color: var(--ink-soft); font-size: 1rem; }
.demo-rule { max-width: 76ch; margin-top: 18px; color: var(--ink-soft); }

@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .phase { padding: 6px 7px; } .phase b { font-size: 1.1rem; } .phase span { font-size: 0.82rem; } }

/* features: real screens */
.features { background: var(--bg-deep); }
.features h2 { margin-bottom: 48px; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.feature { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 520px); gap: clamp(28px, 6vw, 88px); align-items: center; justify-content: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
.feature:nth-child(even) { grid-template-columns: minmax(0, 520px) minmax(0, 300px); }
.feature:nth-child(even) .phone { order: 2; }
.phone { border-radius: 34px; border: 8px solid var(--ink); background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.phone img { border-radius: 26px; }
.feature h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.feature p { margin-top: 14px; color: var(--ink-soft); font-size: 1.25rem; max-width: 42ch; }
@media (max-width: 760px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .feature:nth-child(even) .phone { order: 0; }
  .phone { width: min(280px, 78vw); }
}

/* closing */
.faq h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.faq__list { max-width: 780px; margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--ink-soft); padding-block: 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.4rem; line-height: 1.3; min-height: 44px; }
.faq summary:focus-visible { outline: 3px solid var(--honey); outline-offset: 4px; }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 65ch; }
.closing { text-align: center; }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.closing p { color: var(--ink-soft); margin: 14px auto 0; max-width: 52ch; font-size: 1.25rem; }
.closing .cta { justify-content: center; }
.closing .developer { font-size: 1rem; margin-top: 32px; }

footer { padding-block: 36px 48px; color: var(--ink-soft); font-size: 1rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
