/* ═══════════════════════════════════════════════════════════════════════════
   Mr. Crowd / Company Page
   company.css

   Standalone rather than sharing frontpage.css: the two pages carry the same
   design tokens, but keeping them separate means a change here can never
   disturb the live front page. The token block and the header/footer rules
   below are deliberately identical to frontpage.css.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --blue:        #1264d4;
  --blue-dark:   #0b4ea8;
  --blue-soft:   #e8f0fd;
  --green:       #09ae7e;
  --green-dark:  #068462;
  --green-soft:  #e4f7f1;
  --amber:       #d68910;
  --amber-soft:  #fdf3e2;
  --red:         #c0392b;
  --red-soft:    #fdecea;

  --ink:         #0b1b34;
  --ink-2:       #12294a;
  --text:        #1a2b45;
  --muted:       #61748f;
  --faint:       #8c9cb3;
  --line:        #e4e9f1;
  --line-soft:   #eef2f7;
  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --bg-tint:     #f0f4f9;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgba(11, 27, 52, .06), 0 1px 3px rgba(11, 27, 52, .04);
  --shadow-2: 0 4px 12px rgba(11, 27, 52, .07), 0 2px 4px rgba(11, 27, 52, .04);
  --shadow-3: 0 14px 34px rgba(11, 27, 52, .13), 0 4px 10px rgba(11, 27, 52, .06);

  --header-h: 68px;
  --subnav-h: 54px;
  --maxw: 1200px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", "Noto Sans TC", "Noto Sans SC",
          "Microsoft JhengHei", "PingFang TC", sans-serif;
  --font-num: "Inter", "SF Mono", ui-monospace, "Segoe UI", sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-2); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--shadow-2); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { border: 1px solid var(--line); background: #fff; color: var(--text); }
.btn-ghost:hover { border-color: #c9d4e3; background: var(--bg-alt); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER  (matches frontpage.css)
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; }
.brand img { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--blue); }
.main-nav .btn { display: none; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.account-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 3px 10px 3px 3px; border-radius: 999px; transition: background-color .15s;
}
.account-chip:hover { background: var(--bg-tint); }
.account-avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; object-fit: cover; background: var(--bg-tint); }
.account-name {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 38px; height: 38px; flex: none; border-radius: 9px; color: var(--muted);
  transition: background-color .15s, color .15s;
}
.icon-btn:hover { background: var(--bg-tint); color: var(--ink); }
.icon-btn.is-on { color: var(--amber); }

.icon-badge {
  position: absolute; top: 1px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: #d6272d; border: 2px solid #fff; color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 13px; text-align: center;
  font-variant-numeric: tabular-nums;
}

.account-menu { position: relative; display: none; }
body.is-authed .account-menu { display: block; }
.menu-btn { width: 38px; height: 38px; border-radius: 9px; }
.menu-btn:hover { background: var(--bg-tint); }
.menu-btn span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; }

.menu-pop {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 208px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menu-open .menu-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-pop a, .menu-pop button {
  display: block; width: 100%; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--text); text-align: left;
  transition: background-color .12s, color .12s;
}
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg-tint); color: var(--ink); }
.menu-pop button { border-top: 1px solid var(--line-soft); margin-top: 6px; color: #b3282d; border-radius: 0 0 var(--r-sm) var(--r-sm); }
.menu-pop button:hover { background: #fdeced; color: #8f1e22; }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; }
.nav-toggle:hover { background: var(--bg-tint); }
.nav-toggle span {
  display: block; width: 19px; height: 2px; margin: 4px auto;
  background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   NOTICES
   ═══════════════════════════════════════════════════════════════════════════ */
.notice {
  padding: 11px 0;
  font-size: 13.5px;
  text-align: center;
}
.notice.preview { background: var(--amber-soft); color: #8a5a06; border-bottom: 1px solid #f3e0bd; }
.notice.preview strong { color: #6d4705; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.company-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  background-position: center;
  background-size: cover;
}
.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6,15,30,.94) 0%, rgba(6,15,30,.8) 48%, rgba(6,15,30,.45) 100%),
    linear-gradient(180deg, rgba(6,15,30,.45) 0%, rgba(6,15,30,.2) 45%, rgba(6,15,30,.7) 100%);
}
.company-hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 54px 0 58px;
}
.company-logo {
  width: 96px; height: 96px;
  flex: none;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
}
.company-hero-copy { min-width: 0; }

.company-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 999px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #d8e6fa;
}
.chip img { width: 13px; height: 13px; object-fit: contain; }
.chip.live { background: rgba(9,174,126,.22); border-color: rgba(9,174,126,.5); color: #7ff0cd; }
.chip.funded { background: rgba(18,100,212,.25); border-color: rgba(18,100,212,.55); color: #a8cdff; }
.chip.ttw { background: rgba(214,137,16,.22); border-color: rgba(214,137,16,.5); color: #ffd79a; }

.company-name {
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
}
.company-pitch {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.6;
  color: rgba(255,255,255,.84);
  max-width: 640px;
}
.company-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION NAV
   ═══════════════════════════════════════════════════════════════════════════ */
.section-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  height: var(--subnav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.section-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.section-nav a:hover { background: var(--bg-tint); color: var(--ink); }
.section-nav a.active { background: var(--blue-soft); color: var(--blue-dark); }

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
  padding: 44px 0 72px;
}
.company-main { min-width: 0; }

.company-aside {
  position: sticky;
  top: calc(var(--header-h) + var(--subnav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Content sections ───────────────────────────────────────────────────── */
.block { scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 16px); }
.block + .block { margin-top: 48px; }

.block-title {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.016em;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.prose {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  overflow-wrap: break-word;
}
.prose h2, .prose h3 { margin: 26px 0 10px; color: var(--ink); line-height: 1.3; }
.prose h2 { font-size: 21px; font-weight: 750; }
.prose h3 { font-size: 18px; font-weight: 700; }
.prose p { margin: 0 0 14px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r); margin: 14px 0; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Issuer free text keeps its own line breaks without the monospace a <pre>
   would bring. */
.prose-plain { white-space: pre-wrap; }

.sub-block + .sub-block { margin-top: 28px; }
.sub-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

/* Long sections collapse behind a fade until asked to open. */
.clamp { position: relative; max-height: 1500px; overflow: hidden; }
.clamp.open { max-height: none; }
.clamp:not(.open)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
  pointer-events: none;
}
.clamp-toggle { display: flex; justify-content: center; margin-top: 14px; }

/* ── Financials ─────────────────────────────────────────────────────────── */
.fin-table { width: 100%; border-collapse: collapse; }
.fin-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 0 10px;
}
.fin-table th:last-child { text-align: right; }
.fin-table td { padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.fin-table td:last-child {
  text-align: right;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.fin-table tr.strong td { font-weight: 750; border-top: 2px solid var(--line); }
.fin-table td.neg { color: var(--red); }

/* ── Team ───────────────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.team-card {
  display: flex;
  gap: 15px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.team-photo { width: 58px; height: 58px; flex: none; border-radius: 50%; object-fit: cover; background: var(--bg-tint); }
.team-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.team-role { margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--blue); }
.team-bio { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); white-space: pre-wrap; }
.team-tag {
  display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 5px;
  background: var(--bg-tint); color: var(--muted); font-size: 11.5px; font-weight: 700;
}

/* ── Timeline ───────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}
.tl-item.future::before { border-color: var(--line); }
.tl-date { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.tl-item.future .tl-date { color: var(--faint); }
.tl-heading { margin-top: 3px; font-size: 16.5px; font-weight: 700; color: var(--ink); }
.tl-event { margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: var(--muted); white-space: pre-wrap; }
.tl-image { margin-top: 12px; border-radius: var(--r); max-width: 320px; }

/* ── Documents ──────────────────────────────────────────────────────────── */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.doc-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.doc-card:hover { border-color: #c9d4e3; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.doc-ext {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.doc-name { font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* ── Risk notice ────────────────────────────────────────────────────────── */
.risk-notice {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid #f0c3bd;
  border-radius: var(--r-lg);
  background: var(--red-soft);
  font-size: 13.5px;
  line-height: 1.65;
  color: #8c2f22;
}
.risk-notice-title { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; margin-bottom: 9px; }
.risk-notice a { color: #8c2f22; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.risk-notice li { margin-top: 6px; padding-left: 15px; position: relative; }
.risk-notice li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: #c0392b; }

/* ── Footnote ───────────────────────────────────────────────────────────── */
.footnote {
  margin-top: 48px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.footnote-title { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; color: var(--text); margin-bottom: 9px; }
.footnote li { margin-top: 6px; padding-left: 15px; position: relative; }
.footnote li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.card-pad { padding: 20px; }
.card-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.raise-amount {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.raise-of { margin-top: 3px; font-size: 13.5px; color: var(--muted); }

.progress-track { height: 8px; margin-top: 14px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green) 0%, #24c795 100%);
  width: 0;
  transition: width .9s cubic-bezier(.2,.7,.2,1);
}
.progress-fill.is-complete { background: linear-gradient(90deg, var(--blue) 0%, #3a8bf0 100%); }

.raise-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; }
.raise-pct { font-size: 13.5px; font-weight: 700; color: var(--green); }
.raise-pct.is-complete { color: var(--blue); }
.raise-count { font-size: 13px; color: var(--faint); }

.countdown {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--r);
  background: var(--bg-tint);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.countdown strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.terms { margin-top: 18px; }
.terms-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.terms-row:first-child { border-top: 0; }
.terms-label { color: var(--muted); }
.terms-value { font-weight: 650; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.reserved-figure { text-align: center; padding: 6px 0 2px; }
.reserved-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.reserved-value { font-family: var(--font-num); font-size: 27px; font-weight: 800; letter-spacing: -.025em; color: var(--amber); }

.side-note { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--faint); }

/* Secondary market */
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border-radius: var(--r); overflow: hidden; }
.quote-pair > div { background: #fff; padding: 13px 14px; text-align: center; }
.quote-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.quote-value { font-family: var(--font-num); font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.quote-value.bid { color: var(--green); }
.quote-value.ask { color: #d6474a; }

.tran-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.tran-table th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--faint); padding-bottom: 7px;
}
.tran-table th:not(:first-child), .tran-table td:not(:first-child) { text-align: right; }
.tran-table td { padding: 7px 0; border-top: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }

/* Profile card */
.profile-row { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.profile-row:first-child { border-top: 0; padding-top: 0; }
.profile-label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.profile-value { margin-top: 3px; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.profile-value a { color: var(--blue); }
.profile-socials { display: flex; gap: 9px; margin-top: 10px; }
.profile-socials a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--bg-tint); transition: background-color .15s;
}
.profile-socials a:hover { background: var(--line); }
.profile-socials img { width: 16px; height: 16px; }

/* ── Skeleton / states ──────────────────────────────────────────────────── */
.page-state { padding: 90px 24px; text-align: center; }
.page-state-title { font-size: 21px; font-weight: 750; color: var(--ink); }
.page-state-text { margin-top: 10px; color: var(--muted); }
.page-state .btn { margin-top: 22px; }

.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, var(--bg-tint) 37%, var(--bg-alt) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--r); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 54px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.11); }
.footer-brand img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-tagline { margin-top: 14px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .15s; }
.footer-social a:hover { background: rgba(255,255,255,.18); }
.footer-social img { width: 17px; height: 17px; opacity: .85; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: 14px; }
.footer-col a:hover { color: #fff; }

.footer-legal { padding-top: 28px; font-size: 12.5px; line-height: 1.72; color: rgba(255,255,255,.5); }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal strong { color: rgba(255,255,255,.72); }
.footer-legal p + p { margin-top: 12px; }
.footer-regcf { display: block; margin-bottom: 20px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.82); }
.footer-bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom .spacer { margin-left: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .company-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* The offering box is the reason most visitors are here, so on a narrow
     screen it leads rather than being pushed below the whole campaign. */
  .company-layout { grid-template-columns: 1fr; padding-top: 30px; }
  .company-aside { position: static; order: -1; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .wrap { padding: 0 18px; }

  .nav-toggle { display: block; order: 3; }
  .header-right { gap: 8px; }
  .header-right .btn { display: none; }
  body.is-authed .account-menu { display: none; }
  .account-chip { margin-left: auto; padding-right: 0; }
  .account-name { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav-open .main-nav { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav .btn { display: flex; height: 44px; margin-top: 12px; padding: 0 22px; border-bottom: 0; }

  .company-hero-body { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 0 40px; }
  .company-logo { width: 70px; height: 70px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
