/* Brand tokens: change the palette here and nowhere else. Kaasu brand: forest green, antique gold, cream. */
:root {
  --ink: #1b4332;        /* forest green: headings, dark sections */
  --ink-soft: #1b4332;   /* body text: same forest green as headings */
  --accent: #d4a017;     /* antique gold: buttons, highlights, and anything on forest green */
  --accent-deep: #8a5a00;/* darker gold for small text on cream (gold itself is too faint there) */
  --accent-ink: #12291f; /* text on gold */
  --paper: #f7f1dc;      /* page background: cream */
  --card: #fffdf6;
  --line: #e0d8bd;
  --radius: 14px;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 14px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; padding: 16px 20px;
}
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 42px; width: auto; display: block; }
nav.site a { margin-left: 18px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav.site a:hover { text-decoration: underline; }
@media (max-width: 640px) { nav.site a.hide-sm { display: none; } }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid rgba(27, 67, 50, 0.35); }

.hero { padding: 56px 0 72px; }
.hero p.lead { font-size: 1.2rem; max-width: 30em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.hero .offer { margin: 14px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--accent-deep); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 36px; align-items: center; }
.hero-shots { margin: 0; }
.phones { display: flex; justify-content: center; align-items: flex-start; padding-bottom: 44px; }
.phone { width: min(210px, 44vw); border: 7px solid #1d1d1f; border-radius: 32px; overflow: hidden; background: #1d1d1f; box-shadow: 0 18px 40px rgba(27, 67, 50, 0.22); }
.phone img { display: block; width: 100%; height: auto; }
.phone.a { transform: translate(-12px, 0) rotate(-3deg); position: relative; z-index: 2; }
.phone.b { transform: translate(8px, 34px) rotate(3deg); margin-left: -26px; }
.hero-shots figcaption { font-size: 0.8rem; text-align: center; opacity: 0.8; position: relative; z-index: 3; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero { padding-bottom: 40px; }
}

section { padding: 56px 0; }
.band-dark { background: var(--ink); color: #efe9d2; }
.band-dark h2, .band-dark h3 { color: #fffaf0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 8px; }
.band-dark .eyebrow { color: var(--accent); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.band-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 10px; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 10px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 800; }
.band-dark ul.ticks li::before { color: var(--accent); }

.contact-box { max-width: 560px; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site .wrap.foot-inner { display: block; }
.muted { opacity: 0.8; }
.after-grid { margin-top: 18px; }
.legal { display: inline-flex; align-items: center; gap: 8px; }
.legal img { height: 20px; width: auto; }

/* The phone-only "Talk to us" bar. sticky-cta.js hides it while the hero buttons or the contact section are on screen. */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    background: rgba(247, 241, 220, 0.97); border-top: 1px solid var(--line);
  }
  .sticky-cta.is-hidden { display: none; }
  .sticky-cta span { flex: 1; font-size: 0.82rem; font-weight: 700; line-height: 1.25; color: var(--accent-deep); }
  .sticky-cta .btn { flex: none; min-height: 48px; display: inline-flex; align-items: center; padding: 0 22px; }
  body { padding-bottom: 76px; }
}

/* Text for screen readers only. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "How it works": four cream cards, each with a picture of that moment, on the dark band. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.steps li { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.steps .pic { background: #efe3c2; aspect-ratio: 4 / 4.2; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.steps .pic img { display: block; width: 78%; height: auto; margin-top: 16px; border: 5px solid #1d1d1f; border-bottom: 0; border-radius: 20px 20px 0 0; }
.steps .pic.scene { align-items: center; }
.steps .pic.scene img { width: 100%; height: auto; margin: 0; border: 0; border-radius: 0; }
.steps .txt { padding: 16px 18px 20px; }
.band-dark .steps h3 { color: var(--ink); margin: 0 0 6px; }
.steps p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* "The product": real screens with example data, plus an illustration of the offer-results idea. */
.band-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.tour-card { grid-column: span 4; }
.tour-card.tour-wide { grid-column: 1 / -1; }
.tour-card.tour-app { grid-column: span 5; }
.tour-card.tour-till { grid-column: span 3; }
.tour-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tour-card h3 { margin: 0; font-size: 1.1rem; }
.tour-card p { margin: 0; font-size: 0.95rem; }
.tour-card .caption { font-size: 0.8rem; opacity: 0.8; }
.tour-card .shot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.tour-card .shot img { display: block; width: 100%; height: auto; }
.tour-phones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.tour-phones .phone { width: min(160px, 42vw); box-shadow: 0 10px 24px rgba(27, 67, 50, 0.18); }
.result { display: grid; gap: 12px; background: var(--card); border: 1px dashed var(--accent-deep); border-radius: 10px; padding: 14px; position: relative; }
.label-tag { justify-self: start; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: #fbf1d3; color: #7a5200; border-radius: 999px; padding: 2px 10px; }
.result .bar { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 0.9rem; }
.result .bar i { display: block; height: 16px; border-radius: 8px; background: var(--line); position: relative; overflow: hidden; }
.result .bar i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 8px; }
.result .bar.control i::after { background: #9aa89f; }
.result .bar .w62::after { width: 62%; }
.result .bar .w44::after { width: 44%; }
@media (max-width: 820px) { .tour-grid { grid-template-columns: minmax(0, 1fr); } .tour-card, .tour-card.tour-wide, .tour-card.tour-app, .tour-card.tour-till { grid-column: auto; } }

/* Comparison block: a cream table card; the Kaasu column is picked out in gold. */
.cmp { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.cmp table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4d6a5c; background: #f1e9cc; }
.cmp thead th.me { background: var(--accent); color: var(--accent-ink); }
.cmp tbody th { font-weight: 600; width: 24%; }
.cmp td.me { background: #fbf3d6; font-weight: 600; }
.after-cmp { margin: 18px 0 0; font-weight: 600; }

/* On a phone each row becomes a small card, so the Kaasu answer is never off-screen. */
@media (max-width: 640px) {
  .cmp { overflow: visible; background: transparent; border: 0; display: grid; gap: 12px; }
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; min-width: 0; width: auto; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp caption { display: none; }
  .cmp tbody { display: grid; gap: 12px; }
  .cmp tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
  .cmp tbody th { padding: 0 0 6px; border: 0; font-size: 1.02rem; width: auto; }
  .cmp td { padding: 5px 0; border: 0; display: flex; gap: 10px; align-items: baseline; }
  .cmp td::before { content: attr(data-label); flex: 0 0 7.2em; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #4d6a5c; }
  .cmp td.me { background: #fbf3d6; border-radius: 8px; padding: 7px 9px; margin-top: 4px; }
  .cmp td.me::before { color: var(--accent-deep); }
}

/* Pricing: two plans with launch prices and the standard price underneath. */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; max-width: 820px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.plan-pro { border: 2px solid var(--ink); }
.plan h3 { margin: 0; font-size: 1.2rem; }
.plan p { margin: 0; }
.plan .amt { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.plan .amt small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan .std { font-size: 0.92rem; color: #4d6a5c; }
.plan ul { margin: 12px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.97rem; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.plan-tag { align-self: flex-start; background: var(--accent); color: var(--accent-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.plan-tag.quiet { background: var(--line); color: var(--ink); }
.plan .soon { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; background: #fbf1d3; color: #7a5200; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
@media (max-width: 720px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* Footer: a dark green band with the logo, a few links, contact and the legal line. */
footer.site.foot { background: var(--ink); color: #d9d4bd; border-top: 0; padding: 44px 0 28px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.foot-logo { height: 40px; width: auto; display: block; margin-bottom: 12px; }
.foot-grid p { margin: 0; max-width: 28em; }
.foot-h { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a { color: #f1ebd3; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot ul a:hover { text-decoration: underline; }
.foot ul a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); margin-top: 24px; padding-top: 4px; }
.foot-legal { margin: 12px 0 0; font-size: 0.84rem; color: #b9b49b; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Small polish: skip link, 44px tap targets in the header, clear keyboard focus, no smooth scrolling for people who ask for less motion. */
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fffaf0; padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
nav.site a { display: inline-flex; align-items: center; min-height: 44px; }
a.logo { min-height: 44px; align-items: center; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }
.band-dark a:focus-visible, .band-dark .btn:focus-visible { outline-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.band-card .plan { background: var(--paper); }
