:root {
  --public-navy: #061a33;
  --public-navy-2: #0c2549;
  --public-ink: #0e1e37;
  --public-copy: #3d4f69;
  --public-muted: #607189;
  --public-blue: #146af5;
  --public-blue-dark: #0957d8;
  --public-blue-soft: #eef5ff;
  --public-blue-wash: #f6f9ff;
  --public-line: #dbe5f2;
  --public-surface: #ffffff;
  --public-success: #15975e;
  --public-danger: #d84754;
  --public-shell: 1180px;
  --public-radius: 10px;
}

@font-face {
  font-display: block;
  font-family: "YPI Phosphor";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Phosphor.woff2") format("woff2");
}

.public-shell {
  background: var(--public-blue-wash);
  color: var(--public-copy);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-shell .ph,
.public-shell .ph::before {
  font-family: "YPI Phosphor" !important;
}

.public-shell *,
.public-shell *::before,
.public-shell *::after {
  box-sizing: border-box;
}

.public-shell h1,
.public-shell h2,
.public-shell h3,
.public-shell h4,
.public-shell h5,
.public-shell h6,
.public-shell .page-title,
.public-shell .section-title {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.public-shell p,
.public-shell li {
  text-wrap: pretty;
}

.public-shell a {
  color: var(--public-blue-dark);
  text-underline-offset: 0.18em;
}

.public-shell a:focus-visible,
.public-shell button:focus-visible,
.public-shell input:focus-visible,
.public-shell select:focus-visible,
.public-shell textarea:focus-visible {
  outline: 3px solid rgba(20, 106, 245, 0.28);
  outline-offset: 2px;
}

/* Shared public header */
.public-shell .site-header {
  background: var(--public-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  min-height: 64px;
}

.public-shell .topbar {
  gap: 1.3rem;
  min-height: 64px;
  width: min(calc(100% - 48px), var(--public-shell));
}

.public-shell .brand {
  gap: 0.58rem;
}

.public-shell .brand::before,
.public-shell .brand::after,
.public-shell .brand-code {
  display: none;
}

.public-shell .landing-brand-mark {
  color: #fff;
  display: grid;
  flex: 0 0 auto;
  font-size: 1.75rem;
  place-items: center;
}

.public-shell .brand-name {
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 112px;
  text-transform: uppercase;
  white-space: normal;
}

.public-shell .site-nav {
  margin-left: auto;
}

.public-shell .site-nav ul {
  align-items: center;
  gap: 0.15rem;
  justify-content: flex-end;
}

.public-shell .site-nav a,
.public-shell .site-nav .nav-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #dce8fa;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 650;
  min-height: 38px;
  padding: 0.58rem 0.68rem;
}

.public-shell .site-nav a:hover,
.public-shell .site-nav a.active,
.public-shell .site-nav .nav-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.public-shell .site-nav .nav-outline {
  background: #fff;
  border: 1px solid #fff !important;
  color: var(--public-navy) !important;
  margin-left: 0.25rem;
}

.public-shell .site-nav .nav-outline:hover,
.public-shell .site-nav .nav-outline.active {
  background: var(--public-blue-soft);
  color: var(--public-navy) !important;
}

.public-shell .site-nav .nav-cta,
.public-shell .site-nav .nav-button.nav-cta {
  background: var(--public-blue);
  color: #fff;
  margin-left: 0.25rem;
  padding-inline: 0.95rem;
}

.public-shell .site-nav .nav-cta:hover,
.public-shell .site-nav .nav-button.nav-cta:hover {
  background: var(--public-blue-dark);
}

.public-shell .site-menu-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.public-shell .site-menu-toggle-icon i {
  background: #fff;
}

/* Shared content frame */
.public-shell #main-content {
  min-height: 62vh;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(1.8rem, 4vw, 3.2rem);
  width: min(calc(100% - 48px), var(--public-shell));
}

.public-shell .page-breadcrumb {
  color: var(--public-muted);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.public-shell .page-breadcrumb a {
  color: var(--public-blue-dark);
  font-weight: 700;
}

.public-shell .hero,
.public-shell .page-hero {
  background: var(--public-surface);
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  box-shadow: none;
  color: var(--public-copy);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
}

.public-shell .hero::before,
.public-shell .hero::after,
.public-shell .page-hero::before,
.public-shell .page-hero::after {
  display: none;
}

.public-shell .hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.2rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
}

.public-shell .hero-copy,
.public-shell .hero-side {
  background: transparent;
  border: 0;
  color: var(--public-copy);
  padding: 0;
}

.public-shell .kicker,
.public-shell .section-code,
.public-shell .auth-kicker,
.public-shell .public-page-context-label {
  color: var(--public-blue-dark);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: uppercase;
}

.public-shell .page-title,
.public-shell .hero h1,
.public-shell .page-hero h1 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 1.15rem;
  max-width: 15ch;
}

.public-shell .page-lead,
.public-shell .text-copy,
.public-shell .small-copy {
  color: var(--public-copy);
  font-family: "Manrope", system-ui, sans-serif;
}

.public-shell .page-lead {
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 64ch;
}

.public-shell .hero-side {
  background: var(--public-blue-wash);
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.public-shell .hero-side h2,
.public-shell .hero-side h3 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
}

.public-shell .hero-points {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.public-shell .hero-points li {
  color: var(--public-copy);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 1.55rem;
  position: relative;
}

.public-shell .hero-points li::before {
  background: var(--public-blue);
  border-radius: 50%;
  content: "";
  height: 0.42rem;
  left: 0.25rem;
  position: absolute;
  top: 0.48rem;
  width: 0.42rem;
}

.public-shell .hero-actions,
.public-shell .actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.public-shell .hero-actions {
  margin-top: 1.5rem;
}

.public-shell .btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 750;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  text-transform: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.public-shell .btn::before,
.public-shell .btn::after {
  display: none;
}

.public-shell .btn:hover {
  transform: translateY(-1px);
}

.public-shell .btn-primary {
  background: var(--public-blue);
  border-color: var(--public-blue);
  color: #fff;
}

.public-shell .btn-primary:hover {
  background: var(--public-blue-dark);
  border-color: var(--public-blue-dark);
  color: #fff;
}

.public-shell .btn-secondary {
  background: #fff;
  border-color: var(--public-blue);
  color: var(--public-blue-dark);
}

.public-shell .btn-secondary:hover {
  background: var(--public-blue-soft);
  color: var(--public-blue-dark);
}

.public-shell .btn:disabled,
.public-shell .btn.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.public-shell .section {
  margin-top: clamp(2.8rem, 6vw, 5rem);
}

.public-shell .section-head {
  margin-bottom: 1.6rem;
  max-width: 740px;
}

.public-shell .section-title {
  color: var(--public-ink);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 0.7rem;
}

.public-shell .card,
.public-shell .panel,
.public-shell .detail,
.public-shell .article-sidebar-card,
.public-shell .form-panel,
.public-shell .vacancy-card {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  box-shadow: none;
}

.public-shell .card,
.public-shell .panel,
.public-shell .detail,
.public-shell .article-sidebar-card {
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
}

.public-shell .card h3,
.public-shell .panel h3,
.public-shell .detail h2,
.public-shell .detail h3,
.public-shell .article-sidebar-card h3 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
}

.public-shell .card:hover {
  border-color: rgba(20, 106, 245, 0.42);
  box-shadow: none;
  transform: translateY(-2px);
}

.public-shell .notice.dark {
  background: var(--public-navy);
  border: 0;
  border-radius: var(--public-radius);
  color: #fff;
}

.public-shell .notice.dark h2,
.public-shell .notice.dark h3,
.public-shell .notice.dark p,
.public-shell .notice.dark .small-copy {
  color: #fff;
}

.public-shell .chip,
.public-shell .tag {
  background: var(--public-blue-soft);
  border: 1px solid rgba(20, 106, 245, 0.2);
  border-radius: 999px;
  color: var(--public-blue-dark);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.public-shell .chip.active,
.public-shell .chip:hover {
  background: var(--public-blue);
  border-color: var(--public-blue);
  color: #fff;
}

/* Forms and account actions */
.public-shell label {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.public-shell input:not([type="checkbox"]):not([type="radio"]),
.public-shell select,
.public-shell textarea {
  background: #fff;
  border: 1px solid #b9c9df;
  border-radius: 7px;
  box-shadow: none;
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.94rem;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.public-shell textarea {
  min-height: 150px;
  resize: vertical;
}

.public-shell input:not([type="checkbox"]):not([type="radio"]):focus,
.public-shell select:focus,
.public-shell textarea:focus {
  border-color: var(--public-blue);
  box-shadow: 0 0 0 3px rgba(20, 106, 245, 0.12);
  outline: 0;
}

.public-shell input::placeholder,
.public-shell textarea::placeholder {
  color: #596b84;
  opacity: 1;
}

.public-shell .field-errors,
.public-shell .errorlist {
  color: var(--public-danger);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

/* Authentication and password flows */
.public-shell .auth-shell {
  align-items: stretch;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.76fr);
  margin: clamp(1.2rem, 4vw, 3rem) auto 0;
  max-width: 1080px;
  min-height: 640px;
}

.public-shell .auth-intro {
  align-content: start;
  background: var(--public-blue-wash);
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius) 0 0 var(--public-radius);
  color: var(--public-copy);
  display: grid;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
}

.public-shell .auth-intro::after {
  background: url("../images/ypi-landing-product-devices.png") center bottom / contain no-repeat;
  content: "";
  height: 46%;
  inset: auto 2rem 0;
  opacity: 0.96;
  position: absolute;
  pointer-events: none;
}

.public-shell .auth-intro > * {
  position: relative;
  z-index: 1;
}

.public-shell .auth-kicker {
  margin: 0 0 0.75rem;
}

.public-shell .auth-intro h1 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0;
  max-width: 12ch;
}

.public-shell .auth-intro > p:not(.auth-kicker) {
  color: var(--public-copy);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 1.15rem 0 0;
  max-width: 33rem;
}

.public-shell .auth-benefits {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 1.4rem 0 15rem;
  padding: 0;
}

.public-shell .auth-benefits li {
  color: var(--public-copy);
  font-size: 0.84rem;
  line-height: 1.48;
  padding-left: 1.65rem;
  position: relative;
}

.public-shell .auth-benefits li::before {
  align-items: center;
  background: rgba(21, 151, 94, 0.12);
  border-radius: 999px;
  color: var(--public-success);
  content: "✓";
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 1.15rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.08rem;
  width: 1.15rem;
}

.public-shell .auth-card.form-panel {
  align-content: center;
  border: 1px solid var(--public-line);
  border-left: 0;
  border-radius: 0 var(--public-radius) var(--public-radius) 0;
  box-shadow: none;
  display: grid;
  padding: clamp(1.6rem, 4vw, 3.25rem);
}

.public-shell .auth-card-head {
  margin-bottom: 1.4rem;
}

.public-shell .auth-card-head h2 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.public-shell .auth-card-head p {
  color: var(--public-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0.45rem 0 0;
}

.public-shell .auth-card .form-grid {
  gap: 0.95rem;
}

.public-shell .auth-card .hero-actions {
  margin-top: 0.45rem;
}

.public-shell .auth-submit {
  width: 100%;
}

.public-shell .auth-card-footer {
  border-top: 1px solid var(--public-line);
  color: var(--public-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  margin-top: 1.3rem;
  padding-top: 1rem;
}

.public-shell .auth-card-footer a {
  color: var(--public-blue-dark);
  font-weight: 800;
}

.public-shell .auth-card .small-copy,
.public-shell .auth-card .helptext,
.public-shell .auth-card ul {
  color: #5b6d86;
  font-size: 0.78rem;
  line-height: 1.48;
}

/* Blog index and editorial articles */
.public-shell .blog-landing-hero {
  padding: clamp(2.2rem, 5vw, 4.5rem);
}

.public-shell .blog-landing-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
}

.public-shell .blog-landing-hero .page-title {
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  max-width: 13ch;
}

.public-shell .blog-featured-side {
  background: var(--public-navy);
  border: 0;
  border-radius: var(--public-radius);
  min-height: 330px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.public-shell .blog-featured-side img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.public-shell .blog-featured-side::after {
  background: linear-gradient(180deg, rgba(6, 26, 51, 0.02), rgba(6, 26, 51, 0.92));
  content: "";
  display: block;
  inset: 0;
  position: absolute;
}

.public-shell .blog-featured-caption {
  align-self: end;
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem;
  position: relative;
  z-index: 1;
}

.public-shell .blog-featured-caption span {
  color: #b8d3ff;
  font-size: 0.74rem;
  font-weight: 750;
}

.public-shell .blog-featured-caption strong {
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.public-shell .blog-index .section-head {
  margin-bottom: 1.4rem;
}

.public-shell .blog-filter-chips {
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.public-shell .blog-tag-filter {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: var(--public-radius);
  box-shadow: none;
  padding: 1rem;
}

.public-shell .blog-article-grid {
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.public-shell .blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.public-shell .blog-card > :not(.blog-card-media) {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.public-shell .blog-card-media {
  aspect-ratio: 16 / 9;
  background: var(--public-blue-soft);
  margin: 0 0 1rem;
  overflow: hidden;
}

.public-shell .blog-card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.public-shell .blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}

.public-shell .blog-card h3 {
  color: var(--public-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  margin-top: 0.8rem;
}

.public-shell .blog-card p {
  color: var(--public-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.public-shell .blog-card .blog-card-cta {
  color: var(--public-blue-dark);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.public-shell .article-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
}

.public-shell .article-hero .page-title {
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  max-width: 15ch;
}

.public-shell .article-hero-media {
  border-radius: var(--public-radius);
  overflow: hidden;
}

.public-shell .article-hero-media img {
  aspect-ratio: 16 / 10;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.public-shell .article-meta {
  color: var(--public-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.65rem 1rem;
}

.public-shell .article-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.34fr);
}

.public-shell .article-content,
.public-shell .markdown-content {
  color: var(--public-copy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.78;
}

.public-shell .markdown-content > * {
  max-width: 72ch;
}

.public-shell .markdown-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin-top: 2.5rem;
}

.public-shell .markdown-content h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-top: 1.8rem;
}

.public-shell .markdown-content blockquote {
  background: var(--public-blue-soft);
  border: 0;
  border-radius: 8px;
  color: var(--public-ink);
  margin-inline: 0;
  padding: 1rem 1.15rem;
}

.public-shell .article-sidebar {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 84px;
}

.public-shell .article-sidebar-card p {
  color: var(--public-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.public-shell .article-sidebar-card a {
  color: var(--public-blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.public-shell .premium-jobs-hero h1,
.public-shell .premium-job-detail-hero h1,
.public-shell .premium-jobs-section-head h2,
.public-shell .premium-job-related h2,
.public-shell .premium-job-card h2,
.public-shell .premium-job-card h3 {
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.public-shell .content-top-sm {
  margin-top: 0.45rem;
}

.public-shell .content-top-md {
  margin-top: 0.8rem;
}

/* CMS, legal and trust pages */
.public-shell .support-page .hero {
  margin-bottom: 0;
}

.public-shell .support-page .public-page-context {
  align-content: center;
  background: var(--public-navy);
  border-radius: var(--public-radius);
  display: grid;
  min-height: 100%;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.public-shell .support-page .public-page-context-label {
  color: #b8d3ff;
  margin: 0 0 0.6rem;
}

.public-shell .support-page .public-page-context h2 {
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
}

.public-shell .support-page .public-page-context p:not(.public-page-context-label) {
  color: #dce8fa;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0.9rem 0 0;
}

.public-shell .support-page .public-page-context a {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  margin-top: 1rem;
}

.public-shell .support-page .public-page-context small {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c8dc;
  font-size: 0.72rem;
  margin-top: 1.4rem;
  padding-top: 0.8rem;
}

.public-shell .support-page .section:not(.topic-review-section) {
  background: transparent;
}

.public-shell .support-page .detail {
  line-height: 1.75;
}

.public-shell .support-page--terms-and-conditions .page-title,
.public-shell .support-page--privacy-policy .page-title,
.public-shell .support-page--mentions-legales .page-title {
  max-width: 13ch;
}

.public-shell .support-page--terms-and-conditions .section,
.public-shell .support-page--privacy-policy .section,
.public-shell .support-page--mentions-legales .section {
  max-width: 920px;
}

.public-shell .support-page--terms-and-conditions .section-head,
.public-shell .support-page--privacy-policy .section-head,
.public-shell .support-page--mentions-legales .section-head {
  max-width: 74ch;
}

/* Footer */
.public-shell .site-footer {
  background: var(--public-navy);
  border-top: 0;
  color: #dce8fa;
  font-family: "Manrope", system-ui, sans-serif;
}

.public-shell .site-footer-grid,
.public-shell .site-footer-bottom {
  width: min(calc(100% - 48px), var(--public-shell));
}

.public-shell .site-footer-name,
.public-shell .site-footer-column strong {
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
}

.public-shell .site-footer-name {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
}

.public-shell .site-footer a {
  color: #c9d8eb;
}

.public-shell .site-footer a:hover {
  color: #fff;
}

.public-shell .site-footer p,
.public-shell .site-footer-note,
.public-shell .site-footer-bottom {
  color: #aebfd4;
}

@media (max-width: 980px) {
  .public-shell .hero-grid,
  .public-shell .blog-landing-hero .hero-grid,
  .public-shell .article-hero .hero-grid,
  .public-shell .article-layout,
  .public-shell .auth-shell {
    grid-template-columns: 1fr;
  }

  .public-shell .hero-side {
    min-height: auto;
  }

  .public-shell .article-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    position: static;
  }

  .public-shell .auth-shell {
    max-width: 720px;
  }

  .public-shell .auth-intro {
    border-radius: var(--public-radius) var(--public-radius) 0 0;
    min-height: 560px;
  }

  .public-shell .auth-card.form-panel {
    border-left: 1px solid var(--public-line);
    border-radius: 0 0 var(--public-radius) var(--public-radius);
  }
}

@media (max-width: 820px) {
  .public-shell .site-header {
    position: relative;
  }

  .public-shell .site-nav {
    background: var(--public-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .public-shell .site-nav ul {
    align-items: stretch;
  }

  .public-shell .site-nav a,
  .public-shell .site-nav .nav-button,
  .public-shell .site-nav .nav-outline,
  .public-shell .site-nav .nav-cta,
  .public-shell .site-nav .nav-button.nav-cta {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .public-shell .topbar,
  .public-shell #main-content,
  .public-shell .site-footer-grid,
  .public-shell .site-footer-bottom {
    width: min(calc(100% - 32px), var(--public-shell));
  }

  .public-shell #main-content {
    padding-top: 1.25rem;
  }

  .public-shell .hero,
  .public-shell .page-hero {
    padding: 1.35rem;
  }

  .public-shell .page-title,
  .public-shell .hero h1,
  .public-shell .page-hero h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    max-width: 100%;
  }

  .public-shell .hero-actions,
  .public-shell .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .public-shell .hero-actions .btn,
  .public-shell .actions .btn {
    width: 100%;
  }

  .public-shell .auth-shell {
    margin-top: 0;
    min-height: 0;
  }

  .public-shell .auth-intro {
    min-height: 520px;
    padding: 1.4rem;
  }

  .public-shell .auth-intro h1 {
    font-size: 2.45rem;
  }

  .public-shell .auth-intro::after {
    height: 42%;
    inset-inline: 1rem;
  }

  .public-shell .auth-benefits {
    margin-bottom: 13rem;
  }

  .public-shell .auth-card.form-panel {
    padding: 1.35rem;
  }

  .public-shell .auth-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-shell .blog-featured-side {
    min-height: 250px;
  }

  .public-shell .article-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-shell *,
  .public-shell *::before,
  .public-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
