/* Lexicon Logic: own style kit (not shared with any other site). */
:root {
  --ink: #131638;          /* deep indigo: hero, headings */
  --ink-2: #1F2357;
  --porcelain: #F5F6FB;    /* page */
  --paper: #FFFFFF;        /* panels */
  --violet: #5A3CF0;       /* the one bold accent */
  --violet-deep: #4227D6;
  --violet-soft: #C9BDFF;
  --mint: #0E8F6C;         /* success */
  --text: #1B1E3C;
  --muted: #4E5478;
  --line: #E1E3F0;
  --shadow-lg: 0 30px 70px -30px rgba(19, 22, 56, .45), 0 10px 24px -12px rgba(19, 22, 56, .18);
  --shadow-sm: 0 1px 2px rgba(19, 22, 56, .06), 0 8px 22px -14px rgba(19, 22, 56, .28);
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--porcelain); color: var(--text);
  font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 640px; }
.i { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(19, 22, 56, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-height: 44px; }
.logo-mark { width: 36px; height: 36px; }
.brand-name { font: 600 1.02rem/1 var(--display); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: #E6E6F7; text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(201, 189, 255, .18); color: #fff; }
.nav .lang { border: 1px solid rgba(255, 255, 255, .28); margin-left: 6px; }
.top-tools { display: flex; align-items: center; gap: 8px; }
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff;
  font: 600 .92rem var(--body); cursor: pointer; transition: background .2s var(--ease);
}
.sound-toggle:hover { background: rgba(255, 255, 255, .1); }
.sound-toggle[aria-pressed="false"] .wave { opacity: .15; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 0; background: var(--violet); color: #fff; font: 700 .95rem var(--body); cursor: pointer;
}
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; } .bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1120px) {
  .top-in { flex-wrap: wrap; }
  .top-tools { margin-left: auto; }
  .top .sound-toggle .label { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    order: 3; width: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 0 0 14px; display: none;
  }
  .nav.open { display: flex; animation: drop .25s var(--ease); }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .lang { margin: 6px 0 0; justify-content: center; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
  font: 700 1.02rem/1.2 var(--body); text-decoration: none; text-align: center;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -10px rgba(90, 60, 240, .8); }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-ghost-dark { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--violet); color: var(--violet-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Hero ---------- */
.hero, .phero { position: relative; background: var(--ink); color: #DCDDF2; overflow: hidden; isolation: isolate; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 75vw; max-width: 900px; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(closest-side, rgba(90, 60, 240, .55), rgba(90, 60, 240, 0) 70%);
  filter: blur(10px);
}
.hero::after, .phero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-in { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.08fr .92fr; padding-top: 88px; padding-bottom: 104px; } }
.hero h1, .phero h1 {
  color: #fff; font: 600 clamp(2rem, 1.2rem + 3.6vw, 3.6rem)/1.08 var(--display); letter-spacing: -.025em; max-width: 16ch;
}
.lead { margin-top: 20px; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: #C9CBE6; max-width: 56ch; }
.phero-in { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 980px) { .phero-in { padding-top: 80px; padding-bottom: 88px; } }
.phero h1 { max-width: 20ch; }

/* The memorable thing: the "letter" that answers "Got an email from us?" with a slow orbit of our products behind it. */
.letter-scene { position: relative; display: grid; place-items: center; min-height: 600px; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit-ring {
  position: absolute; width: 600px; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(201, 189, 255, .35);
}
.orb {
  position: absolute; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: var(--bg); color: var(--c); font: 700 .85rem var(--display); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55);
  transform: rotate(calc(var(--i) * 45deg)) translateX(min(59vw, 300px)) rotate(calc(var(--i) * -45deg));
  animation: spin 80s linear infinite;
}
@keyframes spin {
  from { transform: rotate(calc(var(--i) * 45deg)) translateX(min(59vw, 300px)) rotate(calc(var(--i) * -45deg)); }
  to { transform: rotate(calc(var(--i) * 45deg + 360deg)) translateX(min(59vw, 300px)) rotate(calc(var(--i) * -45deg - 360deg)); }
}
@media (max-width: 979px) {
  /* On a phone the "Got an email from us?" card comes right after the heading. */
  .hero-copy { display: contents; }
  .hero-in { gap: 0; }
  .hero h1 { order: 1; }
  .letter-scene { order: 2; margin-top: 28px; }
  .hero .lead { order: 3; margin-top: 32px; }
  .hero .actions { order: 4; }
  .letter-scene { min-height: 0; padding: 8px 0; }
  .orbit { display: none; }
}
.letter {
  position: relative; z-index: 1; width: 100%; max-width: 380px; padding: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .98), rgba(244, 242, 255, .96));
  color: var(--text); border-radius: 26px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5);
  animation: arrive .9s var(--ease) .15s both;
}
.letter::before { /* envelope flap */
  content: ""; position: absolute; left: 26px; right: 26px; top: -12px; height: 12px; border-radius: 12px 12px 0 0;
  background: var(--violet-soft); opacity: .65;
}
@keyframes arrive { from { opacity: 0; transform: translateY(26px) rotate(-1.5deg) scale(.97); } }
.letter-from { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.letter-from b { color: var(--ink); }
.from-org { font-size: .88rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: #fff; font: 600 .8rem var(--display); }
.letter h2 { margin-top: 18px; font: 600 1.4rem/1.2 var(--display); letter-spacing: -.015em; }
.letter > p { margin-top: 8px; color: var(--muted); }
.letter-actions { display: grid; gap: 10px; margin-top: 20px; }
.lbtn {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: 14px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: border-color .2s var(--ease), transform .18s var(--ease), background .2s var(--ease);
}
.lbtn .i { color: var(--violet); }
.lbtn:hover { border-color: var(--violet); transform: translateX(3px); }
.lbtn:active { transform: scale(.98); }

.o0 { --i: 0; } .o1 { --i: 1; } .o2 { --i: 2; } .o3 { --i: 3; } .o4 { --i: 4; } .o5 { --i: 5; } .o6 { --i: 6; } .o7 { --i: 7; }

/* Sector colors (one tint per kind of problem) */
.sec-money { --c: #B87A00; --bg: #FFF4D6; }
.sec-gov { --c: #0B7F73; --bg: #DDF6F2; }
.sec-build { --c: #C24E18; --bg: #FFE7DA; }
.sec-realty { --c: #2D57C8; --bg: #E2EAFF; }
.sec-more { --c: #8A2FC4; --bg: #F2E3FF; }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust-in { display: grid; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 820px) { .trust-in { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 12px;
  color: #E7E7FA; text-decoration: none; font-weight: 600;
}
.trust-item .i { color: #7FE3C0; }
.trust-item:hover { background: rgba(255, 255, 255, .07); }

/* ---------- Blocks ---------- */
.block { padding: 64px 0; }
@media (min-width: 980px) { .block { padding: 96px 0; } }
.block-tint { background: #ECEDF8; }
.block-head { max-width: 680px; margin-bottom: 36px; }
.block-head h2 { font: 600 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.15 var(--display); letter-spacing: -.02em; }
.block-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }

/* Products: grouped by kind of problem */
.sectors { display: grid; gap: 22px; }
@media (min-width: 900px) { .sectors { display: block; columns: 2; column-gap: 22px; } .sector { break-inside: avoid; margin-bottom: 22px; } }
.sector { background: var(--paper); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--c); }
.sector h3 { display: flex; align-items: center; gap: 10px; font: 600 1.02rem/1.3 var(--display); padding: 4px 6px 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.prod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prod {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center;
  padding: 14px; border-radius: 16px; text-decoration: none; color: var(--text); min-height: 72px;
  background: var(--porcelain); border: 1.5px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .18s var(--ease);
}
.prod:hover { border-color: var(--c); background: var(--bg); }
.prod:active { transform: scale(.985); }
.prod-mono { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); color: var(--c); font: 700 .9rem var(--display); }
.prod-text { display: grid; gap: 2px; }
.prod-text b { color: var(--ink); font-size: 1.08rem; }
.prod-text span { color: var(--muted); font-size: .98rem; line-height: 1.45; }
.prod-host { display: inline-flex; align-items: center; gap: 4px; color: var(--c); font-weight: 700; font-size: .92rem; }
.prod-host .i { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.prod:hover .prod-host .i { transform: translate(2px, -2px); }
@media (min-width: 640px) {
  .prod { grid-template-columns: auto 1fr auto; }
  .prod-mono { grid-row: auto; }
  .prod-host { grid-column: 3; }
}

/* Why */
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 720px) { .why { grid-template-columns: 1fr 1fr; } }
.why-item { background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.why-item h3 { margin-top: 14px; font: 600 1.15rem/1.3 var(--display); }
.why-item p { margin-top: 8px; color: var(--muted); }
.why-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #EAE5FF; color: var(--violet-deep); }
.why-ic .i { width: 24px; height: 24px; }
.why-money { background: var(--ink); }
.why-money h3 { color: #fff; } .why-money p { color: #C9CBE6; }
.why-money .why-ic { background: rgba(127, 227, 192, .16); color: #7FE3C0; }

/* Panels */
.duo { display: grid; gap: 20px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { border-radius: 26px; padding: 28px; background: var(--paper); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .panel { padding: 36px; } }
.panel h2 { font: 600 clamp(1.35rem, 1.1rem + 1vw, 1.8rem)/1.2 var(--display); letter-spacing: -.015em; }
.panel > p { margin-top: 12px; color: var(--muted); }
.panel .btn { margin-top: 22px; }
.panel-partner { display: block; text-decoration: none; color: var(--text); border: 1.5px solid var(--line); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.panel-partner:hover { border-color: var(--violet); transform: translateY(-2px); }
.panel-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--violet-deep); font-weight: 700; min-height: 44px; }
.panel-contact { background: linear-gradient(150deg, var(--violet) 0%, #3A1FBF 100%); color: #fff; }
.panel-contact h2 { color: #fff; } .panel-contact > p { color: #E4DEFF; }
.panel-contact .panel-mail { margin-top: 14px; font-weight: 600; color: #fff; word-break: break-word; }
.panel-money { background: var(--ink); }
.panel-money h2 { color: #fff; margin-top: 16px; } .panel-money > p { color: #C9CBE6; }
.panel-money .why-ic { background: rgba(127, 227, 192, .16); color: #7FE3C0; }

/* Partners */
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .who { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who li { display: flex; }
.who-card {
  display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 24px; border-radius: 22px; text-decoration: none; color: var(--text);
  background: var(--paper); box-shadow: var(--shadow-sm); border: 1.5px solid transparent;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.who-card:hover { border-color: var(--violet); transform: translateY(-2px); }
.who-card:active { transform: scale(.985); }
.who-card h3 { font: 600 1.1rem/1.3 var(--display); }
.who-card p { color: var(--muted); flex: 1; }
.who-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet-deep); font-weight: 700; min-height: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; font: 600 1rem var(--display); }
.steps h3 { margin-top: 14px; font: 600 1.1rem/1.3 var(--display); }
.steps p { margin-top: 6px; color: var(--muted); }

/* Contact */
.k { color: var(--muted); font-weight: 600; }
.big-mail { margin-top: 8px; font: 600 clamp(1.15rem, .9rem + 1.4vw, 1.75rem)/1.25 var(--display); color: var(--ink); word-break: break-word; letter-spacing: -.01em; }
.status { min-height: 1.6em; margin-top: 12px; font-weight: 700; color: var(--mint); }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks .i { color: var(--mint); }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* Privacy */
.prose { max-width: 760px; display: grid; gap: 18px; }
.prose section { background: var(--paper); border-radius: 22px; padding: 24px 28px; box-shadow: var(--shadow-sm); }
.prose h2 { font: 600 1.2rem/1.3 var(--display); }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--text); }
.prose-mail { margin-top: 6px; }
.prose-mail .btn { word-break: break-all; }

/* Unsubscribe */
.panel-form label { display: block; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.panel-form input[type="email"] {
  display: block; width: 100%; margin-top: 10px; min-height: 56px; padding: 0 16px; border-radius: 14px;
  border: 2px solid #C9CCE0; background: #fff; color: var(--text); font: 500 1.1rem var(--body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.panel-form input[type="email"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(90, 60, 240, .18); }
.panel-form input[aria-invalid="true"] { border-color: #C4304A; }
.err { margin-top: 10px; color: #B0213A; font-weight: 600; }
.panel-form .btn { margin-top: 20px; }
.panel-done { text-align: center; animation: arrive .6s var(--ease) both; }
.panel-done h2 { margin-top: 14px; }
.panel-done > p { margin-top: 12px; }
.panel-done a:not(.btn) { word-break: break-word; }
.done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #DDF5EC; color: var(--mint); }
.done-ic .i { width: 32px; height: 32px; }
.nf-es { padding-top: 16px; padding-bottom: 16px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #C9CBE6; padding-top: 56px; }
.foot-in { display: grid; gap: 36px; }
@media (min-width: 820px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-about p { margin-top: 14px; max-width: 46ch; }
.addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-style: normal; color: #C9CBE6; }
.addr .i { margin-top: 3px; color: var(--violet-soft); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.foot-col h2 { font: 600 .95rem var(--display); color: #fff; margin-bottom: 8px; }
.foot-col a { color: #E6E6F7; text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; word-break: break-word; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.sound-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.vol { display: inline-flex; align-items: center; min-height: 44px; }
.sound-volume { width: 140px; accent-color: var(--violet-soft); min-height: 44px; cursor: pointer; }
.foot-base { margin-top: 44px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: #A9ACD0; }

/* ---------- Less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
