@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

html {
  scroll-padding-top: 92px;
}

body.home-legacy {
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-legacy [hidden] {
  display: none !important;
}

.home-legacy .header-inner {
  gap: 18px;
}

.home-legacy .brand {
  min-width: 190px;
}

.home-legacy .nav {
  gap: 20px;
}

.home-legacy .header-actions .btn {
  min-height: 48px;
  padding: 12px 19px;
  white-space: nowrap;
}

.home-legacy .mobile-action-bar {
  grid-template-columns: repeat(3, 1fr);
}

.home-legacy .ecommerce-note-section {
  padding-bottom: 0;
}

.platform-section,
.infrastructure-section,
.b2b-section,
.account-bridge,
.home-faq-section {
  padding: 64px 0;
}

.platform-section {
  background: #f7faff;
  border-top: 1px solid #e1eaf7;
  border-bottom: 1px solid #e1eaf7;
}

.platform-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 26px;
}

.platform-heading h2,
.infrastructure-section h2,
.b2b-section h2,
.account-bridge h2,
.home-faq-section h2 {
  margin: 11px 0 10px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.platform-heading p,
.infrastructure-section .section-lead,
.b2b-section .section-lead,
.home-faq-section .section-lead {
  margin: 0;
  color: #5f6f89;
  font-size: 16px;
}

.account-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-benefits span {
  min-height: 66px;
  padding: 13px 14px;
  border: 1px solid #dce6f4;
  border-radius: 10px;
  background: #fff;
  color: #405069;
  font-size: 12px;
  font-weight: 700;
}

.account-benefits strong {
  display: block;
  margin-bottom: 3px;
  color: #07122f;
  font-size: 13px;
}

.domain-box-legacy {
  padding: 26px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(13, 34, 79, 0.08);
}

.domain-form label,
.domain-multi label {
  display: block;
  margin-bottom: 9px;
  color: #17213a;
  font-size: 13px;
  font-weight: 800;
}

.domain-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px auto;
  gap: 10px;
}

.domain-box-legacy .field,
.domain-box-legacy .select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d4dfef;
  border-radius: 9px;
  background: #fbfdff;
  color: #07122f;
  outline: none;
}

.domain-box-legacy .field:focus,
.domain-box-legacy .select:focus {
  border-color: #1d64f2;
  box-shadow: 0 0 0 4px rgba(29, 100, 242, 0.1);
}

.domain-mode-toggle {
  margin-top: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d64f2;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.domain-multi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5ecf6;
}

.domain-multi label {
  grid-column: 1 / -1;
}

.domain-multi label span {
  margin-left: 6px;
  color: #718096;
  font-size: 11px;
  font-weight: 500;
}

.domain-multi textarea.field {
  min-height: 104px;
  padding-top: 12px;
  resize: vertical;
}

.domain-search-feedback {
  margin-top: 13px;
  color: #5f6f89;
  font-size: 13px;
}

.domain-search-feedback[data-state="error"] {
  color: #b42318;
}

.domain-search-feedback[data-state="success"] {
  color: #087f5b;
}

.domain-search-results {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5ecf6;
}

.domain-result-list {
  display: grid;
  gap: 9px;
}

.domain-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #dce6f4;
  border-radius: 10px;
  background: #fff;
}

.domain-result-identity {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.domain-result-identity strong,
.domain-result-identity span,
.domain-result-price strong,
.domain-result-price span {
  display: block;
}

.domain-result-identity strong {
  overflow-wrap: anywhere;
  color: #07122f;
  font-size: 14px;
}

.domain-result-identity span,
.domain-result-price span {
  color: #718096;
  font-size: 11px;
}

.domain-result-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  background: #e9fbf7;
  color: #0a9f7e;
  font-weight: 900;
}

.domain-result-registered .domain-result-icon,
.domain-result-unknown .domain-result-icon {
  background: #fff1f0;
  color: #b42318;
}

.domain-result-price {
  text-align: right;
}

.domain-result-price strong {
  color: #07122f;
  font-size: 14px;
}

.domain-alternatives {
  margin-top: 20px;
}

.domain-results-head {
  margin-bottom: 10px;
}

.home-legacy .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.home-legacy .button-primary {
  border-color: #1d64f2;
  background: #1d64f2;
  color: #fff;
}

.home-legacy .button-primary:hover {
  background: #0f56e8;
}

.home-legacy .button-secondary {
  border-color: #bdd0ee;
  background: #fff;
  color: #1d64f2;
}

.domain-price-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  border: 1px solid #e1e9f5;
  border-radius: 10px;
  background: #f8fbff;
}

.domain-price-strip span {
  padding: 13px 15px;
  border-right: 1px solid #e1e9f5;
  color: #5f6f89;
  font-size: 11px;
}

.domain-price-strip span:last-child {
  border-right: 0;
}

.domain-price-strip strong {
  display: block;
  margin-bottom: 2px;
  color: #07122f;
  font-size: 14px;
}

.infrastructure-section {
  background: #fff;
}

.infrastructure-head,
.b2b-head,
.home-faq-head {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.infra-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
}

.infra-main {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: #f8fbff;
}

.segmented {
  display: flex;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid #d5e1f1;
  border-radius: 10px;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}

.segmented::-webkit-scrollbar {
  display: none;
}

.segmented button {
  min-width: 106px;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #5f6f89;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.segmented button[aria-selected="true"] {
  background: #1d64f2;
  color: #fff;
}

.service-panel {
  margin-top: 18px;
}

.hosting-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.hosting-plan {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #d6e1f0;
  border-radius: 12px;
  background: #fff;
}

.hosting-plan.featured {
  border: 2px solid #1d64f2;
  padding: 18px;
}

.hosting-plan .plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #1d64f2;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.hosting-plan h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.hosting-plan .hosting-price {
  color: #07122f;
  font-size: 24px;
  font-weight: 900;
}

.hosting-plan .hosting-price small {
  color: #718096;
  font-size: 11px;
  font-weight: 600;
}

.hosting-plan ul {
  display: grid;
  gap: 8px;
  margin: 17px 0 20px;
  padding: 0;
  color: #52637c;
  font-size: 12px;
  list-style: none;
}

.hosting-plan li::before {
  content: "✓";
  margin-right: 7px;
  color: #10b981;
  font-weight: 900;
}

.hosting-plan .button {
  width: 100%;
  margin-top: auto;
}

.infra-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: 16px;
  background: #07122f;
  color: #fff;
}

.infra-side .eyebrow {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.09);
  color: #91b5ff;
}

.infra-side h3 {
  margin: 16px 0 10px;
  font-size: 27px;
  line-height: 1.15;
}

.infra-side p {
  margin: 0 0 22px;
  color: #c7d3e7;
  font-size: 14px;
  line-height: 1.65;
}

.infra-side .button {
  align-self: flex-start;
  background: #fff;
  color: #1d64f2;
}

.cloud-quote {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid #d6e1f0;
  border-radius: 12px;
  background: #fff;
}

.cloud-quote h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.cloud-quote p {
  max-width: 650px;
  margin: 0;
  color: #5f6f89;
}

.b2b-section {
  background: #f7faff;
  border-top: 1px solid #e1eaf7;
  border-bottom: 1px solid #e1eaf7;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.it-category-card {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #fff;
  transition: 0.18s ease;
}

.it-category-card:hover {
  transform: translateY(-2px);
  border-color: #c3d4ed;
  box-shadow: 0 12px 28px rgba(13, 34, 79, 0.08);
}

.it-category-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 11px;
  background: #edf4ff;
  color: #1d64f2;
  font-size: 13px;
  font-weight: 900;
}

.it-category-card:nth-child(2) .it-category-icon {
  background: #e9fbf7;
  color: #0a9f7e;
}

.it-category-card:nth-child(3) .it-category-icon {
  background: #f3edff;
  color: #7c3aed;
}

.it-category-card:nth-child(4) .it-category-icon {
  background: #fff4e6;
  color: #d97706;
}

.it-category-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.it-category-card p {
  margin: 0 0 18px;
  color: #5f6f89;
  font-size: 13px;
  line-height: 1.55;
}

.it-category-card strong {
  margin-top: auto;
  color: #1d64f2;
  font-size: 12px;
}

.b2b-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #fff;
}

.b2b-actions p {
  margin: 0;
  color: #52637c;
  font-size: 13px;
}

.b2b-actions strong {
  color: #07122f;
}

.account-bridge {
  background: #fff;
}

.account-bridge-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
  padding: 38px;
  border: 1px solid #d6e2f2;
  border-radius: 18px;
  background: #f8fbff;
}

.account-bridge p {
  color: #52637c;
  line-height: 1.65;
}

.account-actions {
  display: flex;
  gap: 11px;
  margin-top: 22px;
}

.account-preview-legacy {
  padding: 20px;
  border: 1px solid #cbd9ed;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 34, 79, 0.07);
}

.preview-legacy-top,
.preview-legacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-legacy-top {
  padding-bottom: 14px;
  border-bottom: 1px solid #e3ebf6;
  font-weight: 800;
}

.preview-legacy-top span:last-child {
  color: #10a37f;
  font-size: 11px;
}

.preview-legacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.preview-legacy-stats span,
.preview-legacy-row {
  padding: 12px;
  border: 1px solid #e3ebf6;
  border-radius: 9px;
  background: #f8fbff;
}

.preview-legacy-stats small,
.preview-legacy-row small {
  display: block;
  color: #718096;
  font-size: 9px;
}

.preview-legacy-stats strong {
  display: block;
  margin-top: 3px;
  color: #1d64f2;
  font-size: 20px;
}

.preview-legacy-row strong {
  font-size: 12px;
}

.preview-legacy-row b {
  color: #10a37f;
  font-size: 11px;
}

.home-faq-section {
  background: #f7faff;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-faq-grid article {
  padding: 22px;
  border: 1px solid #dce6f4;
  border-radius: 12px;
  background: #fff;
}

.home-faq-grid h3 {
  margin: 0 0 9px;
  font-size: 16px;
}

.home-faq-grid p {
  margin: 0;
  color: #5f6f89;
  font-size: 13px;
  line-height: 1.6;
}

.home-contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid #d8e5f7;
  border-radius: 16px;
  background: #edf4ff;
}

.home-contact-band h2 {
  margin: 0 0 7px;
  font-size: 29px;
}

.home-contact-band p {
  margin: 0;
  color: #52637c;
}

.home-contact-band .account-actions {
  flex: 0 0 auto;
  margin: 0;
}

.home-legacy .site-footer {
  margin-top: 0;
}

@media (max-width: 1220px) {
  .home-legacy .header-phone {
    display: none;
  }

  .home-legacy .nav {
    gap: 16px;
  }
}

@media (max-width: 980px) {
  .platform-heading,
  .infra-shell,
  .account-bridge-inner {
    grid-template-columns: 1fr;
  }

  .hosting-plan-grid,
  .home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .infra-side {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .platform-section,
  .infrastructure-section,
  .b2b-section,
  .account-bridge,
  .home-faq-section {
    padding: 52px 0;
  }

  .platform-heading h2,
  .infrastructure-section h2,
  .b2b-section h2,
  .account-bridge h2,
  .home-faq-section h2 {
    font-size: 29px;
  }

  .platform-heading {
    gap: 24px;
  }

  .account-benefits,
  .hosting-plan-grid,
  .b2b-grid,
  .home-faq-grid {
    grid-template-columns: 1fr;
  }

  .segmented {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .segmented button {
    min-width: 0;
  }

  .segmented button:last-child {
    grid-column: 1 / -1;
  }

  .domain-box-legacy,
  .infra-main,
  .infra-side,
  .account-bridge-inner {
    padding: 18px;
  }

  .domain-controls,
  .domain-multi,
  .domain-result {
    grid-template-columns: 1fr;
  }

  .domain-result-price {
    text-align: left;
  }

  .domain-result-action .button {
    width: 100%;
  }

  .domain-price-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .domain-price-strip span:nth-child(2) {
    border-right: 0;
  }

  .domain-price-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid #e1e9f5;
  }

  .cloud-quote,
  .b2b-actions,
  .home-contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cloud-quote .button,
  .b2b-actions .button,
  .home-contact-band .button {
    width: 100%;
  }

  .account-actions {
    width: 100%;
    flex-direction: column;
  }

  .account-actions .button {
    width: 100%;
  }

  .preview-legacy-stats {
    grid-template-columns: 1fr;
  }
}
