:root {
  color-scheme: light;
  --paper: #f6f7ff;
  --white: #fff;
  --ink: #181a35;
  --muted: #505573;
  --indigo: #393687;
  --night: #111327;
  --line: #dce0f1;
  --tint: #eff0fc;
  --accent: #aeb9ff;
  --radius: 22px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5c54cb; outline-offset: 4px; }
section[id] { scroll-margin-top: 22px; }
p, h1, h2, h3, ul, ol { margin: 0; }

.container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 8px 14px; border-radius: 7px; background: var(--white); }

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #ffffff1c;
  background: var(--night);
  color: var(--white);
}
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; }
.header-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.header-actions .button { min-height: 42px; padding-inline: 13px; }
.wordmark { display: inline-flex; flex: none; gap: 11px; align-items: center; font-size: 1.08rem; font-weight: 790; letter-spacing: .055em; text-decoration: none; white-space: nowrap; }
.brand-icon { position: relative; display: block; width: 36px; height: 36px; border-radius: 9px; background: var(--accent); }
.brand-icon i { position: absolute; top: 9px; left: 10px; width: 3px; height: 18px; border-radius: 2px; background: var(--night); }
.brand-icon i:nth-child(2) { left: 23px; }
.brand-icon i:last-child { top: 17px; width: 16px; height: 3px; }
.site-nav { display: flex; gap: clamp(13px, 1.85vw, 26px); align-items: center; }
.site-nav a { color: #dadeef; font-size: .91rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle, .site-nav .mobile-turnkey { display: none; }
.site-header :focus-visible, .masthead :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; text-align: center; text-decoration: none; font-size: .91rem; font-weight: 720; line-height: 1.25; transition: background .18s ease, border-color .18s ease; }
.button-outline { border-color: #bfc4df; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--tint); border-color: #9ba4d4; }
.button-accent { background: var(--accent); color: var(--night); }
.button-accent:hover { background: #c5ceff; }
.button-accent:disabled { background: #e7e9f5; color: #5f6380; }
.button-dark { background: var(--indigo); color: var(--white); }
.button-dark:hover { background: #4945a2; }
.button-ghost { border-color: #606489; background: transparent; color: var(--white); }
.button-ghost:hover { background: #292c4f; }

.masthead {
  padding: clamp(32px, 4.6vw, 64px) 0 34px;
  background: radial-gradient(ellipse at 75% 0%, #252456, transparent 63%), var(--night);
  color: #f8f8ff;
}
.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; min-height: 416px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding-block: 16px; }
.hero-label { display: flex; gap: 9px; align-items: center; color: #c5cdff; font-size: .875rem; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
.hero-label span { width: 9px; height: 9px; flex: none; background: var(--accent); border-radius: 2px; }
.hero h1 { margin-top: 19px; font-size: clamp(3rem, 5.2vw, 4.85rem); letter-spacing: -.06em; line-height: .99; font-weight: 770; }
.hero h1 span { white-space: nowrap; }
.hero-description { max-width: 420px; margin-top: 24px; font-size: clamp(1rem, 1.32vw, 1.19rem); line-height: 1.55; color: #cdd0e5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-visual { position: relative; min-width: 0; min-height: 100%; overflow: hidden; border: 1px solid #c6ccff38; border-radius: var(--radius); background: #252456; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; list-style: none; border: 1px solid #c6ccff2a; border-radius: 12px; background: #ffffff06; }
.highlights li { display: flex; min-height: 57px; gap: 11px; align-items: center; justify-content: center; padding: 9px 14px; color: #e5e7f7; font-size: .94rem; font-weight: 630; }
.highlights li + li { border-left: 1px solid #c6ccff2a; }
.highlight-icon { display: grid; flex: none; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #d6dcff; background: #aeb9ff28; font-size: .82rem; font-weight: 800; }

.section { margin-top: 76px; }
.content > .section:first-child { margin-top: 55px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.section-heading p { margin-top: 9px; color: var(--muted); }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.5rem); font-weight: 755; line-height: 1.04; letter-spacing: -.058em; }
h3 { font-size: 1.25rem; font-weight: 730; line-height: 1.25; letter-spacing: -.025em; }
.services-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-offer { display: grid; grid-template-rows: 1fr auto; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.service-card { display: grid; min-width: 0; min-height: 164px; grid-template-rows: auto auto 1fr auto; justify-items: start; padding: 17px 19px 10px; border-radius: 15px 15px 0 0; text-decoration: none; transition: background .18s ease; }
.service-card:hover { background: #f0f2ff; }
.service-details-link { justify-self: start; margin: 0 19px 15px; color: var(--indigo); font-weight: 690; font-size: .9rem; text-underline-offset: 3px; }
.card-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 20px; border-radius: 12px; background: #e9ecff; color: var(--indigo); }
.card-icon svg { width: 22px; height: 22px; }
.service-card p { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.service-card strong { margin-top: 11px; color: var(--indigo); font-size: 1.07rem; }

.calculator-section { padding: clamp(20px, 3.2vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.calculator-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.panel { display: grid; align-content: start; gap: 17px; min-width: 0; padding: clamp(16px, 2.4vw, 28px); border: 1px solid #daddf0; border-radius: 15px; background: #ffffff; }
.estimate-form > .button, .estimate-result > .button, .contact-form > .button { justify-self: start; }
.field-pair { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; font-size: .91rem; font-weight: 680; }
.optional { color: var(--muted); font-size: .8rem; font-weight: 450; }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 9px 10px; margin-top: 5px; border: 1px solid #bfc4df; border-radius: 8px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 450; }
input::placeholder, textarea::placeholder { color: #606585; }
select { appearance: none; padding-right: 28px; background: linear-gradient(45deg, transparent 50%, #53577a 50%) right 14px center / 5px 5px no-repeat, linear-gradient(135deg, #53577a 50%, transparent 50%) right 9px center / 5px 5px no-repeat, #fff; }
textarea { resize: vertical; }
.estimate-result { display: flex; flex-direction: column; gap: 14px; }
.estimate-result > .button { align-self: flex-start; }
.estimate-result h3 { display: flex; gap: 8px; align-items: center; }
.item-count { display: grid; min-width: 26px; height: 26px; padding: 0 5px; place-items: center; border-radius: 30px; background: var(--tint); font-size: .875rem; }
.estimate-empty { padding: 12px 0; color: var(--muted); }
.estimate-items { max-height: 250px; padding: 0; overflow-y: auto; list-style: none; }
.estimate-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.estimate-items span { overflow-wrap: anywhere; }
.estimate-items strong { white-space: nowrap; font-size: .9rem; }
.remove-item { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 8px; background: var(--tint); color: var(--ink); font-size: 1.3rem; }
.remove-item:hover { background: #dfe3ff; }
.estimate-package { padding: 9px 11px; border-radius: 8px; color: var(--ink); background: var(--tint); font-size: .9rem; }
.estimate-package a, .estimate-return { color: var(--indigo); font-weight: 700; text-underline-offset: 3px; }
.estimate-price { display: grid; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); }
.estimate-discount { display: flex; gap: 8px; align-items: center; }
.estimate-discount input { display: inline-block; flex: none; width: 1.125rem; height: 1.125rem; min-height: 0; margin: 0; accent-color: var(--indigo); }
.estimate-total { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; }
.estimate-total span { color: var(--muted); }
.estimate-total output { font-size: 1.7rem; line-height: 1; font-weight: 770; letter-spacing: -.05em; }

.process-grid, .guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.process-grid { padding: 0; list-style: none; }
.process-grid li { padding: 18px 17px 6px 0; border-top: 1px solid #bfc4df; }
.process-grid p, .guide-card p { margin-top: 8px; color: var(--muted); }
.step-number { display: grid; width: 31px; height: 31px; margin-bottom: 15px; place-items: center; border-radius: 50%; background: var(--indigo); color: var(--white); font-size: .9rem; font-weight: 740; }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; }
.guide-card .card-icon { margin-bottom: 14px; }
.read-guide { margin-top: auto; padding: 14px 0 0; border: 0; background: transparent; color: var(--indigo); font-size: .93rem; font-weight: 720; text-decoration: underline; text-underline-offset: 4px; }
.read-guide:hover { color: #5652ae; }

.faq-section { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 680; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat,
              var(--tint);
}
.faq-list details[open] summary::after { background-size: 10px 1.5px, 0 0; }
.faq-list details p { max-width: 58ch; padding: 0 22px 17px 0; color: var(--muted); }

.contact-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(24px, 5vw, 65px); padding: clamp(20px, 3.7vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: #edf0ff; }
.contact-channels { max-width: 390px; margin: 20px 0 0; border-top: 1px solid #cfd4ed; }
.contact-channels > div { padding-block: 12px; border-bottom: 1px solid #cfd4ed; }
.contact-channels dt { color: var(--muted); font-size: .91rem; }
.contact-channels dd { margin: 2px 0 0; color: var(--indigo); font-weight: 700; overflow-wrap: anywhere; }
.contact-channels a { text-underline-offset: 3px; }
.contact-form { display: grid; min-width: 0; gap: 12px; padding: clamp(15px, 2.3vw, 27px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-form-heading { margin-bottom: 4px; }
.contact-form-heading p { margin-top: 5px; color: var(--muted); }
.form-note { color: var(--muted); font-size: .875rem; }
.attached-estimate { padding: 7px 11px; border-radius: 7px; background: #eef0ff; color: var(--indigo); font-size: .91rem; }

.site-footer { margin-top: 58px; background: var(--night); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; min-height: 86px; gap: 13px 24px; justify-content: space-between; align-items: center; padding-block: 17px; }
.footer-inner p, .footer-nav { color: #d2d6ed; font-size: .875rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.footer-nav a { text-underline-offset: 3px; }

dialog { width: min(540px, 100% - 30px); max-height: 90vh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #12142bb3; }
.dialog-content { position: relative; padding: clamp(20px, 4vw, 32px); }
.dialog-content h2 { padding-right: 34px; margin-bottom: 16px; font-size: clamp(1.7rem, 4vw, 2.55rem); }
.dialog-content ol { padding-left: 24px; }
.dialog-content li + li { margin-top: 11px; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 10px; background: var(--tint); color: var(--ink); font-size: 1.45rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.draft-status:not(:empty) { margin-top: 9px; color: var(--muted); }

@media (max-width: 1060px) {
  .header-inner { min-height: 66px; }
  .header-actions { display: none; }
  .menu-toggle { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 7px 10px; border: 1px solid #626587; border-radius: 9px; background: transparent; color: var(--white); font-weight: 650; }
  .menu-toggle span { width: 16px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
  .site-nav { display: none; position: absolute; inset: 60px 16px auto auto; width: min(300px, 100% - 32px); gap: 0; align-items: stretch; padding: 8px; border: 1px solid #575987; border-radius: 12px; background: #202341; box-shadow: 0 8px 24px #10122e55; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 9px 10px; }
  .site-nav .mobile-turnkey { display: block; color: #c5cdff; }
}
@media (max-width: 950px) {
  .container { width: calc(100% - 48px); }
  .hero { min-height: 380px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .container { width: calc(100% - 32px); }
  .masthead { padding-block: 30px 22px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 23px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 15px; font-size: clamp(2.45rem, 8.15vw, 4rem); }
  .hero-break { display: none; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
  .hero-visual { width: 100%; min-height: 175px; aspect-ratio: 1.55; border-radius: 14px; }
  .highlights { grid-template-columns: 1fr; margin-top: 12px; }
  .highlights li { min-height: 43px; justify-content: flex-start; }
  .highlights li + li { border-left: 0; border-top: 1px solid #c6ccff2a; }
  .section, .content > .section:first-child { margin-top: 48px; }
  .section-heading { align-items: flex-start; gap: 8px; flex-direction: column; margin-bottom: 15px; }
  .calculator-grid, .faq-section, .contact-section { grid-template-columns: 1fr; }
  .faq-section { gap: 0; }
  .contact-section { gap: 16px; }
  .process-grid, .guides-grid { grid-template-columns: 1fr; }
  .process-grid li { padding: 12px 0 6px; }
  .footer-inner { justify-content: flex-start; }
  .footer-nav { margin-left: auto; }
}
@media (max-width: 385px) {
  .hero-actions > .button { width: 100%; }
  .hero-actions { width: 100%; }
  .service-card { min-height: 0; padding: 13px; }
  .service-details-link { margin-inline: 13px; }
  .service-card h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
  .service-card p { font-size: .9rem; }
}
@media (max-width: 485px) {
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.turnkey-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(22px, 4.5vw, 54px);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at top right, #302966, transparent 72%), var(--night);
  color: #fff;
}
.turnkey-copy p {
  max-width: 41ch;
  margin-top: 12px;
  color: #dce0f9;
}
.turnkey-price strong { margin-left: 5px; color: var(--white); font-size: 1.35rem; }
.turnkey-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.turnkey-cta:focus-visible { outline-color: var(--accent); }
.turnkey-list {
  display: grid;
  gap: 0;
  min-width: 0;
  padding: 5px clamp(14px, 2.2vw, 24px);
  border: 1px solid #b0b4ed48;
  border-radius: 14px;
  background: #ffffff0d;
  list-style: none;
}
.turnkey-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 10px;
  padding: 13px 0;
}
.turnkey-list li + li { border-top: 1px solid #b0b4ed38; }
.turnkey-list li::before {
  content: "";
  width: 10px;
  height: 6px;
  margin: 8px 0 0 1px;
  border: solid var(--accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.turnkey-list strong { line-height: 1.4; }
.turnkey-list span {
  grid-column: 2;
  margin-top: 4px;
  color: #dce0f9;
}

@media (max-width: 740px) {
  .turnkey-section { grid-template-columns: minmax(0, 1fr); }
}

.history-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.history-card {
  padding: clamp(16px, 2.2vw, 25px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}
.history-card p {
  margin-top: 8px;
  color: var(--muted);
}
.history-card .history-type {
  margin: 0 0 9px;
  color: var(--indigo);
  font-size: .86rem;
  font-weight: 700;
}
.examples-disclosure {
  margin-top: 15px;
}
.examples-disclosure > summary {
  list-style: none;
  cursor: pointer;
}
.examples-disclosure > summary::-webkit-details-marker {
  display: none;
}
.examples-disclosure:not([open]) > summary span:last-child,
.examples-disclosure[open] > summary span:first-child {
  display: none;
}
.examples-disclosure ul {
  margin-top: 15px;
}
.first-order-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.3vw, 30px);
  padding: clamp(19px, 3vw, 37px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
}
.first-order-rate {
  color: var(--indigo);
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 770;
  letter-spacing: -.06em;
  line-height: 1;
}
.first-order-offer h2 {
  font-size: clamp(1.48rem, 3vw, 2.4rem);
  letter-spacing: -.035em;
}
.first-order-offer h2 + p {
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 740px) {
  .history-cards {
    grid-template-columns: 1fr;
  }
  .first-order-offer {
    grid-template-columns: 1fr;
  }
  .first-order-offer .button {
    justify-self: start;
  }
}
