/* v1 additions. The carried stylesheets (site.css, components.css,
   apple-nav.css) are untouched; everything new for this build lives here so a
   diff against the previous design stays readable. */

/* ---- language switcher as links, not buttons ---------------------------
   The switcher must work with JavaScript off: each language is a real page,
   so each is a real link. apple-nav.css styles `.gn-lang button`; these rules
   give the anchors the same geometry. */

.gn-lang a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gn-ink-2, #3a4759);
  min-height: 36px;
  min-width: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s var(--gn-ease, ease);
}
.gn-lang a:hover { color: var(--gn-ink, #0b1f3a); }
.gn-lang a[aria-current="true"] {
  color: #fff;
  background: var(--gn-accent, #034078);
  box-shadow: 0 2px 6px rgba(3, 64, 120, 0.35);
}
.gn-lang .lang-thumb { display: none; }

/* The mobile panel is built at build time (no JS content injection). */
.gn-m-menu nav { display: grid; gap: 2px; padding: 12px 0 20px; }
.gn-m-menu nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--gn-ink, #0b1f3a);
  text-decoration: none;
}
.gn-m-menu nav a[aria-current="page"] { background: rgba(3, 64, 120, 0.08); }
.gn-m-menu nav a:hover { background: rgba(3, 64, 120, 0.06); }

@media (max-width: 640px) {
  .gn-lang a { min-width: 28px; min-height: 28px; padding: 4px 6px; font-size: 12px; }
}
@media (max-width: 380px) {
  .gn-lang a { min-width: 26px; padding: 4px 6px; }
}

/* ---- one principal, one card ------------------------------------------ */

.team-grid-single { grid-template-columns: minmax(0, 22rem); }
.team-grid-single .team-card { padding-top: 0; }

/* ---- contact page ------------------------------------------------------ */

.contact-block-lead dt { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3, #6b7686); }
.contact-block-lead dd { font-size: 1.32rem; font-weight: 600; }
.contact-block-lead dd a { text-decoration: none; }
.contact-block-lead dd a:hover { text-decoration: underline; }

/* ---- chatbot ----------------------------------------------------------- */

.chat {
  border: 1px solid var(--line, #e3e8ef);
  border-radius: 16px;
  padding: var(--s5, 24px);
  background: var(--surface, #fff);
}
.chat-head h2 { font-size: 1.18rem; margin: 0 0 6px; }
.chat-head p { font-size: 0.92rem; color: var(--ink-2, #46536a); margin: 0 0 var(--s4, 16px); }
.chat-log {
  display: grid;
  gap: 10px;
  max-height: 22rem;
  overflow-y: auto;
  padding: 4px 2px var(--s4, 16px);
  scroll-behavior: smooth;
}
.chat-msg {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 92%;
  white-space: pre-wrap;
}
.chat-msg-bot { background: #f1f4f8; color: var(--ink, #10192a); justify-self: start; }
.chat-msg-user { background: var(--gn-accent, #034078); color: #fff; justify-self: end; }
.chat-msg-note { background: transparent; color: var(--ink-2, #46536a); font-size: 0.86rem; padding: 0; }
.chat-form { display: grid; gap: 8px; margin-top: var(--s4, 16px); }
.chat-label { font-size: 0.82rem; font-weight: 600; color: var(--ink-2, #46536a); }
.chat-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line, #e3e8ef);
  border-radius: 12px;
  resize: vertical;
  min-height: 3.4rem;
  background: #fff;
  color: inherit;
}
.chat-form textarea:focus-visible { outline: 2px solid var(--gn-accent, #034078); outline-offset: 2px; }
.chat-form .btn { justify-self: start; }
.chat-form[hidden] { display: none; }
.chat-status { font-size: 0.84rem; color: var(--ink-2, #46536a); min-height: 1.2em; margin: 8px 0 0; }
.chat-status[data-tone="error"] { color: #a3231b; }
.chat-privacy { font-size: 0.82rem; color: var(--ink-3, #6b7686); margin: 10px 0 0; }
.chat-privacy a { color: inherit; }
.chat[data-state="unavailable"] .chat-log,
.chat[data-state="unavailable"] .chat-form { display: none; }
.chat-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4, 16px); }

/* ---- insights index ---------------------------------------------------- */

.insight-group {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3, #6b7686);
  margin: var(--s6, 32px) 0 var(--s4, 16px);
}
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.article-lead { border-top: 2px solid var(--gn-accent, #034078); padding-top: var(--s4, 16px); }
.article-lead h3 { font-size: 1.5rem; }

/* ---- prose (note and privacy) ----------------------------------------- */

.prose { max-width: 42rem; }
.prose h2 { font-size: 1.12rem; margin: var(--s6, 32px) 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; line-height: 1.7; color: var(--ink-2, #263349); }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; line-height: 1.65; color: var(--ink-2, #263349); }
.note-standfirst { font-size: 1.1rem; color: var(--ink-2, #263349); }
.note-body p:first-child { font-size: 1.06rem; }
.rule { border: 0; border-top: 1px solid var(--line, #e3e8ef); margin: var(--s6, 32px) 0; }
.note-foot { display: grid; gap: var(--s4, 16px); justify-items: start; }
.note-foot p { color: var(--ink-2, #263349); }
