* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background: #f9fafb;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.70);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: 340px;
  max-width: min(42vw, 340px);
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a:not(.btn) {
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-nav a:not(.btn):hover {
  color: #1d4ed8;
}


.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
  border: 0;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.8rem;
  line-height: 1;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: #1d4ed8;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  padding-top: 10px;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 10px;
  background-clip: padding-box;
  display: none;
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.3;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: #eff6ff;
  color: #1d4ed8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1d4ed8;
}

.btn-outline:hover {
  background: #eff6ff;
}

.hero-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: url('iStock_000042130588_Medium1950B.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 33, 0.74) 0%, rgba(8, 15, 33, 0.5) 38%, rgba(8, 15, 33, 0.28) 100%),
              linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 88px 0 72px;
}

.hero-flag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

#productreview {
	display: inline;
	margin-bottom: 10px;
}

.flag-badge,
.section-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.flag-badge {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(4px);
}

.flag-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.section-heading-with-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-flag {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
}

.section-flag-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.eyebrow {
  display: inline-block;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 11ch;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

.hero-text {
  max-width: 680px;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.08rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 64px 0;
}

.section-light {
  background: #ffffff;
}

.section-gray {
  background: #f3f4f6;
}

.section-plans {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.section h2 {
  text-align: center;
  color: #CA0C4C;
  font-size: clamp(1.7rem, 2.8vw, 2rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.section-heading-with-flag h2 {
  margin-bottom: 0;
}

.section-intro {
  max-width: 680px;
  margin: -0.8rem auto 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
}

.subsection-title {
  text-align: center;
  color: #CA0C4C;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.address-checker {
  max-width: 980px;
  margin: 0 auto 2.25rem;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe3ee;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.address-checker-copy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.35rem;
}

.address-kicker {
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.address-title {
  color: #CA0C4C;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.address-description {
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.6;
}

.address-checker-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.address-input {
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111827;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.address-input::placeholder {
  color: #94a3b8;
}

.address-input:focus {
  outline: 2px solid rgba(29, 78, 216, 0.18);
  outline-offset: 0;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.address-button {
  min-width: 180px;
  min-height: 58px;
  padding-inline: 1.4rem;
  white-space: nowrap;
}

.address-status {
  margin-top: 12px;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

.address-status.error {
  color: #b91c1c;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.feature-card h3 {
  color: #CA0C4C;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.55;
}

.review-meta {
  text-align: center;
  margin-bottom: 2rem;
}

.stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.5rem;
}

.star {
  color: #fbbf24;
  font-size: 1.1rem;
  line-height: 1;
}

.rating-text {
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
}

.review-link {
  color: #4b5563;
  font-size: 0.95rem;
  display: inline;
  margin-bottom: 10px;
}

.review-link a {
  color: #1d4ed8;
  text-decoration: underline;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.review-stars {
  color: #fbbf24;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.review-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.review-author {
  color: #6b7280;
  font-size: 0.86rem;
}

.cart-summary {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  margin-bottom: 24px;
}

.cart-summary-bottom {
  margin-top: 40px;
  margin-bottom: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cart-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-title-wrap h3 {
  color: #CA0C4C;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.cart-subtext {
  color: #6b7280;
  font-size: 0.92rem;
}

.cart-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ff;
  font-size: 1.2rem;
}

.cart-clear {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1d4ed8;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.cart-clear:hover {
  background: #eff6ff;
}

.cart-body {
  border-top: 1px solid #e5e7eb;
  padding-top: 14px;
}

.cart-body.empty {
  border-top: 1px dashed #d1d5db;
}

.cart-empty {
  color: #6b7280;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-line.compact {
  padding-top: 4px;
  border-top: 1px dashed #e5e7eb;
  color: #4b5563;
  font-size: 0.95rem;
}

.cart-item-name {
  color: #111827;
  font-weight: 700;
  font-size: 1.02rem;
}

.cart-item-note {
  color: #6b7280;
  font-size: 0.93rem;
}

.cart-item-price {
  color: #1d4ed8;
  font-size: 1.1rem;
  font-weight: 800;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dbe3ee;
  color: #111827;
  font-weight: 700;
}

.cart-total strong {
  font-size: 1.3rem;
  color: #111827;
}

.plans-grid,
.routers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.router-section {
  margin-top: 40px;
}

.plan-card,
.router-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.plan-button,
.router-button {
  width: 100%;
  appearance: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.plan-button:hover,
.router-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.plan-button.selected,
.router-button.selected {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12), 0 14px 30px rgba(29, 78, 216, 0.16);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.featured-plan {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.premium-plan {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #1d4ed8;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
}

.plan-speed {
  display: block;
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.0rem;
}

.router-name {
  display: block;
  color: #1f2937;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.plan-price,
.router-price {
  display: block;
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 4px;
}

.plan-note,
.router-note {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.router-extra {
  display: inline-block;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 700;
  font-size: 0.88rem;
}

.plan-select-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.9rem;
}

.plan-button.selected .plan-select-text {
  background: #1d4ed8;
  color: #ffffff;
}

.footer {
  background: #1f2937;
  color: #f3f4f6;
  text-align: center;
  padding: 56px 0;
}

.footer-logo {
  width: 280px;
  max-width: 80vw;
  margin: 0 auto 1.2rem;
}

.footer h3 {
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.footer p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: #d1d5db;
  font-size: 1.02rem;
}

.footer-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}


.footer-links-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: max-content max-content max-content max-content;
  justify-content: center;
  column-gap: clamp(36px, 5vw, 72px);
  row-gap: 20px;
  align-items: start;
  text-align: left;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: max-content;
}

.footer-links-heading {
  display: block;
  width: auto;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  text-align: left;
}

.footer-links-heading-placeholder {
  visibility: hidden;
}

.footer-links-column a {
  display: block;
  width: auto;
  color: #d1d5db;
  font-size: 0.96rem;
  line-height: 1.35;
  text-decoration: none;
}

.footer-links-column a:hover,
.footer-links-column a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .reviews-grid,
  .routers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .features-grid,
  .plans-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .routers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-card,
  .plan-card,
  .router-card {
    min-height: 210px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
  }

  .header-nav {
    justify-content: center;
  }

  .brand-logo {
    max-width: min(78vw, 340px);
  }
}

@media (max-width: 767px) {
  .footer-links-grid {
    grid-template-columns: max-content max-content;
    justify-content: center;
    column-gap: clamp(28px, 9vw, 48px);
    row-gap: 24px;
  }

  .hero {
    min-height: 500px;
    background-position: center center;
  }

  .hero-inner {
    text-align: center;
    padding: 72px 0 56px;
  }

  .hero-flag-row {
    justify-content: center;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .address-checker {
    padding: 22px 18px;
  }

  .address-checker-copy {
    margin-bottom: 1rem;
  }

  .address-checker-inner {
    grid-template-columns: 1fr;
  }

  .address-button {
    width: 100%;
    min-width: 0;
  }

  .cart-header,
  .cart-line,
  .cart-total {
    align-items: flex-start;
  }

  .section {
    padding: 54px 0;
  }
}


@media (max-width: 430px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links-column {
    align-items: center;
    min-width: 0;
  }

  .footer-links-heading {
    text-align: center;
  }
}


.billing-hero h1 {
  max-width: 12ch;
}

.billing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}

.billing-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.billing-card:hover,
.billing-card:focus-visible {
  transform: translateY(-2px);
  border-color: #1d4ed8;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  outline: none;
}

.billing-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ff;
  font-size: 1.3rem;
}

.billing-card h3 {
  color: #CA0C4C;
  font-size: 1.08rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.billing-card p {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.billing-card-link {
  margin-top: auto;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.94rem;
}

@media (min-width: 640px) {
  .billing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .billing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.account-hero {
  min-height: 720px;
}

.account-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(8, 15, 33, 0.60) 0%, rgba(8, 15, 33, 0.46) 45%, rgba(8, 15, 33, 0.24) 100%),
              linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.36) 100%);
}

.account-hero-inner {
  max-width: 980px;
}

.account-hero h1 {
  max-width: 12ch;
}

.account-hero-text {
  max-width: 760px;
}

.account-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 920px;
  margin-top: 28px;
}

.account-hero-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  background: #ffffff;
  color: #111827;
  opacity: 0.9;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-hero-card:hover,
.account-hero-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.99);
  border-color: #1d4ed8;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  opacity: 0.99;
  outline: none;
}

.account-hero-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ff;
  font-size: 1.15rem;
}

.account-hero-card strong {
  display: block;
  color: #CA0C4C;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.account-hero-card small {
  display: block;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.45;
}

.logged-in-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px 6px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #f8fafc;
  color: #374151;
  font-size: 0.9rem;
  white-space: nowrap;
}

.logged-in-profile[hidden] {
  display: none;
}

.profile-icon {
  font-size: 1rem;
  line-height: 1;
}

.profile-text strong {
  color: #111827;
}

.logoff-button {
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.logoff-button:hover,
.logoff-button:focus-visible {
  background: #eff6ff;
  border-color: #93c5fd;
}

@media (max-width: 920px) {
  .logged-in-profile {
    margin-top: 2px;
  }
}

@media (min-width: 760px) {
  .account-hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .account-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .account-hero {
    min-height: auto;
  }

  .account-hero-card {
    text-align: left;
  }
}
