/* Wasalea Technologies — wasalea.com
   Mobile-first. No build step: edit this file and redeploy. */

:root {
  --bg: #ffffff;
  --bg-alt: #f3f7f4;
  --bg-dark: #0b1c16;
  --ink: #0e1f19;
  --ink-soft: #4c6058;
  --accent: #0f7a56;
  --accent-ink: #0b5e42;
  --accent-wash: #e4f2eb;
  --border: #dde7e1;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(14, 31, 25, .06), 0 8px 24px -12px rgba(14, 31, 25, .18);
  --shadow-lg: 0 2px 4px rgba(14, 31, 25, .05), 0 24px 60px -24px rgba(14, 31, 25, .3);
  --radius: 14px;
  --wrap: 1120px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1310;
    --bg-alt: #101d18;
    --bg-dark: #07100d;
    --ink: #e8f0ec;
    --ink-soft: #a0b3aa;
    --accent: #3fc08c;
    --accent-ink: #6fd3a9;
    --accent-wash: #11291f;
    --border: #1e332b;
    --card: #0f1b16;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 60px -24px rgba(0, 0, 0, .8);
  }
}

:root[data-theme="dark"] {
  --bg: #0b1310; --bg-alt: #101d18; --bg-dark: #07100d;
  --ink: #e8f0ec; --ink-soft: #a0b3aa;
  --accent: #3fc08c; --accent-ink: #6fd3a9; --accent-wash: #11291f;
  --border: #1e332b; --card: #0f1b16;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2rem, 6.4vw, 3.3rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
h3 { font-size: 1.07rem; font-weight: 640; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 700px; }
.center { text-align: center; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 680; font-size: 1.1rem; letter-spacing: -.02em; }
.brand-sub {
  font-size: .64rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-soft);
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--border); border-radius: 10px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { display: block; width: 18px; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars span + span { margin-top: 4px; }

.site-nav { display: none; }
.site-nav.open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 10px 20px 18px; box-shadow: var(--shadow);
}
.site-nav a {
  color: var(--ink); text-decoration: none; padding: 12px 2px;
  border-bottom: 1px solid var(--border); font-weight: 500;
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav .nav-cta { color: var(--accent-ink); font-weight: 640; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: flex; flex-direction: row; align-items: center; gap: 2px;
    position: static; padding: 0; border: 0; background: none; box-shadow: none;
  }
  .site-nav a { border: 0; padding: 8px 11px; border-radius: 9px; font-size: .94rem; }
  .site-nav a:hover { background: var(--bg-alt); }
  .site-nav .nav-cta {
    background: var(--accent); color: #fff; margin-left: 8px; padding: 9px 16px;
  }
  .site-nav .nav-cta:hover { background: var(--accent-ink); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 640; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-wash); }
.btn-light { background: #fff; color: #0b1c16; }
.btn-light:hover { background: #e9f3ee; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- hero ---------- */

.hero {
  padding: 48px 0 44px;
  background:
    radial-gradient(130% 100% at 88% -15%, var(--accent-wash), transparent 62%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; gap: 34px; }
.hero-copy { max-width: 620px; }

.eyebrow {
  font-size: .78rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 12px;
}
.product-badge {
  display: inline-block; margin: 0 0 14px;
  padding: 5px 13px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .86rem; font-weight: 650; letter-spacing: -.01em;
}
.lede { font-size: clamp(1.04rem, 2.4vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.cta-row .btn { flex: 1 1 auto; min-width: 200px; }
.cta-center { justify-content: center; }
.hero-meta { font-size: .86rem; color: var(--ink-soft); margin: 0; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 64px; }
  .cta-row .btn { flex: 0 0 auto; }
}
/* The hero screenshot runs full width under the copy rather than beside it.
   Beside it, the image would render at about half the container and the two
   headline figures come out roughly 8px tall - present but unreadable, which
   defeats the point of showing the product at all. Full width renders it at
   about 0.6 scale, where the figures and the coverage bar can be read. */
.hero-grid { grid-template-columns: 1fr; }
.hero-shot { width: 100%; }

/* Crop to the top band: the two headline figures, the coverage bar and the
   14-day chart. Everything below that is detail the product section shows
   in full, and including it here only shrinks what matters. */
.shot-hero img {
  width: 100%;
  aspect-ratio: 1803 / 755;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 719px) {
  /* On a phone even full width is only ~340px, so a wide crop would be a
     letterbox strip. Show more of the screen and let it be an impression of
     the product rather than something to read. */
  .shot-hero img { aspect-ratio: 1803 / 1035; }
}

/* ---------- sections ---------- */

.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-dark { background: var(--bg-dark); color: #eaf3ee; }
.section-dark .eyebrow { color: #7fd9b2; }
.section-dark .prose, .section-dark .ticks { color: #b9cfc5; }
.section-title { max-width: 32ch; }
.center .section-title, .center .prose { margin-inline: auto; }
.prose { color: var(--ink-soft); max-width: 64ch; }
.fineprint { font-size: .87rem; color: var(--ink-soft); margin: 22px 0 0; max-width: 70ch; }

@media (min-width: 720px) { .section { padding: 76px 0; } }

/* ---------- cards ---------- */

.grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* problem paired with what the software does */
.card-ps .ps-problem { margin-bottom: 16px; }
.card-ps .ps-answer {
  color: var(--ink); font-size: .95rem;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.ps-label {
  display: block; font-size: .7rem; font-weight: 680; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 5px;
}

/* ---------- notices ---------- */

.notice {
  margin-top: 28px; padding: 22px 24px;
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); background: var(--card);
}
.notice h3 { margin-bottom: .4em; }
.notice p { color: var(--ink-soft); margin: 0; font-size: .95rem; max-width: 76ch; }
.notice-quiet { border-left-color: var(--ink-soft); }

/* ---------- steps ---------- */

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 680; font-size: .95rem;
  background: var(--accent); color: #fff;
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---------- screenshots ---------- */

.shot-grid { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 760px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }

.shot { margin: 0; }
.shot-frame {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--card); box-shadow: var(--shadow);
}
.shot-frame img { width: 100%; }
.shot figcaption {
  margin-top: 10px; font-size: .9rem; color: var(--ink-soft); line-height: 1.5;
}
.shot-lg .shot-frame { box-shadow: var(--shadow-lg); }

/* placeholder until the real capture is dropped in */
.shot-pending {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 20px;
  background:
    repeating-linear-gradient(135deg,
      transparent, transparent 11px,
      var(--accent-wash) 11px, var(--accent-wash) 22px);
  border-style: dashed;
}
.shot-pending-kicker {
  font-size: .68rem; font-weight: 680; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-ink);
}
.shot-pending-name { font-size: 1.02rem; font-weight: 640; color: var(--ink); }
.shot-tablet { aspect-ratio: 4 / 3; }

.section-dark .shot-frame { border-color: #244135; background: #0d1a15; }
.section-dark .shot-pending-name { color: #eaf3ee; }
.section-dark .shot-pending {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 11px, #142a21 11px, #142a21 22px);
}

/* ---------- split (tablet section) ---------- */

.split { display: grid; gap: 28px; margin-top: 26px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 44px; } }

.ticks { list-style: none; margin: 0 0 20px; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .52em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.section-dark .ticks li::before { border-color: #7fd9b2; }

.callout {
  padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid #244135;
  font-size: .95rem; color: #d6e8df;
}

/* ---------- downloads ---------- */

.downloads { margin-top: 28px; }
.dl-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.dl-card h3 { font-size: 1.2rem; margin-bottom: .6em; }
.dl-meta { margin: 0 0 16px; font-size: .88rem; }
.dl-meta > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px dashed var(--border);
}
.dl-meta dt { color: var(--ink-soft); margin: 0; }
.dl-meta dd { margin: 0; font-weight: 600; text-align: right; }
.dl-how { font-size: .9rem; color: var(--ink-soft); flex: 1 0 auto; margin-bottom: 18px; }

/* ---------- form ---------- */

.form { margin-top: 26px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { display: block; font-size: .91rem; font-weight: 620; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--border); border-radius: 11px;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%234c6058' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
  padding-right: 38px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .invalid { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--accent-ink); font-weight: 620; }
.form-status.err { color: #c0392b; }
.form-privacy { margin: 14px 0 0; font-size: .83rem; color: var(--ink-soft); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status.err { color: #ff8a7a; }
  :root:not([data-theme="light"]) .field .invalid { border-color: #ff8a7a; }
}

/* ---------- legal pages ---------- */

.legal { padding: 44px 0 64px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: .3em; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2em; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--ink); }

/* ---------- footer ---------- */

.site-footer { background: var(--bg-dark); color: #c8ddd3; padding: 46px 0 38px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 660; color: #fff; margin-bottom: 10px; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-tag { font-size: .9rem; color: #8aa89c; margin: 0; max-width: 34ch; }

.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav h2 {
  font-size: .7rem; font-weight: 680; letter-spacing: .11em; text-transform: uppercase;
  color: #7fd9b2; margin: 0 0 3px;
}
.footer-nav a { color: #c8ddd3; text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-legal {
  font-size: .8rem; color: #8aa89c; margin: 0; max-width: 72ch; line-height: 1.55;
  border-top: 1px solid #1d3329; padding-top: 22px;
}

@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; column-gap: 40px; }
  .footer-legal { grid-column: 1 / -1; }
}
