:root {
  /* Brand / UI */
  --accent: #0a5bff;
  /* deep blue (trust) */
  --accent-2: #1f86ff;
  /* hover */
  --navy: #0b1b33;
  /* headings */
  --text: #0f1724;
  /* body text */
  --muted: #5b677a;

  --bg: #f6f8ff;
  --card: #ffffff;

  --radius: 14px;

  /* Wider, but not too wide */
  --max-width: 1120px;
  --container-padding: 20px;

  --shadow: 0 12px 30px rgba(11, 27, 51, 0.1);
  --shadow-soft: 0 8px 20px rgba(11, 27, 51, 0.08);
  --border: 1px solid rgba(11, 27, 51, 0.08);

  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      900px 420px at 20% 0%,
      rgba(10, 91, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      800px 380px at 90% 10%,
      rgba(31, 134, 255, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg), #ffffff 55%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  padding: 32px 12px;
  display: flex;
  justify-content: center;
  font-size: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
}

/* header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand .logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.brand h1 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.25;
  color: var(--navy);
}

.brand p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* Right header actions */
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* phone link - make it look like a CTA, not plain text */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 51, 0.1);
  box-shadow: 0 6px 16px rgba(11, 27, 51, 0.08);
  white-space: nowrap;
}
.phone-icon {
  flex-shrink: 0;
}
a.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

a.link:hover,
a.link:focus-visible {
  color: var(--accent-2);
}

/* layout */
main {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 22px;
  align-items: start;
}

/* cards */
.content-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: var(--border);
}

.hero {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background:
    radial-gradient(
      520px 220px at 8% 0%,
      rgba(10, 91, 255, 0.12),
      transparent 65%
    ),
    linear-gradient(180deg, #ffffff, #f9fbff);
  border: 1px solid rgba(10, 91, 255, 0.14);
  box-shadow: 0 10px 24px rgba(11, 27, 51, 0.06);
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  margin: 0 0 10px 0;
  font-size: 1.22rem;
  line-height: 1.22;
  letter-spacing: -0.2px;
  color: var(--navy);
}

.hero-text p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero .btn {
  width: auto;
  min-width: 260px;
  padding-left: 22px;
  padding-right: 22px;
}

.hero-illustr {
  width: 120px;
  height: 78px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 -10px 20px rgba(10, 91, 255, 0.07),
    0 6px 14px rgba(11, 27, 51, 0.04);
  border: 1px solid rgba(10, 91, 255, 0.12);
}

.benefits {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.benefit {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-radius: 14px;
  padding: 14px 16px;
  flex: 1 1 210px;
  min-height: 82px;
  border: 1px solid rgba(11, 27, 51, 0.08);
  box-shadow: 0 8px 18px rgba(11, 27, 51, 0.055);
}

.benefit svg {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 12px;
  background: rgba(10, 91, 255, 0.08);
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 2px;
}

.benefit .muted {
  line-height: 1.35;
}

.steps {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.step strong {
  display: block;
  min-height: 2.3em;
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.28;
  letter-spacing: -0.1px;
  margin-bottom: 0;
}

.step strong::after {
  content: none;
}

.step .muted {
  line-height: 1.45;
  max-width: none;
  font-size: 0.95rem;
  border-top: 1px solid rgba(11, 27, 51, 0.14);
  padding-top: 12px;
}

.section-title {
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.25px;
  margin: 0;
}

.section-title--steps {
  margin-top: 24px;
}

.section-title--testimonials {
  margin-top: 28px;
}

.muted {
  color: var(--muted);
}

.testimonials {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}

.testimonial {
  margin: 0;
  min-height: 250px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid rgba(11, 27, 51, 0.08);
  box-shadow: 0 10px 24px rgba(11, 27, 51, 0.055);
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.testimonial blockquote p:not(.testimonial-title) {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.testimonial figcaption {
  margin-top: auto;
  padding-top: 18px;
  color: #506078;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust {
  margin-top: 24px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(11, 27, 51, 0.1);
  border-bottom: 1px solid rgba(11, 27, 51, 0.1);
}

.trust-item {
  min-width: 0;
}

.trust-label {
  display: block;
  margin-bottom: 6px;
  color: #7b8798;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-value {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.trust-value--number {
  color: var(--accent);
  font-size: 1.35rem;
  letter-spacing: -0.4px;
}

.trust-note {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

/* form card */
.calc-card {
  background:
    radial-gradient(
      420px 180px at 20% 0%,
      rgba(10, 91, 255, 0.1),
      transparent 65%
    ),
    linear-gradient(180deg, #ffffff, #fbfcff);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 34px rgba(11, 27, 51, 0.12);
  border: 1px solid rgba(10, 91, 255, 0.16);
}

.not-found-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  width: 100%;
}
.not-found-card {
  width: min(100%, 680px);
  text-align: center;
}
.not-found-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.not-found-card h1 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.not-found-actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Optional: sticky on large screens only (fast + useful) */
@media (min-width: 1021px) {
  .aside {
    position: sticky;
    top: 24px;
  }
}

.calc-card h3 {
  margin: 0 0 8px 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

label {
  display: block;
  font-size: 0.9em;
  font-weight: 800;
  margin: 10px 0 6px 0;
  color: var(--navy);
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 27, 51, 0.12);
  font-size: 15px;
  outline: none;
  background: #ffffff;
}

input::placeholder {
  color: #97a3b6;
}

input:focus,
select:focus {
  border-color: rgba(10, 91, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(10, 91, 255, 0.14);
}

.small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.calc-card > .muted {
  margin: 0 0 14px 0;
}

.calc-card label {
  margin-top: 12px;
  margin-bottom: 7px;
}

.calc-card input[type="text"],
.calc-card input[type="tel"],
.calc-card select {
  min-height: 46px;
  padding: 12px 13px;
  border-radius: 13px;
}

.calc-card .btn {
  min-height: 48px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
  margin-top: 12px;
  box-shadow: 0 10px 22px rgba(10, 91, 255, 0.2);
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.02);
  box-shadow: 0 12px 26px rgba(10, 91, 255, 0.22);
  transform: translateY(-1px);
}

.btn.secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid rgba(10, 91, 255, 0.18);
  box-shadow: 0 8px 18px rgba(11, 27, 51, 0.08);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: rgba(10, 91, 255, 0.3);
}

/* price box */
.price-box {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(10, 91, 255, 0.08);
  border: 1px solid rgba(10, 91, 255, 0.14);
}

.hidden {
  display: none;
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* FAQ */
.faq {
  margin-top: 34px;
}

.section-title--faq {
  margin-bottom: 18px;
}

.faq-item {
  position: relative;
  background: rgba(10, 91, 255, 0.035);
  padding: 16px 18px 16px 22px;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(11, 27, 51, 0.045);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: rgba(10, 91, 255, 0.5);
}

.faq-item strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.15px;
}

.faq-item .muted {
  margin-top: 7px;
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* footer */
.site-footer {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius);
  background:
    radial-gradient(
      500px 220px at 10% 0%,
      rgba(10, 91, 255, 0.08),
      transparent 65%
    ),
    linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid rgba(11, 27, 51, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  grid-template-areas:
    "main nav"
    "copy nav";
  row-gap: 10px;
  column-gap: 24px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.footer-tagline {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.footer-copy {
  display: grid;
  gap: 10px;
  line-height: 1.7;
}

.footer-copy p {
  margin: 0;
}

.footer-copy a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--accent-2);
}

.footer-address,
.footer-phone {
  margin: 0;
}

.footer-address {
  line-height: 1.55;
}

.footer-phone {
  margin-top: -2px;
}

.footer-copy .footer-address-link {
  color: var(--muted);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(10, 91, 255, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-copy .footer-address-link:hover,
.footer-copy .footer-address-link:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.footer-copy .footer-phone-link {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.footer-license {
  color: #66758a;
  max-width: 68ch;
}

.footer-copyright {
  color: #7b8798;
  font-size: 13px;
}

.footer-main {
  grid-area: main;
}

.footer-nav {
  grid-area: nav;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-copyright--bottom {
  grid-area: copy;
  margin: 0;
}

.copyright-break {
  display: none;
}

.footer-nav-title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.1px;
}

.footer-links {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 27, 51, 0.075);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(11, 27, 51, 0.075);
  transition:
    color 0.15s ease,
    padding-left 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  padding-left: 4px;
}

/* mobile polish */
@media (max-width: 680px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-illustr {
    display: none;
  }
  .hero .btn {
    width: 100%;
    min-width: 0;
  }
  .price-box {
    gap: 10px;
    flex-wrap: wrap;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .testimonial {
    min-height: 0;
  }
  .testimonial figcaption {
    margin-top: 10px;
  }
  .trust {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    grid-template-areas:
      "main"
      "nav"
      "copy";
  }
  .site-footer {
    padding: 22px;
  }
  .footer-title {
    font-size: 1.2rem;
    line-height: 1.25;
  }
  .footer-tagline,
  .footer-copy {
    font-size: 0.99rem;
    line-height: 1.6;
  }
  .footer-copy {
    gap: 12px;
  }
  .footer-copy .footer-address-link,
  .footer-copy .footer-phone-link {
    font-size: 0.99rem;
  }
  .footer-license {
    font-size: 0.96rem;
    line-height: 1.6;
  }
  .footer-copyright {
    font-size: 0.8rem;
    line-height: 1.55;
  }
  .footer-copyright--bottom {
    margin-top: 4px;
  }
  .copyright-break {
    display: block;
  }

  .footer-nav-title {
    font-size: 1.2rem;
  }
  .footer-links a {
    font-size: 0.99rem;
    min-height: 38px;
    font-weight: 720;
  }
  #channelButtons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  input[type="text"],
  input[type="tel"],
  select {
    font-size: 16px;
  }
  .not-found-page {
    min-height: auto;
    padding: 72px 0 34px;
  }
  .not-found-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  main {
    grid-template-columns: 1fr;
  }

  .aside {
    order: -1;
  }
}

/* accessibility */
:focus-visible {
  outline: 3px solid rgba(10, 91, 255, 0.35);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
