/* proposed.css -- IKA Activate restyled to match the new IKA website
   (outputs/IKA/website/yg-v2, live at ika-website-preview.pages.dev).

   HOW THIS FILE IS LAID OUT, and what drops into the app:
     Part 1  :root tokens            -> replaces the :root block in app/globals.css.
                                        Every variable name is the app's own, so
                                        every inline style="var(--...)" in the TSX
                                        picks up the new look with no code change.
     Part 2  base + component classes -> replaces the rest of app/globals.css
                                        (same selectors: .btn, .card, .tag, .table ...).
     Part 3  landing page             -> replaces app/landing.module.css (module
                                        classes are written here with an `lm-`
                                        prefix; in the app they are plain names).
     Part 4  PREVIEW BRIDGE           -> NOT for the app. A handful of colors are
                                        hard-coded as hex inside TSX inline styles,
                                        where no stylesheet can reach them. This
                                        section overrides them for the preview only;
                                        in the app each one is a one-line TSX edit
                                        (listed rule by rule), after which Part 4 is
                                        deleted.

   BRAND (measured off the website):
     Raleway 400/700/900 · chartreuse #DADC56 · slate #455560 (nav/footer band)
     navy #07085A (links + label text) · ink #231F20 · surround #6A747C.
     Gold #F0B310 appears ONLY on slate, and only as a line or mark, never as
     text: it measures 1.88:1 on white and 4.10:1 on slate, so even on slate it
     misses 4.5:1 for normal-size text.

   ACTION COLOR: navy #07085A replaces the red-orange #E8432C. On the website,
   navy is already "the thing you can click" (every link), it gives 17.6:1 with
   white, and it works on white, on the pale grounds and on chartreuse. The
   website's other warm color, the logo red #DB4A20, only reaches 4.19:1 with
   white text (the current #E8432C: 3.98:1), so neither passes as a button fill.

   Every text/background pair used on these screens was checked for WCAG AA;
   see README-contrast in the report. */

/* ======================= Part 1: tokens ======================= */
:root {
  --color-bg: #f3f4f2;
  --color-surface: #ffffff;
  --color-text: #231f20;
  --color-accent: #07085a;
  --color-accent-2: #dadc56;
  --color-divider: #d5d9dc;
  --color-border: var(--color-divider);
  --color-error: #b3261e;

  /* Neutral ramp. The app sets small text in steps 400-600 (empty states,
     field labels, the "or" divider, footnotes), so those steps are dark enough
     to pass 4.5:1 on white AND on the pale chartreuse column. */
  --color-neutral-100: #f2f3f1;
  --color-neutral-200: #e6e8e6;
  --color-neutral-300: #d5d9dc;
  --color-neutral-400: #5f6970;
  --color-neutral-500: #58626a;
  --color-neutral-600: #4c565e;
  --color-neutral-700: #455560;
  --color-neutral-800: #33404a;
  --color-neutral-900: #231f20;

  --color-text-secondary: #455560;

  /* Navy ramp (the action color). 700-800 are used as TEXT on the 100 tint. */
  --color-accent-100: #e8e8f2;
  --color-accent-200: #c9cae2;
  --color-accent-300: #a3a4cc;
  --color-accent-400: #5e60a0;
  --color-accent-500: #07085a;
  --color-accent-600: #23267a;   /* hover: navy is already near-black, so hover lightens */
  --color-accent-700: #07085a;
  --color-accent-800: #07085a;
  --color-accent-900: #04053a;

  /* Chartreuse ramp. 100-400 are grounds; 600-900 are a dark olive drawn from
     the same hue, for text sitting on those grounds. */
  --color-accent-2-100: #f6f6d9;
  --color-accent-2-200: #eeefb3;
  --color-accent-2-300: #e4e58e;
  --color-accent-2-400: #dee071;
  --color-accent-2-500: #dadc56;
  --color-accent-2-600: #5e6010;
  --color-accent-2-700: #4e500d;
  --color-accent-2-800: #3a3b09;
  --color-accent-2-900: #2a2b06;

  /* Chrome: the website's slate band. */
  --color-charcoal: #455560;
  --color-charcoal-dark: #36444e;

  /* Website-only colors, named for use in this file. */
  --ika-gold: #f0b310;      /* on slate only, lines and marks only */
  --ika-surround: #6a747c;  /* footer band */
  --ika-line: #6a747c;      /* the website's section rules */

  --font-heading: Raleway, Tahoma, Verdana, sans-serif;
  --font-heading-weight: 900;
  --font-body: Raleway, Tahoma, Verdana, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-6: 32px;
  --space-8: 48px;

  /* The website is square-cornered; a small radius keeps controls feeling
     touchable without turning into pills. */
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --border-width: 1px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #231f20 6%, transparent);
  --shadow-md: 0 4px 16px color-mix(in srgb, #231f20 9%, transparent);
  --shadow-lg: 0 16px 40px color-mix(in srgb, #231f20 16%, transparent);
}

/* ======================= Part 2: base + components ======================= */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  /* Raleway's default figures are old-style (the website footer's phone number
     shows it). Lining figures keep counts, dates and budgets level in tables. */
  font-variant-numeric: lining-nums;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  color: #000;
}
h1 { font-size: 48px; letter-spacing: -0.015em; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; font-family: var(--font-body); font-weight: 700; letter-spacing: normal; }
h5 { font-size: 16px; font-family: var(--font-body); font-weight: 700; letter-spacing: normal; }
h6 { font-size: 12px; font-family: var(--font-body); font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
* { box-sizing: border-box; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
  .card, .btn, .tag, .input { transition: none; }
}

.text-muted { color: var(--color-text-secondary); }

.skeleton-bar {
  background: var(--color-neutral-100);
  border-radius: var(--radius-sm);
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .skeleton-bar { animation: none; } }
:focus { outline: none; }

.feedback-badge-pulse { animation: badge-pulse 1.8s ease-in-out infinite; }
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-accent) 55%, transparent); }
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .feedback-badge-pulse { animation: none; } }

/* A solid 2px navy ring: the soft 22% glow of the current design is too faint
   to find on the pale grounds. */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  box-shadow: none;
  border-radius: var(--radius-sm);
}
::selection { background: color-mix(in srgb, var(--color-accent-2) 70%, transparent); color: #000; }

.hr {
  height: var(--border-width);
  border: 0;
  margin: var(--space-4) 0;
  background: var(--color-divider);
}
/* The website marks a break with a short, thick chartreuse rule
   (.principles li border-top: 3px). */
.hr-accent {
  height: 3px;
  width: 48px;
  border: 0;
  margin: var(--space-4) auto;
  background: var(--color-accent-2);
  border-radius: 0;
}

/* -- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 700;
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: var(--border-width) solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.15s ease;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
/* Buttons stay in sentence case: the app reuses .btn-secondary for utility
   actions (exports, downloads), and uppercase there would shout. The website's
   uppercase move is carried by labels, kickers, tabs and table headers instead. */
.btn-primary, .btn-secondary { padding: 10px 20px; }
.btn-primary {
  background: var(--color-accent); color: #ffffff;
  border-color: var(--color-accent);
}
.btn-primary:hover:not(:disabled) { background: var(--color-accent-600); border-color: var(--color-accent-600); }
.btn-primary:active:not(:disabled) { background: var(--color-accent-900); }
.btn-secondary { background: #ffffff; border: 1.5px solid var(--color-accent); color: var(--color-accent); padding: 9.5px 19.5px; }
.btn-secondary:hover:not(:disabled) { background: var(--color-accent-100); }
.btn-secondary:active:not(:disabled) { background: var(--color-accent-200); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover:not(:disabled) { background: transparent; text-decoration: underline; text-decoration-thickness: 2px; }
.btn-ghost:active:not(:disabled) { background: var(--color-neutral-200); }
.btn-block { width: 100%; margin-top: var(--space-2); }
.btn-danger { color: var(--color-error); }
.btn-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--color-error) 10%, transparent); }

/* -- forms -- */
.field > label {
  display: block; font-size: 11.5px; margin-bottom: 6px;
  font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent);
}
.input {
  width: 100%; min-height: 40px; padding: 8px 14px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: #ffffff;
  border: 1.5px solid var(--ika-line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: var(--color-neutral-500); opacity: 1; }
.input:hover { border-color: var(--color-charcoal); }
.input:focus-visible {
  border-color: var(--color-accent); outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent);
}
textarea.input { min-height: 90px; resize: vertical; font-family: inherit; border-radius: var(--radius-sm); }
select.input { cursor: pointer; }
.input-error { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: 13px; margin-top: 10px; }

.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.radio .dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--ika-line); }
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 4px #ffffff; }
.checkbox-card {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
  border: var(--border-width) solid var(--color-border); padding: 8px 12px; cursor: pointer; border-radius: var(--radius-sm);
}
.checkbox-card:has(input:checked) { border-color: var(--color-accent); }

/* Segmented control = the website's tab bar: uppercase labels, the chosen
   one underlined (navy here, where the website uses gold on white). */
.seg {
  display: inline-flex; overflow: hidden; gap: 24px;
  border: 0; border-bottom: 1px solid var(--color-divider); border-radius: 0;
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; font-size: 12px; cursor: pointer;
  font-family: var(--font-body); font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  background: none; border: none; color: var(--color-neutral-500);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.seg-opt + .seg-opt { border-left: 0; }
.seg-opt.active { color: #000; border-bottom-color: var(--color-accent); box-shadow: none; }
.seg-opt:not(.active):hover { background: none; color: var(--color-accent); }

/* -- cards -- */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--color-surface);
  border: var(--border-width) solid var(--color-border);
  border-top: 3px solid var(--color-accent-2);
  color: var(--color-text); text-decoration: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  animation: card-in 0.25s ease both;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-charcoal); border-top-color: var(--color-accent-2); }

.hover-lift { transition: box-shadow 0.15s ease; }
.hover-lift:hover { box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .hover-lift { transition: none; } }
/* = the website's .case-tag / .challenge-intro label */
.card-kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 900; }
.card-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; line-height: 1.25; color: #000; }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--color-text-secondary); }
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* -- tags/badges -- */
.tag {
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; white-space: nowrap;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-700); }
.tag-neutral { background: var(--color-neutral-200); color: var(--color-neutral-800); }
.tag-green { background: #e3f1e4; color: #1d6b2f; }
.tag-amber { background: #fcf0cc; color: #6e4f00; }
.tag-red { background: #fbe4dc; color: #a0301a; }
.tag-outline { background: color-mix(in srgb, var(--color-accent-100) 55%, transparent); color: var(--color-accent-700); box-shadow: inset 0 0 0 1px var(--color-accent-200); }
.glyph { font-size: 10px; margin-right: 6px; letter-spacing: 0; }

/* -- navigation -- */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--border-width) solid var(--color-border);
}
.nav-brand {
  font-family: var(--font-heading); font-weight: 900; font-size: 13px; margin-right: auto;
  text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none;
  display: inline-flex; align-items: center; gap: 16px;
}
/* The IKA block-K logo, placed by the stylesheet so the header markup does not
   change. It is the for-white-backgrounds artwork, so the header is white
   (see the bridge) -- the website's own arrangement: logo on white, slate below. */
.nav-brand::before {
  content: ""; display: block; flex: none;
  width: 131px; height: 40px;
  background: url("img/ika-logo-blockk.png") left center / contain no-repeat;
  padding-right: 16px; border-right: 1px solid var(--color-divider);
}
.side-nav-item {
  display: block; width: 100%; text-align: left; padding: 10px 16px; border: none; background: none;
  font-family: var(--font-body); font-size: 14px; color: var(--color-text-secondary); cursor: pointer;
  border-left: 3px solid transparent;
}
.side-nav-item:hover { background: var(--color-neutral-100); color: var(--color-text); }
.side-nav-item.active { border-left: 3px solid var(--color-accent-2); background: var(--color-neutral-100); color: var(--color-text); font-weight: 700; }

/* -- tables -- */
.table-scroll { overflow-x: auto; }
@media (max-width: 700px) { .table-scroll .table { min-width: 640px; } }
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--color-surface); }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 900; white-space: nowrap;
  color: var(--color-accent); background: var(--color-surface);
  padding: 12px var(--space-3); border-bottom: 2px solid var(--color-charcoal);
}
.table td { padding: 12px var(--space-3); border-bottom: var(--border-width) solid var(--color-border); }
.table tbody tr:hover { background: var(--color-accent-2-100); }

/* -- dialog -- */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center; padding: var(--space-4);
  background: color-mix(in srgb, #231f20 65%, transparent);
  z-index: 100;
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-md);
  background: var(--color-surface); border: var(--border-width) solid var(--color-border);
  border-top: 3px solid var(--color-accent-2); box-shadow: var(--shadow-lg);
}
.dialog-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 20px; }
.dialog-body { font-size: 14px; color: var(--color-text-secondary); }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* -- misc -- */
.lock-blur { filter: blur(4px); user-select: none; pointer-events: none; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--color-neutral-300); }

.sharp-corners, .sharp-corners .input, .sharp-corners textarea, .sharp-corners select.input,
.sharp-corners .card, .sharp-corners .btn, .sharp-corners .tag, .sharp-corners .dialog,
.sharp-corners .seg-opt { border-radius: 0 !important; }

.logout-button {
  border-top: 1px solid var(--color-border);
  color: var(--color-neutral-500);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.logout-button:hover { background: var(--color-neutral-100); color: var(--color-accent); }
.logout-button .logout-icon { display: inline-block; }

@media (max-width: 860px) {
  .app-shell { flex-direction: column !important; }
  .app-sidebar { width: 100% !important; border-right: none !important; border-bottom: 1px solid var(--color-border); }

  /* Phones: same behavior as the app's current phone layout, in this design's
     style. The logo header above already carries the brand, so the chartreuse
     brand block is hidden; the sidebar becomes ONE compact slate row that
     scrolls sideways; the page itself starts right under it. */
  .app-sidebar-brand { display: none !important; }
  .app-sidebar { border-top: 3px solid var(--color-accent-2); border-bottom: 0; }
  .app-sidebar-items {
    flex-direction: row !important; flex: none !important; overflow-x: auto;
    padding: 8px 10px !important; gap: 4px !important; scrollbar-width: none;
    /* a soft fade at the right edge says "there is more this way" */
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
            mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .app-sidebar-items::-webkit-scrollbar { display: none; }
  .app-sidebar-items > * {
    flex-shrink: 0; white-space: nowrap; padding: 8px 10px !important;
    font-size: 11px !important; font-weight: 900 !important; letter-spacing: 0.05em; text-transform: uppercase;
    border-radius: 3px !important;
  }
  .app-sidebar-items > :last-child { margin-right: 20px; }  /* clears the fade */
  .app-sidebar-feedback { padding: 0 10px 8px !important; }
  .app-sidebar-legal {
    flex-direction: row !important; flex-wrap: wrap; justify-content: center;
    gap: 4px 14px !important; padding: 2px 12px 10px !important;
  }
  .app-main { padding: 20px 16px !important; }
  .app-header-actions .btn { font-size: 12px !important; padding: 6px 10px !important; }

  .stack-on-phone { grid-template-columns: 1fr !important; }
  .page-head { flex-wrap: wrap; gap: 12px; }
  .page-head-actions { flex-wrap: wrap; }
}

/* Phone: the logo alone carries the brand, and the header may wrap, so the
   two header buttons never push the page sideways. */
@media (max-width: 640px) {
  .nav { gap: 12px; flex-wrap: wrap; }
  .nav-brand { font-size: 0; gap: 0; }
  .nav-brand::before { width: 105px; height: 32px; padding-right: 0; border-right: 0; }
}

/* ======================= Part 3: landing page ======================= */
/* In the app these are the plain module class names of landing.module.css. */
.lm-landing {
  /* The landing module's own palette names, repointed onto the website's. */
  --navy: #455560;
  --navy-deep: #455560;
  --navy-light: #6a747c;
  --gold: #f0b310;
  --sage: #455560;
  --paper: #ffffff;
  --ink: #231f20;
  --slate: #455560;
  --hair: #d5d9dc;
  --olive: #dadc56;
  --olive-soft: #f6f6d9;
  --olive-border: #e4e58e;

  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Raleway, Tahoma, Verdana, sans-serif;
  font-variant-numeric: lining-nums;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* The website's frame: chartreuse column on the left, 90px slate bar right. */
  border-left: 26px solid #dadc56;
  border-right: 90px solid #455560;
}
.lm-landing * { box-sizing: border-box; }
.lm-landing h1, .lm-landing h2, .lm-landing h3 {
  font-family: Raleway, Tahoma, Verdana, sans-serif;
  font-weight: 900; text-transform: none; letter-spacing: -0.01em; margin: 0; color: #000;
}
.lm-landing .lm-serif { font-family: Raleway, sans-serif; font-weight: 700; margin: 0; }
.lm-landing a { color: inherit; }
.lm-landing .lm-wrap { max-width: 980px; margin: 0 auto; padding: 0 46px; }
.lm-landing .lm-eyebrow {
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 900; color: #07085a;
}
.lm-landing button, .lm-landing .lm-btn {
  font-family: Raleway, sans-serif; font-weight: 900; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.lm-landing button:focus-visible, .lm-landing a:focus-visible {
  outline: 2px solid #07085a; outline-offset: 2px;
}
.lm-landing .lm-btnPrimary { background: #07085a; color: #ffffff; padding: 16px 28px; }
.lm-landing .lm-btnPrimary:hover { background: #23267a; }
.lm-landing .lm-btnGhost { background: #ffffff; color: #07085a; border: 1.5px solid #07085a; padding: 14.5px 26.5px; }
.lm-landing .lm-btnGhost:hover { background: #e8e8f2; }

/* -- Site nav: the website's two-row header. Row 1 = logo on white;
      row 2 = the slate link band, full width. -- */
.lm-landing .lm-siteNav { position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 0; }
.lm-landing .lm-siteNavInner {
  display: flex; flex-direction: column; align-items: stretch;
  height: auto; max-width: none; padding: 0;
}
.lm-landing .lm-siteNavBrand {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 40px 14px;
  font-family: Raleway, sans-serif; font-weight: 900; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #455560;
}
.lm-landing .lm-siteNavBrand::before {
  content: ""; display: block; flex: none; width: 184px; height: 56px;
  background: url("img/ika-logo-blockk.png") left center / contain no-repeat;
  padding-right: 18px; border-right: 1px solid #d5d9dc;
}
.lm-landing .lm-siteNavLinks {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #455560; padding: 13px 40px;
}
.lm-landing .lm-siteNavLinks a {
  font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  color: #ffffff; text-decoration: none; transition: color 0.15s ease;
}
.lm-landing .lm-siteNavLinks a:hover { color: #dadc56; }
/* Login and Join sit at the far right of the band. Gold is a 2px underline
   only (as text on slate it would be 4.10:1). */
.lm-landing .lm-siteNavLogin {
  margin-left: auto; color: #dadc56 !important; background: none; padding: 0; border-radius: 0; font-weight: 900;
}
.lm-landing .lm-siteNavLogin:hover { color: #ffffff !important; background: none; }
.lm-landing .lm-siteNavCta {
  color: #ffffff !important; border: 0; border-bottom: 2px solid #f0b310; padding: 0 0 2px; border-radius: 0;
}
.lm-landing .lm-siteNavCta:hover { background: none; color: #dadc56 !important; }
@media (max-width: 760px) {
  .lm-landing .lm-siteNavLinks a:not(.lm-siteNavCta) { display: none; }
}

/* -- Hero: white, like the website's; the olive bar becomes the chartreuse rule -- */
.lm-landing .lm-hero { background: #ffffff; color: var(--ink); padding: 80px 0 72px; position: relative; overflow: hidden; }
.lm-landing .lm-heroContent { position: relative; padding-left: 26px; }
.lm-landing .lm-heroContent::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: 5px; border-radius: 0; background: #dadc56;
}
@media (max-width: 860px) { .lm-landing .lm-heroContent { padding-left: 20px; } }
.lm-landing .lm-heroEyebrowMark { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.lm-landing .lm-heroEyebrowMark .lm-dot { width: 10px; height: 10px; border-radius: 50%; background: #455560; flex: 0 0 auto; }
.lm-landing .lm-heroEyebrowMark .lm-wordmark {
  font-family: Raleway, sans-serif; font-weight: 900; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #07085a;
}
.lm-landing .lm-heroGrid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lm-landing .lm-hero h1 { font-size: clamp(30px, 3.5vw, 42px); line-height: 1.1; margin: 0 0 24px; }
/* The gold words become a chartreuse highlighter stroke behind black text. */
.lm-landing .lm-hero h1 em {
  font-style: normal; color: #000;
  background: linear-gradient(transparent 58%, #dadc56 58%, #dadc56 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lm-landing .lm-hero p.lm-lede { font-size: 17px; color: #455560; max-width: 56ch; margin: 0 0 16px; }
.lm-landing .lm-hero p.lm-lede:last-of-type { margin-bottom: 32px; }
.lm-landing .lm-heroCta { display: flex; flex-wrap: wrap; gap: 14px; }
.lm-landing .lm-heroVisual { aspect-ratio: 1 / 1; max-width: 380px; justify-self: center; }
/* The SVG's fills are attributes in the TSX; CSS outranks them. */
.lm-landing .lm-heroVisual g[stroke] { stroke: #6a747c; }
.lm-landing .lm-heroVisual g[fill="#E2882E"] { fill: #07085a; }
.lm-landing .lm-heroVisual g[fill="#8A8F1E"] { fill: #dadc56; stroke: #455560; stroke-width: 1.5; }
.lm-landing .lm-heroVisual g[fill="#7C8794"] { fill: #455560; }
@media (max-width: 860px) {
  .lm-landing .lm-heroGrid { grid-template-columns: 1fr; text-align: left; }
  .lm-landing .lm-heroVisual { max-width: 260px; margin-top: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lm-landing .lm-netLine { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.4s ease forwards; }
  .lm-landing .lm-netNode { opacity: 0; transform-origin: center; animation: pop 0.5s ease forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* -- Sections: the website separates sections with a hairline rule -- */
.lm-landing section { padding: 72px 0; position: relative; border-top: 1px solid #6a747c; }
.lm-landing section.lm-tight { padding: 0; }
.lm-landing section:not(.lm-tight) + section::before,
.lm-landing section.lm-tight + section:not(.lm-tight)::before { content: none; }
.lm-landing .lm-sectionHead { max-width: 640px; margin-bottom: 36px; }
.lm-landing .lm-sectionHead .lm-eyebrow { margin-bottom: 10px; }
.lm-landing .lm-sectionHead h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; }
.lm-landing .lm-sectionHead p { color: #455560; font-size: 17px; margin-top: 12px; }

/* How it works = the website's numbered "layer" headings */
.lm-landing .lm-stepsList { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lm-landing .lm-stepRow { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #d5d9dc; }
.lm-landing .lm-stepRow:last-child { border-bottom: none; }
.lm-landing .lm-stepRow .lm-stepNum {
  font-family: Raleway, sans-serif; font-size: 14px; font-weight: 900; letter-spacing: 0;
  color: #ffffff; background: #455560;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lm-landing .lm-stepRow.lm-loop .lm-stepNum { position: relative; }
.lm-landing .lm-stepRow.lm-loop .lm-stepNum .lm-repeatGlyph {
  position: absolute; right: -6px; bottom: -6px;
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #dadc56; font-size: 12px; color: #231f20; font-weight: 700;
}
.lm-landing .lm-stepRow h4 { font-size: 18px; color: #000; margin: 0 0 4px; font-weight: 900; font-family: Raleway, sans-serif; }
.lm-landing .lm-stepRow p { font-size: 15px; color: #455560; margin: 0; line-height: 1.6; }

/* Footer = the website's footer band (full width, outside the frame) */
.lm-landing footer {
  background: #6a747c; color: #ffffff; padding: 38px 0; font-size: 13px;
  margin: 0 -90px 0 -26px; text-align: center;
}
.lm-landing footer .lm-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lm-landing footer .lm-brand {
  color: #ffffff; font-family: Raleway, sans-serif; font-weight: 900; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.lm-landing footer .lm-footLinks {
  display: flex; gap: 18px; align-items: center;
  margin-top: 10px; padding-top: 14px; border-top: 1px solid #dadc56;
}
.lm-landing footer .lm-footLinks a { color: #ffffff; text-decoration: none; font-size: 12.5px; }
.lm-landing footer .lm-footLinks a:hover { color: #dadc56; }

@media (max-width: 640px) {
  .lm-landing { border-left-width: 12px; border-right-width: 0; }
  .lm-landing footer { margin: 0 0 0 -12px; }
  .lm-landing .lm-wrap { padding: 0 22px; }
  .lm-landing .lm-siteNavBrand { padding: 14px 20px; }
  .lm-landing .lm-siteNavLinks { padding: 12px 20px; }
}

/* ======================= Part 4: PREVIEW BRIDGE =======================
   NOT for the app. Each rule below targets a hex value hard-coded in a TSX
   inline style, which no stylesheet can reach without !important. In the app,
   make the listed edit and delete the rule. */

/* AppShell.tsx <header className="nav" style={{ background: "var(--color-charcoal)" }}>
   -> background "var(--color-surface)", borderBottom "1px solid var(--color-border)";
   nav-brand style color "#ffffff" -> "var(--color-charcoal)". */
header.nav { background: #ffffff !important; border-bottom: 1px solid var(--color-divider) !important; padding: 12px 24px; }
@media (max-width: 640px) { header.nav { padding: 10px 16px; } }
header.nav > .nav-brand { color: var(--color-charcoal) !important; }
/* AppShell.tsx "Working as" button: color "#c9d4de", border "1px solid #5c6673"
   -> color "var(--color-accent)", border "1.5px solid var(--color-accent)". */
header.nav button[style*="#c9d4de"] { color: var(--color-accent) !important; border: 1.5px solid var(--color-accent) !important; background: #fff !important; font-weight: 700; }
/* AppShell.tsx "Sign out": background "#f4c6ce", color "#7a1f2b", border "#e79aa9"
   -> a plain text button in var(--color-accent). */
header.nav button[style*="#f4c6ce"] { background: transparent !important; color: var(--color-accent) !important; border: 1.5px solid transparent !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
/* AppShell.tsx sidebar: the active item's left border is var(--color-accent),
   which is now navy and vanishes on slate -> "var(--color-accent-2)". */
.app-sidebar a[style*="border-left:3px solid var(--color-accent)"] { border-left-color: var(--color-accent-2) !important; }
/* AppShell.tsx sidebar footer links: color "#8b95a3" (2.54:1 on slate)
   -> "#e1e6ea" (6.14:1). */
.app-sidebar a[style*="#8b95a3"] { color: #e1e6ea !important; }

/* login-content.tsx <main style={{ background: "#2A323C" }}> -> "var(--color-charcoal)",
   plus the website's chartreuse left column. */
main[style*="#2A323C"] { background: var(--color-charcoal) !important; border-left: 26px solid var(--color-accent-2); }
/* Left panel: the "IKA Activate" label is var(--color-accent) (navy: fails on
   slate) -> "var(--color-accent-2)" (5.27:1). */
main[style*="#2A323C"] > div.hidden div[style*="color:var(--color-accent)"] { color: var(--color-accent-2) !important; font-weight: 900 !important; letter-spacing: 0.12em !important; font-size: 12px !important; }
main[style*="#2A323C"] > div.hidden h2 { font-size: 28px !important; }
/* "Two ways to join": "#8b95a3" -> "#e1e6ea"; body copy "#a9b2bd" -> "#e1e6ea". */
main[style*="#2A323C"] [style*="#8b95a3"] { color: #e1e6ea !important; }
main[style*="#2A323C"] [style*="#a9b2bd"] { color: #e1e6ea !important; }
/* The Associate row's rule is var(--color-accent) (navy, invisible on slate)
   -> gold, the website's mark on slate (a line, not text). */
main[style*="#2A323C"] div[style*="border-left:2px solid var(--color-accent)"] { border-left-color: var(--ika-gold) !important; }
main[style*="#2A323C"] div[style*="border-left:2px solid var(--color-accent-2)"] { border-left-color: var(--color-accent-2) !important; }
/* The sign-in card: square it up and give it the chartreuse cap. */
main[style*="#2A323C"] div[style*="max-width:400px"] { border-top: 3px solid var(--color-accent-2) !important; }

/* page.tsx How-it-works <section style={{ background: "#F4F2EA" }}> -> no inline
   background (white, like every website section). */
.lm-landing section[style*="#F4F2EA"] { background: #ffffff !important; }
