/* Business KPI Canvas — landing. Identity "Lõuend": linen canvas, umber ink, cognac, five field colours. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/plus-jakarta-sans-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --linen: #f5f1e8;
  --paper: #fffdf8;
  --sunk: #ece6d9;
  --umber: #2b201a;
  --umber-soft: #3a2d25;
  --soft: #5e544c;
  --line: #ddd4c4;
  --cognac: #93501f;
  --cognac-dark: #733c14;
  --cognac-tint: #f3e3d3;
  --finance: #93501f;
  --customers: #2f6f95;
  --processes: #5f7224;
  --team: #86476f;
  --other: #5e6b73;
  --met: #2e7046;
  --behind: #b3311f;
  --radius: 18px;
  --gap: clamp(12px, 2vw, 18px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--umber); font: 400 1.0625rem/1.6 "Plus Jakarta Sans", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cognac-dark); text-underline-offset: 3px; }
a:hover { color: var(--umber); }
:focus-visible { outline: 3px solid var(--customers); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: manual; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--umber); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.kicker { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cognac-dark); margin-bottom: 0.6em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--soft); }
.small { font-size: 0.9rem; color: var(--soft); }

/* The canvas strip: five painted segments 3:2:2:2:1 */
.strip { display: flex; height: 6px; }
.strip i { display: block; }
.strip i:nth-child(1) { flex: 3; background: var(--finance); }
.strip i:nth-child(2) { flex: 2; background: var(--customers); }
.strip i:nth-child(3) { flex: 2; background: var(--processes); }
.strip i:nth-child(4) { flex: 2; background: var(--team); }
.strip i:nth-child(5) { flex: 1; background: var(--other); }

/* Header */
.top { background: var(--paper); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; color: var(--umber); text-decoration: none; min-height: 44px; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--umber); text-decoration: none; font-weight: 600; font-size: 0.97rem; }
.nav a:hover { background: var(--cognac-tint); }
.nav a[aria-current="page"] { background: var(--umber); color: #fff; }

/* Canvas cells */
.cell { border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.cell-paper { background: var(--paper); border: 1px solid var(--line); }
.cell-umber { background: var(--umber); color: #f3ece2; }
.cell-umber h2 { color: #fff; }

/* Hero: a canvas of cells */
.hero { padding-block: clamp(20px, 4vw, 44px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-areas: "text shot" "fields shot"; gap: var(--gap); }
.hero-text { grid-area: text; display: flex; flex-direction: column; justify-content: center; }
.hero-shot { grid-area: shot; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0; overflow: hidden; }
.hero-shot .shot { width: min(360px, 100%); margin: 0; }
.hero-shot .shot img { border-radius: 22px 22px 0 0; }
.hero-fields { grid-area: fields; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.field { color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; padding: 18px; }
.field-name { font-weight: 800; font-size: 1.12rem; overflow-wrap: anywhere; hyphens: auto; }
.field-hint { font-size: 0.86rem; opacity: 0.88; line-height: 1.35; }
.field-finance { background: var(--finance); }
.field-customers { background: var(--customers); }
.field-processes { background: var(--processes); }
.field-team { background: var(--team); }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 18px; }
.text-link { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.facts li { background: var(--sunk); border-radius: 8px; padding: 4px 12px; font-weight: 600; font-size: 0.9rem; }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--umber); color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 20px 10px 14px; min-height: 56px; }
.play:hover { background: var(--cognac-dark); color: #fff; }
.play-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--cognac); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.78rem; opacity: 0.8; }
.play-big { font-weight: 800; font-size: 1.1rem; }
.play-soon { background: var(--sunk); color: var(--soft); cursor: default; }
.play-soon .play-icon { background: var(--line); color: var(--soft); }

/* Screens */
.shot { margin: 0; }
.shot img { border-radius: 22px; border: 5px solid var(--umber); background: var(--paper); }

/* Tools: alternating rows */
.tools { padding-block: clamp(48px, 8vw, 96px); }
.tool { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 5vw, 56px); border-top: 1px solid var(--line); }
.tool-flip .tool-text { order: 2; }
.tool-num { font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--line); margin-bottom: 8px; }
.tool:nth-of-type(5n + 1) .tool-num { color: var(--finance); }
.tool:nth-of-type(5n + 2) .tool-num { color: var(--customers); }
.tool:nth-of-type(5n + 3) .tool-num { color: var(--processes); }
.tool:nth-of-type(5n + 4) .tool-num { color: var(--team); }
.tool:nth-of-type(5n + 5) .tool-num { color: var(--other); }
.tool-shot { display: flex; justify-content: center; }
.tool-shot .shot { width: min(340px, 100%); }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 4px; background: var(--met); box-shadow: inset 0 0 0 4px var(--paper); border: 2px solid var(--met); }
.crosses li::before { content: "–"; position: absolute; left: 4px; top: -0.05em; font-weight: 800; color: #e7a77e; }

/* One month */
.month { padding-block: clamp(40px, 7vw, 80px); background: var(--paper); border-block: 1px solid var(--line); }
.month-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.month-steps .cell { background: var(--linen); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--umber); color: #fff; font-weight: 800; margin-bottom: 14px; }
.month-steps li:nth-child(1) .step-num { background: var(--finance); }
.month-steps li:nth-child(2) .step-num { background: var(--customers); }
.month-steps li:nth-child(3) .step-num { background: var(--processes); }
.month-steps li:nth-child(4) .step-num { background: var(--team); }
.month-steps p { margin: 0; color: var(--soft); }

/* Gallery strip */
.gallery { padding-block: clamp(48px, 8vw, 88px); }
.gallery-strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px max(16px, calc((100% - 1160px) / 2)) 20px; scroll-snap-type: x mandatory; }
.shot-small { flex: 0 0 auto; width: min(240px, 66vw); scroll-snap-align: start; }

/* Honest */
.honest { padding-bottom: clamp(48px, 8vw, 88px); }
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.honest h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }

/* FAQ */
.faq { padding-bottom: clamp(48px, 8vw, 88px); }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 20px; min-height: 44px; list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-weight: 800; font-size: 1.3rem; color: var(--cognac); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 16px; margin: 0; color: var(--soft); }

/* Download band */
.download { background: var(--cognac-tint); padding-block: clamp(36px, 6vw, 64px); }
.download-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.download h2 { margin-bottom: 0.2em; }
.download p { margin: 0 0 0.4em; }
.download img { border-radius: 20px; }

/* Footer */
.foot { background: var(--umber); color: #e8ded2; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 28px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { background: var(--paper); border-radius: 8px; padding: 3px; }
.foot-name { font-weight: 800; margin: 0; color: #fff; }
.foot-small { margin: 0; font-size: 0.88rem; opacity: 0.85; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.foot-links a { color: #fff; display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }

/* Inner pages */
.page { padding-block: clamp(32px, 6vw, 72px); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.guide-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.guide-nav { position: sticky; top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.guide-nav ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.guide-nav a { display: inline-block; padding: 4px 0; }
.guide h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.guide-part { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); margin-top: 18px; }
.guide-part h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); display: flex; align-items: center; gap: 12px; }
.guide-num { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--umber); color: #fff; font-size: 1rem; letter-spacing: 0; }
.guide-part:nth-of-type(5n + 1) .guide-num { background: var(--finance); }
.guide-part:nth-of-type(5n + 2) .guide-num { background: var(--customers); }
.guide-part:nth-of-type(5n + 3) .guide-num { background: var(--processes); }
.guide-part:nth-of-type(5n + 4) .guide-num { background: var(--team); }
.guide-part ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "fields" "shot"; }
  .hero-fields { grid-template-columns: repeat(2, 1fr); }
  .tool, .tool-flip { grid-template-columns: 1fr; }
  .tool-flip .tool-text { order: 0; }
  .month-steps { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-nav { position: static; }
}
@media (max-width: 640px) {
  h1, h2, h3, .field-name { hyphens: auto; }
  .honest-grid { grid-template-columns: 1fr; }
  .month-steps { grid-template-columns: 1fr; }
  .download-inner { grid-template-columns: 1fr; justify-items: start; }
  .field { min-height: 104px; padding: 14px; }
  .nav a { padding: 0 9px; font-size: 0.92rem; }
  .top-inner { justify-content: center; }
}
@media (max-width: 360px) {
  .hero-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-hint { display: none; }
}
