:root {
  color-scheme: dark;
  --bg: #080b11;
  --band: #0b111c;
  --surface: #101824;
  --navy: #101d35;
  --border: #28364a;
  --subtle-border: #1d2838;
  --text: #f1f4fa;
  --muted: #aab7cb;
  --quiet: #899ab4;
  --accent: #a1baff;
  --action: #3156d7;
  --action-hover: #3e62df;
  --card-radius: 16px;
  --card-padding: 24px;
  --card-shadow: inset 0 1px rgba(223, 235, 255, .12), 0 9px 26px rgba(0, 0, 0, .23);
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-family: "DM Sans", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.7; }
html:lang(zh-Hans) body { font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 22px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  width: min(1200px, calc(100% - 64px));
  min-height: 80px;
  margin-inline: auto;
  border-bottom: 1px solid var(--subtle-border);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-name { display: grid; gap: 2px; font-size: 14px; font-weight: 700; letter-spacing: .1em; line-height: 1.15; }
.brand-name > span { color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 32px); margin-left: auto; font-size: 13px; white-space: nowrap; }
.nav > a { color: var(--muted); }
.nav > a:hover, .nav > [aria-current="page"] { color: var(--text); }
.nav .nav-cta { padding: 8px 13px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); }
.language-picker { order: 2; flex: none; min-height: 38px; padding: 0 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); color: var(--text); font-size: 12px; }
.menu-toggle { display: none; }

.eyebrow, .section-kicker, .service-index, .plan-term, .plan-symbol, .directory-number {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}
.eyebrow { color: var(--accent); }
.hero { display: grid; gap: 12px; padding-block: clamp(16px, 3vw, 35px) clamp(44px, 6vw, 78px); }
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 49fr) minmax(0, 51fr);
  min-height: clamp(450px, 45vw, 590px);
  overflow: hidden;
  border: 1px solid #3a4e72;
  border-radius: 22px;
  background: #0b1525;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .29);
}
.hero-copy { align-self: center; padding: clamp(24px, 3.5vw, 50px); }
.hero-media { position: relative; }
.hero-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 44% center; }
.hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: 65%;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(8, 11, 17, .82);
  color: #e2ecff;
  font-size: 11px;
}
.hero h1, .pricing-hero h1 { margin-block: 16px 22px; font-size: clamp(35px, 4.65vw, 65px); font-weight: 600; line-height: 1.16; letter-spacing: -.055em; overflow-wrap: anywhere; }
.headline-accent { display: block; color: var(--accent); }
.hero-lead, .pricing-hero > p { max-width: 56ch; color: var(--muted); font-size: clamp(15px, 1.45vw, 17px); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .button { min-height: 48px; padding-inline: 17px; }
.hero-actions .button-quiet { background: rgba(8, 16, 29, .72); border-color: #58709a; }
.hero-actions .button-quiet:hover { background: #16233a; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 6px 17px; margin: 19px 0 0; padding: 0; color: #c6d4ec; list-style: none; font-size: 12px; }
.hero-highlights li::before { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #8daaff; vertical-align: 2px; content: ""; }
.service-directory { overflow: hidden; border: 1px solid #34476e; border-radius: 12px; background: rgba(16, 29, 53, .78); }
.service-directory ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.service-directory li + li { border-inline-start: 1px solid #31415c; }
.service-directory a { display: grid; grid-template-columns: 21px minmax(0, 1fr) 13px; align-items: center; gap: 8px; min-height: 52px; padding: 9px clamp(9px, 2vw, 22px); font-size: 13px; font-weight: 600; }
.service-directory a:hover { color: var(--accent); background: #192b47; }
.service-directory a:focus-visible { outline-offset: -3px; }
.directory-number, .directory-arrow { color: var(--accent); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 650; line-height: 1.45; text-align: center; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--action); color: #fff; }
.button-primary:hover { background: var(--action-hover); }
.button-secondary, .button-quiet { background: transparent; border-color: var(--border); color: var(--text); }
.button-secondary:hover, .button-quiet:hover { background: #16233a; border-color: #50668f; }
.full { width: 100%; }
.text-link, .back-link { color: var(--accent); font-size: 13px; font-weight: 600; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link > span { margin-inline-start: 4px; }

.section-pad { padding-block: clamp(62px, 8vw, 105px); }
.intro, .ad-section, .faq-section { border-top: 1px solid var(--subtle-border); }
.pricing-teaser, .recruit-section, .pricing-secondary { border-block: 1px solid var(--subtle-border); background: var(--band); }
.section-kicker { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; color: var(--accent); }
.section-kicker > span { color: var(--quiet); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 18px 45px; margin-bottom: 30px; }
.section-heading h2, .quote-copy h2, .faq-layout h2, .pricing-cta h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.22; overflow-wrap: anywhere; }
.section-heading p, .plan-desc, .service-card p, .secondary-price-card > p, .recruit-copy p, .ad-info p { color: var(--muted); }
.section-heading p { max-width: 55ch; }
.service-grid, .price-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card, .price-card, .ad-item, .recruit-card, .secondary-price-card, .terms-panel { border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.service-card, .secondary-price-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.service-card h3, .secondary-price-card h3 { font-size: 18px; line-height: 1.3; }
.service-card p, .secondary-price-card > p { font-size: 14px; }
.service-card .text-link, .secondary-price-card .button { margin-top: auto; }
.icon-tile { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 4px; background: #192940; color: var(--accent); }
.icon-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-index, .plan-term, .plan-symbol { color: var(--quiet); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 23px; }
.price-featured { border-color: #587ce8; background: var(--navy); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 25px; flex-wrap: wrap; }
.recommend-pill { position: absolute; top: -11px; right: 14px; padding: 3px 8px; border: 1px solid #4e6fbc; border-radius: 4px; color: #cfdbff; background: #20345a; font-size: 10px; font-weight: 650; line-height: 1.5; }
.price-card h3 { margin-top: 12px; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; overflow-wrap: anywhere; }
.price-card .plan-desc { margin-block: 8px 18px; font-size: 13px; }
.price-line { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price-line strong { font-size: clamp(27px, 3.65vw, 47px); font-weight: 600; letter-spacing: -.065em; line-height: 1.15; }
.currency { font-size: 14px; }
.period, .price-caption, .ad-price small, .recruit-price small, .secondary-price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.price-caption { margin-top: 5px; }
.launch-offer {
  margin-bottom: 25px;
  padding: 14px 18px;
  border: 1px solid #34476e;
  border-left: 3px solid #5277ee;
  border-radius: 4px;
  background: var(--navy);
}
.launch-offer h3 { color: var(--text); font-size: 17px; }
.launch-offer p { margin-top: 3px; color: var(--muted); font-size: 13px; }
.standard-price, .offer-price-label { color: var(--muted); font-size: 12px; }
.standard-price span:nth-child(2) { color: var(--text); font-variant-numeric: tabular-nums; }
.offer-price-label { margin-top: 8px; color: var(--accent); font-weight: 600; }
.offer-pricing .price-line { margin-top: 2px; }
.price-card .plan-details-link { margin-top: auto; margin-bottom: 10px; }
.price-card .plan-details-link + .button { margin-top: 0; }
.check-list { margin: 18px 0; padding: 14px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--muted); font-size: 13px; }
.check-list li { display: flex; gap: 8px; margin-block: 6px; }
.check-list li::before { content: "✓"; color: var(--accent); }
.price-card .button { margin-top: auto; }
.pricing-footnote, .muted-note, .form-status { color: var(--muted); font-size: 12px; }
.pricing-footnote { margin-top: 15px; }
.section-heading.plans-heading { display: block; margin-bottom: 24px; }
.plans-heading .plans-offer { max-width: none; margin-top: 10px; font-size: 13px; }
.plans-offer strong { margin-inline-end: 6px; color: var(--accent); }
.teaser-grid .check-list { line-height: 1.6; }
.teaser-grid .check-list .plan-includes { color: var(--accent); font-weight: 600; }
.plans-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 16px; }
.plans-footer .pricing-footnote { flex: 1 1 30rem; margin: 0; }

@supports (grid-template-rows: subgrid) {
  @media (min-width: 741px) {
    .teaser-grid .price-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .teaser-grid .check-list { align-self: start; }
    .teaser-grid .button { align-self: end; }
  }
}

.ad-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.ad-preview { padding: 18px; border: 1px solid var(--border); border-radius: 6px; background: var(--band); }
.ad-preview figcaption { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.placement-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.placement-map > div { display: grid; place-items: center; min-height: 38px; border: 1px solid #324564; background: #14213a; color: var(--accent); font: 12px var(--mono); }
.placement-map .placement-first { grid-column: 1 / -1; min-height: 60px; border-color: #6589f3; background: #233e7d; color: #edf2ff; }
.ad-list { display: grid; gap: 8px; }
.ad-item { display: grid; grid-template-columns: 53px minmax(0, 1fr) auto 36px; align-items: center; gap: 10px; padding: 12px; }
.ad-slot, .recruit-icon { display: grid; place-items: center; align-content: center; min-height: 36px; border: 1px solid #33496d; border-radius: 4px; color: var(--accent); font: 11px var(--mono); }
.ad-slot small { margin-top: 3px; font-size: 8px; }
.ad-info h3, .recruit-copy h3 { font-size: 16px; line-height: 1.35; }
.ad-info p, .recruit-copy p { font-size: 13px; margin-top: 4px; }
.availability, .stock-note { color: var(--accent); font-size: 11px; }
.ad-price, .recruit-price, .secondary-price { font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1.3; }
.ad-price small, .recruit-price small, .secondary-price small { white-space: nowrap; }
.icon-button { display: grid; place-items: center; min-height: 36px; border: 1px solid var(--border); border-radius: 4px; color: var(--accent); }
.icon-button:hover { background: #192b47; }
.recruit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.recruit-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: start; gap: 9px 12px; padding: 18px; }
.recruit-card .button { grid-column: 2 / -1; justify-self: start; }
.recruit-price { padding-top: 5px; }

.quote-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(22px, 5vw, 70px); padding: clamp(22px, 5vw, 58px); border: 1px solid #34476e; border-top: 3px solid #5277ee; background: var(--navy); }
.quote-copy p { margin-top: 15px; color: var(--muted); }
.quote-points { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 19px; color: var(--muted); font-size: 12px; }
.quote-points i { color: var(--accent); font-style: normal; }
.quote-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quote-form label { display: grid; min-width: 0; gap: 5px; color: var(--text); font-size: 13px; font-weight: 600; }
.quote-form label > span { color: var(--quiet); font: 10px var(--mono); letter-spacing: .04em; }
.quote-form label > span:empty { display: none; }
.quote-form input, .quote-form select, .quote-form textarea { min-width: 0; width: 100%; padding: 9px 10px; border: 1px solid #3c4c64; border-radius: 4px; background: var(--bg); color: var(--text); font-size: 14px; font-weight: 400; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: var(--quiet); }
.quote-form textarea { resize: vertical; }
.quote-honeypot { display: none; }
.quote-form button:disabled { cursor: wait; opacity: .7; }
.form-status[data-state="error"] { color: #ffb4b8; }
.quote-flow { min-width: 0; }
.quote-flow [hidden] { display: none; }
.quote-confirmation {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: var(--card-padding);
  border: 1px solid #607ec0;
  border-radius: var(--card-radius);
  background: linear-gradient(140deg, #243b66, #131f37 78%);
  box-shadow: var(--card-shadow);
}
.quote-confirmation h3 { font-size: clamp(20px, 3vw, 28px); line-height: 1.3; }
.quote-confirmation p { color: var(--muted); }
.quote-reference { display: grid; width: 100%; gap: 3px; padding: 9px 12px; border: 1px solid #4a6393; border-radius: 7px; background: var(--band); font-size: 13px; }
.quote-reference code { color: #e2ecff; font-family: var(--mono); overflow-wrap: anywhere; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 22px 44px; }
.faq-list details { padding: 14px 0; border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { padding-right: 12px; font-weight: 600; }
.faq-list details p { margin-top: 9px; color: var(--muted); font-size: 14px; }

.pricing-hero { padding-block: clamp(45px, 7vw, 95px) 48px; }
.pricing-hero .eyebrow { margin-top: 25px; }
.pricing-hero h1 { max-width: 17ch; }
.price-assurance, .terms-panel { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; color: var(--muted); font-size: 13px; }
.price-assurance { max-width: 72ch; margin-top: 24px; border-left: 2px solid #5277ee; background: var(--band); }
.assurance-icon, .terms-icon { color: var(--accent); font: 600 14px var(--mono); }
.pricing-page-section { padding-top: 30px; border-top: 1px solid var(--subtle-border); }
.terms-panel { margin-top: 16px; }
.terms-panel h3 { margin-bottom: 4px; color: var(--text); font-size: 14px; }
.plan-benefits { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--subtle-border); }
.plan-benefits > h2 { margin-bottom: 18px; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.benefit-card { padding: 17px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); scroll-margin-top: 22px; }
.benefit-card:target { border-color: #587ce8; }
.benefit-card h3 { font-size: 17px; line-height: 1.4; }
.benefit-card ul { margin: 12px 0 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.benefit-card li + li { margin-top: 7px; }
.secondary-top { display: flex; align-items: center; gap: 9px; width: 100%; }
.secondary-top .recruit-icon { width: 38px; flex: none; }
.secondary-price-card .plan-term { font-size: 10px; letter-spacing: .04em; }
.pricing-cta { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-block: 52px; padding: clamp(20px, 4vw, 40px); border: 1px solid #34476e; background: var(--navy); }
.pricing-cta h2 { font-size: clamp(24px, 3vw, 34px); }
.pricing-cta p { margin-top: 8px; color: var(--muted); }
.pricing-cta > .button { flex: none; }
.site-footer { border-top: 1px solid var(--subtle-border); background: var(--band); }
.footer-top, .footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-block: 19px; }
.footer-top p, .footer-bottom { color: var(--muted); font-size: 12px; }
.footer-top .button, .footer-bottom a { margin-left: auto; }
.footer-bottom { border-top: 1px solid var(--subtle-border); }
.footer-bottom a:hover { color: var(--text); }

/* Light and material share the existing black and blue palette. */
body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 75% 3%, #162949 0, transparent 36rem),
    radial-gradient(ellipse at 20% 18rem, #101d35 0, transparent 38rem),
    radial-gradient(ellipse at 82% 58rem, #101a30 0, transparent 37rem),
    var(--bg);
  background-repeat: no-repeat;
}
body::before, body::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(850px, 105vh);
  pointer-events: none;
  content: "";
}
body::before {
  background: radial-gradient(circle, rgba(161, 186, 255, .25) 1px, transparent 1.4px) 0 0 / 19px 19px;
  mask-image: radial-gradient(ellipse at 75% 18%, #000 0%, transparent 67%);
  opacity: .55;
}
body::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  mask-image: linear-gradient(#000, transparent);
  opacity: .05;
}
.intro, .ad-section, .faq-section, .pricing-page-section, .plan-benefits {
  border-image: linear-gradient(90deg, transparent, #496491 52%, transparent) 1;
}
.quote-panel, .pricing-cta, .launch-offer {
  border: 1px solid #3d5278;
  border-top-color: #6a87d1;
  border-radius: var(--card-radius);
  background: linear-gradient(148deg, rgba(28, 48, 84, .89), rgba(12, 20, 35, .95) 78%);
  box-shadow: inset 0 1px rgba(223, 235, 255, .16), 0 16px 40px rgba(0, 0, 0, .25);
}
.launch-offer { padding: var(--card-padding); }
.service-card, .price-card, .secondary-price-card, .ad-item, .recruit-card, .ad-preview, .terms-panel, .benefit-card {
  border-radius: var(--card-radius);
  background: linear-gradient(152deg, rgba(30, 44, 66, .87), rgba(13, 21, 35, .97) 75%);
  box-shadow: var(--card-shadow);
}
.service-card, .price-card, .secondary-price-card, .recruit-card, .ad-preview, .benefit-card { padding: var(--card-padding); }
.service-card, .secondary-price-card { gap: 11px; }
.icon-tile, .recruit-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #425c89;
  border-radius: 9px;
  background: linear-gradient(140deg, #304b7e, #1a2a46 75%);
  color: #bfd0ff;
  box-shadow: inset 0 1px rgba(226, 236, 255, .12);
}
.icon-tile svg, .recruit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.plan-head { justify-content: flex-start; }
.plan-head .plan-term { margin-left: auto; }
.plan-icon { margin-right: 3px; }
.price-featured {
  isolation: isolate;
  border-color: #5a78bb;
  background:
    repeating-linear-gradient(145deg, transparent 0 2px, rgba(175, 201, 255, .025) 2px 3px),
    linear-gradient(133deg, #2c4775 0%, #182a4a 34%, #111d32 68%, #172642 100%);
  box-shadow: inset 0 1px rgba(223, 235, 255, .27), 0 20px 50px rgba(38, 75, 162, .22);
}
.price-featured .price-line strong { text-shadow: 0 1px 1px #080b11; }
.recommend-pill {
  z-index: 1;
  border-radius: 6px;
  background: linear-gradient(113deg, #263b63, #4467a4 46%, #253652 78%);
  box-shadow: inset 0 1px rgba(227, 237, 255, .22);
}
.button { border-radius: 7px; }
.button-primary { background: linear-gradient(135deg, var(--action-hover), var(--action) 74%); box-shadow: inset 0 1px rgba(226, 237, 255, .19), 0 6px 17px rgba(26, 52, 123, .26); }
.button-primary:hover { background: var(--action-hover); }
.quote-form :is(input, select, textarea) { border-radius: 7px; }
.placement-map > div { border-radius: 6px; }
.benefit-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  list-style: none;
}
.benefit-card summary::-webkit-details-marker { display: none; }
.benefit-card summary::after {
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
  content: "";
}
.benefit-card[open] summary::after { transform: rotate(225deg); }
.benefit-body > p { margin-top: 8px; color: var(--accent); font-size: 13px; }
.benefit-card[open] .benefit-body { animation: detail-in .22s ease-out; }
@keyframes detail-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 25deg;
}
@keyframes edge-sweep { to { --edge-angle: 385deg; } }
@supports (backdrop-filter: blur(12px)) {
  .service-directory { backdrop-filter: blur(12px); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.service-card, .price-card, .secondary-price-card, .recruit-card) {
    position: relative;
    isolation: isolate;
    transition: transform .18s ease-out, border-color .18s ease-out;
  }
  :is(.service-card, .price-card, .secondary-price-card, .recruit-card)::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(235px circle at var(--shine-x, 50%) var(--shine-y, 20%), rgba(137, 172, 248, .20), transparent 75%);
    opacity: 0;
    transition: opacity .22s ease-out;
    pointer-events: none;
    content: "";
  }
  :is(.service-card, .price-card, .secondary-price-card, .recruit-card):hover { border-color: #6482ba; }
  :is(.service-card, .price-card, .secondary-price-card, .recruit-card):hover::before { opacity: 1; }
  :is(.service-card, .price-featured):hover {
    z-index: 1;
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
  .price-featured .button-primary { position: relative; }
  @supports (mask-composite: exclude) {
    .price-featured::after, .price-featured .button-primary::after {
      position: absolute;
      inset: -1px;
      padding: 1px;
      border-radius: inherit;
      background: conic-gradient(from var(--edge-angle), transparent 8%, #4c6ab0 21%, #afcaff 26%, transparent 42%, transparent);
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask-composite: exclude;
      pointer-events: none;
      content: "";
    }
    .price-featured:hover::after, .price-featured:focus-within::after { animation: edge-sweep 8s linear infinite; }
    .price-featured .button-primary::after { opacity: 0; }
    .price-featured .button-primary:is(:hover, :focus-visible)::after { opacity: 1; animation: edge-sweep 4s linear infinite; }
  }
}

@media (max-width: 960px) {
  .wrap, .site-header { width: calc(100% - 42px); }
  .site-header { gap: 15px; }
  .nav { gap: 14px; }
  .service-grid, .price-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --card-padding: 19px; }
  .ad-item { grid-template-columns: 42px minmax(0, 1fr) auto 32px; }
}

@media (max-width: 740px) {
  .wrap, .site-header { width: calc(100% - 32px); }
  .site-header { min-height: 65px; gap: 9px; }
  .language-picker { margin-left: auto; }
  .menu-toggle { order: 3; display: grid; place-content: center; gap: 5px; width: 40px; height: 38px; padding: 0; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); }
  .menu-toggle span:not(.sr-only) { width: 16px; height: 1px; background: var(--text); }
  .nav { display: none; position: absolute; top: 59px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; }
  .nav .nav-cta { margin-top: 5px; }
  .section-heading, .ad-layout, .quote-panel, .faq-layout { grid-template-columns: 1fr; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 17px; }
  .hero-copy { padding: 21px 19px 24px; }
  .hero-copy h1 { margin-block: 12px 14px; font-size: clamp(28px, 8.2vw, 42px); }
  .hero-media { order: -1; aspect-ratio: 16 / 9; }
  .hero-video { object-position: center; }
  .hero-media figcaption { right: 8px; bottom: 8px; font-size: 10px; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { min-height: 44px; }
  .hero-highlights { margin-top: 15px; }
  .service-directory ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-directory li:nth-child(odd) { border-inline-start: 0; }
  .service-directory li:nth-child(n+3) { border-top: 1px solid #31415c; }
  .service-directory a { min-height: 45px; }
  .pricing-grid, .benefits-grid { grid-template-columns: 1fr; }
  .price-featured { order: -1; }
  .price-line strong { font-size: 39px; }
  .section-heading { gap: 10px; margin-bottom: 22px; }
  .quote-form input, .quote-form select, .quote-form textarea { font-size: 16px; }
  .pricing-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 485px) {
  .service-grid, .recruit-grid, .price-service-grid, .form-row { grid-template-columns: 1fr; }
  .ad-item { grid-template-columns: 35px minmax(0, 1fr) auto 30px; gap: 7px; padding: 8px; }
  .ad-price, .recruit-price { font-size: 16px; }
  .ad-price small { display: block; }
  .ad-info h3 { font-size: 14px; }
  .recruit-card { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .footer-top .button { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .benefit-card[open] .benefit-body { animation: none; }
}
