/* sawit.systems landing page. The material is the edash.systems landing's own:
   assets/glass/glass-tokens.css is a byte-for-byte copy of eDash's
   css/glass-tokens.css, and the .glass, .nav, .btn, .lang, .ink and .hw rules
   below are copied from the landing's inline CSS (edash.systems/, 28 Oct 2026).
   assets/glass/glassLite.js picks the tier, assets/glass/liquid.js tags
   .mp-nav/.mp-cta/.mp-chip/.mp-panel and assets/glass/liquid.css adds the rim,
   depth and (glass-hd only) the SVG refraction. */

:root {
  --sab: env(safe-area-inset-bottom, 0px);
  --sat: env(safe-area-inset-top, 0px);
  /* Green and yellow, as Fariz asked. The glass tokens file is a pinned copy, so its
     --gl-* colours are overridden here instead of edited there. */
  --paper: #ffffff;
  --mist: #eef6e8;
  --line: #d6e6cf;
  --ink: #0b2b1d;
  --ink-rgb: 11, 43, 29;
  --ink-2: #12432c;
  --ink-muted: #4b6657;
  --action-hi: #2fa06a;
  --action-lo: #1f7a4d;
  --action-rgb: 47, 160, 106;
  --cyan-200: #b9e6a6;
  --mint: #f2c230;
  --mint-rgb: 242, 194, 48;
  --yellow-hi: #f7d04a;
  --yellow-lo: #e3a21a;
  --gl-ink-rgb: 11, 43, 29;
  --gl-action-rgb: 47, 160, 106;
  --gl-mint-rgb: 242, 194, 48;
  --gl-mist: #eef6e8;
  --gl-mist-deep: #dcebd2;
  --gl-action: #1f7a4d;
  --gl-action-hi: #2fa06a;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 76rem;
  --gut: 1rem;
  --nav-h: 4.75rem;
  --sp: clamp(2.25rem, 4.5vw, 3.5rem);
  --r-pill: 999px;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  --nav-inset: 8px;
  --nav-ctl-h: 2.75rem;
  --nav-gap: 8px;
  color-scheme: light;

  --s-tm: #2f9e6e;
  --s-tbm: #e3a21a;
  --s-replant: #fa891a;
  --s-new: #3e7cb1;
  --s-fallow: #7c8b8d;
}
@media (min-width: 700px) {
  :root {
    --gut: 1.5rem;
  }
}
@media (min-width: 1040px) {
  :root {
    --gut: 2.5rem;
    --nav-h: 5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    500 1rem/1.6 'Montserrat',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  overflow-x: hidden;
}
img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}
h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gut);
}
:focus-visible {
  outline: 3px solid var(--cyan-200);
  outline-offset: 3px;
}

/* ================= liquid glass (eDash landing, verbatim) ================= */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--gl-card-dark);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  backdrop-filter: blur(18px) saturate(1.7);
  border: 1px solid var(--gl-card-dark-edge);
  box-shadow: var(--gl-card-dark-rim), var(--gl-card-dark-depth);
}
.glass.light {
  background: var(--gl-card-light);
  border-color: var(--gl-card-light-edge);
  box-shadow: var(--gl-card-light-rim), var(--gl-card-light-depth);
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    120% 90% at var(--lx, 28%) var(--ly, -10%),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 55%
  );
}
.glass::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: conic-gradient(
    from var(--ang, 210deg),
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0.75) 40deg,
    rgba(255, 255, 255, 0) 95deg,
    rgba(var(--mint-rgb), 0.55) 190deg,
    rgba(255, 255, 255, 0) 250deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}
html.glass {
  position: static;
  isolation: auto;
  border: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.glass::before,
html.glass::after {
  content: none;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    background: var(--ink-2);
  }
  .glass.light {
    background: #f4f9ef;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--ink-2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .glass.light {
    background: #f4f9ef;
  }
  .glass::before,
  .glass::after {
    display: none;
  }
}
html.glass-lite .glass {
  background: var(--ink-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.glass-lite .glass.light {
  background: #f4f9ef;
}
html.glass-lite .glass::before {
  display: none;
}

/* ================= buttons (eDash landing) ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font:
    700 1.0625rem/1 'Montserrat',
    sans-serif;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  color: #fff;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.25s,
    filter 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: linear-gradient(180deg, var(--yellow-hi) 0%, var(--yellow-lo) 100%);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 22px -4px rgba(var(--mint-rgb), 0.45),
    0 12px 26px -12px rgba(2, 20, 12, 0.9);
}
.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 30px -2px rgba(var(--mint-rgb), 0.55),
    0 14px 30px -12px rgba(2, 20, 12, 0.95);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn-sm {
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

/* ================= nav (eDash landing): a fixed bar, a glass pill, a band once scrolled ================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: var(--sat) 0.5rem 0;
  pointer-events: none;
}
.nav::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--sat) + var(--nav-h) + 0.25rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 60%), rgba(var(--ink-rgb), 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  backdrop-filter: blur(28px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 28px -14px rgba(2, 20, 12, 0.55);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav.stuck::before {
  opacity: 1;
}
.nav-in {
  pointer-events: auto;
  position: relative;
  max-width: 72rem;
  margin: 0.375rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: var(--nav-inset);
  border-radius: var(--r-pill);
}
.nav.stuck .nav-in {
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)), rgba(var(--ink-rgb), 0.92);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav::before {
    background: var(--ink);
  }
  .nav.stuck .nav-in {
    background: var(--ink-2);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav::before {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav.stuck .nav-in {
    background: var(--ink-2);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
html.glass-lite .nav::before {
  background: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html.glass-lite .nav.stuck .nav-in {
  background: var(--ink-2);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  height: var(--nav-ctl-h);
  padding-left: 0.35rem;
  color: #fff;
  text-decoration: none;
  font:
    700 1.0625rem/1 'Montserrat',
    sans-serif;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, var(--action-hi), var(--action-lo));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(var(--mint-rgb), 0.5);
}
.brand-mark svg {
  width: 1.15rem;
  height: 1.15rem;
}
.brand b {
  color: var(--cyan-200);
  font-weight: 700;
}
.nav-links {
  display: none;
  gap: 1.6rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font:
    600 0.9375rem/1 'Montserrat',
    sans-serif;
  padding: 0.35rem 0;
}
.nav-links a:hover {
  color: var(--cyan-200);
}
.nav-links a.nl-demo {
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: var(--action-lo);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(var(--mint-rgb), 0.5);
}
.nav-links a.nl-demo:hover {
  color: #fff;
  background: var(--action-hi);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  margin-left: auto;
}
.nav-links + .nav-right {
  margin-left: 0;
}
.lang {
  display: flex;
  align-items: center;
  height: var(--nav-ctl-h);
  padding: 2px;
  border-radius: var(--r-pill);
}
.lang button {
  font:
    700 0.8125rem/1 'Montserrat',
    sans-serif;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  padding: 0 0.7rem;
  cursor: pointer;
  min-width: 2.625rem;
  height: calc(var(--nav-ctl-h) - 4px);
}
.lang button[aria-pressed='true'] {
  background: var(--action-lo);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(var(--mint-rgb), 0.5);
}
.nav .lang.glass {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--gl-chip);
  box-shadow: var(--gl-chip-rim);
}
.nav-map {
  display: inline-flex;
  align-items: center;
  height: var(--nav-ctl-h);
  padding: 0 1rem;
  border-radius: var(--r-pill);
  color: #fff;
  text-decoration: none;
  font:
    700 0.875rem/1 'Montserrat',
    sans-serif;
  background: var(--action-lo);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(var(--mint-rgb), 0.5);
}
@media (min-width: 1040px) {
  .nav {
    padding: var(--sat) 0.75rem 0;
  }
  .nav-in {
    margin-top: 0.75rem;
    gap: 1.25rem;
  }
  .nav-links {
    display: flex;
  }
  .nav-right .nav-map {
    display: none;
  }
}
@media (max-width: 1039px) {
  .nav-in {
    margin-top: 2px;
  }
  .nav::before {
    height: calc(var(--sat) + 4px + var(--nav-ctl-h) + 2 * var(--nav-inset));
  }
}

/* ================= grounds (eDash landing): dark ink with the glow, light mist wash ================= */
.ink {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: var(--sp) 0;
  overflow: hidden;
}
.ink h2 {
  color: #fff;
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--gl-glow-dark);
}
.ink .wrap {
  position: relative;
}
.hw {
  position: relative;
  padding: var(--sp) 0;
  overflow: hidden;
  background: var(--gl-wash-light);
}

.eyebrow {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--action-lo);
}
.ink .eyebrow {
  color: var(--cyan-200);
}
.section-head {
  max-width: 42em;
  margin-bottom: 2rem;
}
.section-head h2 {
  margin-top: 0.6rem;
}

/* ================= hero ================= */
.hero {
  padding-top: calc(var(--nav-h) + var(--sat) + 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.9rem 0 1.1rem;
  color: #fff;
  text-wrap: balance;
}
.lede {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
  margin: 0 0 1.75rem;
}
/* The two buttons stand on their own. A glass pill around them left a ghost outline
   bulging behind the stacked buttons on a phone. */
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-card {
  display: block;
  border-radius: var(--r-lg);
  padding: 1.1rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.hero-card:hover {
  transform: translateY(-2px);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.15rem 0.25rem 0.8rem;
}
.hero-card-title {
  font-weight: 700;
  font-size: 1rem;
}
.hero-card-sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}
.hero-preview {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #dcebdd, #c9dfcb 60%, #bfd8c6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.hero-preview svg {
  width: 100%;
  height: 100%;
  display: block;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.8rem 0.25rem 0.1rem;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
}
.legend b {
  font-weight: 600;
}
.legend i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 3px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* ================= modules: light glass on the mist wash ================= */
.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(180deg, var(--action-hi), var(--action-lo));
  box-shadow: 0 0 0 1px rgba(var(--mint-rgb), 0.5);
}
.card-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ================= how it works: dark glass chips on the ink ================= */
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.step {
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
}
.step-n {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--action-hi), var(--action-lo));
  box-shadow:
    0 0 0 1px rgba(var(--mint-rgb), 0.55),
    0 0 18px -4px rgba(var(--mint-rgb), 0.5);
}
.step h3 {
  margin: 0 0 0.4rem;
  color: #fff;
}
.step p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.86);
}

/* ================= rules: one light glass panel ================= */
.rules {
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .rules {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rule h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  color: var(--ink);
}
.rule p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ================= closing card ================= */
.cta {
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta h2 {
  margin: 0 0 0.5rem;
}
.cta p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

footer {
  padding: 2rem 0 calc(2.5rem + var(--sab));
  font-size: 0.8125rem;
  color: var(--ink-muted);
  background: var(--paper);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot a {
  color: var(--action-lo);
}
.foot {
  align-items: center;
}
/* "Powered by" the dot systems mark, as on stockflow.systems and wtp.systems. */
.powered {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 1rem;
  border-radius: var(--r-pill);
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.75rem;
}
.powered img {
  display: block;
  height: 22px;
  width: auto;
}

@media (max-width: 640px) {
  .brand-text {
    display: none;
  }
  .hero-cta {
    display: flex;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .hero-card {
    transition: none;
  }
  .hero-card:hover {
    transform: none;
  }
}
