@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/aref-ruqaa-400.ttf') format('truetype'); }
@font-face { font-family: 'Aref Ruqaa'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/aref-ruqaa-700.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-400.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-500.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-600.ttf') format('truetype'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/ibm-plex-sans-arabic-700.ttf') format('truetype'); }

:root {
    --font-display: 'Aref Ruqaa', Georgia, serif;
    --font-body: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
    --blue: #2563eb;
    --blue-deep: #1c50c6;
    --navy: #0d1b38;
    --ink: #18243b;
    --muted: #67748a;
    --line: #e1e7f0;
    --wash: #f7f9fd;
    --surface: #fff;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/1.8 var(--font-body); }
body, input, button, select { font-family: var(--font-body); }
button, input { font-size: inherit; }
a { color: var(--blue); text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:hover { color: var(--blue-deep); }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.55; }
h2 { font-size: 23px; line-height: 1.6; }
h3 { font-size: 20px; line-height: 1.65; }
.editorial { font-family: var(--font-display); font-weight: 700; line-height: 1.5; color: var(--navy); }
.muted { color: var(--muted); }
.icon { flex: none; display: block; width: 24px; height: 24px; }
.page-width { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 20px; top: 10px; transform: translateY(-150%); z-index: 50; padding: 10px 20px; border-radius: 6px; background: var(--navy); color: white; }
.skip-link:focus { transform: none; color: white; }
.site-header { min-height: 88px; position: sticky; top: 0; z-index: 20; background: #ffffffed; border-bottom: 1px solid #edf0f5; backdrop-filter: blur(18px); }
.site-header-inner { width: min(1400px, calc(100% - 96px)); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; width: 130px; }
.brand img { display: block; width: 100%; }
.main-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; }
.main-nav a { color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.sign-in-link { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 23px; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); color: #fff; font-weight: 600; line-height: 1.5; text-align: center; }
.button:hover { color: #fff; background: var(--blue-deep); border-color: var(--blue-deep); }
.button .icon { width: 20px; height: 20px; }
.button-small { min-height: 43px; padding: 9px 17px; font-size: 14px; }
.button-full { width: 100%; }
.button-secondary { background: #fff; color: var(--ink); border-color: #d5dce8; }
.button-secondary:hover { background: #f0f5ff; color: var(--blue); border-color: #c8d8f8; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.text-link .icon { width: 20px; height: 20px; }
.action-group { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 500; font-size: 14px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; min-height: 670px; padding-block: 70px 84px; }
.hero h1 { font-size: clamp(46px, 4.8vw, 70px); margin: 16px 0 26px; line-height: 1.45; }
.lead { font-size: 19px; max-width: 470px; color: var(--muted); margin-bottom: 30px; line-height: 1.95; }
.hero-assurance { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 22px; }
.hero-assurance .icon { width: 18px; height: 18px; }
.workspace-map { background: radial-gradient(ellipse at 80% 0%, #e5edff 0%, transparent 50%), linear-gradient(135deg, #f2f6fc, #fbfcff); position: relative; isolation: isolate; padding: 30px; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 80px #1939670c; overflow: hidden; }
.map-watermark { position: absolute; left: -12px; top: 26px; font-size: 126px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px #b9ceef42; transform: rotate(-14deg); z-index: -1; }
.map-heading { display: flex; justify-content: space-between; align-items: center; }
.map-heading .eyebrow { font-size: 12px; }
.map-dot { width: 7px; height: 7px; border-radius: 50%; background: #9bb5e4; box-shadow: 14px 0 #c7d5ed, 28px 0 #e0e8f5; margin-left: 28px; }
.map-core { display: flex; flex-direction: column; align-items: center; margin: 42px 0 34px; }
.map-core p { color: var(--muted); font-size: 13px; margin-top: 16px; }
.map-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.map-modules > div { border: 1px solid #e2e9f4; border-radius: 11px; background: #ffffffd9; padding: 21px 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 14px; }
.map-modules .icon { color: #547abb; }
.map-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 23px; color: #58708e; font-size: 13px; }
.map-footer .icon { width: 19px; height: 19px; }
.dna-section { background: radial-gradient(ellipse at 20% 20%, #193264 0%, transparent 54%), var(--navy); color: #f5f8ff; padding-block: 72px; overflow: hidden; }
.dna-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: center; }
.dna-section .eyebrow { color: #8fb4fc; }
.dna-section h2 { color: #fff; font-size: 45px; margin-top: 14px; }
.dna-intro { color: #b6c2d8; margin-bottom: 26px; }
.dna-words { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid #ffffff1b; padding-top: 20px; }
.dna-words > span { display: flex; flex-direction: column; align-items: flex-start; padding-left: 15px; border-left: 1px solid #ffffff13; }
.dna-words > span:first-child { padding-left: 0; border-left: 0; }
.dna-words b { font-size: 42px; font-weight: 600; line-height: 1.5; color: #8eb0f4; }
.dna-words strong { font-size: 12px; font-weight: 500; margin-top: 10px; }
.dna-words small { color: #9daccc; font-size: 12px; }
.section-space { padding-block: 74px; }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .section-heading h1 { font-size: 46px; margin: 10px 0 18px; }
.section-heading > p:last-child { color: var(--muted); max-width: 650px; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.module-grid article { padding: 30px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.module-grid article:nth-child(3n) { border-inline-end: 0; }
.module-grid article:nth-last-child(-n + 3) { border-bottom: 0; }
.module-grid .icon { color: var(--blue); width: 29px; height: 29px; margin-bottom: 20px; }
.module-grid h3 { font-size: 18px; margin-bottom: 10px; }
.module-grid p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.ai-module { background: linear-gradient(125deg, #fcfbff, #f4f8ff); }
.deployment-section { padding-bottom: 68px; }
.deployment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.deployment-card { background: var(--wash); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.deployment-card > .icon { color: var(--blue); width: 30px; height: 30px; margin-bottom: 18px; }
.deployment-card h3 { margin-bottom: 12px; }
.deployment-card p { color: var(--muted); margin-bottom: 24px; }
.final-cta { display: flex; gap: 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 48px 62px; }
.final-cta h2 { font-size: 40px; margin-block: 10px; }
.final-cta p:last-child { color: var(--muted); font-size: 14px; }
.site-footer { width: min(1400px, calc(100% - 96px)); margin-inline: auto; padding-block: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 28px; align-items: center; font-size: 13px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 25px; }
.footer-brand img { width: 118px; }
.site-footer nav { display: flex; align-items: center; gap: 26px; }
.site-footer a { color: var(--muted); }
.packages-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.packages-intro h1 { font-size: 49px; margin-block: 10px 15px; }
.trial-stamp { display: flex; align-items: center; gap: 18px; padding-inline-start: 28px; border-inline-start: 1px solid var(--line); flex: none; }
.trial-stamp b { font-size: 52px; color: var(--blue); font-weight: 500; line-height: 1; }
.trial-stamp span { font-size: 14px; }
.trial-stamp small { display: block; color: var(--muted); font-size: 13px; }
.deployment-choice { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; background: var(--wash); border: 1px solid var(--line); border-radius: 11px; margin-bottom: 24px; font-size: 14px; }
.deployment-choice nav { display: flex; gap: 10px; }
.deployment-choice a, .deployment-choice .chosen { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid transparent; border-radius: 8px; }
.deployment-choice .icon { width: 18px; height: 18px; }
.deployment-choice .chosen { color: var(--blue); background: #fff; border-color: #c9d9f8; }
.deployment-choice a { color: var(--muted); }
.notice { font-size: 14px; line-height: 1.85; padding: 12px 15px; color: #665635; border: 1px solid #efe5ca; background: #fffcf3; border-radius: 9px; margin-bottom: 24px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.offer-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; padding: 28px; }
.offer-card:nth-child(2) { border-color: #b9ccf0; background: linear-gradient(#f7faff, #fff 38%); }
.offer-card h2 { font-size: 25px; margin-bottom: 8px; }
.offer-description { min-height: 56px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.offer-price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0; }
.offer-price b { font-size: 40px; color: var(--navy); font-weight: 600; line-height: 1.2; }
.offer-price img { align-self: center; width: 25px; height: 25px; }
.offer-price span { color: var(--muted); font-size: 14px; }
.offer-price-pending { min-height: 48px; align-items: center; font-size: 16px; }
.offer-features { list-style: none; padding: 22px 0; border-top: 1px solid var(--line); margin: 0; flex: 1; font-size: 14px; }
.offer-features li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; }
.offer-features .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 4px; }
.offer-card .button { width: 100%; margin-top: 8px; }
.trial-note { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); margin-top: 21px; font-size: 13px; }
.trial-note .icon { width: 18px; height: 18px; margin-top: 3px; }
.package-bottom { display: flex; align-items: center; justify-content: space-between; gap: 26px; border-top: 1px solid var(--line); padding-top: 30px; margin-top: 34px; }
.package-bottom h2 { font-size: 18px; margin-bottom: 5px; }
.package-bottom p { font-size: 14px; }
.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) 472px; gap: 110px; padding-block: 58px 65px; align-items: center; min-height: calc(100svh - 185px); }
body:has(.auth-page), body:has(.status-page) { background: var(--wash); }
.auth-story { position: relative; isolation: isolate; min-width: 0; }
.brand-watermark { position: absolute; font: 700 135px/1.2 var(--font-body); letter-spacing: 3px; top: 70px; inset-inline-start: -12px; transform: rotate(-15deg); color: transparent; -webkit-text-stroke: 1px #c4d4ef80; pointer-events: none; z-index: -1; }
.auth-story h1 { font-size: 61px; margin: 17px 0 23px; line-height: 1.5; }
.auth-story > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 370px; margin-bottom: 28px; line-height: 1.95; }
.journey { list-style: none; padding: 0; margin: 32px 0 0; }
.journey li { position: relative; display: flex; gap: 15px; padding-bottom: 24px; }
.journey li:not(:last-child)::after { content: ''; position: absolute; top: 34px; bottom: 4px; inset-inline-start: 14px; width: 1px; background: #d7e2f4; }
.journey li > span { display: inline-grid; place-items: center; flex: none; width: 29px; height: 29px; border-radius: 50%; border: 1px solid #d5dff0; color: #5976a3; font-size: 13px; background: var(--wash); }
.journey li:first-child > span { background: #e7efff; color: var(--blue); border-color: #d6e3ff; }
.journey strong { display: block; font-size: 14px; font-weight: 500; color: #3d4d68; }
.journey small { color: var(--muted); font-size: 13px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 31px; box-shadow: 0 12px 40px #18396405; min-width: 0; }
.auth-card h2 { font-size: 23px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.card-kicker h2 { font-size: 20px; }
.trial-pill { display: inline-block; color: #3564b5; background: #edf3ff; border-radius: 20px; padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.selection-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; border-block: 1px solid #e9edf4; padding-block: 12px; margin-bottom: 22px; color: var(--muted); }
.selection-summary strong { color: #40506b; font-weight: 500; }
.selection-summary a { flex: none; }
.provider-label { margin-block: 20px 8px; font-size: 13px; color: var(--muted); }
.provider-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block: 0 7px; }
.provider-choices form { min-width: 0; }
.provider-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-size: 14px; min-height: 44px; font-weight: 500; padding: 9px 4px; background: #fff; border-color: #d5dce8; color: #263753; }
.provider-button:hover { background: #f4f7fc; border-color: #c2d0e5; color: #1c50c6; }
.provider-button:disabled { color: #758298; border-color: #e1e7f0; background: #f8fafc; }
.provider-note { color: var(--muted); font-size: 12px; margin-top: 8px; }
.field input[readonly] { background: #f4f7fc; color: var(--muted); }
.auth-divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); margin-block: 19px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e9edf4; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: #34435b; }
.field label > span { color: #a34141; }
.field input { display: block; width: 100%; height: 48px; padding: 10px 13px; border: 1px solid #d5dce8; background: #fff; color: #263753; border-radius: 8px; box-shadow: none; line-height: normal; }
.field input:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.field input[aria-invalid='true'] { border-color: #bc6262; }
.field input[type='email'] { direction: ltr; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 22px 0; color: var(--muted); font-size: 13px; line-height: 1.9; cursor: pointer; }
.consent input { width: 17px; height: 17px; accent-color: var(--blue); flex: none; margin: 4px 0 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.auth-note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 14px; }
.auth-switch { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 17px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-switch a { margin-inline-start: 5px; }
.field-error { color: #a33535; font-size: 14px; }
.error-summary { background: #fff7f7; padding: 11px 14px; border: 1px solid #ecd0d0; border-radius: 8px; margin-bottom: 18px; }
.success-note { display: flex; align-items: center; gap: 9px; color: #227258; background: #f2faf6; padding: 11px 14px; border: 1px solid #d1e9df; border-radius: 8px; font-size: 13px; margin-bottom: 20px; }
.success-note .icon { width: 19px; height: 19px; }
.auth-icon { display: inline-flex; padding: 16px; background: #eaf0f9; color: #516985; border-radius: 12px; margin-bottom: 22px; }
.auth-icon .icon { width: 27px; height: 27px; }
.sign-in-page .auth-card > p.muted { margin-top: 9px; margin-bottom: 24px; font-size: 14px; }
.sign-in-page .auth-card { padding: 34px; }
.story-note { display: flex; align-items: center; gap: 10px; margin-top: 35px; font-size: 13px; color: var(--muted); }
.story-note .icon { width: 20px; height: 20px; }
.status-page { min-height: calc(100svh - 185px); padding-block: 60px 80px; display: flex; align-items: center; justify-content: center; }
.status-card { background: #fff; padding: 40px; border: 1px solid var(--line); border-radius: 17px; width: min(100%, 590px); }
.status-card h1 { font-size: 26px; margin-block: 12px 16px; }
.status-card > p.muted { margin-bottom: 28px; font-size: 15px; line-height: 1.9; }
.status-card .auth-note { margin-bottom: 18px; }
.verification-code { text-align: center; font-size: 25px; letter-spacing: .3em; }
.registration-company { color: var(--blue); font-weight: 500; overflow-wrap: anywhere; }
.workspace-list { list-style: none; padding: 0; margin: 0; }
.workspace-list li + li { margin-top: 12px; }
.workspace-list a { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.workspace-list a:hover { background: var(--wash); color: var(--blue); }
.workspace-list a span { flex: 1; overflow-wrap: anywhere; }
.workspace-list .icon { width: 20px; height: 20px; color: var(--blue); }
.progress-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 30px 0; }
.progress-steps li { font-size: 12px; color: #77859b; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.progress-steps li > span { width: 31px; height: 31px; border: 1px solid var(--line); background: #f8fafc; border-radius: 50%; display: grid; place-items: center; }
.progress-steps .complete { color: #316b57; }
.progress-steps .complete > span { background: #edf8f2; border-color: #d6eade; }
.progress-steps .current { color: var(--blue); }
.progress-steps .current > span { border-color: #bacff6; background: #edf3ff; }
.progress-steps .icon { width: 17px; height: 17px; }
.on-premises-page .section-heading { max-width: 640px; }
.on-premises-page .section-heading h1 { font-size: 55px; }
.deployment-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; margin-block: 45px; }
.deployment-detail h2 { margin-bottom: 12px; }
.local-illustration { border: 1px solid #dbe4f4; border-radius: 21px; background: radial-gradient(ellipse at 10% 0%, #e2ebff, transparent 80%), var(--wash); padding: 34px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #5d7191; }
.local-illustration > .icon { width: 39px; height: 39px; color: var(--blue); }
.local-boundary { border: 1px dashed #afc4e6; background: #ffffffa8; border-radius: 14px; padding: 28px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 12px; font-size: 13px; }
.detail-list { list-style: none; padding: 0; margin-block: 23px; }
.detail-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.detail-list .icon { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
.local-next-step { border-top: 1px solid var(--line); padding-top: 30px; max-width: 840px; }
.local-next-step h2 { margin-bottom: 12px; }
.local-next-step p { color: var(--muted); margin-bottom: 20px; }

@media (max-width: 1100px) {
    .page-width, .site-header-inner, .site-footer { width: calc(100% - 56px); }
    .main-nav { gap: 22px; }
    .hero { gap: 40px; }
    .hero h1 { font-size: 54px; }
    .workspace-map { padding: 23px; }
    .map-watermark { font-size: 100px; }
    .dna-layout { gap: 40px; grid-template-columns: .8fr 1.2fr; }
    .dna-section h2 { font-size: 40px; }
    .module-grid article { padding: 24px; }
    .auth-page { grid-template-columns: minmax(0, 1fr) 440px; gap: 55px; }
    .auth-story h1 { font-size: 49px; }
    .brand-watermark { font-size: 100px; inset-inline-start: 0; }
    .packages-intro h1 { font-size: 42px; }
    .offer-card { padding: 23px; }
    .deployment-detail { gap: 40px; }
}

@media (max-width: 800px) {
    .site-header, .site-header-inner { min-height: 76px; }
    .site-header-inner { gap: 20px; }
    .brand { width: 112px; }
    .main-nav { display: none; }
    .header-actions { gap: 18px; }
    .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 42px 50px; }
    .hero h1 { font-size: 55px; }
    .hero-copy { max-width: 560px; }
    .workspace-map { max-width: 560px; width: 100%; margin-inline: auto; }
    .map-core { margin-block: 30px; }
    .map-watermark { font-size: 130px; }
    .dna-layout { grid-template-columns: 1fr; gap: 26px; }
    .dna-section { padding-block: 44px; }
    .dna-section h2 br { display: none; }
    .dna-section h2 { font-size: 40px; }
    .dna-words { max-width: 560px; }
    .section-space { padding-block: 48px; }
    .section-heading h2, .section-heading h1 { font-size: 40px; }
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .module-grid article:nth-child(3n) { border-inline-end: 1px solid var(--line); }
    .module-grid article:nth-child(2n) { border-inline-end: 0; }
    .module-grid article:nth-last-child(3) { border-bottom: 1px solid var(--line); }
    .deployment-grid { gap: 16px; }
    .deployment-card { padding: 25px; }
    .auth-page { grid-template-columns: 1fr; gap: 24px; width: min(520px, calc(100% - 40px)); padding-block: 32px 45px; }
    .auth-story { padding-inline: 5px; }
    .auth-story h1 { font-size: 37px; margin: 0; }
    .auth-story h1 br { display: none; }
    .auth-story > p, .auth-story .journey, .auth-story .story-note, .auth-story .brand-watermark { display: none; }
    .auth-card { padding: 28px; }
    .sign-in-page .auth-card { padding: 28px; }
    .auth-card .auth-icon { padding: 13px; margin-bottom: 16px; }
    .packages-intro { align-items: flex-start; }
    .packages-intro h1 { font-size: 38px; }
    .trial-stamp { flex-direction: column; text-align: center; gap: 10px; padding-inline-start: 20px; margin-top: 25px; }
    .offer-grid { grid-template-columns: 1fr; gap: 18px; }
    .offer-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 22px; }
    .offer-card h2 { grid-column: 1; }
    .offer-description { min-height: 0; grid-column: 1; margin-bottom: 12px; }
    .offer-price { grid-column: 2; grid-row: 1 / 3; margin-block: 5px; }
    .offer-features { grid-column: 1 / -1; padding-block: 17px 9px; }
    .offer-card .button { grid-column: 1 / -1; }
    .package-bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
    .deployment-detail { grid-template-columns: 1fr; }
    .local-illustration { max-width: 520px; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
    .page-width, .site-header-inner, .site-footer { width: calc(100% - 40px); }
    .site-header-inner { gap: 14px; }
    .header-actions { gap: 0; }
    .header-trial { display: none; }
    .hero h1 { font-size: 46px; }
    .hero .lead { font-size: 16px; }
    .hero .action-group { gap: 22px; }
    .hero .button { padding-inline: 17px; font-size: 15px; }
    .hero-assurance { align-items: flex-start; line-height: 1.8; }
    .hero-assurance .icon { margin-top: 3px; }
    .workspace-map { padding: 23px 18px; border-radius: 17px; }
    .map-watermark { font-size: 90px; top: 45px; }
    .map-modules { gap: 9px; }
    .map-modules > div { padding: 18px 9px; font-size: 13px; }
    .map-footer { font-size: 12px; }
    .dna-section h2 { font-size: 35px; }
    .dna-intro { font-size: 14px; }
    .dna-words b { font-size: 34px; }
    .dna-words strong { font-size: 10px; }
    .dna-words small { font-size: 11px; }
    .dna-words > span { padding-left: 8px; }
    .section-heading h2, .section-heading h1 { font-size: 34px; }
    .section-heading > p:last-child { font-size: 14px; }
    .module-grid, .deployment-grid { grid-template-columns: 1fr; }
    .module-grid article, .module-grid article:nth-child(3n) { border-inline-end: 0; }
    .module-grid article:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .module-grid article:last-child { border-bottom: 0; }
    .module-grid article { padding: 26px; }
    .deployment-card p { font-size: 14px; }
    .final-cta { align-items: flex-start; flex-direction: column; gap: 22px; padding-block: 35px 45px; }
    .final-cta h2 { font-size: 34px; }
    .footer-brand { justify-content: space-between; width: 100%; gap: 18px; }
    .site-footer nav { flex-wrap: wrap; gap: 15px 20px; font-size: 12px; }
    .packages-intro { display: block; }
    .packages-intro h1 { font-size: 35px; }
    .packages-intro > div > p.muted { font-size: 14px; }
    .trial-stamp { flex-direction: row; text-align: right; padding-inline-start: 0; border-inline-start: 0; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
    .trial-stamp b { font-size: 38px; }
    .deployment-choice { flex-direction: column; align-items: flex-start; padding: 15px; gap: 10px; }
    .deployment-choice nav { flex-direction: column; width: 100%; gap: 3px; }
    .deployment-choice nav > * { min-height: 44px; }
    .offer-card { display: flex; padding: 24px; }
    .offer-price { margin-block: 18px; }
    .offer-description { margin-bottom: 0; }
    .auth-page { width: calc(100% - 28px); padding-top: 24px; gap: 18px; }
    .auth-story { padding-inline: 9px; }
    .auth-story h1 { font-size: 32px; }
    .auth-card, .sign-in-page .auth-card { padding: 23px 20px; border-radius: 13px; }
    .card-kicker { gap: 9px; flex-wrap: wrap; }
    .card-kicker h2 { font-size: 19px; }
    .selection-summary { font-size: 12px; }
    .provider-choices { gap: 7px; }
    .provider-button { font-size: 12px; padding-inline: 3px; gap: 6px; flex-wrap: wrap; }
    .status-page { padding-block: 28px 44px; width: calc(100% - 28px); }
    .status-card { padding: 26px 22px; border-radius: 13px; }
    .status-card h1 { font-size: 24px; }
    .on-premises-page .section-heading h1 { font-size: 42px; }
    .local-illustration { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.registration-status [hidden] { display: none !important; }

.provider-button img { flex: 0 0 20px; display: block; background: #fff; }

.sign-in-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    margin-block: 20px 22px;
    border-radius: 10px;
    background: #f0f3f9;
}
.sign-in-methods a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.sign-in-methods a[aria-current="page"] {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 4px #18396412;
}
.sign-in-methods a:hover { color: var(--blue); }
.sign-in-methods a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sign-in-field-error { margin: 0; line-height: 1.7; }
.workspace-resume { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: start; font: inherit; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; cursor: pointer; }
.workspace-resume:hover { background: var(--wash); color: var(--blue); }
.workspace-resume span { flex: 1; overflow-wrap: anywhere; }
.workspace-resume small { display: block; color: var(--muted); font-size: 12px; }
.account-connections { margin-block: 24px; }
.workspace-resume:disabled { cursor: default; color: var(--muted); background: var(--wash); }
