/* ==========================================================================
   Lina — landing page
   Dark elegance: deep navy base, teal accent, generous whitespace.
   Vanilla CSS, system fonts, no network assets.
   ========================================================================== */

:root {
  --navy-900: #060d17;
  --navy-850: #08121e;
  --navy-800: #0b1826;
  --navy-700: #102133;
  --navy-600: #162c42;
  --line:     rgba(140, 178, 205, 0.16);
  --line-str: rgba(140, 178, 205, 0.30);

  --ink:      #eef4f9;
  --ink-soft: #b7c8d6;
  --ink-mute: #8ba0b3;

  --teal:      #3fd8c4;
  --teal-deep: #17a892;
  --teal-glow: rgba(63, 216, 196, 0.16);

  --shell: 1160px;
  --radius: 16px;
  --radius-sm: 10px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--navy-900);
  background-image:
    radial-gradient(1100px 620px at 78% -8%, rgba(63, 216, 196, 0.10), transparent 62%),
    radial-gradient(760px 520px at 4% 8%, rgba(46, 104, 168, 0.14), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #04121a;
  padding: 10px 16px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 18px;
}

.grad {
  background: linear-gradient(96deg, var(--teal) 8%, #7fe8dc 55%, #9fd0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, #4ee2ce, var(--teal-deep));
  color: #032019;
  box-shadow: 0 12px 30px -14px rgba(63, 216, 196, .75);
}
.btn-primary:hover { box-shadow: 0 18px 38px -14px rgba(63, 216, 196, .9); }

.btn-quiet {
  color: var(--ink);
  border-color: var(--line-str);
  background: rgba(255, 255, 255, .02);
}
.btn-quiet:hover { border-color: var(--teal); color: var(--teal); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--line-str);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-card {
  width: 100%;
  margin-top: auto;
  background: rgba(63, 216, 196, .09);
  border-color: rgba(63, 216, 196, .32);
  color: var(--teal);
}
.btn-card:hover { background: rgba(63, 216, 196, .16); border-color: var(--teal); }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 13, 23, .74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .01em;
}
.wordmark:hover { text-decoration: none; }

.wordmark-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--ink-soft);
  font-size: 15px;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 720px) {
  .site-nav a { display: none; }
}

/* ------------------------------------------------------------------- hero */

.hero { padding: 76px 0 84px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  align-items: center;
}

h1 {
  font-size: clamp(2.3rem, 6.4vw, 3.9rem);
  font-weight: 600;
}

.lede {
  font-size: clamp(1.02rem, 2.1vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: 15px;
  color: var(--ink-mute);
}
.hero-points li {
  position: relative;
  padding-left: 26px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-glow);
}

.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-str);
  background:
    linear-gradient(150deg, rgba(63, 216, 196, .22) 0%, rgba(23, 60, 96, .55) 42%, rgba(6, 13, 23, .95) 100%),
    var(--navy-800);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frame-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 22% 18%, rgba(63, 216, 196, .20), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: 18px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(11, 24, 38, .94);
  border: 1px solid var(--line-str);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .9);
}

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(63, 216, 196, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 216, 196, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(63, 216, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 216, 196, 0); }
}

@media (min-width: 940px) {
  .hero { padding: 110px 0 120px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* --------------------------------------------------------------- sections */

.section { padding: 76px 0; }

.section-alt {
  background: linear-gradient(180deg, rgba(8, 18, 30, 0), rgba(8, 18, 30, .85) 18%, rgba(8, 18, 30, .85) 82%, rgba(8, 18, 30, 0));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 50px;
}
.section-head h2 {
  font-size: clamp(1.68rem, 4vw, 2.5rem);
}
.section-sub {
  color: var(--ink-mute);
  margin: 0;
}

@media (min-width: 940px) {
  .section { padding: 108px 0; }
}

/* ------------------------------------------------------------------ cards */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(22, 44, 66, .58), rgba(8, 18, 30, .72));
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-str);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95);
}

.card-mark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal);
  opacity: .7;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.36rem;
  margin-bottom: 4px;
}

.card-org {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 14px;
}

.card-body {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

@media (min-width: 780px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  /* [V1.1] four demo cards: 2 x 2, then one row on wide screens */
  .cards.cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1180px) {
  .cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------------ steps */

.steps {
  list-style: none;
  counter-reset: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.step {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(63, 216, 196, .38);
  background: rgba(63, 216, 196, .08);
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 { font-size: 1.18rem; }
.step p { font-size: 15.5px; margin: 0; color: var(--ink-mute); }

.how-cta { margin-top: 52px; }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 92px;
  background: rgba(4, 9, 16, .6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
}

.dl {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
}

.copyright {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
}

@media (min-width: 780px) {
  .footer-inner { flex-direction: row; align-items: flex-end; }
}

/* ============================== COOKIE BAR ==============================
   Deliberately bottom-LEFT: the widget launcher owns the bottom-right corner
   and must never be covered. On narrow screens the bar spans the width and
   sits above the launcher instead. */

.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2147482000;
  max-width: 460px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-str);
  background: rgba(8, 18, 30, .97);
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .9);
}

.cookie-bar[hidden] { display: none; }

.cookie-text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex: none;
}

@media (max-width: 720px) {
  .cookie-bar {
    left: 14px;
    right: 14px;
    bottom: 88px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
