:root {
  --site-text: #1f3148;
  --site-muted: #52657a;
  --site-line: #dbe3eb;
  --site-soft: #f3f6f9;
  --site-width: 1240px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; color: var(--site-text); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.2vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.16; letter-spacing: -0.035em; font-weight: 600; }
h3 { font-size: 19px; line-height: 1.4; letter-spacing: -0.015em; font-weight: 600; }
p { text-wrap: pretty; }
svg { flex-shrink: 0; }
.site-container { width: min(var(--site-width), calc(100% - 96px)); margin-inline: auto; }
.lead { font-size: 18px; line-height: 1.75; color: var(--site-muted); max-width: 62ch; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--site-line); }
.site-header-inner { min-height: 96px; width: min(var(--site-width), calc(100% - 96px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { padding-block: 12px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; padding-block: 10px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--mc-blue); text-decoration: underline; }
.site-nav .language-switch { display: flex; align-items: center; gap: 9px; border-left: 1px solid var(--site-line); padding-left: 28px; }
.menu-toggle { display: none; background: transparent; padding: 10px; border: 0; color: var(--mc-navy); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 40; background: var(--mc-navy); color: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 22px; min-height: 52px; border: 1px solid transparent; border-radius: 8px; background: var(--mc-blue); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.button:hover { background: var(--mc-navy); }
.button svg { width: 18px; height: 18px; }
.button-outline { background: transparent; color: var(--mc-navy); border-color: #b6c5d4; }
.button-outline:hover { color: #fff; background: var(--mc-navy); border-color: var(--mc-navy); }
.button:disabled { background: #e9eff5; color: #5e7083; border-color: transparent; }
.button-small { padding: 10px 15px; min-height: 42px; font-size: 13px; }
.text-link { font-size: 14px; font-weight: 600; display: inline-flex; gap: 12px; align-items: center; }
.text-link:hover { color: var(--mc-blue); }
.text-link svg { width: 18px; height: 18px; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.home-hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 9%; padding-block: 88px 104px; }
.hero-copy .lead { margin-top: 28px; }
.hero-copy .cta-row { margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 12px; color: var(--site-muted); max-width: 44ch; }
.validation-scene { background: var(--mc-navy); color: #fff; border-radius: 16px; padding: 28px 32px; box-shadow: 0 24px 48px #1f31481a; }
.scene-top { display: flex; justify-content: space-between; align-items: center; color: #b6cde1; font-size: 12px; }
.scene-address { font-size: clamp(17px, 2vw, 23px); font-weight: 500; margin-top: 24px; padding-bottom: 26px; border-bottom: 1px solid #486078; overflow-wrap: anywhere; }
.scene-pipeline { list-style: none; margin: 14px 0; padding: 0; }
.scene-pipeline li { position: relative; display: grid; grid-template-columns: 12px 1fr 18px; gap: 18px; align-items: center; padding-block: 16px; font-size: 14px; }
.pipeline-node { width: 8px; height: 8px; border-radius: 50%; background: #85bee8; position: relative; z-index: 1; }
.scene-pipeline li:not(:last-child)::after { content: ""; position: absolute; left: 3px; top: 29px; height: 50px; width: 1px; background: #58758e; }
.scene-pipeline li svg { color: #a6cfee; }
.scene-result { display: grid; gap: 5px; background: #2c455e; border-radius: 8px; padding: 16px 18px; }
.scene-result code { color: #acd4f1; font-size: 11px; }
.scene-result span { font-size: 14px; font-weight: 500; }
.scene-note { color: #bdcfde; margin-top: 18px; font-size: 11px; line-height: 1.7; }
@media (prefers-reduced-motion: no-preference) {
  .scene-pipeline li svg { animation: signal-arrives 900ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .scene-pipeline li:nth-child(2) svg { animation-delay: 200ms; }
  .scene-pipeline li:nth-child(3) svg { animation-delay: 400ms; }
  .scene-pipeline li:nth-child(4) svg { animation-delay: 600ms; }
  .scene-result { animation: result-arrives 1.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes signal-arrives { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes result-arrives { from { background-color: #1f3148; } to { background-color: #2c455e; } }
.how-section { background: var(--site-soft); padding-block: 88px; }
.how-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.section-intro p { margin-top: 24px; color: var(--site-muted); max-width: 62ch; }
.section-intro .text-link { margin-top: 28px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.check-list article { padding-block: 24px; border-top: 1px solid #c3d0dc; }
.check-list p, .benefit-list p, .integration-guide p, .decision-list p, .billing-grid p { color: var(--site-muted); margin-top: 12px; font-size: 15px; }
.benefits-section { padding-block: 104px; }
.benefit-header { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12%; }
.benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; margin-top: 56px; }
.benefit-list article { border-top: 1px solid var(--site-line); padding-top: 22px; }
.honesty-note { margin-top: 56px; display: flex; align-items: start; gap: 20px; padding: 28px 32px; background: var(--site-soft); border-radius: 12px; }
.honesty-note h3 { font-size: 16px; }
.honesty-note p { font-size: 14px; line-height: 1.8; color: var(--site-muted); max-width: 100ch; margin-top: 8px; }
.faq-section { display: grid; grid-template-columns: 0.8fr 1fr; gap: 14%; padding-block: 16px 104px; }
.faq-list details { border-bottom: 1px solid var(--site-line); padding-block: 22px; }
.faq-list details:first-child { border-top: 1px solid var(--site-line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-weight: 500; line-height: 1.6; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; transition: transform 160ms ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin-top: 18px; font-size: 14px; line-height: 1.8; color: var(--site-muted); }
.closing-section { background: var(--site-soft); padding-block: 64px; }
.closing-layout { display: flex; justify-content: space-between; align-items: center; gap: 64px; }
.closing-layout h2 { max-width: 24ch; font-size: 32px; }
.closing-layout p { margin-top: 16px; color: var(--site-muted); font-size: 15px; }
.closing-layout .button { flex-shrink: 0; }
.site-footer { background: var(--mc-navy); color: #fff; padding-top: 56px; }
.footer-main { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 48px; }
.footer-main p { color: #bfcfdd; font-size: 14px; margin-top: 16px; }
.footer-main nav { display: flex; gap: 32px; align-items: start; font-size: 14px; }
.footer-main a { text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #486078; padding-block: 20px; display: flex; justify-content: space-between; color: #bfcfdd; font-size: 12px; }
.page-intro { padding-block: 80px 56px; }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { margin-top: 24px; }
.page-intro .text-link { margin-top: 24px; }
.integration-workbench { display: grid; grid-template-columns: 1fr 1fr; background: var(--mc-navy); border-radius: 16px; overflow: hidden; color: #fff; }
.request-panel, .response-panel { min-width: 0; padding: 32px; }
.response-panel { background: #263b52; }
.code-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #4a6178; }
.code-heading h2 { font-size: 16px; font-weight: 500; letter-spacing: normal; }
.code-heading span { font-size: 11px; color: #bfcfdd; }
pre { white-space: pre; overflow-x: auto; tab-size: 2; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.integration-workbench pre { margin-block: 26px; font-size: 12px; line-height: 2; color: #e3edf6; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: #bfcfdd; }
.code-caption { color: #bfcfdd; font-size: 12px; }
.integration-guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; padding-block: 64px 88px; }
.integration-guide h2 { font-size: 20px; line-height: 1.5; letter-spacing: -0.015em; }
.decision-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; margin-top: 48px; }
.decision-code { display: inline-block; font-size: 13px; padding: 5px 10px; border-radius: 5px; margin-bottom: 16px; }
.decision-allow { background: #dceee4; color: #135936; }
.decision-warning { background: #f3e7c8; color: #70500d; }
.decision-block { background: #f4dfe4; color: #8a2944; }
.errors-section { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-block: 88px; }
.errors-section dl { margin: 0; }
.errors-section dl div { display: flex; gap: 28px; border-top: 1px solid var(--site-line); padding-block: 18px; }
.errors-section dd { margin: 0; color: var(--site-muted); font-size: 14px; }
.pricing-intro { text-align: center; padding-bottom: 48px; }
.pricing-intro h1 { margin-inline: auto; }
.pricing-intro .lead { margin-inline: auto; }
.currency-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--site-soft); margin-top: 32px; }
.currency-switch a { padding: 8px 18px; color: var(--site-muted); border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 600; }
.currency-switch a[aria-current] { background: var(--mc-navy); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.price-plan { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--site-line); border-radius: 12px; min-width: 0; }
.price-plan h2 { font-size: 20px; letter-spacing: -0.02em; }
.plan-description { margin-top: 12px; color: var(--site-muted); font-size: 13px; min-height: 44px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px; margin-top: 22px; font-size: 36px; line-height: 1.4; letter-spacing: -0.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-price .price-currency { font-size: 14px; letter-spacing: 0; margin-right: 3px; }
.plan-price .price-decimal { font-size: 22px; letter-spacing: -0.02em; }
.plan-price .price-cycle { font-size: 11px; color: var(--site-muted); font-weight: 400; letter-spacing: 0; }
.plan-price .quote-price { font-size: 25px; letter-spacing: -0.03em; }
.plan-volume { display: grid; gap: 4px; padding-top: 24px; margin-top: auto; }
.plan-volume strong { font-size: 20px; letter-spacing: -0.025em; font-weight: 600; }
.plan-volume span { color: var(--site-muted); font-size: 12px; min-height: 42px; }
.price-plan .button { width: 100%; margin-top: 26px; font-size: 12px; padding-inline: 10px; }
.price-plan-featured { background: var(--mc-navy); color: #fff; border-color: transparent; }
.price-plan-featured .plan-description, .price-plan-featured .price-cycle, .price-plan-featured .plan-volume span { color: #c2d3e0; }
.price-plan-featured .button:disabled { background: #3d556c; color: #dbe7f0; }
.currency-note { font-size: 12px; color: var(--site-muted); margin-top: 22px; max-width: 105ch; }
.availability-note { display: grid; grid-template-columns: 0.75fr 1fr; align-items: center; gap: 36px; margin-block: 40px 80px; padding: 24px 28px; background: var(--site-soft); border-radius: 12px; }
.availability-note h2 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.5; }
.availability-note p { font-size: 13px; color: var(--site-muted); }
.included-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.included-list li { display: flex; gap: 16px; align-items: start; }
.included-list svg { margin-top: 3px; color: var(--mc-blue); }
.billing-section { padding-block: 88px; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; margin-top: 40px; }
.billing-grid article { border-top: 1px solid var(--site-line); padding-top: 24px; }
@media (max-width: 1150px) {
  .site-container, .site-header-inner { width: calc(100% - 64px); }
  .home-hero { gap: 6%; }
  .site-nav { gap: 22px; }
  .pricing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .price-plan { padding: 28px; }
}
@media (max-width: 800px) {
  .site-container, .site-header-inner { width: calc(100% - 40px); }
  .site-header-inner { min-height: 80px; flex-wrap: wrap; gap: 8px; }
  .brand-logo { width: 180px; }
  .site-nav { flex-wrap: wrap; gap: 16px 24px; padding-bottom: 16px; }
  .site-nav .language-switch { padding-left: 20px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .nav-open .site-nav { display: flex; }
  .home-hero { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 64px; }
  .home-hero h1 { max-width: 16ch; }
  .validation-scene { max-width: 540px; width: 100%; padding: 26px; }
  .how-layout, .benefit-header, .faq-section, .errors-section { grid-template-columns: 1fr; gap: 36px; }
  .how-section, .benefits-section, .billing-section, .errors-section { padding-block: 56px; }
  .benefit-list, .integration-guide, .decision-list { grid-template-columns: 1fr; gap: 28px; }
  .benefit-list { margin-top: 36px; }
  .honesty-note { margin-top: 36px; padding: 24px; }
  .honesty-note svg { display: none; }
  .faq-section { padding-block: 8px 56px; }
  .closing-layout, .footer-main { flex-direction: column; align-items: start; gap: 28px; }
  .closing-layout h2 { font-size: 28px; }
  .footer-main nav { flex-wrap: wrap; gap: 16px 24px; }
  .page-intro { padding-block: 56px 36px; }
  .integration-workbench { grid-template-columns: minmax(0,1fr); }
  .request-panel, .response-panel { padding: 24px; }
  .integration-guide { padding-block: 40px 56px; }
  .decision-list { margin-top: 36px; }
  .decision-list article { border-top: 1px solid #c3d0dc; padding-top: 24px; }
  .availability-note { grid-template-columns: 1fr; gap: 12px; margin-bottom: 56px; }
  .billing-grid { gap: 32px; }
}
@media (max-width: 480px) {
  .pricing-grid, .billing-grid { grid-template-columns: minmax(0,1fr); }
  .plan-description { min-height: 0; }
  .plan-volume span { min-height: 0; }
  .check-list { grid-template-columns: minmax(0,1fr); }
  .scene-address { font-size: 18px; }
  .cta-row { gap: 20px; }
  .hero-copy .lead { font-size: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

.legal-copy { max-width:78ch; }
.legal-copy h1 { margin-bottom:20px; }
.legal-copy section { margin-top:32px; }
.legal-copy section h2 { font-size:1.25rem; margin-bottom:8px; }
.site-footer .footer-bottom { flex-wrap:wrap; }

.contact-form { display:grid; gap:16px; margin-top:28px; justify-items:start; }
.contact-form > div { width:100%; }
.contact-identity { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.contact-form label { display:block; margin-bottom:5px; font-weight:600; }
.contact-form :is(input,textarea) { width:100%; border:1px solid var(--site-line); border-radius:8px; padding:10px 12px; font:inherit; }
.contact-form textarea { resize:vertical; }
@media (max-width:520px) { .contact-identity { grid-template-columns:1fr; } }

.contact-dialog {
  box-sizing:border-box;
  width:min(560px, calc(100% - 32px));
  max-height:calc(100dvh - 32px);
  padding:clamp(16px, 4vw, 28px);
  border:1px solid var(--site-line);
  border-radius:14px;
  color:var(--site-text);
  background:white;
}
.contact-dialog::backdrop { background:#1f314880; }
.contact-dialog header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.contact-dialog h2 { font-size:1.35rem; }
.contact-dialog header button { width:36px; height:36px; border:0; border-radius:6px; background:var(--site-soft); color:inherit; font-size:1.5rem; cursor:pointer; }
.contact-dialog .contact-form { margin-top:16px; gap:12px; }
.contact-dialog [data-contact-status]:not(:empty) { margin-top:12px; font-size:.875rem; }
.contact-dialog .contact-form textarea { min-height:90px; }


.site-account-actions { display:flex; gap:8px; align-items:center; }
.site-nav .site-account-actions .button { white-space:nowrap; }
.site-nav .site-account-actions .button:hover { color:white; text-decoration:none; }
.contact-link { padding:0; border:0; background:none; color:var(--mc-blue); font:inherit; text-decoration:underline; cursor:pointer; }
.contact-dialog header button { display:grid; place-items:center; padding:0; }
.contact-dialog .contact-form[hidden] { display:none; }
.contact-dialog [data-tone] { padding:12px 14px; border-radius:8px; font-weight:600; }
.contact-dialog [data-tone="success"] { background:#eef6f1; color:#21583c; }
.contact-dialog [data-tone="error"] { background:#fcebe9; color:#922c25; }

.contact-dialog [data-tone="pending"] {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  background:#edf5fc;
  color:#165984;
  border:1px solid #cbdfee;
}
.contact-dialog [data-tone="pending"]::before {
  content:"";
  flex:none;
  width:16px;
  height:16px;
  border:2px solid #a9c8df;
  border-top-color:currentColor;
  border-radius:50%;
  animation:contact-spin .8s linear infinite;
}
@keyframes contact-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
  .contact-dialog [data-tone="pending"]::before { animation:none; }
}
