/* Greenly site (tasks 64, 87): the app's greens, light and dark. Headings in Fraunces, a garden-journal serif; body in
   the phone's own sans so it opens fast. */
:root {
  --green: #2e7d4f;
  --green-deep: #2e7d4f;
  --forest: #1c4a30;
  --leaf: #d3f0dc;
  --leaf-ink: #cfe6be;
  --bg: #f1f8f2;
  --card: #ffffff;
  --ink: #1c2e22;
  --muted: #56695a;
  --line: #ddefe1;
  --danger: #9b2c1f;
  --radius: 24px;
  /* «Утро в теплице» (task 136): headings in Nunito, a rounded sans with Cyrillic, like the app. */
  --serif: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #9edcb4;
    --green-deep: #d3f0dc;
    --forest: #0f2413;
    --leaf: #2f5a3e;
    --leaf-ink: #cfe6be;
    --bg: #1b251e;
    --card: #26322a;
    --ink: #e3ece0;
    --muted: #a9b8a6;
    --line: #3a4a3f;
    --danger: #f0a494;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
::selection { background: var(--leaf); color: var(--green-deep); }
a { color: var(--green); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
main { overflow-x: clip; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

header.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px/1 var(--serif); color: var(--ink); text-decoration: none; }
.brand img, .brand svg { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.lang { display: flex; gap: 2px; flex-wrap: wrap; }
.lang a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--leaf); color: var(--green-deep); }

h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0 0 30px; max-width: 34em; }

.play {
  display: inline-flex; align-items: center; gap: 10px; background: var(--green-deep); color: #fff;
  padding: 15px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px;
  box-shadow: 0 10px 24px -12px rgba(46, 125, 79, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.play:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(46, 125, 79, 0.7); }
@media (prefers-color-scheme: dark) { .play { background: var(--leaf-ink); color: #102414; box-shadow: none; } }
.play svg { width: 22px; height: 22px; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.hint { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Phones drawn as a current Galaxy (owner's request): a thin even black bezel, a satin metal band around it, round
   corners and a small centred punch-hole camera — the real screen inside. */
.phone {
  position: relative; display: block; width: 100%; box-sizing: border-box; padding: 2.2%;
  border-radius: 12% / 6.5%; background: #0b0d0c;
  box-shadow:
    0 0 0 1.5px #9a9f9b, 0 0 0 3px #585d5a, inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 60px -28px rgba(20, 40, 22, 0.55), 0 8px 18px -10px rgba(20, 40, 22, 0.35);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 10% / 5.6%; background: var(--card); }
/* The punch-hole camera, centred near the top edge of the screen. */
.phone::after {
  content: ""; position: absolute; top: 3.6%; left: 50%; width: 4.2%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3a44 0 22%, #07090a 45%); box-shadow: 0 0 0 1px #151a1d;
}

/* Hero: words left, two phones leaning into each other right. */
.hero { display: grid; gap: 40px; align-items: center; padding-block: 24px 72px; }
.hero-phones { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 0.82; }
.hero-phones .phone { position: absolute; width: 60%; }
.hero-phones .back { right: 0; top: 0; transform: rotate(5deg); }
.hero-phones .front { left: 0; top: 9%; transform: rotate(-4deg); }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-block-start: 56px; }
}

/* A feature told as a page of a garden book: text and one screen. */
.feature-row { display: grid; gap: 40px; align-items: center; padding: 40px 16px 88px; }
.feature-row .solo { width: min(72%, 300px); margin: 0 auto; transform: rotate(2deg); }
.feature-text p { color: var(--muted); max-width: 36em; }
@media (min-width: 820px) { .feature-row { grid-template-columns: 1.2fr 0.8fr; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M4 12.5l5 5L20 6.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M4 12.5l5 5L20 6.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%273%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }

/* The camera: the deep green band, three real screens, five answers. */
.camera { background: var(--forest); color: #eef4ea; padding: 88px 0 96px; }
.camera h2 { color: #f3f5ef; }
.camera-lead { color: #bcd3ae; font-size: 19px; margin: 0 0 40px; max-width: 34em; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -4px; scrollbar-color: #4d7a4a transparent; }
.strip .phone { scroll-snap-align: start; }
.strip .phone:nth-child(2) { transform: translateY(28px); }
@media (min-width: 820px) { .strip { overflow: visible; max-width: 880px; } }
.modes { display: grid; gap: 26px 40px; margin: 56px 0 0; }
@media (min-width: 700px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.modes dt { display: flex; align-items: center; gap: 10px; font: 600 22px/1.2 var(--serif); color: #f3f5ef; margin-bottom: 6px; }
.modes dt svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #b9d9a2; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modes dd { margin: 0; color: #bcd3ae; max-width: 30em; }

/* Two short promises side by side. */
.pair { display: grid; gap: 40px; padding: 88px 16px; }
.pair p { color: var(--muted); max-width: 32em; }
@media (min-width: 820px) { .pair { grid-template-columns: 1fr 1fr; gap: 64px; } }

.closing { background: var(--leaf); padding: 72px 0; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing .grow { border-radius: 20px; margin-bottom: 18px; box-shadow: 0 12px 24px -12px rgba(20, 40, 22, 0.5); }
.closing h2 { color: var(--green-deep); margin-bottom: 26px; }
.play.light { background: var(--green-deep); }
@media (prefers-color-scheme: dark) { .play.light { background: var(--leaf-ink); } }
.disclaimer { color: var(--muted); font-size: 14px; margin: 26px 0 0; max-width: 40em; }

.invite { text-align: center; padding: 40px 0 64px; max-width: 560px; margin: 0 auto; }
.invite .sprout { width: 88px; height: 88px; margin: 0 auto 16px; display: block; }
.gift { display: inline-block; background: var(--leaf); color: var(--green-deep); border-radius: 999px; padding: 6px 14px; font-weight: 600; margin-bottom: 16px; }
.code { font: 700 28px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.12em; margin: 20px 0 6px; }

.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 8px 0 48px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 24px; margin-top: 32px; }
.doc h3 { font-size: 18px; margin-top: 24px; }
.doc p, .doc li { color: var(--ink); max-width: 70ch; }
.doc code { background: var(--bg); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }
.doc .scroll { margin: 16px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; white-space: normal; min-width: 9em; border-bottom: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); padding: 22px 16px 44px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Cabinet (task 64) */
.cabinet { padding: 8px 0 48px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.field {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); width: 100%; max-width: 420px;
}
.row .field { width: auto; flex: 1 1 140px; }
.stack .play { align-self: flex-start; border: 0; cursor: pointer; }
.link { background: none; border: 0; color: var(--green); font: inherit; cursor: pointer; padding: 12px 0; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--card); border-radius: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }

/* Questions: plain reading, one answer per block. */
.faq { padding: 8px 16px 88px; }
.faq h2 { margin-bottom: 28px; }
.qa { border-top: 1px solid var(--line); padding: 22px 0; display: grid; gap: 6px; }
@media (min-width: 820px) { .qa { grid-template-columns: 0.8fr 1.2fr; gap: 40px; } }
.qa h3 { font: 600 21px/1.3 var(--serif); margin: 0; letter-spacing: -0.01em; }
.qa p { margin: 0; color: var(--muted); max-width: 40em; }

/* The camera's scan: the same bright line the app draws over a photo while it looks (task 75). */
.scan { position: relative; }
.scan .phone { margin: 0; }
.scan::after {
  content: ""; position: absolute; left: 10%; right: 10%; height: 3px; top: 18%; border-radius: 3px; opacity: 0;
  background: #e9f7dc; box-shadow: 0 0 12px 3px rgba(185, 217, 162, 0.85);
}

/* Motion (task 88). Everything is visible by default; html.motion is set by the script only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  /* The focal moment: the sprout grows as in the app's launch — stem, then the two leaves — and the page arrives. */
  .grow .stem { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .motion .grow .stem { animation: stem 0.55s var(--ease) 0.15s both; }
  .motion .grow .leaf { transform-box: fill-box; animation: leaf 0.6s var(--ease) both; }
  .motion .grow .leaf.l { transform-origin: 100% 100%; animation-delay: 0.55s; }
  .motion .grow .leaf.r { transform-origin: 0% 100%; animation-delay: 0.68s; }
  .motion .hero h1 { animation: arrive 0.8s var(--ease) 0.2s both; }
  .motion .hero .lead { animation: arrive 0.8s var(--ease) 0.32s both; }
  .motion .hero .play, .motion .hero .fine { animation: arrive 0.8s var(--ease) 0.44s both; }
  .motion .hero-phones .front { animation: settle-front 1.1s var(--ease) 0.25s both; }
  .motion .hero-phones .back { animation: settle-back 1.3s var(--ease) 0.25s both; }
  /* The closing sprout grows again when it comes into view. */
  .motion .closing .grow:not(.in) .stem { animation: none; stroke-dashoffset: 1; }
  .motion .closing .grow:not(.in) .leaf { animation: none; transform: scale(0); }

  /* Sections come in quietly; lists come in as lists, with a capped stagger. */
  .motion .reveal { opacity: 0; transform: translateY(26px); filter: blur(4px);
    transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease); transition-delay: var(--d, 0s); }
  .motion .reveal.in { opacity: 1; transform: none; filter: none; }
  .motion .strip .reveal { transform: translateY(40px) rotate(-2deg); }
  .motion .strip .reveal.in:nth-child(2) { transform: translateY(28px); }
  /* Ticks are set like tasks done. */
  .motion .ticks li::before { clip-path: inset(0 100% 0 0); transition: clip-path 0.5s var(--ease); transition-delay: var(--d, 0s); }
  .motion .ticks.in li::before { clip-path: inset(0 0 0 0); }
  /* The scan line sweeps only while the screen is on view. */
  .motion .scan.in::after { animation: sweep 2.4s ease-in-out 0.6s infinite alternate; }

  .lang a { transition: background-color 0.2s, color 0.2s; }
}
@media (prefers-reduced-motion: reduce) {
  /* Fewer, gentler: sections still fade in, nothing moves or sweeps. */
  .motion .reveal { opacity: 0; transition: opacity 0.4s ease; }
  .motion .reveal.in { opacity: 1; }
  .play, .play:hover { transition: none; transform: none; }
}
@keyframes stem { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes leaf { from { transform: scale(0) rotate(-12deg); } to { transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); filter: blur(3px); } }
@keyframes settle-front { from { opacity: 0; transform: translateY(40px) rotate(-10deg); filter: blur(3px); } }
@keyframes settle-back { from { opacity: 0; transform: translateY(56px) rotate(12deg); filter: blur(4px); } }
@keyframes sweep { 0% { top: 16%; opacity: 1; } 100% { top: 52%; opacity: 1; } }

/* Partner programme (task 93). */
.pp-terms { display: grid; gap: 14px; margin: 0; }
.pp-terms div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.pp-terms dt { font: 600 clamp(40px, 6vw, 56px)/1 var(--serif); color: var(--green); letter-spacing: -0.02em; font-size: clamp(34px, 4.6vw, 48px); white-space: nowrap; width: 3.1ch; }
.pp-terms dd { margin: 0; color: var(--muted); }
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--leaf); color: var(--green-deep); font: 600 16px/32px var(--serif); text-align: center; }
.pair h2 + p + h2 { margin-top: 36px; }
.kit { background: var(--forest); color: #eef4ea; padding: 80px 0; }
.kit h2 { color: #f3f5ef; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
@media (min-width: 820px) { .kit-grid { grid-template-columns: repeat(4, 1fr); } }
.kit-grid a { display: grid; gap: 10px; color: #cfe6be; text-decoration: none; font-size: 15px; }
.kit-grid img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; background: #0f1a10; }
.kit-grid a:hover span { text-decoration: underline; }
.apply { background: var(--leaf); padding: 72px 0; }
.apply h2 { color: var(--green-deep); }
.apply-form { display: grid; gap: 16px; max-width: 720px; }
@media (min-width: 700px) { .apply-form { grid-template-columns: 1fr 1fr; } .apply-form .wide, .apply-form button, .apply-form .form-status { grid-column: 1 / -1; } }
.apply-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.apply-form .field { max-width: none; font-weight: 400; }
.apply-form textarea { resize: vertical; }
.apply-form button { justify-self: start; border: 0; cursor: pointer; }
.apply-form button:disabled { opacity: 0.6; cursor: progress; }
.apply-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-status[data-tone="ok"] { color: var(--green-deep); }
.form-status[data-tone="error"] { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Google sign-in on the site (task 94): the app's white button with the four-colour G. */
.google-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; align-self: flex-start;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #1f1f1f;
  font: 600 16px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; transition: box-shadow 0.2s; }
.google-button:hover { box-shadow: 0 4px 14px -6px rgba(20, 40, 22, 0.35); }
.google-button svg { width: 20px; height: 20px; }
.apply-google { display: grid; gap: 8px; margin: 0 0 22px; max-width: 720px; }
.apply-google .hint { margin: 0; color: var(--muted); font-size: 14px; }

/* Sign-in in the header (task 97): always visible, next to the languages. */
.bar-end { display: flex; align-items: center; gap: 10px; }
.login { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s; }
.login:hover { border-color: var(--green); box-shadow: 0 4px 12px -8px rgba(20, 40, 22, 0.4); }
.login svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 480px) { .bar-end { gap: 4px; } .lang a { padding: 6px 7px; } .login { padding: 8px 10px; } .login span { display: none; } }

/* Task 124: guides, problems, Premium and the comparisons — the policy page's card, read as articles. */
.guide { max-width: 860px; margin-left: auto; margin-right: auto; }
.guide h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.guide h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 36px; }
.guide .lead { margin: 12px 0 20px; }
.guide section { margin-top: 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.taxon { color: var(--muted); margin: 0; }
.muted { color: var(--muted); font-size: 15px; }
.note { background: var(--bg); border-left: 4px solid var(--green); border-radius: 8px; padding: 12px 16px; font-size: 15px; }
.guide-photo { margin: 20px 0; }
.guide-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 440px; object-fit: cover; border-radius: 14px; background: var(--bg); }
.guide-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 15px; }
.chips a { text-decoration: none; font-weight: 600; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.cards a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid transparent; border-radius: 20px; background: var(--card); box-shadow: 0 6px 18px -12px rgba(46, 125, 79, 0.35); text-decoration: none; color: var(--ink); }
.cards a:hover { border-color: var(--green); }
.cards span { color: var(--muted); font-size: 14px; font-style: italic; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 24px; }
.cta { background: var(--leaf); color: var(--green-deep); border-radius: var(--radius); padding: 20px 22px; margin: 28px 0; }
.cta h2 { margin-top: 0; font-size: 24px; }
.cta p { color: var(--green-deep); }
.sources { font-size: 14px; word-break: break-word; }
.guide td, .guide th { min-width: 7em; }
@media (max-width: 640px) { .doc.guide { padding: 18px; } }

/* Task 126: the site menu at the top of every page — its own row under the logo and the languages, scrolling
   sideways on a narrow phone instead of wrapping into a tall block. */
header.bar { flex-wrap: wrap; row-gap: 6px; }
.site-nav { order: 3; flex: 1 1 100%; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 8px; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover { background: var(--card); }
.site-nav a[aria-current="page"] { color: var(--green-deep); background: var(--leaf); }

/* The week ahead on a frost-date city page (public/forecast.js). */
.forecast ol { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.forecast li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; font-size: 14px; font-variant-numeric: tabular-nums; }
.forecast li strong { font-size: 15px; }
.forecast li span { color: var(--muted); }
.forecast li.frost { border-color: var(--danger); }
.forecast li em { font-style: normal; font-weight: 600; color: var(--danger); }

/* Owner 2026-10-02: the menu stands in one row with the logo and «Sign in» wherever it fits. */
@media (min-width: 1120px) {
  header.bar { flex-wrap: nowrap; }
  .site-nav { order: 0; flex: 1 1 auto; justify-content: center; margin: 0; padding: 0; overflow: visible; }
  .site-nav a { padding: 7px 10px; }
}

/* The language drop-down (build.mjs withLangMenu): a pill with a globe and the page's language. */
.langs { position: relative; }
.langs > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); margin-left: 2px; opacity: 0.7; }
.langs[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.langs > summary:hover { border-color: var(--green); }
.langs > summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.langs .lang { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; flex-direction: column; flex-wrap: nowrap; gap: 2px; min-width: 190px;
  padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 32px -16px rgba(28, 46, 34, 0.35); }
.langs .lang a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 600; }
.langs .lang a b { width: 26px; color: var(--muted); font-size: 12px; font-weight: 800; }
.langs .lang a:hover { background: var(--bg); }
.langs .lang a[aria-current="true"] { background: var(--leaf); color: var(--green-deep); }
@media (max-width: 480px) { .langs > summary { padding: 0 10px; } }
/* The one-row header must fit the 1080 px column in every language (Russian is the longest). */
@media (min-width: 1120px) {
  .site-nav a { font-size: 14px; padding: 7px 8px; }
}
@media (min-width: 1120px) {
  .login { padding: 8px 10px; }
  .login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* The download button as the site's one action (owner 2026-10-02; build.mjs withGetApp). */
.bar-end .langs { order: 1; }
.bar-end .login { order: 2; }
.bar-end .get { order: 3; }
.get { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--green-deep);
  color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(46, 125, 79, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.get:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(46, 125, 79, 0.8); }
.get svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .get { height: 38px; padding: 0 12px; font-size: 14px; } .get svg { display: none; } }

.play svg { width: 22px; height: 22px; flex: none; }
.cta { display: grid; gap: 4px; }
.cta .play { justify-self: start; margin-top: 8px; }
@media (max-width: 560px) { .cta .play { justify-self: stretch; justify-content: center; } }

.getbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  background: var(--card); border-radius: 20px; box-shadow: 0 18px 40px -16px rgba(28, 46, 34, 0.45), 0 0 0 1px var(--line);
  animation: getbar-in 0.35s var(--ease); }
.getbar[hidden] { display: none; }
.getbar p { margin: 0; flex: 1; font-size: 14px; line-height: 1.3; color: var(--muted); }
.getbar p b { color: var(--ink); font-size: 15px; }
.getbar .play { padding: 11px 16px; font-size: 15px; box-shadow: none; }
.getbar .play svg { width: 18px; height: 18px; }
body.has-getbar { padding-bottom: 88px; }
@keyframes getbar-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .getbar { animation: none; } .get, .get:hover { transition: none; transform: none; } }
@media (prefers-color-scheme: dark) { .get { background: var(--leaf-ink); color: #102414; box-shadow: none; } }

/* Audit fixes: no coloured side stripe on notes; the current language keeps its contrast; no green glow in the dark. */
.note { border-left: 0; background: var(--leaf); color: var(--green-deep); border-radius: 14px; }
.langs .lang a[aria-current="true"] b { color: inherit; opacity: 0.75; }
@media (prefers-color-scheme: dark) { .cards a, .forecast li { box-shadow: none; border-color: var(--line); } }
@media (min-width: 761px) {
  .getbar { left: auto; right: 24px; bottom: 24px; width: 440px; }
  body.has-getbar { padding-bottom: 0; }
}

/* Phones: a table with three or more columns becomes a list of small cards (build.mjs withStackedTables). */
@media (max-width: 560px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody { display: block; background: none; }
  table.stack tr { display: grid; gap: 4px; padding: 12px 14px; margin-bottom: 8px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); }
  table.stack th, table.stack td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; border: 0; white-space: normal; text-align: right; }
  table.stack td::before { content: attr(data-label); color: var(--muted); font-size: 14px; text-align: left; flex: none; max-width: 50%; }
  table.stack th[scope="row"] { font-size: 16px; text-align: left; margin-bottom: 2px; color: var(--ink); }
  .scroll:has(> table.stack) { overflow: visible; }
}

/* «Greenly Garden» (owner 2026-10-02): the second word lighter, so the mark still reads as one name. */
.brand-g { font-weight: 600; color: var(--green-deep); }
@media (min-width: 1120px) {
  .langs > summary span { display: none; }
  .langs > summary { padding: 0 10px; }
  .site-nav a { padding: 7px 6px; }
}
@media (max-width: 400px) { .brand-g { display: none; } }
/* Phones: the partners' sign-in steps out of the header (it stays in the footer) so «Get the app» fits beside the logo. */
@media (max-width: 480px) { .bar-end .login { display: none; } }

/* The brand's profiles in every footer (build.mjs withEntity). */
footer .social { display: flex; flex-wrap: wrap; gap: 4px 14px; flex-basis: 100%; }
footer .social a { font-weight: 600; }

/* The footer of every page (build.mjs withFooter): the mark and the Play button, four labelled columns, a base line. */
footer.site-foot { display: block; padding: 0; margin-top: 48px; border-top: 0; background: var(--card); color: var(--muted); font-size: 15px; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 40px 16px 28px; display: grid; gap: 28px 24px;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .brand { font-size: 20px; }
.foot-brand p { margin: 0; max-width: 34ch; line-height: 1.5; }
.foot-brand .play { justify-self: start; padding: 11px 18px; font-size: 15px; }
.foot-brand .play svg { width: 18px; height: 18px; }
.foot-h { margin: 4px 0 10px; color: var(--ink); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--green-deep); text-decoration: underline; }
.foot-base { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13px; }
@media (max-width: 900px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-in { gap: 24px 16px; } .foot-col a { display: inline-block; padding: 2px 0; } }
footer.site-foot { margin-top: 0; }
main.doc + footer.site-foot, .wrap + footer.site-foot { margin-top: 40px; }
/* The logo is a flex row with a 10px gap: «Garden» sits one word-space after «Greenly», not a gap away. */
.brand .brand-g { margin-left: calc(0.28em - 10px); }

/* Hero: one quiet line for bloggers and shops, under the fine print (owner 2026-10-02). */
.hero-partners { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--green-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.hero-partners:hover { color: var(--ink); }

/* Guides: when the card was last checked against its sources (GEO, 2026-10-03). */
.checked-on { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
