/* Homepage layout. Scoped to main.wf-home so product, tools and legal pages keep their own layout. */

main.wf-home {
  --wf-bg: #f4f7fb;
  --wf-text: #142033;
  --wf-muted: #3c4b63;
  --wf-cobalt: var(--wf-primary);
  --wf-link: var(--wf-accent-text);
  --wf-line: rgba(16, 36, 72, 0.1);
  --wf-card: #ffffff;
  --wf-soft: #eef3f9;
  --wf-shadow: 0 10px 28px rgba(16, 36, 72, 0.06);
  --wf-mint: #14b8a6;
  --wf-navy: #071422;
  --wf-navy-card: #10233c;
  --wf-on-navy: #f5f8fc;
  --wf-on-navy-muted: #c5d3e6;
  --wf-grid: rgba(36, 89, 224, 0.045);
  --wf-input: #ffffff;
  --wf-danger: #9f1239;
  display: block;
  background: var(--wf-bg);
  color: var(--wf-text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

[data-theme="dark"] main.wf-home {
  --wf-bg: #070d18;
  --wf-text: #f4f7fb;
  --wf-muted: #b7c4d8;
  --wf-line: rgba(232, 240, 255, 0.12);
  --wf-card: #101a2c;
  --wf-soft: #152238;
  --wf-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  --wf-navy: #071422;
  --wf-navy-card: #10253f;
  --wf-link: var(--wf-accent-text);
  --wf-grid: rgba(124, 159, 255, 0.07);
  --wf-input: #0c1526;
  --wf-danger: #ffb4c4;
}

body:has(> main.wf-home) {
  background: #f4f7fb;
  color: #142033;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
[data-theme="dark"] body:has(> main.wf-home) {
  background: #070d18;
  color: #f4f7fb;
}

.wf-wrap {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}
.wf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wf-cobalt { color: var(--wf-link); }
.wf-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wf-muted);
}
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.wf-btn-primary { background: var(--wf-primary); color: var(--wf-on-primary); }
.wf-btn-primary:hover { background: var(--wf-primary-hover); color: var(--wf-on-primary); }
.wf-btn-ghost {
  background: transparent;
  color: var(--wf-text);
  border-color: var(--wf-line);
}
.wf-btn-ghost:hover { border-color: var(--wf-link); color: var(--wf-link); }
.wf-btn:disabled { opacity: 0.72; cursor: progress; }
.wf-home a:focus-visible,
.wf-home button:focus-visible,
.wf-home input:focus-visible,
.wf-home summary:focus-visible {
  outline: 2px solid var(--wf-link);
  outline-offset: 3px;
}
.wf-btn-primary:focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px var(--wf-cobalt); }

/* Hero */
.wf-hero { padding: 42px 0 18px; }
.wf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px 36px;
  align-items: center;
}
.wf-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--wf-text);
}
.wf-hero-lead {
  max-width: 46ch;
  margin: 18px 0 0;
  color: var(--wf-muted);
  font-size: 17px;
}
.wf-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.wf-hero-art {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
}
.wf-hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 2% 6%;
  background-image:
    linear-gradient(to right, var(--wf-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--wf-grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 55% 48%, #000 18%, transparent 62%);
  mask-image: radial-gradient(ellipse at 55% 48%, #000 18%, transparent 62%);
  pointer-events: none;
}
.wf-hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 914;
  object-fit: contain;
}
.wf-hero-label {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--wf-text);
  white-space: nowrap;
}
.wf-hero-label--domains { top: 2%; left: 8%; }
.wf-hero-label--hosting { top: 3%; right: 6%; }
.wf-hero-label--vps { bottom: 1.5%; left: 8%; }
.wf-hero-label--reseller { bottom: 2.5%; right: 4%; }

/* Domain search */
.wf-search-wrap { padding: 28px 0 10px; }
.wf-search {
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: 24px;
  box-shadow: var(--wf-shadow);
  padding: 32px 32px 26px;
}
.wf-search h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.wf-search-row { display: flex; gap: 12px; align-items: center; }
.wf-search-row .wf-btn {
  flex: 0 0 auto;
  height: 56px;
  min-height: 56px;
  padding: 0 22px;
}
.wf-search-row .wf-btn-ghost {
  background: var(--wf-card);
  border-color: #c5d0e0;
}
.wf-search-row .wf-btn-ghost:hover {
  background: var(--wf-soft);
  border-color: var(--wf-link);
  color: var(--wf-link);
}
.wf-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.wf-search-field svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #5d6d84;
  pointer-events: none;
}
.wf-search-field input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1px solid #c5d0e0;
  background: #f6f8fc;
  color: var(--wf-text);
  font-family: inherit;
  font-size: 16px;
  padding: 0 18px 0 46px;
  appearance: none;
}
.wf-search-field input:hover { border-color: #aebdd0; }
.wf-search-field input:focus {
  border-color: var(--wf-focus);
  background: #fff;
  box-shadow: 0 0 0 4px var(--wf-focus-ring);
}
.wf-search-field input::placeholder { color: #6d7c93; }
[data-theme="dark"] .wf-search-field svg { color: #9aabc2; }
[data-theme="dark"] .wf-search-field input {
  border-color: rgba(232, 240, 255, 0.18);
  background: #0c1526;
}
[data-theme="dark"] .wf-search-field input:hover { border-color: rgba(232, 240, 255, 0.32); }
[data-theme="dark"] .wf-search-field input:focus {
  border-color: var(--wf-focus);
  background: #0e182b;
  box-shadow: 0 0 0 4px var(--wf-focus-ring);
}
[data-theme="dark"] .wf-search-field input::placeholder { color: #93a3ba; }
[data-theme="dark"] .wf-search-row .wf-btn-ghost {
  background: transparent;
  border-color: rgba(232, 240, 255, 0.22);
}
.wf-search-error {
  margin: 10px 0 0;
  color: var(--wf-danger);
  font-size: 14px;
  font-weight: 650;
}
.wf-tlds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wf-tld {
  border: 1px solid #d3dce8;
  background: #fff;
  color: #24344c;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.wf-tld:hover {
  border-color: #9eb0c8;
  background: #f4f7fb;
}
.wf-tld[aria-pressed="true"] {
  border-color: var(--wf-primary);
  background: var(--wf-accent-surface);
  color: var(--wf-accent-text);
}
[data-theme="dark"] .wf-tld {
  border-color: rgba(232, 240, 255, 0.16);
  background: #152238;
  color: #e7eef8;
}
[data-theme="dark"] .wf-tld:hover {
  border-color: rgba(232, 240, 255, 0.32);
  background: #1b2c46;
}
[data-theme="dark"] .wf-tld[aria-pressed="true"] {
  border-color: var(--wf-accent-text);
  background: var(--wf-accent-surface);
  color: var(--wf-accent-text);
}

/* Services */
.wf-services { padding: 54px 0 20px; }
.wf-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.wf-section-head h2,
.wf-tools-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.wf-section-head p,
.wf-tools-head p {
  margin: 0;
  max-width: 42ch;
  color: var(--wf-muted);
}
.wf-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wf-service {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
  gap: 8px 18px;
  align-items: stretch;
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: 22px;
  box-shadow: var(--wf-shadow);
  padding: 18px 20px 18px 12px;
  min-height: 230px;
}
.wf-service-art {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.wf-service-art img {
  width: 100%;
  height: 190px;
  aspect-ratio: 960 / 699;
  object-fit: contain;
}
.wf-service-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}
.wf-service h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.wf-service-copy > p:not(.wf-service-price) { margin: 0 0 8px; color: var(--wf-muted); }
.wf-service-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 1px;
  margin: 2px 0 12px;
  min-height: 42px;
  color: var(--wf-text);
}
.wf-price-lead,
.wf-price-period,
.wf-price-note {
  color: var(--wf-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
main.wf-home .wf-price-amount {
  color: var(--wf-text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wf-price-note {
  flex-basis: 100%;
  font-size: 12px;
  font-weight: 500;
}
.wf-service-copy .wf-text-link { margin-top: auto; }
.wf-text-link {
  color: var(--wf-link);
  font-weight: 700;
  text-decoration: none;
}
.wf-text-link:hover { text-decoration: none; }

/* Trust */
.wf-trust { padding: 28px 0 10px; }
.wf-trust-panel {
  background: var(--wf-card);
  border: 1px solid var(--wf-line);
  border-radius: 22px;
  box-shadow: var(--wf-shadow);
  padding: 36px 40px 32px;
}
[data-theme="dark"] .wf-trust-panel {
  background: var(--wf-navy-card);
  border-color: rgba(232, 240, 255, 0.14);
}
.wf-trust-panel h2 {
  margin: 0 0 40px;
  max-width: none;
  font-size: clamp(32px, 2.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--wf-text);
}
.wf-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0;
}
.wf-trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid var(--wf-line);
}
.wf-trust-item:first-child { padding-left: 0; border-left: 0; }
.wf-trust-item:last-child { padding-right: 0; }
.wf-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--wf-accent-surface);
  color: var(--wf-accent-text);
}
.wf-trust-icon svg { width: 22px; height: 22px; }
.wf-trust-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--wf-text);
}
.wf-trust-item p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.wf-trust-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
}
.wf-trust-link {
  margin-top: 14px;
  color: var(--wf-link);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.wf-trust-links .wf-trust-link { margin-top: 0; }
.wf-trust-link:hover { text-decoration: none; }

/* Solutions band — navy in both themes. Scoped so other pages stay untouched. */
main.wf-home .wf-band {
  margin-top: 36px;
  background: var(--wf-navy);
  color: var(--wf-on-navy);
  padding: 72px 0;
}
main.wf-home .wf-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: center;
}
main.wf-home .wf-band .wf-kicker { color: #9eb0c9; }
main.wf-home .wf-band h2 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(40px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
main.wf-home .wf-band-copy p {
  margin: 16px 0 0;
  max-width: 38ch;
  color: var(--wf-on-navy-muted);
  font-size: 16px;
  line-height: 1.5;
}
main.wf-home .wf-band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
main.wf-home .wf-band .wf-btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 18px;
}
main.wf-home .wf-band .wf-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
main.wf-home .wf-band .wf-btn-ghost:hover { color: #fff; border-color: #fff; }
main.wf-home .wf-band a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
main.wf-home .wf-band .wf-btn-primary:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 3px var(--wf-cobalt);
}
main.wf-home .wf-sol-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
main.wf-home .wf-sol-net {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
main.wf-home .wf-sol-net-v,
main.wf-home .wf-sol-net-h {
  position: absolute;
  background: rgba(124, 159, 255, 0.55);
}
main.wf-home .wf-sol-net-v {
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  transform: translateX(-50%);
}
main.wf-home .wf-sol-net-h {
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  transform: translateY(-50%);
}
main.wf-home .wf-sol-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: var(--wf-on-navy-accent);
}
main.wf-home .wf-sol-node--cobalt {
  top: calc(50% - 12px);
  width: 5px;
  height: 5px;
  background: var(--wf-primary);
}
main.wf-home .wf-sol-node--mint {
  left: calc(50% + 12px);
  width: 5px;
  height: 5px;
  background: var(--wf-mint);
}
main.wf-home .wf-sol-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 26px 24px;
  border: 1px solid rgba(124, 159, 255, 0.42);
  border-radius: 16px;
  background: #14304c;
  color: var(--wf-on-navy);
}
main.wf-home .wf-sol-card::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(135deg, transparent calc(50% - 0.8px), rgba(124, 159, 255, 0.7) calc(50% - 0.8px) calc(50% + 0.6px), var(--wf-navy) calc(50% + 0.6px));
  pointer-events: none;
}
main.wf-home .wf-sol-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--wf-on-navy-accent);
}
main.wf-home .wf-sol-icon svg { width: 22px; height: 22px; }
main.wf-home .wf-sol-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
main.wf-home .wf-sol-card p {
  margin: 0;
  color: #d5e0ee;
  font-size: 15.5px;
  line-height: 1.5;
}

/* Tools — scoped so individual tool pages keep tools.css */
main.wf-home .wf-tools {
  position: relative;
  padding: 64px 0 28px;
}
main.wf-home .wf-tools-mark {
  position: absolute;
  top: 22px;
  right: max(20px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 5px;
  pointer-events: none;
}
main.wf-home .wf-tools-mark i {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(36, 89, 224, 0.16);
}
main.wf-home .wf-tools-mark i:nth-child(2),
main.wf-home .wf-tools-mark i:nth-child(6) { background: rgba(36, 89, 224, 0.34); }
main.wf-home .wf-tools-mark i:nth-child(4) { opacity: 0; }
[data-theme="dark"] main.wf-home .wf-tools-mark i { background: rgba(124, 159, 255, 0.22); }
[data-theme="dark"] main.wf-home .wf-tools-mark i:nth-child(2),
[data-theme="dark"] main.wf-home .wf-tools-mark i:nth-child(6) { background: rgba(124, 159, 255, 0.45); }
main.wf-home .wf-tools-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
main.wf-home .wf-tools-head > div { min-width: 0; flex: 1; }
main.wf-home .wf-tools-head .wf-kicker { margin-bottom: 10px; color: var(--wf-link); }
main.wf-home .wf-tools-head h2 {
  margin: 0;
  font-size: clamp(36px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
main.wf-home .wf-tools-head p {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--wf-muted);
  font-size: 16px;
  line-height: 1.5;
}
main.wf-home .wf-tools-head .wf-text-link {
  flex: 0 0 auto;
  margin-bottom: 4px;
  font-size: 15.5px;
}
main.wf-home .wf-tools-noscript {
  margin: 16px 0 0;
  color: var(--wf-muted);
  font-size: 15px;
}
main.wf-home .wf-tools-noscript a { color: var(--wf-link); font-weight: 700; }
main.wf-home .wf-tools .wf-tabs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 26px 0 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-bottom: 0;
  scrollbar-width: thin;
}
main.wf-home .wf-tools .wf-tabs button {
  flex: 0 0 auto;
  appearance: none;
  margin: 0;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--wf-line);
  border-radius: 12px;
  background: var(--wf-soft);
  color: var(--wf-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
main.wf-home .wf-tools .wf-tabs button[aria-selected="true"] {
  background: var(--wf-cobalt);
  border-color: var(--wf-cobalt);
  color: #fff;
}
main.wf-home .wf-tools .wf-tabs button:focus-visible {
  outline: 2px solid var(--wf-link);
  outline-offset: 3px;
}
main.wf-home .wf-tools .wf-tabs button[aria-selected="true"]:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 3px var(--wf-cobalt);
}
main.wf-home .wf-tools .wf-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
main.wf-home .wf-tools .wf-tool-grid--popular {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
main.wf-home .wf-tools .wf-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
  padding: 16px 16px 14px;
  border: 1px solid var(--wf-line);
  border-radius: 14px;
  background: var(--wf-card);
  color: inherit;
  text-decoration: none;
}
main.wf-home .wf-tools .wf-tool:hover {
  border-color: var(--wf-link);
  background: var(--wf-soft);
}
main.wf-home .wf-tools .wf-tool:focus-visible {
  outline: 2px solid var(--wf-link);
  outline-offset: 3px;
}
main.wf-home .wf-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--wf-accent-surface);
  color: var(--wf-accent-text);
}
main.wf-home .wf-tool-icon svg { width: 18px; height: 18px; }
main.wf-home .wf-tools .wf-tool h3 {
  margin: 12px 0 4px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
main.wf-home .wf-tools .wf-tool p {
  margin: 0;
  color: var(--wf-muted);
  font-size: 15px;
  line-height: 1.5;
}
main.wf-home .wf-tool-go {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-end;
  color: var(--wf-link);
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
}

@media (max-width: 1024px) {
  .wf-hero-grid,
  .wf-service {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  main.wf-home .wf-band { padding: 64px 0; }
  main.wf-home .wf-band-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  main.wf-home .wf-band h2 { display: block; }
  main.wf-home .wf-band-line { display: inline; }
  main.wf-home .wf-band-line + .wf-band-line::before { content: " "; }
  .wf-hero h1 { max-width: 14ch; }
  .wf-hero-art { min-height: 0; }
  .wf-service-grid, .wf-trust-grid { grid-template-columns: 1fr 1fr; }
  .wf-trust-panel { padding: 28px 24px; }
  .wf-trust-item {
    padding: 22px 20px 0;
    border-left: 0;
    border-top: 1px solid var(--wf-line);
  }
  .wf-trust-item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .wf-trust-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .wf-trust-item:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid var(--wf-line);
  }
  .wf-section-head { flex-direction: column; align-items: flex-start; }
  main.wf-home .wf-tools .wf-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.wf-home .wf-tools .wf-tool-grid--popular { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wf-wrap { width: min(1240px, calc(100% - 32px)); }
  .wf-hero { padding-top: 22px; }
  .wf-search { padding: 20px 16px; }
  .wf-search-row { flex-direction: column; align-items: stretch; }
  .wf-search-row .wf-btn { width: 100%; }
  .wf-service-grid,
  .wf-trust-grid { grid-template-columns: 1fr; }
  main.wf-home .wf-tools-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  main.wf-home .wf-tools-head h2 { font-size: 28px; }
  main.wf-home .wf-tools-head .wf-text-link { margin-bottom: 0; }
  main.wf-home .wf-tools .wf-tool-grid,
  main.wf-home .wf-tools .wf-tool-grid--popular { grid-template-columns: 1fr; }
  main.wf-home .wf-band { padding: 40px 0; }
  main.wf-home .wf-band h2 { font-size: 30px; }
  main.wf-home .wf-band-copy p { max-width: none; }
  main.wf-home .wf-sol-grid { grid-template-columns: 1fr; gap: 12px; }
  main.wf-home .wf-sol-net { display: none; }
  main.wf-home .wf-sol-card { padding: 22px 22px 20px; }
  .wf-trust-panel { padding: 24px 20px; }
  .wf-trust-panel h2 { margin-bottom: 24px; font-size: 27px; }
  .wf-trust-item,
  .wf-trust-item:nth-child(even),
  .wf-trust-item:nth-child(odd) {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--wf-line);
  }
  .wf-trust-item:first-child { padding-top: 18px; border-top: 0; }
  .wf-service { grid-template-columns: 1fr; padding: 12px 16px 18px; }
  .wf-service-art, .wf-service-art img { height: 180px; min-height: 180px; }
  .wf-hero-label { font-size: 12px; }
  .wf-hero-label--domains { left: 4%; }
  .wf-hero-label--hosting { right: 2%; }
  .wf-hero-label--vps { left: 4%; }
  .wf-hero-label--reseller { right: 2%; }
  .wf-path { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  main.wf-home *, main.wf-home *::before, main.wf-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
