/* Lanka Real Estate — public site.
   Adopted from the Lanka_Real_Estate_Redesign canvas: Instrument Serif headings over
   Instrument Sans, a lime-to-olive green scale, and a warm off-white ground.

   Light-only by design. The redesign commits to one look, so rather than invent a dark
   palette that nobody validated, every colour is painted explicitly and the page tells
   the browser what it is with `color-scheme: light`. */
:root {
  color-scheme: light;

  --bg:        #fafcf6;   /* page ground */
  --surface:   #ffffff;
  --surface-2: #f2f6e9;   /* recessive fills, segmented controls */
  --wash:      #eef4e2;   /* section bands */
  --wash-2:    #ecfccb;   /* chips, avatars, soft accents */
  --line:      rgba(27, 35, 20, .08);
  --line-2:    rgba(27, 35, 20, .14);

  --ink:       #1b2314;   /* primary text */
  --ink-2:     #2c3620;
  --muted:     #5d6b52;
  --faint:     #77855f;

  --lime:      #84cc16;   /* the mark: logo diamond, highlights */
  --lime-soft: #bef264;
  --green:     #4d7c0f;   /* serif emphasis */
  --green-deep:#3f6212;   /* primary buttons, links */
  --green-dark:#2e4a10;   /* hover */
  --green-ink: #35510f;

  --radius:    18px;
  --radius-sm: 11px;
  --shadow:    0 18px 50px -22px rgba(63, 98, 18, .28);
  --shadow-sm: 0 6px 20px -8px rgba(132, 204, 22, .35);
  --wrap:      1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: #e3f5bd; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green-dark); }
.mono { font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

/* Serif is for display only — headings and the emphasised phrase inside them. */
h1, h2, .serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400; letter-spacing: -.015em; line-height: 1.06; margin: 0;
}
h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h1 em, h2 em { font-style: italic; color: var(--green); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
section { padding: 110px 0 30px; }
@media (max-width: 640px) { section { padding: 72px 0 24px; } .wrap { padding: 0 20px; } }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green);
}
.lede { margin: 16px 0 0; font-size: 17.5px; line-height: 1.65; color: var(--muted); max-width: 56ch; }

/* --- nav ----------------------------------------------------------------- */
#nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
#nav.stuck { background: rgba(250, 252, 246, .86); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
#nav .bar {
  max-width: var(--wrap); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
/* The logo mark: a lime square on its corner. */
.diamond { width: 11px; height: 11px; background: var(--lime); border-radius: 3px; transform: rotate(45deg); display: inline-block; flex-shrink: 0; }
#nav nav { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
#nav nav a { color: #46543a; }
#nav nav a:hover { color: var(--ink); }
@media (max-width: 860px) { #nav nav { display: none; } }
@media (max-width: 520px) {
  #nav .bar { padding: 12px 20px; gap: 12px; }
  .brand { font-size: 15px; gap: 8px; white-space: nowrap; }
  #nav .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 11px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--surface-2); color: var(--ink); }
.btn.primary { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn.primary:hover { background: var(--green-dark); color: #fff; }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.lime:hover { background: var(--lime-soft); color: var(--ink); }
.btn.big { padding: 14px 26px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: clip; padding: 170px 0 96px; }
@media (max-width: 640px) { .hero { padding: 128px 0 64px; } }
.hero .grid {
  position: relative; display: grid; gap: 64px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
}
/* Soft radial washes behind the hero; they drift on scroll. */
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.one { top: -150px; right: -130px; width: 580px; height: 580px;
  background: radial-gradient(circle at 50% 50%, rgba(217, 242, 166, .75), rgba(217, 242, 166, 0) 65%); }
.blob.two { bottom: -200px; left: -170px; width: 540px; height: 540px;
  background: radial-gradient(circle at 50% 50%, rgba(236, 252, 203, .9), rgba(236, 252, 203, 0) 65%); }
#net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(100deg, #eef8d8 25%, #ddf5b0 45%, #eef8d8 65%);
  background-size: 200% 100%; animation: shimmer 3.6s linear infinite;
  border: 1px solid #c8e590; box-shadow: var(--shadow-sm); color: var(--green-ink);
  font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
}
.badge .dot { width: 9px; height: 9px; background: var(--lime); border-radius: 2.5px; transform: rotate(45deg); animation: pulse 2.4s infinite; }

/* --- the hero brief card ------------------------------------------------- */
.brief {
  margin-top: 34px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.brief .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brief .rule { height: 1px; background: rgba(27, 35, 20, .07); }
.brief input, .brief select {
  /* flex-basis, not min-width: a hard minimum clips the placeholder in a narrow card. */
  flex: 1 1 130px; min-width: 0; border: 0; background: transparent;
  padding: 10px 12px; font: inherit; font-size: 15px; color: var(--ink);
}
/* Budget carries the longest placeholder, so it takes the larger share of the row. */
.brief .row select { flex: 1 1 110px; }
.brief .row input { flex: 1.3 1 140px; }
.brief .row.send { justify-content: space-between; gap: 12px; }
/* On a phone the area gets its own line — 165px of input truncates the placeholder. */
@media (max-width: 640px) {
  .brief .row:first-child { flex-wrap: wrap; }
  .brief .row:first-child .divider { display: none; }
  .brief .row:first-child input { flex: 1 1 100%; }
  .brief .row.send .btn { flex: 1 1 100%; }
}
.brief .row.send .chips { padding: 0; flex: 1; }
.brief input:focus, .brief select:focus { outline: 2px solid var(--lime); outline-offset: -2px; border-radius: 8px; }
.brief .divider { width: 1px; height: 26px; background: rgba(27, 35, 20, .09); }

/* Segmented buy/rent control with a sliding pill. */
.seg { position: relative; display: flex; background: var(--surface-2); border-radius: var(--radius-sm); padding: 3px; flex-shrink: 0; }
.seg .pill { position: absolute; top: 3px; left: 3px; bottom: 3px; width: 76px; background: var(--green-deep); border-radius: 9px; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.seg button {
  position: relative; z-index: 1; width: 76px; border: 0; background: transparent;
  padding: 9px 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: color .3s ease;
}
.seg button[aria-pressed="true"] { color: #fff; }

.chips { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 2px 4px 6px; }
.chip {
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 500; padding: 7px 13px;
  border-radius: 999px; cursor: pointer; transition: all .2s ease;
}
.chip[aria-pressed="true"] { background: var(--wash-2); color: var(--green-deep); border-color: #c9e88f; }

/* --- how it works -------------------------------------------------------- */
.band { background: var(--wash); }
.steps { margin-top: 52px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.step .n {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: 44px; line-height: 1; color: #a8cf5a;
}
.step h3 { margin: 18px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.step { padding: 34px; transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 60px -30px rgba(27, 35, 20, .3); }

/* The third step is the payoff, so it gets the dark treatment and a sample exchange. */
.step.dark { background: #1c2a10; border-color: #1c2a10; }
.step.dark .n { color: var(--lime-soft); }
.step.dark h3 { color: #f2f8e4; }
.step.dark p { color: #aebe97; }
.step.dark:hover { box-shadow: 0 26px 60px -30px rgba(22, 31, 12, .5); }
.chat { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.chat > div { max-width: 88%; font-size: 13.5px; line-height: 1.5; padding: 11px 14px; }
.chat .them { align-self: flex-start; background: #2c3d1a; color: #e9f2d9; border-radius: 13px 13px 13px 4px; }
.chat .us { align-self: flex-end; background: var(--wash-2); color: #23300f; border-radius: 13px 13px 4px 13px; }

.stats { margin-top: 52px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.stat .n { font-family: 'Instrument Serif', Georgia, serif; font-size: 44px; line-height: 1; color: var(--green); }
.stat .l { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* --- stories ------------------------------------------------------------- */
.quotes { margin-top: 52px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.quote-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.quote-mark { display: block; font-family: 'Instrument Serif', Georgia, serif; font-size: 54px; line-height: .4; color: var(--lime-soft); }
.quote-card blockquote { margin: 14px 0 0; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.quote-card figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--wash-2); color: var(--green-deep);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.quote-card figcaption strong { display: block; font-size: 14.5px; font-weight: 600; }
.quote-card figcaption .ctx { display: block; font-size: 13px; color: var(--faint); margin-top: 1px; }

/* --- faq ----------------------------------------------------------------- */
.faq { margin-top: 46px; display: grid; gap: 12px; max-width: 840px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.qa > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 0; background: transparent; font: inherit; font-size: 16.5px; font-weight: 600;
  color: var(--ink); text-align: left; padding: 22px 26px; cursor: pointer;
}
.qa .sign { font-size: 22px; color: var(--green); line-height: 1; flex-shrink: 0; }
/* grid-template-rows animates where height:auto cannot. */
.qa .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s cubic-bezier(.22,1,.36,1); }
.qa[data-open="1"] .a { grid-template-rows: 1fr; }
.qa .a > div { overflow: hidden; }
.qa .a p { margin: 0; padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; line-height: 1.66; }

/* --- forms --------------------------------------------------------------- */
.form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; width: 100%;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 108px; resize: vertical; }
.note { font-size: 13.5px; color: var(--faint); line-height: 1.6; }
.error { background: #fdecea; color: #9b2c22; border: 1px solid #f5c6c0; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }
.success { background: var(--wash-2); border: 1px solid #c9e88f; border-radius: var(--radius); padding: 32px; }
.success h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* --- the dark closing panel ---------------------------------------------- */
/* CTA and footer are one surface, as in the redesign: the page ends on the ask. */
footer.cta { margin-top: 110px; background: #161f0c; color: #eef4e2; padding: 100px 0 36px; }
.cta-head { text-align: center; }
.cta-head h2 { color: #f4f9e8; font-size: clamp(38px, 5vw, 66px); }
.cta-head h2 em { color: var(--lime-soft); }
.cta-head p { margin: 18px auto 0; max-width: 460px; font-size: 16.5px; line-height: 1.65; color: #a9b894; }
.cta-head .btn-row { margin-top: 32px; justify-content: center; }
.cta .btn { background: transparent; border-color: rgba(238, 244, 226, .28); color: #eef4e2; }
.cta .btn:hover { background: rgba(238, 244, 226, .08); border-color: rgba(238, 244, 226, .6); color: #eef4e2; }
.cta .btn.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.cta .btn.lime:hover { background: #96dd28; color: var(--ink); }

/* An outsized wordmark, cropped by the viewport — a signature, not a heading. */
.wordmark {
  margin-top: 90px; padding-top: 34px; border-top: 1px solid rgba(238, 244, 226, .12);
  font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(46px, 8.6vw, 132px);
  line-height: 1.1; text-align: center; white-space: nowrap; color: rgba(190, 242, 100, .13);
  overflow: hidden;
}
.fine {
  margin-top: 36px; display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap; font-size: 13px; color: #8a9a76;
}
.fine .links { display: flex; gap: 22px; flex-wrap: wrap; }
.fine a { color: #a9b894; }
.fine a:hover { color: #eef4e2; }
body.has-fab footer.cta { padding-bottom: 96px; }
@media (max-width: 640px) { footer.cta { margin-top: 72px; padding: 64px 0 28px; } .wordmark { margin-top: 56px; }
  body.has-fab footer.cta { padding-bottom: 88px; } }

/* WhatsApp: a labelled pill rather than a bare icon, so what it opens is obvious. */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  background: #1c2a10; color: #f2f8e4; padding: 13px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -14px rgba(22, 31, 12, .55);
  transition: transform .3s ease;
}
.fab:hover { transform: translateY(-2px); color: #f2f8e4; }
.fab-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: pulse 2.4s infinite; }
@media (max-width: 520px) { .fab { right: 14px; bottom: 14px; padding: 12px 16px; } }

.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.loading { padding: 80px 20px; text-align: center; color: var(--muted); }

/* --- skip link ----------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green-deep); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; color: #fff; }

/* --- the town marquee ---------------------------------------------------- */
.marquee {
  border-top: 1px solid rgba(27, 35, 20, .07); border-bottom: 1px solid rgba(27, 35, 20, .07);
  padding: 15px 0; overflow: hidden;
}
.marquee .track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee span {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: 19px; color: #8b9a78; white-space: nowrap; padding-right: 56px;
}

/* --- hero: channel row --------------------------------------------------- */
.channel-row {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--faint);
}
.pillbtn {
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 999px;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pillbtn[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.brief .mh { font-size: 12.5px; color: #9aa88c; margin-right: 2px; align-self: center; }
.brief .btn { flex-shrink: 0; padding: 12px 22px; font-size: 15px; }

/* --- hero: the matching-engine panel ------------------------------------- */
/* Pure decoration. It carries no information the page needs, so it is aria-hidden
   and every part of it stops under prefers-reduced-motion. */
.visual { position: relative; height: min(600px, 66vh); min-height: 440px; }
@media (max-width: 900px) { .visual { height: 460px; min-height: 0; } }
@media (max-width: 520px) { .visual { display: none; } }

.engine {
  position: absolute; top: 0; right: 0; width: 82%; height: 100%;
  border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(27, 35, 20, .45);
  background: radial-gradient(circle at 50% 42%, #223311 0%, #16200c 58%, #121a09 100%);
}
.engine-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(190, 242, 100, .13) 1px, transparent 1px);
  background-size: 26px 26px;
}
.live {
  position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 8px;
  background: rgba(236, 252, 203, .07); border: 1px solid rgba(190, 242, 100, .2);
  border-radius: 999px; padding: 6px 13px; font-size: 11px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: #cfe3ad;
}
.live .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.8s ease-in-out infinite; }

.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%); width: min(76%, 360px); aspect-ratio: 1; }
.ring { position: absolute; border-radius: 50%; }
.ring.r1 { inset: 0;   border: 1px solid rgba(190, 242, 100, .16); }
.ring.r2 { inset: 14%; border: 1px solid rgba(190, 242, 100, .2); }
.ring.r3 { inset: 28%; border: 1px solid rgba(190, 242, 100, .24); }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(132, 204, 22, 0) 0deg, rgba(132, 204, 22, .26) 62deg, rgba(132, 204, 22, 0) 64deg);
  animation: rotate 6.5s linear infinite;
}
.core { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); }
.core .ping { position: absolute; inset: 0; border: 1px solid rgba(190, 242, 100, .55); border-radius: 50%; animation: ping 2.6s ease-out infinite; }
.core .ping.late { animation-delay: 1.3s; }
.core .gem {
  position: absolute; top: 50%; left: 50%; width: 20px; height: 20px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--lime); border-radius: 5px; box-shadow: 0 0 26px rgba(132, 204, 22, .65);
}
.node { position: absolute; border-radius: 50%; background: var(--lime-soft); animation: fade 4s ease-in-out infinite; }
.pop {
  position: absolute; background: rgba(236, 252, 203, .95); color: #23300f;
  padding: 7px 12px; border-radius: 10px; font-size: 11.5px; font-weight: 600;
  white-space: nowrap; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5);
  animation: pop 9s ease-in-out infinite;
}
.pop.a { left: 60%; top: 10%; animation-delay: 1s; }
.pop.b { left: 6%; top: 66%; animation-delay: 5.5s; }

.engine-foot {
  position: absolute; bottom: 16px; left: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.phase { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #a9b894; transition: opacity .25s ease; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.eq i { width: 3px; height: 14px; background: var(--lime); opacity: .75; transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: .2s; }
.eq i:nth-child(3) { animation-delay: .45s; }
.eq i:nth-child(4) { animation-delay: .65s; }

.float { position: absolute; z-index: 2; }
.float.toast {
  left: 0; top: 62px; display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 16px 40px -18px rgba(27, 35, 20, .32); animation: float 7s ease-in-out infinite;
}
.float.toast .icon { width: 34px; height: 34px; border-radius: 10px; background: var(--wash-2); flex-shrink: 0; }
.float.toast strong { display: block; font-size: 13px; font-weight: 600; }
.float.toast .sub { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.float.score {
  left: -4px; bottom: 46px; background: #1c2a10; color: #f2f8e4;
  border-radius: 16px; padding: 16px 19px; box-shadow: 0 20px 46px -18px rgba(22, 31, 12, .55);
  animation: float 9s ease-in-out .8s infinite;
}
.float.score .n { font-family: 'Instrument Serif', Georgia, serif; font-size: 31px; line-height: 1; color: var(--lime-soft); }
.float.score .l { font-size: 12px; color: #aebe97; margin-top: 6px; }

/* --- interior pages ------------------------------------------------------ */
.page { padding: 150px 0 40px; }
@media (max-width: 640px) { .page { padding: 116px 0 24px; } }
.wrap.narrow { max-width: 820px; }
.wrap.center { text-align: center; }
.wrap.center .lede { margin-left: auto; margin-right: auto; }
.form-head h1 { margin: 16px 0 0; font-size: clamp(38px, 4.6vw, 60px); }
.form-head .lede { margin-top: 16px; }
.form .note { margin: 12px 0 0; }
.success .btn-row { margin-top: 22px; }

.legal h1 { font-size: clamp(38px, 4.6vw, 60px); }
.legal .updated { color: var(--faint); font-size: 14px; margin: 14px 0 40px; }
.legal h2 { font-family: inherit; font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 38px 0 10px; }
.legal p { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* --- motion -------------------------------------------------------------- */
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(132, 204, 22, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(132, 204, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes ping {
  0%        { transform: scale(.5); opacity: .75; }
  80%, 100% { transform: scale(2);  opacity: 0; }
}
@keyframes fade { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes pop {
  0%, 8%    { opacity: 0; transform: translateY(8px); }
  14%, 42%  { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; transform: translateY(-6px); }
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
[data-reveal].shown { opacity: 1; transform: none; }

/* Everything decorative stops. Content must not depend on any of it. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge, .badge .dot { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .seg .pill, .qa .a, .phase { transition: none; }
  #net, .blob { display: none; }
  .marquee .track, .sweep, .core .ping, .node, .pop, .eq i, .live .blink, .float,
  .fab-dot { animation: none; }
  .pop { opacity: 1; }
  .step, .fab { transition: none; }
  .step:hover, .fab:hover { transform: none; }
}
