/* Decima Technologies website. White pages with navy bands; screens are shown at their own size, never stretched. */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-700.woff") format("woff"); font-weight: 700; font-display: swap }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-800.woff") format("woff"); font-weight: 800; font-display: swap }
@font-face { font-family: "Source Sans 3"; src: url("fonts/sourcesans-400.woff") format("woff"); font-weight: 400; font-display: swap }
@font-face { font-family: "Source Sans 3"; src: url("fonts/sourcesans-700.woff") format("woff"); font-weight: 700; font-display: swap }
@view-transition { navigation: auto }
:root {
  --navy: #17304d;  --navy-deep: #0f2338;  --green: #9bc43d;  --green-ink: #5f8a14;
  --ink: #18212a;   --body: #2f3842;       --muted: #5f6b76;  --line: #dce3ea;
  --mist: #f2f5f8;  --paper: #ffffff;      --thermal: #fbfbf8; --on-navy: #c9d8e8; --soft-green: #f3f8e8;
  --heading: #17304d; --logo-tile: #ffffff; --surface: #ffffff;  --field: #ffffff;  --field-line: #c4cfda; --rule: #17304d;
  --header-bg: rgba(255,255,255,.96); --shim-a: #eef2f6; --shim-b: #f8fafc; --footer: #0f2338; --dl: #17304d; --price-tint: #f6faee;
  --pop: rgba(15,35,56,.16);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  --wrap: 1180px;
  color-scheme: light dark;
}
/* Dark: the page becomes Decima's deep navy; navy bands stay navy, green stays green, text turns to soft whites. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1828; --logo-tile: #ffffff; --surface: #12243a; --mist: #0f2034; --line: #233a55; --field: #0d1d30; --field-line: #2e4a6b;
    --ink: #eef3f8; --body: #c6d3e0; --muted: #91a7bf; --heading: #f1f5f9; --rule: #3d5f86;
    --green-ink: #a9d14a; --soft-green: rgba(155,196,61,.14); --price-tint: rgba(155,196,61,.10);
    --header-bg: rgba(11,24,40,.92); --shim-a: #142a42; --shim-b: #1c3753; --footer: #07111e; --dl: #24497a;
    --pop: rgba(0,0,0,.5);
  }
  .photo img { filter: brightness(.94) }
  .tari img, .tari-404 img { filter: drop-shadow(0 0 22px rgba(155,196,61,.18)) }
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 80px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important; animation: none !important } }
body { margin: 0; background: var(--paper); color: var(--body); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased }
img, video { max-width: 100%; height: auto; display: block }
a { color: var(--heading) }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px }
h1, h2, h3 { font-family: var(--display); color: var(--heading); margin: 0; text-wrap: balance; letter-spacing: -.01em }
h1 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08 }
h2 { font-weight: 800; font-size: clamp(1.55rem, 2.9vw, 2.25rem); line-height: 1.14 }
h3 { font-weight: 700; font-size: 1.12rem; line-height: 1.28 }
p { margin: 0 }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.eyebrow { font: 700 .78rem/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--green-ink) }
.lede { font-size: 1.18rem; max-width: 62ch }
.muted { color: var(--muted) }
.stack { display: grid; gap: 16px; align-content: start }
.btn { display: inline-flex; align-items: center; gap: .55em; font: 700 .96rem/1 var(--display); text-decoration: none; border-radius: 999px; padding: .95em 1.4em; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s }
.btn:hover { transform: translateY(-1px) }
.btn-go { background: var(--green); color: var(--navy-deep) }
.btn-go:hover { background: #a9d14a }
.btn-line { border-color: var(--heading); color: var(--heading); background: transparent }
.band .btn-line { border-color: var(--on-navy); color: #fff }
.btn svg { width: 1.15em; height: 1.15em; flex: none }
.cta { display: flex; flex-wrap: wrap; gap: 12px }
.textlink { font: 700 .95rem/1.3 var(--display); color: var(--green-ink); text-decoration: none }
.textlink:hover { text-decoration: underline }
.band .textlink { color: var(--green) }

/* header and menus */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 70px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none }
.brand .d { height: 40px; width: auto }
.brand .words { display: flex; flex-direction: column; gap: 5px; width: 104px }
.brand .words img { width: 100% }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center }
.nav > a, .nav .drop-btn { font: 600 .92rem/1 var(--display); color: var(--heading); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer }
.nav > a:hover, .nav .drop-btn:hover, .nav > a[aria-current] { color: var(--green-ink) }
.nav > a.btn { padding: .72em 1.15em; font-size: .88rem; background: var(--green); color: var(--navy-deep) }
.nav > a.btn:hover { background: #a9d14a; color: var(--navy-deep) }
.has-drop { position: relative }
.mega { display: none; position: absolute; left: -24px; top: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 18px 40px var(--pop); grid-template-columns: repeat(2, 260px); gap: 4px }
.has-drop:hover .mega, .has-drop:focus-within .mega { display: grid }
.mega a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none }
.mega a:hover { background: var(--mist) }
.mega b { font: 700 .95rem/1.2 var(--display); color: var(--heading) }
.mega span { font-size: .86rem; color: var(--muted); line-height: 1.35 }
.menu { display: none; margin-left: auto }
.menu summary { list-style: none; font: 700 .9rem/1 var(--display); color: var(--heading); border: 2px solid var(--heading); border-radius: 999px; padding: .6em 1em; cursor: pointer }
.menu summary::-webkit-details-marker { display: none }
.menu .drop { display: none; position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); top: 66px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; gap: 2px; box-shadow: 0 16px 34px var(--pop); max-height: 75vh; overflow-y: auto }
.menu[open] .drop { display: grid }
.drop a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font: 600 1rem/1.2 var(--display); color: var(--heading) }
.drop a:hover { background: var(--mist) }
.drop .grp { font: 700 .72rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 4px }
@media (max-width: 1040px) { .nav { display: none } .menu { display: block } }

/* page openers */
.opener { padding-block: clamp(36px, 6vw, 76px); background: linear-gradient(180deg, var(--mist), var(--paper) 85%) }
.opener .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 60px); align-items: center }
.opener .wrap > * { min-width: 0 }
.opener.plain .wrap { grid-template-columns: 1fr; max-width: 900px }
@media (max-width: 900px) { .opener .wrap { grid-template-columns: 1fr } }
.crumbs { font: 600 .82rem/1 var(--display); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap }
.crumbs a { color: var(--muted); text-decoration: none } .crumbs a:hover { color: var(--heading) }
.photo { border-radius: 18px; overflow: hidden; background: var(--mist); box-shadow: 0 24px 50px -24px rgba(15,35,56,.4) }
.photo img { width: 100%; height: 100%; object-fit: cover }
.photo.tall { aspect-ratio: 4 / 5 } .photo.wide { aspect-ratio: 3 / 2 } .photo.square { aspect-ratio: 1 }

/* screens: shown at their own size, never stretched or squeezed */
.shot { margin: 0; display: grid; gap: 10px; justify-items: center }
.shot .frame { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 26px 56px -26px rgba(15,35,56,.38) }
.shot .frame.bare { border: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible }
.shot .frame.bare img { filter: drop-shadow(0 22px 34px rgba(15,35,56,.28)) }
.shot .bar { height: 26px; background: var(--navy-deep); display: flex; align-items: center; gap: 6px; padding-left: 12px }
.shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a5677 }
.shot img { width: 100% }
.shot figcaption { font-size: .88rem; color: var(--muted); text-align: center; max-width: 70ch }
.band .shot figcaption { color: #8fa7c0 }
.band .shot .frame { border-color: #2a4766 }

/* a screen under its text, full width */
.feature { display: grid; gap: 34px }
.feature-text { max-width: 780px }
.stack > .btn, .stack > .textlink, .stack > .cta { justify-self: start }

/* sections */
section.block { padding-block: clamp(52px, 7.5vw, 96px) }
section.block.tight { padding-top: 0 }
section.tint { background: var(--mist) }
.band { background: var(--navy); color: var(--on-navy) }
.band h2, .band h3 { color: #fff } .band .eyebrow { color: var(--green) } .band .lede { color: var(--on-navy) } .band .muted { color: #8fa7c0 }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 38px }
.head.center { margin-inline: auto; text-align: center; justify-items: center }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center }
.split.wide-right { grid-template-columns: .85fr 1.15fr } .split.wide-left { grid-template-columns: 1.15fr .85fr }
.split > * { min-width: 0 }
.split.flip > :first-child { order: 2 }
@media (max-width: 900px) { .split, .split.wide-right, .split.wide-left { grid-template-columns: 1fr } .split.flip > :first-child { order: 0 } }
.ticks { display: grid; gap: 12px; padding: 0; margin: 6px 0 4px }
.ticks li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start }
.ticks li::before { content: ""; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); margin-top: 8px }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr) }
.grid.two { grid-template-columns: repeat(2, 1fr) } .grid.four { grid-template-columns: repeat(4, 1fr) }
@media (max-width: 1000px) { .grid, .grid.four { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr } }
.card { display: grid; gap: 9px; align-content: start; padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0 }
.card p { font-size: 1rem }
.card.fill { background: var(--mist); border-color: transparent }
.card.navy { background: var(--navy); border-color: var(--navy) } .card.navy h3 { color: #fff } .card.navy p { color: var(--on-navy) }
.card .kind { font: 700 .74rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.card.navy .kind { color: var(--green) }
.card a.textlink { margin-top: 6px }
a.card { text-decoration: none; transition: transform .15s, box-shadow .15s }
a.card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(15,35,56,.4) }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-green); color: var(--green-ink) }
.card .ic svg { width: 22px; height: 22px }
.card.navy .ic { background: rgba(155,196,61,.16); color: var(--green) }

/* numbers strip */
.proof { border-block: 1px solid var(--line) }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px }
.proof .wrap > div { padding: 0 20px; border-left: 1px solid var(--line); min-width: 0 }
.proof .wrap > div:first-child { border-left: 0; padding-left: 0 }
.proof b { display: block; font: 800 1.55rem/1.1 var(--display); color: var(--heading) }
.proof span { font-size: .95rem; color: var(--muted) }
@media (max-width: 760px) { .proof .wrap { grid-template-columns: 1fr 1fr; row-gap: 20px } .proof .wrap > div:nth-child(3) { border-left: 0; padding-left: 0 } }

/* a real sequence, so it is numbered */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 2px solid var(--rule); margin: 0; padding: 0 }
.flow li { list-style: none; padding: 22px 22px 0 0; counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0 }
.flow li::before { content: counter(step); font: 800 .9rem/1 var(--display); color: var(--navy-deep); background: var(--green); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: -38px; border: 4px solid var(--paper); box-sizing: content-box }
.flow p { font-size: 1rem }
.tint .flow li::before { border-color: var(--mist) }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 34px } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--rule); padding-left: 24px; row-gap: 26px } .flow li { padding: 0 } .flow li::before { margin: 0 0 0 -42px } }

/* hero receipt */
.stage { position: relative; min-width: 0; padding: 0 0 54px 54px }
.stage .photo { aspect-ratio: 4 / 3.4 }
.receipt { position: absolute; left: 0; bottom: 0; width: 220px; background: var(--thermal); color: #222; font: 400 11.4px/1.5 var(--mono); padding: 16px 16px 22px; box-shadow: 0 18px 40px -10px rgba(15,35,56,.45); transform: rotate(-3.5deg);
  -webkit-mask: radial-gradient(circle 5px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100% repeat-x; mask: radial-gradient(circle 5px at 7px 100%, transparent 98%, #000) -7px 0 / 14px 100% repeat-x }
.receipt b { font-weight: 600 } .receipt .c { text-align: center }
.receipt .row { display: flex; justify-content: space-between; gap: 8px }
.receipt hr { border: 0; border-top: 1px dashed #9aa3ab; margin: 7px 0 }
.receipt .tag { display: inline-block; margin-top: 8px; font: 700 9px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #5f6b76 }
@media (max-width: 520px) { .receipt { width: 178px; font-size: 9.6px; padding: 12px 12px 18px } .stage { padding: 0 0 80px 16px } }

/* facts and tables */
.facts { display: grid; border-top: 1px solid var(--line); margin: 0 }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line) }
.facts dt { font: 700 .78rem/1.5 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.facts dd { margin: 0 }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px } }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px }
table.plain { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px }
table.plain th, table.plain td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
table.plain th { font: 700 .76rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--mist) }
table.plain tr:last-child td { border-bottom: 0 }
table.plain td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--heading) }
.note { font-size: .9rem; color: var(--muted) }
.callout { border-left: 4px solid var(--green); background: var(--soft-green); padding: 16px 20px; border-radius: 0 12px 12px 0 }
.band .callout { background: rgba(155,196,61,.12); color: #fff }

/* prices */
.price .amt { font: 800 2.2rem/1 var(--display); color: var(--heading); font-variant-numeric: tabular-nums }
.price .amt small { font: 600 .9rem/1 var(--text); color: var(--muted); margin-left: 4px }
.price.feature { border: 2px solid var(--green); background: linear-gradient(180deg, var(--price-tint), var(--surface) 60%) }

/* videos */
.video { display: grid; gap: 10px; min-width: 0 }
.video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--navy-deep); object-fit: cover }
.video .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline }
.video .len { font: 600 .82rem/1 var(--mono); color: var(--muted); flex: none }
.video p { font-size: .98rem; color: var(--muted) }
.tari { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center }
.tari img { width: 120px }
@media (max-width: 600px) { .tari { grid-template-columns: 80px 1fr } .tari img { width: 80px } }

/* phone */
.phone { width: min(300px, 100%); margin-inline: auto; border-radius: 40px; padding: 12px; background: #0b1622; box-shadow: 0 30px 60px -24px rgba(15,35,56,.6) }
.phone .screen { border-radius: 30px; overflow: hidden; aspect-ratio: 9 / 20; position: relative }
.phone .screen img { width: 100%; height: 100%; object-fit: cover }
.phone .card-on { position: absolute; left: 14px; right: 14px; background: rgba(255,255,255,.95); border-radius: 16px; padding: 14px; display: grid; gap: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.25) }
.phone .card-on .k { font: 700 .66rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #5f8a14 }
.phone .card-on b { font: 800 1.4rem/1.1 var(--display); color: #17304d }
.phone .card-on span { font-size: .8rem; color: #5f6b76 }

/* questions */
.faq { display: grid; gap: 12px }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface) }
.faq summary { cursor: pointer; padding: 18px 22px; font: 700 1.04rem/1.35 var(--display); color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-ink); flex: none }
.faq details[open] summary::after { content: "\2212" }
.faq .a { padding: 0 22px 20px; display: grid; gap: 10px; max-width: 75ch }

/* form */
.ask { background: var(--surface); color: var(--body); border-radius: 18px; padding: 26px; display: grid; gap: 14px; border: 1px solid var(--line) }
.band .ask { border: 0 }
.ask label { display: grid; gap: 6px; font: 600 .92rem/1.2 var(--display); color: var(--heading) }
.ask input, .ask select, .ask textarea { font: 400 1rem/1.4 var(--text); padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 10px; width: 100%; color: var(--ink); background: var(--field) }
.ask textarea { min-height: 96px; resize: vertical }
.ask .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.ask .small { font-size: .88rem; color: var(--muted) }
.ask [aria-invalid="true"] { border-color: #c0392b }
@media (max-width: 460px) { .ask .row2 { grid-template-columns: 1fr } }
.lines { display: grid; gap: 18px }
.lines div { display: grid; gap: 2px }
.lines .k { font: 700 .76rem/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink) }
.band .lines .k { color: var(--green) }
.lines a { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere }
.band .lines a, .band .lines span { color: #fff }
.lines a:hover { text-decoration: underline }

/* closing band and footer */
.closing .wrap { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr } }
footer { background: var(--footer); color: #8fa7c0; font-size: .94rem }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-block: 48px 30px }
footer .cols > * { min-width: 0 }
footer h4 { font: 700 .76rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 12px }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
footer a { color: #c9d8e8; text-decoration: none } footer a:hover { color: #fff; text-decoration: underline }
footer .brand .d { height: 34px } footer .brand .words { width: 90px; gap: 4px }
footer .rate { border-top: 1px solid #22395a; padding-block: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--on-navy) }
footer .rate .btn-line { border-color: var(--on-navy); color: #fff; padding: .7em 1.15em; font-size: .88rem }
footer .legal { border-top: 1px solid #22395a; padding-block: 18px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr } }
@media (max-width: 480px) { footer .cols { grid-template-columns: 1fr } }

/* articles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px }
.chip { font: 700 .88rem/1 var(--display); color: var(--heading); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: .65em 1.05em; cursor: pointer }
.chip:hover { border-color: var(--heading) }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff }
.post { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); text-decoration: none; min-width: 0; transition: transform .15s, box-shadow .15s }
.post:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(15,35,56,.4) }
.post[hidden] { display: none }
.post .thumb { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden }
.post .thumb img { width: 100%; height: 100%; object-fit: cover }
.post .thumb.plain { display: grid; place-items: center; background: var(--navy) }
.post .thumb.plain span { font: 800 1.3rem/1 var(--display); color: var(--green) }
.post-body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 22px }
.post-body .kind, .edition .kind { font: 700 .74rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink) }
.post-body p { font-size: .98rem; color: var(--body) }
.prose { max-width: 720px; margin-inline: auto; display: grid; gap: 18px; font-size: 1.08rem; line-height: 1.7 }
.prose > * { margin: 0 }
.prose h2 { font-size: 1.45rem; margin-top: 14px }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px }
.prose li::marker { color: var(--green-ink) }
.prose b { color: var(--ink) }
.prose a { color: var(--heading); text-underline-offset: 3px }
.prose .photo { margin-bottom: 8px }
.prose .video { margin-block: 6px 10px }
.sources { border-top: 2px solid var(--rule); padding-top: 18px; margin-top: 18px; display: grid; gap: 12px; font-size: .94rem }
.sources h2 { font-size: 1.1rem; margin: 0 }
.sources ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--body) }
.sources a { overflow-wrap: anywhere; color: var(--muted) }
.byline { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px }

/* pictures shimmer softly until they arrive */
.shot .frame:not(.bare), .photo, .post .thumb:not(.plain) { background-image: linear-gradient(100deg, var(--shim-a) 40%, var(--shim-b) 50%, var(--shim-a) 60%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite }
.shot .frame.is-loaded, .photo.is-loaded, .post .thumb.is-loaded { animation: none; background-image: none }
@keyframes shimmer { from { background-position: 100% 0 } to { background-position: -200% 0 } }

/* the page that is not there */
.notfound { background: linear-gradient(180deg, var(--mist), var(--paper) 80%); min-height: 70vh }
.tari-404 { position: relative; display: grid; justify-items: center; gap: 18px }
.tari-404 img { width: min(240px, 60%); animation: puzzled 3s ease-in-out infinite }
.tari-404 .bubble { background: var(--surface); border: 2px solid var(--green); border-radius: 18px; padding: 14px 18px; max-width: 320px; font: 600 1rem/1.4 var(--display); color: var(--heading); box-shadow: 0 14px 30px -18px rgba(15,35,56,.4); position: relative }
.tari-404 .bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 16px; height: 16px; background: var(--surface); border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateX(-50%) rotate(45deg) }
@keyframes puzzled { 0%, 100% { transform: rotate(0) } 25% { transform: rotate(-3deg) } 75% { transform: rotate(3deg) } }

/* magazine */
.editions { display: grid; gap: 36px }
.edition { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface) }
.edition > * { min-width: 0 }
.edition .cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 22px 40px -18px rgba(15,35,56,.5); transition: transform .15s }
.edition .cover:hover { transform: translateY(-3px) }
.edition .cover img { width: 100% }
@media (max-width: 700px) { .edition { grid-template-columns: 1fr } .edition .cover { max-width: 260px } }

/* newsletter */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.subscribe-form.inline { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 520px; align-items: start }
.subscribe-form.inline input { font: 400 1rem/1.4 var(--text); padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 999px; width: 100%; min-width: 0; color: var(--ink); background: var(--field) }
.subscribe-form.inline .msg { grid-column: 1 / -1 }
.subscribe-form .msg { font-size: .95rem; min-height: 0 }
.subscribe-form .msg:empty { display: none }
.subscribe-form.done .msg { color: var(--green-ink); font-weight: 600 }
footer .subscribe-form.done .msg, .band .subscribe-form.done .msg { color: var(--green) }
.topics { border: 0; padding: 0; margin: 0; display: grid; gap: 8px }
.topics legend { font: 600 .92rem/1.2 var(--display); color: var(--heading); margin-bottom: 6px }
.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font: 400 1rem/1.4 var(--text) !important; color: var(--body) !important }
.check input { width: 18px !important; height: 18px; margin-top: 2px; accent-color: var(--green-ink); flex: none }
footer .news { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 24px 40px; align-items: center; padding-block: 36px; border-bottom: 1px solid #22395a }
footer .news h4 { margin-bottom: 6px } footer .news p { max-width: 60ch }
footer .news .msg { color: #c9d8e8 }
@media (max-width: 860px) { footer .news { grid-template-columns: 1fr } }
@media (max-width: 460px) { .subscribe-form.inline { grid-template-columns: 1fr } }

/* header additions */
.nav > a.btn.small { padding: .62em 1em; font-size: .86rem; background: transparent; color: var(--heading); border: 2px solid var(--heading) }
.nav > a.btn.small:hover { background: var(--mist); color: var(--heading) }
@media (max-width: 1180px) { .nav { display: none } .menu { display: block } }

/* downloads */
.chip-v { display: inline-block; font: 700 .74rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #5f8a14; border-radius: 999px; padding: .45em .8em; white-space: nowrap }
.chip-v.soft { background: var(--soft-green); color: var(--green-ink) }
.dlhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.dlcard { gap: 12px }
.dlcard .callout { font-size: .95rem }
.dls { display: grid; gap: 8px; margin-top: 4px }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--dl); color: #fff; text-decoration: none; transition: background .15s }
.dl:hover { background: var(--navy-deep) }
.dl span:first-child { display: grid; gap: 2px } .dl b { font: 700 .95rem/1.3 var(--display) } .dl small { color: var(--on-navy); font-size: .85rem }
.dl .arrow { font: 800 1.3rem/1 var(--display); color: var(--green) }
.sums summary { cursor: pointer; font: 600 .88rem/1.4 var(--display); color: var(--muted) }
.sums div { display: grid; gap: 8px; margin-top: 8px }
.sums div div { display: grid; gap: 2px; margin: 0 }
.sums span { font-size: .82rem; color: var(--muted) }
.sums code { font: 400 .76rem/1.4 var(--mono); overflow-wrap: anywhere; background: var(--mist); padding: 6px 8px; border-radius: 6px }
.card.soon { opacity: .92 }

/* client area */
.signin-preview { opacity: .8 }
.signin-preview input:disabled, .signin-preview button:disabled { cursor: not-allowed }
.signin-preview .chip-v { justify-self: start }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none }

/* ecosystem */
.eco { width: 100%; max-width: 560px; margin-inline: auto; display: block }
.band .eco rect { filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)) }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0 }
.phase.now { border: 2px solid var(--green) }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.phase li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--line) }
.phase.now li { border-left-color: var(--green) }
.phase li b { font: 700 1rem/1.3 var(--display); color: var(--heading) }
.phase li span { font-size: .95rem; color: var(--muted) }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr } }
.quote-big { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--display); color: var(--heading); border-left: 5px solid var(--green); padding-left: 20px }

/* logos come as a pair, the white one shown in dark; the ecosystem drawing takes its colours from the theme */
.brand picture { display: block; line-height: 0 }
.eco-node { fill: var(--surface); stroke: var(--line) } .eco-t { fill: var(--heading) } .eco-s { fill: var(--muted) }
.band .eco-node { fill: #ffffff; stroke: #dce3ea } .band .eco-t { fill: #17304d } .band .eco-s { fill: #5f6b76 }

/* Tari, Lisa or Decima in the corner, telling jokes (assets/buddy.js) */
.buddy { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none }
.buddy > * { pointer-events: auto }
.buddy-me { appearance: none; background: none; border: 0; margin: 0; padding: 4px; cursor: pointer; border-radius: 18px; line-height: 0; filter: drop-shadow(0 6px 10px var(--pop)); -webkit-tap-highlight-color: transparent }
.buddy-me svg { display: block; height: 112px; width: auto; animation: buddy-bob 3.4s ease-in-out infinite alternate; transition: transform .2s ease }
.buddy-me:hover svg { transform: translateY(-3px) scale(1.04) }
.buddy-me:focus-visible { outline: 3px solid var(--green); outline-offset: 2px }
.buddy .g-armL { transform-box: view-box; transform-origin: 90px 224px }
.buddy[data-who="lisa"] .g-armL { transform-origin: 88px 222px }
.buddy[data-who="decima"] .g-armL { transform-origin: 86px 222px }
.buddy.waving .g-armL { animation: buddy-wave .38s ease-in-out 4 alternate }
.buddy-bubble { position: relative; width: min(300px, calc(100vw - 32px)); margin: 0 4px 8px 0; padding: 14px 44px 14px 16px; background: var(--surface); color: var(--body); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px var(--pop); font: 400 1rem/1.45 var(--text); transform-origin: 85% 100% }
.buddy-bubble[hidden] { display: none }
.buddy-bubble::after { content: ""; position: absolute; right: 38px; bottom: -8px; width: 14px; height: 14px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg) }
.buddy-bubble.pop { animation: buddy-pop .22s ease-out }
.buddy-name { margin: 0 0 4px; font: 800 .75rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--heading) }
.buddy-joke { margin: 0; color: var(--ink); font-size: 1.06rem; text-wrap: pretty }
.buddy-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px }
.buddy-actions[hidden] { display: none }
.buddy-actions button { background: none; border: 0; padding: 4px 0; font: 700 .92rem/1.2 var(--text); color: var(--green-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px }
.buddy-actions .buddy-hide { color: var(--muted); font-weight: 400 }
.buddy-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font: 400 1.4rem/1 var(--text); cursor: pointer }
.buddy-x:hover { background: var(--mist); color: var(--ink) }
.buddy button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px }
@keyframes buddy-bob { from { transform: translateY(0) } to { transform: translateY(-4px) } }
@keyframes buddy-wave { from { transform: rotate(0) } to { transform: rotate(16deg) } }
@keyframes buddy-pop { from { opacity: 0; transform: translateY(6px) scale(.94) } to { opacity: 1; transform: none } }
@media (max-width: 640px) { .buddy-me svg { height: 80px } .buddy { right: max(8px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)) } }
@media (prefers-reduced-motion: reduce) { .buddy *, .buddy-bubble.pop { animation: none !important; transition: none !important } }
@media print { .buddy { display: none } }

/* logo strips: customers, and the systems Decima works with */
.logos { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px }
.logos li { background: var(--logo-tile); border: 1px solid var(--line); border-radius: 14px; padding: 14px 24px; display: grid; place-items: center; height: 104px; min-width: 132px }
.logos img { height: 72px; width: auto; max-width: 200px; object-fit: contain }
.logos li.word span { font: 800 1rem/1.2 var(--display); color: #17304d; text-align: center; max-width: 18ch }
.logo-note { text-align: center; font-size: .85rem; color: var(--muted); max-width: 64ch; margin: 18px auto 0 }
@media (max-width: 520px) { .logos { gap: 10px } .logos li { height: 80px; min-width: 0; padding: 10px 14px } .logos img { height: 54px; max-width: 140px } }
.pos-mark { display: block; line-height: 0 }
.pos-mark img { width: 260px; height: auto; max-width: 70vw }
