/* Plotyield marketing site. Plain CSS, no build step. */
:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --ink: #182430;
  --muted: #535F6D;
  --line: #DDE2EA;
  --brand: #3557D9;
  --brand-hover: #2A47BC;
  --on-brand: #FFFFFF;
  --brand-soft: #E9EEFC;
  --word-ink: #182430;
  --word-blue: #3557D9;
  --ph-bg: #FFF7E0;
  --ph-line: #C98A00;
  --ph-ink: #6B4A00;
  --shadow: 0 1px 2px rgba(24, 36, 48, .06), 0 8px 24px rgba(24, 36, 48, .06);
  --radius: 14px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D131A;
    --surface: #141C25;
    --surface-2: #1A2430;
    --ink: #E7ECF2;
    --muted: #A1ADBB;
    --line: #283442;
    --brand: #8EA7FF;
    --brand-hover: #A9BCFF;
    --on-brand: #0D131A;
    --brand-soft: #1B2642;
    --word-ink: #E7ECF2;
    --word-blue: #8EA7FF;
    --ph-bg: #2A2310;
    --ph-line: #D9A62E;
    --ph-ink: #F1D58C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D131A;
  --surface: #141C25;
  --surface-2: #1A2430;
  --ink: #E7ECF2;
  --muted: #A1ADBB;
  --line: #283442;
  --brand: #8EA7FF;
  --brand-hover: #A9BCFF;
  --on-brand: #0D131A;
  --brand-soft: #1B2642;
  --word-ink: #E7ECF2;
  --word-blue: #8EA7FF;
  --ph-bg: #2A2310;
  --ph-line: #D9A62E;
  --ph-ink: #F1D58C;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

*, *::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(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 40em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand svg { height: 30px; width: auto; }
.wm-ink { fill: var(--word-ink); }
.wm-blue { fill: var(--word-blue); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-brand); }
.nav a.btn-primary:hover { background: var(--brand-hover); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--ink); cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.menu-btn { display: none; }
@media (max-width: 799px) {
  .menu-btn { display: inline-grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .bar .cta-top { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 640; font-size: 1rem; line-height: 1;
  padding: 14px 20px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: 10px 14px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section-head { max-width: 44em; margin-bottom: 44px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 56px 0 72px; }
@media (min-width: 900px) { .hero { padding: 88px 0 104px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 .blue { color: var(--brand); }
.hero-art {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 20px; position: relative;
}
.hero-art .cap { font-size: .8rem; color: var(--muted); margin: 10px 4px 0; }

/* Isometric illustration colours */
.iso-ground { fill: var(--surface-2); stroke: var(--line); }
.iso-parcel { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 5; }
.iso-top { fill: var(--brand); }
.iso-left { fill: color-mix(in srgb, var(--brand) 70%, var(--ink)); }
.iso-right { fill: color-mix(in srgb, var(--brand) 45%, var(--surface)); }
.iso-top-2 { fill: color-mix(in srgb, var(--ink) 18%, var(--surface)); }
.iso-left-2 { fill: color-mix(in srgb, var(--ink) 38%, var(--surface)); }
.iso-right-2 { fill: color-mix(in srgb, var(--ink) 26%, var(--surface)); }
.iso-chip rect { fill: var(--surface); stroke: var(--line); }
.iso-chip text { fill: var(--ink); font: 600 13px var(--font); }
.iso-chip .ok { fill: var(--brand); }

/* Problem */
.problem-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.alt .card { background: var(--bg); }
.card p:last-child { margin-bottom: 0; }
.card .k { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.problem-close { margin-top: 28px; font-size: 1.15rem; font-weight: 600; max-width: 36em; }

/* Verbs */
.verbs { display: grid; gap: 16px; counter-reset: v; }
@media (min-width: 720px) { .verbs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .verbs { grid-template-columns: repeat(4, 1fr); } }
.verb { position: relative; padding-top: 28px; }
.verb .num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font-weight: 750; margin-bottom: 14px;
}
.verb h3 { font-size: 1.5rem; }
.verb ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .96rem; }
.verb li { margin: .3em 0; }

/* Features */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .ic svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* Principles band */
.band { display: grid; gap: 24px; }
@media (min-width: 860px) { .band { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.band h3 { display: flex; gap: 10px; align-items: center; }
.band h3 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.band p { color: var(--muted); }

/* Coming */
.coming {
  display: grid; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--brand-soft), var(--surface));
  border: 1px solid var(--line); border-radius: 20px; padding: 32px;
}
@media (min-width: 900px) { .coming { grid-template-columns: 1.3fr 1fr; padding: 48px; } }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--brand);
  border: 1px solid var(--line); letter-spacing: .04em; text-transform: uppercase;
}
.badge.live { color: #1C7A4A; }
:root[data-theme="dark"] .badge.live { color: #6FD3A0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.live { color: #6FD3A0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.steps b { color: var(--brand); min-width: 1.2em; }

/* CTA */
.cta {
  background: var(--ink); color: var(--bg); border-radius: 24px; padding: 48px 24px; text-align: center;
}
@media (min-width: 720px) { .cta { padding: 72px 48px; } }
.cta h2 { color: inherit; }
.cta p { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); max-width: 36em; margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }
.cta .btn-primary { background: var(--bg); color: var(--ink); }
.cta .btn-primary:hover { background: var(--surface-2); color: var(--ink); }
.cta .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, var(--ink)); }
.cta .btn-ghost:hover { background: color-mix(in srgb, var(--bg) 12%, var(--ink)); color: var(--bg); }

/* Page heads + prose */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-head { padding: 88px 0 56px; } }
.prose { max-width: 44em; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }

/* Product areas */
.area { display: grid; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.area:last-child { border-bottom: 0; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 64px 0; } }
.area .verb-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.area h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 6px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .list { grid-template-columns: 1fr 1fr; } }
.list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.list b { display: block; margin-bottom: 4px; font-weight: 650; }
.list span { color: var(--muted); font-size: .95rem; }

.tbl { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tbl th, .tbl td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* Contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 32px; } }
.mail-big { font-size: clamp(1.25rem, 3.5vw, 1.9rem); font-weight: 700; word-break: break-all; text-decoration: none; }

/* Placeholders for CK: visible, unmistakable */
.ph {
  display: inline; background: var(--ph-bg); color: var(--ph-ink);
  border: 1px dashed var(--ph-line); border-radius: 6px; padding: 1px 6px;
  font-size: .92em; font-weight: 600;
}
.ph-block {
  display: block; background: var(--ph-bg); color: var(--ph-ink);
  border: 1.5px dashed var(--ph-line); border-radius: var(--radius); padding: 20px;
  font-weight: 600;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; font-size: .94rem; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.site-footer .brand svg { height: 26px; }
.legal { margin-top: 32px; color: var(--muted); font-size: .85rem; }
