/* MemberConsole public-site refinement. Loaded after the core application stylesheet. */

:root {
  --v2-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .035);
  --v2-shadow-md: 0 2px 8px rgba(15, 23, 42, .04), 0 24px 70px rgba(15, 23, 42, .07);
}

body { font-size: 16px; }
.mc-shell { width: min(1240px, calc(100% - 56px)); }
.mc-header-inner { height: 74px; gap: 28px; }
.mc-wordmark { gap: 11px; font-size: 17px; font-weight: 720; }
.mc-mark { width: 24px; height: 24px; border: 0; border-radius: 6px; object-fit: contain; transform: none; }
.mc-desktop-nav { gap: 28px; }
.mc-desktop-nav a { font-size: 14px; font-weight: 590; }
.mc-header-actions { gap: 7px; }
.mc-link-button { padding: 10px 11px; font-size: 14px; }
.mc-sales-link { color: var(--muted); }
.mc-sales-link:hover { color: var(--foreground); }
.mc-button { min-height: 42px; padding: 0 17px; border-radius: 9px; font-size: 14px; }
.mc-eyebrow { font-size: 12px; gap: 10px; }
.mc-eyebrow > span { width: 7px; height: 7px; }

/* Existing homepage: preserve the composition, remove the tiny/flat feeling. */
.mc-hero { padding-top: 100px; }
.mc-hero-grid { gap: 70px; }
.mc-hero-copy h1 { font-size: clamp(54px, 5.35vw, 80px); }
.mc-hero-copy > p { font-size: 18px; line-height: 1.68; }
.mc-tertiary { font-size: 14px; }
.mc-demo-window { box-shadow: 0 30px 90px rgba(20, 27, 40, .12), 0 3px 10px rgba(20, 27, 40, .07); }
.mc-demo-wordmark { font-size: 12px; }
.mc-demo-search { font-size: 10px; }
.mc-demo-avatar { font-size: 9px; }
.mc-demo-body aside span, .mc-demo-body aside b { font-size: 10.5px; }
.mc-demo-content > small { font-size: 8px; }
.mc-demo-content h3 { font-size: 23px; }
.mc-demo-content > p { font-size: 10.5px; }
.mc-demo-stats span { font-size: 8.5px; }
.mc-demo-row { font-size: 9.5px; }
.mc-demo-row.is-head { font-size: 8.5px; }
.mc-demo-row span:first-child b { font-size: 9.5px; }
.mc-trust-strip { font-size: 13px; padding: 16px 0; }
.mc-section { padding: 118px 0; }
.mc-section-heading { max-width: 790px; }
.mc-section-heading h2 { font-size: clamp(38px, 4vw, 56px); }
.mc-section-heading p { font-size: 17px; line-height: 1.68; }
.mc-feature-grid { border-radius: 14px; box-shadow: var(--v2-shadow-sm); }
.mc-feature { padding: 31px 27px 33px; min-height: 235px; }
.mc-feature-icon { width: 40px; height: 40px; border-radius: 9px; }
.mc-feature-icon svg { width: 19px; height: 19px; }
.mc-feature h3 { margin-top: 30px; font-size: 18px; }
.mc-feature p { font-size: 14px; line-height: 1.62; }
.mc-concept h3 { font-size: 16px; }
.mc-concept p { font-size: 14px; line-height: 1.62; }
.mc-arch-label { font-size: 10px; }
.mc-arch-node { font-size: 14px; padding: 15px 17px; }
.mc-arch-node span { font-size: 11px; }
.mc-arch-branches span { font-size: 10px; }
.mc-inline-list span { font-size: 12px; padding: 8px 11px; }
.mc-text-link { font-size: 14px; }
.mc-code-tabs { font-size: 12px; }
.mc-code-card pre { font-size: 12px; }
.mc-cta { padding: 76px 0; }
.mc-cta h2 { font-size: 38px; }
.mc-cta p { font-size: 15px; line-height: 1.6; }

/* Footer: more readable, broader resource model. */
.mc-footer { padding-top: 72px; }
.mc-footer-grid { grid-template-columns: .8fr 1.7fr; gap: 80px; }
.mc-footer-copy { max-width: 330px; font-size: 14px; line-height: 1.65; }
.mc-footer-sales { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 650; }
.mc-footer-links { grid-template-columns: repeat(4, 1fr); gap: 34px; }
.mc-footer-links strong { font-size: 12px; margin-bottom: 7px; }
.mc-footer-links a { font-size: 13px; line-height: 1.45; }
.mc-footer-bottom { font-size: 11px; padding-top: 20px; }

/* Shared V2 public surfaces. */
.v2-hero { padding: 112px 0 106px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--background), color-mix(in oklab, var(--surface-2) 62%, white)); }
.v2-hero .mc-shell { max-width: 1240px; }
.v2-hero h1 { max-width: 940px; margin: 20px 0 24px; font-size: clamp(52px, 6vw, 78px); line-height: .99; letter-spacing: -.058em; font-weight: 700; }
.v2-hero p { max-width: 790px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.68; letter-spacing: -.012em; }
.v2-hero-grid { display: grid; grid-template-columns: 1.02fr .78fr; gap: 86px; align-items: center; }
.v2-hero-grid h1 { font-size: clamp(50px, 5.3vw, 72px); }
.v2-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.v2-section-white { background: var(--surface); }
.v2-section-soft { background: color-mix(in oklab, var(--surface-2) 72%, white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v2-dark-section { background: var(--foreground); color: white; }
.v2-dark-section .mc-eyebrow { color: rgba(255,255,255,.58); }
.v2-dark-section .mc-eyebrow > span { border-color: white; }
.v2-dark-section h2 { margin: 17px 0 18px; font-size: clamp(40px, 4vw, 56px); line-height: 1.04; letter-spacing: -.052em; }
.v2-dark-section p { color: rgba(255,255,255,.64); font-size: 17px; line-height: 1.7; }

.v2-stack-card { border: 1px solid var(--border-strong); border-radius: 15px; background: rgba(255,255,255,.86); box-shadow: var(--v2-shadow-md); overflow: hidden; }
.v2-stack-head { min-height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 680; }
.v2-live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 580; }
.v2-live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-bg); }
.v2-stack-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 19px 20px; border-bottom: 1px solid var(--border); }
.v2-stack-row:last-child { border-bottom: 0; }
.v2-stack-row > svg { width: 38px; height: 38px; padding: 9px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); }
.v2-stack-row b { display: block; font-size: 15px; }
.v2-stack-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.v2-card-grid { display: grid; gap: 14px; margin-top: 56px; }
.v2-card-grid.four { grid-template-columns: repeat(4, 1fr); }
.v2-card-grid.three { grid-template-columns: repeat(3, 1fr); }
.v2-info-card { padding: 30px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--v2-shadow-sm); min-height: 260px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.v2-info-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--v2-shadow-md); }
.v2-info-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); background: var(--surface-2); }
.v2-info-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.v2-info-card h3 { margin: 34px 0 10px; font-size: 19px; letter-spacing: -.025em; }
.v2-info-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.v2-doc-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.v2-inline-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.v2-inline-pills span { border: 1px solid rgba(255,255,255,.15); border-radius: 99px; padding: 7px 10px; color: rgba(255,255,255,.7); font-size: 12px; }
.v2-code-card { border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: color-mix(in oklab, black 26%, var(--foreground)); box-shadow: 0 30px 70px rgba(0,0,0,.24); overflow: hidden; }
.v2-code-title { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 650; }
.v2-code-card pre { margin: 0; padding: 27px 22px; overflow-x: auto; color: rgba(255,255,255,.84); font: 12.5px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.v2-code-note { display: flex; gap: 8px; align-items: center; padding: 15px 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.56); font-size: 12px; }

.v2-flow-grid, .v2-onboarding-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 52px; }
.v2-onboarding-grid { grid-template-columns: repeat(5, 1fr); }
.v2-flow-card { min-height: 205px; padding: 25px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--v2-shadow-sm); }
.v2-flow-card > span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 25px; padding: 0 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.v2-flow-card h3 { margin: 30px 0 9px; font-size: 18px; }
.v2-flow-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }

.v2-api-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 52px; }
.v2-api-group { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); overflow: hidden; }
.v2-api-group h3 { margin: 0; padding: 20px 21px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: 16px; }
.v2-api-group div { min-height: 48px; padding: 0 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.v2-api-group div:last-child { border-bottom: 0; }
.v2-api-group svg { color: var(--green); }
.v2-callout { margin-top: 58px; padding: 29px 30px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid var(--border-strong); border-radius: 13px; background: color-mix(in oklab, var(--surface-2) 58%, white); }
.v2-callout h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.03em; }
.v2-callout p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.v2-callout .mc-button { flex: 0 0 auto; }

.v2-security-boundary { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: center; }
.v2-security-boundary h2 { margin: 16px 0 16px; font-size: clamp(38px, 4vw, 54px); line-height: 1.04; letter-spacing: -.05em; }
.v2-security-boundary > div:first-child > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.v2-text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 25px; font-size: 14px; font-weight: 650; }
.v2-boundary-diagram { padding: 23px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--v2-shadow-md); }
.v2-boundary-diagram div { min-height: 57px; padding: 0 18px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-weight: 670; }
.v2-boundary-diagram div.dark { background: var(--foreground); color: white; border-color: var(--foreground); }
.v2-boundary-diagram span { min-height: 47px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }

/* Help Center */
.v2-help-hero { padding: 94px 0 82px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--background), color-mix(in oklab, var(--blue-bg) 35%, white)); text-align: center; }
.v2-help-hero .mc-eyebrow { justify-content: center; }
.v2-help-hero h1 { margin: 18px 0 15px; font-size: clamp(50px, 6vw, 72px); letter-spacing: -.058em; line-height: 1; }
.v2-help-hero > .mc-shell > p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.62; }
.v2-help-search { width: min(700px, 100%); min-height: 58px; margin: 34px auto 0; padding: 0 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); box-shadow: var(--v2-shadow-md); color: var(--muted); text-align: left; }
.v2-help-search span { flex: 1; font-size: 15px; }
.v2-help-search kbd { padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); font-size: 11px; }
.v2-support-split { display: grid; grid-template-columns: 245px 1fr; gap: 70px; align-items: start; }
.v2-support-aside { position: sticky; top: 102px; display: flex; flex-direction: column; gap: 3px; }
.v2-support-aside > strong { margin-bottom: 12px; font-size: 13px; }
.v2-support-aside > a { padding: 9px 10px; border-radius: 7px; color: var(--muted); font-size: 14px; }
.v2-support-aside > a:hover { background: var(--surface-2); color: var(--foreground); }
.v2-support-contact { margin-top: 24px; padding: 18px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); }
.v2-support-contact svg { margin-bottom: 14px; }
.v2-support-contact b { display: block; font-size: 14px; }
.v2-support-contact p { margin: 7px 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.v2-support-contact a { font-size: 12px; font-weight: 650; }
.v2-article-groups { display: flex; flex-direction: column; gap: 58px; }
.v2-article-groups > section { scroll-margin-top: 105px; }
.v2-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.v2-group-head h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.v2-group-head span { color: var(--muted); font-size: 12px; }
.v2-article-list { border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--surface); box-shadow: var(--v2-shadow-sm); }
.v2-article-card { min-height: 114px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); transition: background .16s ease; }
.v2-article-card:last-child { border-bottom: 0; }
.v2-article-card:hover { background: var(--surface-2); }
.v2-article-card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.v2-article-card p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.v2-article-card > svg { flex: 0 0 auto; color: var(--muted); }
.v2-help-routing { padding: 70px 0; border-top: 1px solid var(--border); background: var(--surface-2); }
.v2-help-routing > .mc-shell { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.v2-help-routing h2 { margin: 15px 0 8px; font-size: 29px; letter-spacing: -.04em; }
.v2-help-routing p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.v2-help-routing .mc-button { flex: 0 0 auto; }

/* Individual support articles. */
.v2-article-page { padding: 82px 0 110px; background: var(--surface); }
.v2-article-shell { max-width: 880px; }
.v2-back-link { display: inline-flex; margin-bottom: 42px; color: var(--muted); font-size: 14px; font-weight: 620; }
.v2-article-category { margin-bottom: 12px; color: var(--muted); font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.v2-article-page h1 { max-width: 800px; margin: 0; font-size: clamp(43px, 5vw, 62px); line-height: 1.03; letter-spacing: -.052em; }
.v2-article-lead { margin: 20px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.v2-article-body { margin-top: 58px; border-top: 1px solid var(--border); }
.v2-article-body section { padding: 34px 0; border-bottom: 1px solid var(--border); }
.v2-article-body h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.035em; }
.v2-article-body p { margin: 0; color: color-mix(in oklab, var(--foreground) 68%, var(--muted)); font-size: 16px; line-height: 1.75; }
.v2-article-footer { margin-top: 40px; padding: 25px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.v2-article-footer b { font-size: 16px; }
.v2-article-footer p { max-width: 590px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Resources hub. */
.v2-resources-hero { background: linear-gradient(180deg, var(--background), color-mix(in oklab, var(--green-bg) 22%, white)); }
.v2-resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v2-resource-card { min-height: 290px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--v2-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.v2-resource-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--v2-shadow-md); }
.v2-resource-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); }
.v2-resource-icon svg { width: 20px; height: 20px; }
.v2-resource-card h2 { margin: 34px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.v2-resource-card p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.v2-resource-card > span { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 670; }

/* Contact sales. */
.v2-sales-page { padding: 96px 0 110px; background: linear-gradient(180deg, var(--background), var(--surface)); }
.v2-sales-grid { display: grid; grid-template-columns: .92fr .78fr; gap: 96px; align-items: start; }
.v2-sales-copy { position: sticky; top: 110px; }
.v2-sales-copy h1 { max-width: 670px; margin: 18px 0 22px; font-size: clamp(50px, 5.3vw, 72px); line-height: .99; letter-spacing: -.058em; }
.v2-sales-copy > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.v2-sales-points { display: grid; gap: 17px; margin-top: 37px; }
.v2-sales-points > div { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; }
.v2-sales-points svg { width: 19px; height: 19px; margin-top: 2px; color: var(--green); }
.v2-sales-points span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.v2-sales-points b { display: block; margin-bottom: 2px; color: var(--foreground); font-size: 15px; }
.v2-sales-process { margin-top: 34px; padding: 13px 0; display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.v2-sales-process span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.v2-sales-note { margin-top: 20px !important; font-size: 13px !important; }
.v2-sales-note a { color: var(--foreground); font-weight: 650; }
.v2-sales-form-wrap { border: 1px solid var(--border-strong); border-radius: 15px; background: var(--surface); box-shadow: var(--v2-shadow-md); overflow: hidden; }
.v2-form-head { padding: 28px 30px 24px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.v2-form-head h2 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.04em; }
.v2-form-head p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.v2-sales-form { padding: 28px 30px 30px; display: grid; gap: 17px; }
.v2-sales-form label { display: grid; gap: 7px; }
.v2-sales-form label > span { font-size: 12px; font-weight: 680; }
.v2-sales-form input, .v2-sales-form select, .v2-sales-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--foreground); font: inherit; font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.v2-sales-form input, .v2-sales-form select { height: 44px; padding: 0 12px; }
.v2-sales-form textarea { min-height: 130px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
.v2-sales-form input:focus, .v2-sales-form select:focus, .v2-sales-form textarea:focus { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 13%, transparent); }
.v2-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v2-submit { width: 100%; min-height: 46px; margin-top: 4px; }
.v2-form-message { padding: 11px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.v2-form-message.is-error { border: 1px solid color-mix(in oklab, #b42318 25%, var(--border)); background: color-mix(in oklab, #fee4e2 55%, white); color: #7a271a; }
.v2-form-fine { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; text-align: center; }
.v2-form-fine a { color: var(--foreground); text-decoration: underline; text-underline-offset: 2px; }
.v2-form-success { min-height: 500px; padding: 46px 36px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.v2-form-success svg { color: var(--green); }
.v2-form-success h3 { margin: 18px 0 9px; font-size: 28px; letter-spacing: -.04em; }
.v2-form-success p { margin: 0 0 25px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Legal pages. */
.v2-legal-page { padding: 90px 0 120px; background: var(--surface); }
.v2-legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 90px; align-items: start; }
.v2-legal-layout > aside { position: sticky; top: 105px; }
.v2-legal-layout > aside h1 { margin: 18px 0 8px; font-size: 37px; letter-spacing: -.045em; line-height: 1.05; }
.v2-legal-layout > aside > p { margin: 0 0 30px; color: var(--muted); font-size: 13px; }
.v2-legal-layout nav { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; border-top: 1px solid var(--border); }
.v2-legal-layout nav a { padding: 8px 9px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.v2-legal-layout nav a:hover { background: var(--surface-2); color: var(--foreground); }
.v2-legal-copy { max-width: 790px; }
.v2-legal-copy section { padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.v2-legal-copy section:last-child { margin-bottom: 0; }
.v2-legal-copy h2 { margin: 0 0 15px; font-size: 27px; letter-spacing: -.035em; }
.v2-legal-copy p { margin: 0 0 14px; color: color-mix(in oklab, var(--foreground) 69%, var(--muted)); font-size: 15.5px; line-height: 1.78; }
.v2-legal-copy p:last-child { margin-bottom: 0; }
.v2-legal-copy a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1120px) {
  .mc-desktop-nav { gap: 19px; }
  .mc-desktop-nav a { font-size: 13px; }
  .mc-sales-link { display: none; }
  .v2-card-grid.four, .v2-resource-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-onboarding-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .mc-shell { width: min(100% - 38px, 1240px); }
  .mc-desktop-nav { display: none; }
  .mc-header-actions > .mc-link-button { display: none; }
  .mc-menu-button { display: grid; }
  .mc-header-inner { height: 68px; }
  .mc-hero-grid, .v2-hero-grid, .v2-doc-split, .v2-security-boundary, .v2-sales-grid { grid-template-columns: 1fr; gap: 52px; }
  .v2-sales-copy { position: static; }
  .v2-card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .v2-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-onboarding-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-api-columns { grid-template-columns: 1fr; }
  .v2-support-split { grid-template-columns: 1fr; gap: 42px; }
  .v2-support-aside { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .v2-support-aside > strong { grid-column: 1 / -1; }
  .v2-support-contact { grid-column: 1 / -1; }
  .v2-legal-layout { grid-template-columns: 1fr; gap: 55px; }
  .v2-legal-layout > aside { position: static; }
  .v2-legal-layout nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .mc-footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .mc-footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .mc-shell { width: calc(100% - 30px); }
  .mc-wordmark { font-size: 16px; }
  .mc-header-actions .mc-button { min-height: 38px; padding-inline: 13px; font-size: 12.5px; }
  .mc-hero { padding-top: 64px; }
  .mc-hero-copy h1 { font-size: clamp(48px, 14vw, 62px); }
  .mc-hero-copy > p { font-size: 16px; }
  .mc-hero-actions { flex-direction: column; align-items: stretch; }
  .mc-hero-actions .mc-button { width: 100%; }
  .mc-demo-window { min-width: 620px; transform: scale(.72); transform-origin: left top; margin-bottom: -110px; }
  .mc-trust-strip { justify-content: flex-start; overflow-x: auto; white-space: nowrap; font-size: 11.5px; }
  .mc-section { padding: 82px 0; }
  .mc-section-heading h2 { font-size: 39px; }
  .mc-section-heading p { font-size: 15.5px; }
  .mc-feature-grid.five, .mc-feature-grid.three { grid-template-columns: 1fr; }
  .mc-feature, .mc-feature-grid.five .mc-feature, .mc-feature-grid.three .mc-feature { border-right: 0; border-bottom: 1px solid var(--border); min-height: 0; }
  .mc-feature:last-child { border-bottom: 0; }
  .mc-cta-inner { align-items: flex-start; flex-direction: column; }
  .mc-cta-inner > div:last-child { width: 100%; flex-direction: column; }
  .mc-footer-links { grid-template-columns: 1fr 1fr; gap: 35px 22px; }
  .mc-footer-bottom { gap: 12px; flex-direction: column; }

  .v2-hero, .v2-help-hero { padding: 72px 0 68px; }
  .v2-hero h1, .v2-hero-grid h1, .v2-sales-copy h1 { font-size: clamp(44px, 13vw, 59px); }
  .v2-hero p, .v2-sales-copy > p, .v2-help-hero > .mc-shell > p { font-size: 16px; }
  .v2-card-grid.four, .v2-card-grid.three, .v2-resource-grid, .v2-flow-grid, .v2-onboarding-grid { grid-template-columns: 1fr; }
  .v2-info-card, .v2-resource-card { min-height: 0; }
  .v2-doc-split, .v2-security-boundary { gap: 50px; }
  .v2-code-card pre { font-size: 10.5px; }
  .v2-callout, .v2-help-routing > .mc-shell, .v2-article-footer { align-items: flex-start; flex-direction: column; }
  .v2-callout .mc-button, .v2-help-routing .mc-button { width: 100%; }
  .v2-support-aside { display: flex; }
  .v2-support-contact { width: 100%; }
  .v2-article-card { min-height: 0; padding: 19px; }
  .v2-article-card p { font-size: 13px; }
  .v2-article-page { padding-top: 58px; }
  .v2-article-page h1 { font-size: 43px; }
  .v2-article-lead { font-size: 17px; }
  .v2-field-row { grid-template-columns: 1fr; }
  .v2-sales-page { padding-top: 66px; }
  .v2-form-head, .v2-sales-form { padding-left: 20px; padding-right: 20px; }
  .v2-legal-page { padding-top: 65px; }
  .v2-legal-layout nav { grid-template-columns: 1fr; }
  .v2-legal-copy p { font-size: 15px; }
}
