/* ============================================================
   Rubicorn — inner pages + homepage overview sections
   ============================================================ */

:root {
  --rb-ink: #0b1f33;
  --rb-muted: #5a7183;
  --rb-teal: #1c9aac;
  --rb-teal-dark: #0e7f91;
  --rb-line: #dfeaed;
  --rb-bg: #f5fbfc;
  --rb-soft: #eef8fa;
}

/* ---------- Supplied brand logo ---------- */
.rb-brand__logo {
  display: block;
  width: auto;
  height: 50px;
  max-width: 100%;
  flex-shrink: 0;
}
.nb-logo .rb-brand__logo { height: 50px; }
.rb-brand--footer {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.3rem;
}
.rb-brand--footer .rb-brand__logo { height: 56px; }

/* Active nav item */
.nb-links a.is-active { color: #0b5361; position: relative; }
.nb-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--rb-teal);
}
.nb-mobile a.is-active { color: #0b5361; font-weight: 700; }

/* Buttons used on inner pages */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0b5361;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 154, 172, 0.38);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-outline:hover {
  background: #fff;
  border-color: var(--rb-teal);
  transform: translateY(-1px);
}

/* ---------- Page hero ---------- */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6.5rem, 10vw, 8rem) 0 clamp(2.8rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(28, 154, 172, 0.14), transparent 32rem),
    radial-gradient(circle at 88% 22%, rgba(95, 200, 213, 0.18), transparent 30rem),
    linear-gradient(180deg, #f2fbfc 0%, #f7fcfd 65%, #ffffff 100%);
  border-bottom: 1px solid rgba(223, 234, 237, 0.7);
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11, 31, 51, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 31, 51, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b5361;
  background: rgba(28, 154, 172, 0.1);
  border: 1px solid rgba(28, 154, 172, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.1rem;
}
.inner-title {
  max-width: 900px;
  margin: 0 0 1rem;
  color: var(--rb-ink);
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.inner-title .accent { color: var(--rb-teal); }
.inner-lead {
  max-width: 720px;
  margin: 0 0 1.7rem;
  color: var(--rb-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}
.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}
.inner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  color: #526a7a;
  font-size: 0.84rem;
  font-weight: 600;
}
.inner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  padding: 0.36rem 0.7rem;
}
.inner-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rb-teal);
}

/* ---------- Generic page sections ---------- */
.page-section { padding: clamp(3.4rem, 7vw, 6rem) 0; }
.page-section--tint { background: var(--rb-soft); }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  margin: 0 0 0.8rem;
  color: var(--rb-ink);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-lead {
  margin: 0;
  color: var(--rb-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.section-actions { margin-top: 1.8rem; }

/* ---------- Homepage teasers ---------- */
.home-teaser {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  border-top: 1px solid rgba(223, 234, 237, 0.7);
}
.home-teaser--tint { background: linear-gradient(180deg, #f2fbfc, #f8fdfe); }
.home-teaser-head { max-width: 760px; margin-bottom: 2rem; }
.home-teaser-title {
  margin: 0 0 0.7rem;
  color: var(--rb-ink);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.home-teaser-sub {
  margin: 0;
  color: var(--rb-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.teaser-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.45rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 16px;
  color: var(--rb-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 31, 51, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.teaser-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 154, 172, 0.45);
  box-shadow: 0 16px 36px rgba(11, 31, 51, 0.08);
  text-decoration: none;
}
.teaser-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--rb-teal-dark);
  background: #eaf7f9;
  border: 1px solid #d3edf0;
}
.teaser-card h3 { margin: 0.15rem 0 0; font-size: 1.02rem; line-height: 1.3; }
.teaser-card p { margin: 0; color: var(--rb-muted); font-size: 0.9rem; line-height: 1.55; }
.teaser-link { margin-top: auto; padding-top: 0.6rem; color: var(--rb-teal-dark); font-size: 0.84rem; font-weight: 700; }
.home-teaser-actions { margin-top: 1.7rem; }

/* ---------- Product spotlight (home + products page) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px -30px rgba(11, 31, 51, 0.28);
}
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  padding: 0.32rem 0.66rem;
  border-radius: 999px;
  background: #e6f8f1;
  border: 1px solid #c8eee1;
  color: #0a6b4b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spotlight-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0e9f6e; }
.spotlight h2, .spotlight h3 {
  margin: 0 0 0.6rem;
  color: var(--rb-ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.spotlight p { margin: 0 0 1rem; color: var(--rb-muted); line-height: 1.7; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.spotlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}
.spotlight-list li {
  position: relative;
  padding-left: 1.15rem;
  color: #334a5c;
  font-size: 0.88rem;
}
.spotlight-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0e9f6e;
  font-weight: 700;
}

/* College Mate mock UI */
.cm-preview {
  overflow: hidden;
  border: 1px solid #d5e6ea;
  border-radius: 16px;
  background: #f7fcfd;
  box-shadow: 0 18px 40px -24px rgba(11, 31, 51, 0.35);
}
.cm-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  background: #0b1f33;
  color: #cfe3e8;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}
.cm-bar i { width: 7px; height: 7px; border-radius: 50%; background: #5fc8d5; display: inline-block; }
.cm-bar i:nth-child(2) { background: #8fa5b0; }
.cm-bar i:nth-child(3) { background: #3f5b6c; }
.cm-bar em { margin-left: 0.5rem; font-style: normal; opacity: 0.8; }
.cm-body { padding: 1rem; }
.cm-q {
  margin-left: auto;
  width: fit-content;
  max-width: 90%;
  padding: 0.6rem 0.8rem;
  border-radius: 12px 12px 3px 12px;
  background: #e6f7f9;
  color: #0b5361;
  font-size: 0.82rem;
  font-weight: 600;
}
.cm-a {
  margin-top: 0.7rem;
  padding: 0.8rem;
  border: 1px solid #dceaeD;
  border-radius: 3px 12px 12px 12px;
  background: #fff;
}
.cm-a span.cm-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #0e7f91;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cm-a p { margin: 0 0 0.4rem; color: #334a5c; font-size: 0.84rem; line-height: 1.5; }
.cm-source { display: inline-block; padding: 0.2rem 0.45rem; border-radius: 5px; background: #eef8fa; color: #526a7a; font-size: 0.63rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cm-input {
  margin-top: 0.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #dceaeD;
  border-radius: 9px;
  background: #fff;
  color: #8fa5b0;
  font-size: 0.74rem;
}

/* ---------- Services page ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 154, 172, 0.45);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.08);
}
.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--rb-teal-dark);
  background: #eaf7f9;
  border: 1px solid #d3edf0;
}
.svc-card h3 { margin: 0.15rem 0 0; font-size: 1.1rem; line-height: 1.3; color: var(--rb-ink); }
.svc-card > p { margin: 0; color: var(--rb-muted); font-size: 0.92rem; line-height: 1.6; }
.svc-list { margin: 0.2rem 0 0; padding: 0; list-style: none; }
.svc-list li { position: relative; padding-left: 1.05rem; margin-bottom: 0.3rem; color: #334a5c; font-size: 0.84rem; }
.svc-list li::before { content: "→"; position: absolute; left: 0; color: var(--rb-teal); font-weight: 700; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}
.process-step {
  padding: 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 14px;
}
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.7rem;
  border-radius: 9px;
  background: #0b5361;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}
.process-step h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--rb-ink); }
.process-step p { margin: 0; color: var(--rb-muted); font-size: 0.84rem; line-height: 1.55; }

/* Tech strip */
.tech-cloud { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tech-pill {
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  background: #fff;
  color: #334a5c;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Products page ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(11, 31, 51, 0.05);
}
.product-card--wide { grid-column: 1 / -1; }
.product-card h3 { margin: 0; color: var(--rb-ink); font-size: 1.4rem; letter-spacing: -0.02em; }
.product-card p { margin: 0; color: var(--rb-muted); line-height: 1.65; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.product-tags span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #eef8fa;
  color: #526a7a;
  font-size: 0.72rem;
  font-weight: 600;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.product-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5361, #1c9aac);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
}
.product-logo--alt { background: linear-gradient(135deg, #1c9aac, #5fc8d5); }
.product-note {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #eef8fa;
  border: 1px solid #d5eef1;
  color: #334a5c;
  font-size: 0.86rem;
}

/* ---------- Internships page ---------- */
.internship-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
  margin-top: 1.7rem;
}
.internship-stat {
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--rb-line);
  border-radius: 13px;
}
.internship-stat strong {
  display: block;
  color: var(--rb-ink);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.internship-stat span {
  display: block;
  margin-top: 0.22rem;
  color: var(--rb-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
#tracks, #process, #outcomes, #faq, #apply { scroll-margin-top: 100px; }
.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 100px;
}
.program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(28, 154, 172, 0.45);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.08);
}
.program-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}
.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--rb-teal-dark);
  background: #eaf7f9;
  border: 1px solid #d3edf0;
}
.program-level {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #eef8fa;
  color: #526a7a;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.program-card h3 {
  margin: 0.2rem 0 0;
  color: var(--rb-ink);
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.program-card > p {
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.2rem;
}
.program-meta span {
  padding: 0.27rem 0.55rem;
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  background: #f8fcfd;
  color: #526a7a;
  font-size: 0.71rem;
  font-weight: 600;
}
.program-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: var(--rb-teal-dark);
  font-size: 0.86rem;
  font-weight: 700;
}
.program-cta:hover { text-decoration: underline; }
.internship-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
.info-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(11, 31, 51, 0.05);
}
.info-panel--dark {
  background:
    radial-gradient(circle at 90% 0%, rgba(95, 200, 213, 0.18), transparent 18rem),
    linear-gradient(145deg, #0b1f33, #0b5361);
  border-color: #0b5361;
}
.info-panel h2,
.info-panel h3 {
  margin: 0 0 0.7rem;
  color: var(--rb-ink);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.info-panel--dark h2 { color: #fff !important; }
.info-panel > p { margin: 0 0 1rem; color: var(--rb-muted); line-height: 1.7; }
.info-panel--dark > p { color: #cfe3e8 !important; }
.info-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #334a5c;
  font-size: 0.92rem;
  line-height: 1.55;
}
.info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.01rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #dff4f7;
  color: #0e7f91;
  font-size: 0.65rem;
  font-weight: 800;
}
.info-panel--dark .info-list li { color: #e6f4f6 !important; }
.info-panel--dark .info-list li::before { background: rgba(95, 200, 213, 0.22); color: #a9edf4; }
.info-panel .tech-cloud { margin-top: 1.1rem; }
.faq-list { max-width: 900px; }
.faq-item {
  margin-bottom: 0.7rem;
  padding: 0 1.1rem;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: 14px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  color: var(--rb-ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--rb-teal-dark);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 0 1.05rem;
  color: var(--rb-muted);
  line-height: 1.7;
}
.apply-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: #526a7a;
  font-size: 0.84rem;
  font-weight: 600;
}
.apply-note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0e9f6e;
}
.cta-band .apply-note { color: #cfe3e8; }
.cta-band .apply-note::before { background: #5fc8d5; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, #0b1f33 0%, #0b5361 55%, #0e7f91 100%);
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 200, 213, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  max-width: 760px;
  margin: 0 0 0.7rem;
  color: #fff !important;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.cta-band p { max-width: 640px; margin: 0 0 1.5rem; color: #cfe3e8 !important; line-height: 1.65; }
.cta-band .btn-primary { background: #fff; color: #0b5361; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.cta-band .btn-primary:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); }
.cta-band .btn-outline { background: transparent; color: #e9f7f9; border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .internship-split { grid-template-columns: 1fr; }
  .internship-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight { grid-template-columns: 1fr; }
  .nb-logo .rb-brand__logo { height: 44px; }
}
@media (max-width: 640px) {
  .teaser-grid, .svc-grid, .products-grid, .program-grid, .process-grid { grid-template-columns: 1fr; }
  .internship-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-list { grid-template-columns: 1fr; }
  .nb-logo .rb-brand__logo { height: 38px; }
  .rb-brand--footer { padding: 0.55rem 0.75rem; }
  .rb-brand--footer .rb-brand__logo { height: 48px; }
  .inner-title { overflow-wrap: break-word; }
  .inner-actions { flex-direction: column; align-items: stretch; }
  .inner-actions .btn, .inner-actions .btn-outline { width: 100%; }
  .spotlight-actions { flex-direction: column; align-items: stretch; }
  .spotlight-actions .btn, .spotlight-actions .btn-outline { width: 100%; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions .btn, .product-actions .btn-outline { width: 100%; }
}
@media (max-width: 480px) {
  .nb-inner > .nb-login { display: none !important; }
}

/* ---------- Accessibility and form feedback ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: #0b1f33;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #5ec8d4;
  outline-offset: 2px;
}
#main:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #1c9aac;
  outline-offset: 3px;
}
.toast.error::before { content: '!'; color: #f87171; font-weight: 900; }
