@layer reset, base, components, responsive;

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    body, figure { margin: 0; }
    img, svg { vertical-align: middle; }
    img { display: block; max-width: 100%; height: auto; }
    button, input, select, textarea { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    [hidden] { display: none !important; }
}

@layer base {
    :root {
        --paper: #f8f7f3;
        --sheet: #ffffff;
        --ink: #223b32;
        --muted: #5f6b62;
        --line: #e0e4dc;
        --teal: #32654e;
        --teal-ink: #244a39;
        --sage: #edf1e9;
        --danger: #a13632;
        --shadow: 0 8px 30px rgb(34 59 50 / 4%);
        --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
        --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
        --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", monospace;
    }
    html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
    body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
    a { color: var(--teal-ink); text-underline-offset: 4px; }
    a:hover { color: var(--teal); }
    :focus-visible { outline: 3px solid #b26b2e; outline-offset: 5px; }
    ::selection { background: #d5e4d4; color: var(--ink); }
    h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
    h1 { font-size: clamp(2.75rem, 5.2vw, 4.6rem); line-height: 1.09; margin: 0 0 1.5rem; }
    h2 { font-size: clamp(2rem, 3.3vw, 2.85rem); line-height: 1.16; margin: 0 0 1.25rem; }
    h3 { font-size: 1.55rem; line-height: 1.3; }
    p { margin: 0 0 1rem; }
    p:last-child { margin-bottom: 0; }
    code, .mono { font-family: var(--mono); font-size: 0.85em; overflow-wrap: anywhere; }
    pre { overflow-x: auto; background: #20362e; color: #eaf0e7; border-radius: 12px; padding: 1.5rem; font-size: 0.85rem; line-height: 1.8; }
    pre code { font-size: inherit; color: inherit; overflow-wrap: normal; }
    main { outline: none; }
}

@layer components {
    .wrap { width: min(1200px, calc(100% - 6rem)); margin-inline: auto; }
    .icon { flex-shrink: 0; width: 22px; height: 22px; }
    .skip { position: fixed; z-index: 20; top: -5rem; left: 1rem; padding: .6rem 1rem; border-radius: 8px; color: white; background: var(--ink); }
    .skip:focus { top: 1rem; }
    .site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: var(--paper); }
    .nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 92px; }
    .brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-size: 1.45rem; font-weight: 700; letter-spacing: -.06em; }
    .brand-sdk { font-weight: 450; }
    .brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-ink); color: white; }
    .brand-mark .icon { width: 23px; height: 23px; }
    .nav-links { display: flex; align-items: center; gap: 1.8rem; }
    .nav-links > a { color: var(--muted); font-size: .84rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
    .nav-links > a:hover, .nav-links > a[aria-current="page"]:not(.button) { color: var(--teal-ink); }
    .nav-links > a[aria-current="page"]:not(.button) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
    .button, button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 50px; padding: .75rem 1.3rem; border: 1px solid var(--teal-ink); border-radius: 7px; background: var(--teal-ink); color: white; font: inherit; font-size: .9rem; font-weight: 550; text-decoration: none; cursor: pointer; transition: background .18s, transform .18s, box-shadow .18s; }
    .button:hover, button[type="submit"]:hover { background: #193e2d; color: white; box-shadow: 0 4px 12px rgb(34 59 50 / 12%); transform: translateY(-2px); }
    .button .icon { width: 18px; height: 18px; }
    .nav-links > .button { color: white; }
    .button-small { min-height: 42px; padding: .55rem 1rem; gap: .85rem; }
    .button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
    .button.secondary:hover { background: var(--sage); }
    .button-light { background: #edf2e4; color: var(--teal-ink); border-color: #edf2e4; }
    .button-light:hover { background: white; color: var(--teal-ink); }
    .text-link { display: inline-flex; align-items: center; gap: .8rem; color: var(--teal-ink); text-decoration: none; font-weight: 600; font-size: .88rem; }
    .text-link .icon { width: 18px; height: 18px; transition: transform .18s; }
    .text-link:hover .icon { transform: translateX(4px); }
    .mobile-nav { display: none; }
    .eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; color: var(--teal); font-size: .7rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
    .status-dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #79a071; }
    .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding-block: 5.5rem 5rem; }
    .hero h1 { font-size: clamp(2.8rem, 4.85vw, 4.3rem); }
    .hero h1 em { color: var(--teal); font-style: normal; }
    .lede { max-width: 35rem; color: var(--muted); font-size: 1.08rem; line-height: 1.85; }
    .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
    .hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.5rem; color: var(--muted); font-size: .73rem; }
    .hero-note .icon { width: 16px; height: 16px; }
    .hero-visual { position: relative; padding: 1.4rem 0 4rem; }
    .hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -1rem -1.5rem -.5rem; border: 1px solid #e0e6d9; border-radius: 45% 45% 16px 16px; background: #eaf0e3; }
    .visual-label { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.1rem; color: var(--muted); font-size: .72rem; }
    .visit-preview { margin: 0; }
    .preview-window { overflow: hidden; border: 1px solid #d7ded3; border-radius: 13px; background: white; box-shadow: 0 20px 45px rgb(34 59 50 / 10%); }
    .preview-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .85rem 1rem; }
    .preview-brand { display: flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 650; }
    .preview-brand .icon { width: 17px; height: 17px; }
    .preview-example { color: var(--muted); font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
    .preview-stages { display: flex; padding: 0 .9rem; gap: 1rem; border-bottom: 1px solid var(--line); }
    .preview-stages button { display: flex; align-items: center; gap: .4rem; flex: 1; justify-content: center; min-height: 39px; padding: .5rem 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: .65rem; cursor: pointer; }
    .preview-stages button[aria-pressed="true"] { border-bottom-color: var(--teal); color: var(--teal-ink); font-weight: 650; }
    .preview-stages button:hover { color: var(--teal); background: var(--paper); }
    .preview-stages button:focus-visible { outline-offset: -4px; }
    .preview-panels { aspect-ratio: 1.35; }
    .preview-panel { height: 100%; }
    .video-scene { position: relative; height: calc(100% - 58px); overflow: hidden; }
    .video-scene > img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
    .video-scene::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgb(20 30 25 / 50%)); pointer-events: none; }
    .recording-pill { position: absolute; z-index: 1; top: .9rem; left: .9rem; display: flex; align-items: center; gap: .35rem; background: rgb(255 255 255 / 93%); color: #3f453e; border-radius: 20px; padding: .3rem .55rem; font-size: .62rem; font-weight: 550; }
    .recording-pill > span { width: 6px; height: 6px; border-radius: 50%; background: #b6534b; }
    .provider-label { position: absolute; z-index: 1; left: 1rem; bottom: .85rem; color: white; font-size: .75rem; font-weight: 600; }
    .provider-label > span { display: block; font-size: .59rem; font-weight: 400; opacity: .85; }
    .self-tile { position: absolute; z-index: 1; right: .75rem; bottom: .75rem; display: grid; align-content: center; justify-items: center; gap: .35rem; width: 82px; height: 94px; background: #dae1d1; border: 2px solid rgb(255 255 255 / 85%); border-radius: 7px; }
    .self-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #b5c4a9; color: #3c5340; font-size: .7rem; font-weight: 600; }
    .self-tile > span:last-child { font-size: .58rem; }
    .call-toolbar { display: flex; justify-content: space-between; align-items: center; gap: .5rem; height: 58px; padding-inline: 1rem; }
    .call-state { display: flex; align-items: center; gap: .35rem; font-size: .58rem; color: var(--muted); }
    .call-controls { display: flex; gap: .5rem; }
    .call-controls > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: var(--sage); }
    .call-controls .icon { width: 16px; height: 16px; }
    .call-controls > .call-end { width: 44px; background: #a7443d; color: white; }
    .call-time { font-family: var(--mono); font-size: .61rem; color: var(--muted); }
    .visit-preview > figcaption { margin-top: 1.1rem; text-align: center; color: var(--teal-ink); font-size: .67rem; }
    .visit-preview > figcaption > span { display: block; color: var(--muted); font-size: .63rem; }
    .ownership-tag { position: absolute; right: -.75rem; bottom: -.55rem; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
    .ownership-tag > .icon { width: 20px; color: var(--teal); }
    .ownership-tag > span { font-size: .62rem; line-height: 1.65; }
    .ownership-tag strong { display: block; font-size: .69rem; font-weight: 600; }
    .ownership-tag > .icon:last-child { width: 16px; margin-left: .6rem; }
    .prejoin-content, .complete-content { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; height: 100%; padding: 1.2rem 2rem; background: #f5f7f2; }
    .prejoin-content h3, .complete-content h3 { margin: .9rem 0 .6rem; font-size: 1.65rem; }
    .prejoin-content p, .complete-content p { max-width: 23rem; color: var(--muted); font-size: .75rem; }
    .prejoin-avatar, .complete-check { display: grid; place-items: center; width: 46px; height: 46px; background: #dee8d8; border-radius: 50%; color: var(--teal); }
    .device-check { display: flex; align-items: center; gap: .4rem; font-size: .69rem; }
    .device-check .icon { width: 15px; height: 15px; }
    .prejoin-content .consent-example { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .63rem; }
    .example-output { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; margin-top: .5rem; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: .7rem; text-align: left; }
    .example-output strong { display: block; font-size: .59rem; color: var(--muted); font-weight: 400; }
    .example-output .icon { width: 19px; }
    .platform-strip { border-block: 1px solid var(--line); }
    .platform-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.7rem; }
    .platform-content > p { margin: 0; font-size: .72rem; line-height: 1.55; color: var(--muted); }
    .platform-content > p strong { font-weight: 550; color: var(--ink); }
    .platform-content > a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; font-size: .94rem; }
    .platform-symbol { font-family: var(--mono); color: #68756b; font-size: 1.2rem; }
    .platform-php { font-size: 1rem; font-style: italic; letter-spacing: -.08em; }
    .license-note { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .68rem; }
    .license-note .icon { width: 16px; }
    .section { padding-block: 5.5rem; }
    .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
    .section-heading h2 { margin: 0; }
    .section-heading > p { max-width: 23rem; color: var(--muted); font-size: .9rem; }
    .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
    .facts li, .card, .prose, form, .table-wrap { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; }
    .facts li { position: relative; display: flex; flex-direction: column; align-items: start; padding: 1.9rem; }
    .feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.5rem; border-radius: 10px; background: var(--sage); color: var(--teal); }
    .feature-number { position: absolute; right: 1.9rem; top: 2.15rem; font-family: var(--mono); font-size: .65rem; color: var(--muted); }
    .facts h3 { margin: 0 0 .8rem; font-size: 1.5rem; }
    .facts p { margin: 0 0 1.6rem; color: var(--muted); font-size: .85rem; line-height: 1.85; }
    .facts .text-link { margin-top: auto; font-size: .77rem; }
    .architecture-section { background: var(--sage); border-block: 1px solid var(--line); }
    .architecture-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 4rem; padding-block: 5.2rem; }
    .architecture-copy > p:not(.eyebrow) { color: var(--muted); font-size: .88rem; }
    .architecture-copy .text-link { margin-top: .6rem; }
    .diagram { margin: 0; padding: 1.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); box-shadow: var(--shadow); }
    .diagram figcaption { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: 1.5rem; }
    .zones { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: stretch; }
    .zone { padding: 1rem; border: 1px solid #dbe2d5; border-radius: 8px; background: #f7f8f4; min-width: 0; }
    .zone-name { margin: 0 0 1rem; color: var(--teal); font-size: .65rem; font-weight: 650; }
    .zone ul { display: grid; gap: .55rem; list-style: none; margin: 0; padding: 0; }
    .zone li { padding: .55rem .65rem; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: .68rem; line-height: 1.65; }
    .zone li code { font-size: .85em; }
    .bridges { display: grid; align-content: center; gap: 1.1rem; max-width: 6rem; }
    .bridges span { position: relative; text-align: center; font-size: .55rem; color: var(--teal); padding-bottom: .5rem; border-bottom: 1px solid #bdcdb8; }
    .bridges span::after { content: ""; position: absolute; right: 0; bottom: -3px; width: 5px; height: 5px; border-top: 1px solid #bdcdb8; border-right: 1px solid #bdcdb8; transform: rotate(45deg); }
    .diagram-note { margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; line-height: 1.85; }
    .developer-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5rem; }
    .developer-copy > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
    .check-list { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1.5rem 0; }
    .check-list li { display: flex; align-items: start; gap: .65rem; font-size: .82rem; }
    .check-list .icon { width: 17px; height: 23px; color: var(--teal); }
    .code-window { overflow: hidden; border: 1px solid #304c3d; border-radius: 12px; background: #20362e; box-shadow: var(--shadow); }
    .code-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid #3a5145; font-family: var(--mono); font-size: .59rem; color: #aebeb0; }
    .code-heading > span:first-child { display: flex; gap: .35rem; }
    .code-heading i { width: 7px; height: 7px; background: #758477; border-radius: 50%; }
    .code-heading i:first-child { background: #c28c74; }
    .code-heading i:nth-child(2) { background: #c4b384; }
    .code-window pre { margin: 0; padding: 1.7rem; border-radius: 0; font-size: .78rem; }
    .code-comment { color: #a6b5aa; }
    .code-accent { color: #e1bf8a; }
    .code-keyword { color: #d4c6e6; }
    .code-string { color: #b6d59e; }
    .code-tag { color: #b8d4c3; }
    .code-note { margin: 0; padding: 1.2rem 1.7rem; background: #293f35; color: #c4cfc3; font-size: .68rem; }
    .code-note a { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; color: #dfedcf; }
    .code-note .icon { width: 14px; height: 14px; }
    .cta-section { padding-bottom: 5.5rem; }
    .cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 3.5rem 4rem; border-radius: 14px; background: var(--teal-ink); color: #f4f6ec; }
    .cta::after { content: ""; position: absolute; width: 340px; height: 340px; right: -150px; top: -200px; border: 1px solid #53755a; border-radius: 50%; box-shadow: 0 0 0 40px #2e503f, 0 0 0 41px #53755a; pointer-events: none; }
    .cta > * { position: relative; z-index: 1; }
    .cta .eyebrow { color: #c4d9b8; }
    .cta h2 { font-size: 3.3rem; margin-bottom: 1rem; }
    .cta p:not(.eyebrow) { max-width: 29rem; color: #ccdac8; font-size: .88rem; }
    .cta .button { flex-shrink: 0; }
    .site-footer { border-top: 1px solid var(--line); }
    .footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-block: 3.2rem 2.5rem; }
    .footer-intro > p { margin-top: 1rem; color: var(--muted); font-size: .85rem; line-height: 1.8; }
    .footer-column { display: flex; flex-direction: column; align-items: start; gap: .6rem; }
    .footer-column .footer-label { margin: 0 0 .4rem; font-size: .65rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
    .footer-column > a { display: flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; font-size: .8rem; }
    .footer-column > a:hover { color: var(--teal); }
    .footer-column .icon { width: 14px; height: 14px; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; }
    .footer-bottom p { margin: 0; }
    .footer-bottom > a { color: var(--muted); }
    .page-head { position: relative; padding-block: 4.5rem 2.5rem; }
    .page-head .eyebrow { margin-bottom: 1.2rem; }
    .page-head h1 { max-width: 53rem; font-size: clamp(2.5rem, 4.7vw, 4rem); }
    .page-head > p:not(.eyebrow) { max-width: 47rem; font-size: 1.04rem; color: var(--muted); }
    .stack { display: grid; gap: 1.5rem; padding-bottom: 5rem; }
    .stack > * { min-width: 0; }
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .card, .prose { padding: 2rem 2.2rem; }
    .card h2, .prose h2 { font-size: 1.9rem; margin-bottom: .85rem; }
    .card > p, .prose p, .prose li { color: var(--muted); font-size: .94rem; }
    .prose h3 { font-size: 1.45rem; margin: 1.5rem 0 .6rem; }
    .prose ul, .prose ol { padding-left: 1.3rem; margin-block: .7rem 1.2rem; }
    .prose li + li { margin-top: .6rem; }
    .note { margin: 0; border-left: 3px solid #829974; padding: .5rem 1.2rem; color: var(--muted); font-size: .86rem; }
    .path { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
    .path li { padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
    .path li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 1rem; color: var(--teal); font-family: var(--mono); font-size: .7rem; }
    .path strong { display: block; margin-bottom: .45rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
    .path span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.8; }
    .prose ol.path { margin-block: 1.5rem; padding: 0; }
    .prose ol.path li + li { margin-top: 0; }
    .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin: 0; }
    .shots figure { min-width: 0; }
    .shot-lead { grid-column: 1 / -1; }
    .shots img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
    .shots figcaption { margin-top: .6rem; font-size: .78rem; color: var(--muted); }
    .reference-screens { padding: 1.3rem 1.6rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
    .reference-screens summary { cursor: pointer; font-size: .85rem; font-weight: 600; }
    .reference-screens > p { margin: .8rem 0 1.2rem; color: var(--muted); font-size: .8rem; }
    .visit-showcase { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; padding-bottom: 1.5rem; }
    .visit-showcase-copy p { color: var(--muted); font-size: .9rem; }
    .table-wrap { overflow: auto; }
    table { width: 100%; border-collapse: collapse; min-width: 450px; }
    th, td { text-align: left; vertical-align: top; padding: 1.2rem 1.8rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
    th { background: var(--sage); color: var(--teal); font-size: .68rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
    td:last-child { color: var(--muted); }
    tr:last-child td { border-bottom: 0; }
    .access-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 4rem; align-items: start; }
    form { padding: 2.2rem; display: grid; gap: 1.3rem; width: 100%; max-width: 44rem; box-shadow: var(--shadow); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    label { display: grid; align-content: start; gap: .45rem; color: var(--ink); font-weight: 600; font-size: .8rem; }
    input, select, textarea { width: 100%; min-width: 0; border: 1px solid #d8ded3; border-radius: 6px; background: #fafbf8; color: var(--ink); padding: .7rem .85rem; font-size: .92rem; font-weight: 400; }
    input:focus, select:focus, textarea:focus { border-color: var(--teal); background: white; }
    textarea { min-height: 7rem; resize: vertical; }
    input::placeholder, textarea::placeholder { color: #6b766c; font-size: .8rem; }
    .field-error { color: var(--danger); font-weight: 500; font-size: .78rem; }
    [aria-invalid="true"] { border-color: var(--danger); }
    .form-privacy { color: var(--muted); font-size: .72rem; }
    .optional-label { margin-left: .4rem; color: var(--muted); font-size: .7rem; font-weight: 400; }
    .hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
    .banner { max-width: 44rem; padding: 1rem 1.3rem; border: 1px solid #c4d6bc; border-radius: 8px; background: #eaf2e4; color: var(--teal-ink); font-size: .9rem; }
    .access-aside { padding-top: 1.2rem; }
    .access-aside h2 { font-size: 1.75rem; }
    .access-aside p { color: var(--muted); font-size: .87rem; }
    .access-aside .check-list { margin-bottom: 2rem; }
    .access-aside .note { font-size: .8rem; }
    .access-aside .access-help { margin-top: 1.5rem; font-size: .8rem; }
    .sdk-card { position: relative; padding-top: 2rem; }
    .sdk-card .feature-icon { margin-bottom: 1.1rem; }
    .sdk-card .sdk-label { position: absolute; right: 2.2rem; top: 2.2rem; padding: .3rem .6rem; background: var(--sage); color: var(--teal); border-radius: 5px; font-family: var(--mono); font-size: .62rem; }
    .pricing-card { border-top: 3px solid var(--teal); }
    .pricing-card .eyebrow { margin-bottom: 1.3rem; }
    .pricing-note { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
    .pricing-note > div { max-width: 45rem; }
    .pricing-note .button { flex-shrink: 0; }
}

@layer responsive {
    @media (min-width: 1500px) { .hero { padding-block: 6.5rem; } }
    @media (max-width: 1100px) {
        .wrap { width: calc(100% - 4rem); }
        .nav-links { gap: 1.2rem; }
        .hero { gap: 2.5rem; }
        .hero h1 { font-size: clamp(2.8rem, 5.2vw, 3.8rem); }
        .hero-visual::before { inset-inline: -.8rem; }
        .architecture-layout { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
        .architecture-layout .zones { grid-template-columns: 1fr; }
        .architecture-layout .bridges { grid-auto-flow: column; max-width: none; gap: 1rem; }
        .architecture-layout .bridges span { font-size: .6rem; }
        .architecture-layout .zone ul { gap: .3rem; }
        .architecture-layout .zone-name { margin-bottom: .6rem; }
        .developer-section { gap: 3rem; }
        .platform-content { gap: 1rem; }
        .license-note { display: none; }
        .cta { padding: 3rem; }
        .cta .button { max-width: 19rem; }
        .access-layout { gap: 2.5rem; }
    }
    @media (max-width: 800px) {
        .nav { min-height: 76px; }
        .desktop-nav { display: none; }
        .mobile-nav { display: block; }
        .mobile-nav summary { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 6px; list-style: none; cursor: pointer; font-size: .8rem; }
        .mobile-nav summary::-webkit-details-marker { display: none; }
        .mobile-nav summary .icon { width: 18px; }
        .mobile-nav[open] summary { background: var(--sage); }
        .mobile-nav .nav-links { position: absolute; top: 100%; left: 0; width: 100%; align-items: stretch; gap: .5rem; padding: 1rem 2rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 20px rgb(34 59 50 / 8%); }
        .mobile-nav .nav-links > a:not(.button) { padding: .45rem .25rem; min-height: 44px; }
        .mobile-nav .nav-links { flex-direction: column; }
        .hero { grid-template-columns: 1fr; padding-block: 3.5rem 4.5rem; gap: 3.5rem; }
        .hero-copy { max-width: 36rem; }
        .hero h1 { font-size: clamp(2.9rem, 7vw, 4.2rem); }
        .hero-visual { max-width: 35rem; width: 100%; margin-inline: auto; }
        .hero-visual::before { inset-inline: -1rem; }
        .hero-visual .preview-panels { aspect-ratio: 1.45; }
        .platform-content { justify-content: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.5rem; }
        .platform-content > p { width: 100%; text-align: center; }
        .platform-content > p br { display: none; }
        .platform-content > p strong { margin-left: .25rem; }
        .platform-content > a { font-size: .85rem; }
        .section { padding-block: 3.8rem; }
        .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
        .section-heading > p { max-width: 32rem; }
        .facts { grid-template-columns: 1fr; }
        .facts li { padding: 1.7rem; }
        .facts p { max-width: 36rem; }
        .architecture-layout, .developer-section { grid-template-columns: 1fr; gap: 2rem; }
        .architecture-layout { padding-block: 3.8rem; }
        .architecture-copy { max-width: 36rem; }
        .architecture-layout .zones { grid-template-columns: 1fr auto 1fr; }
        .architecture-layout .bridges { grid-auto-flow: row; gap: 1rem; }
        .cta-section { padding-bottom: 3.8rem; }
        .cta { flex-direction: column; align-items: start; gap: 2rem; }
        .cta h2 { font-size: 2.8rem; }
        .cta .button { max-width: none; }
        .page-head { padding-top: 3rem; }
        .page-head h1 { font-size: clamp(2.5rem, 6vw, 3.6rem); }
        .grid-2 { grid-template-columns: 1fr; }
        .path { grid-template-columns: 1fr 1fr; }
        .visit-showcase { grid-template-columns: 1fr; gap: 2rem; }
        .visit-showcase > .visit-preview { max-width: 38rem; width: 100%; margin-inline: auto; }
        .access-layout { grid-template-columns: 1fr; gap: 2rem; }
        .access-aside { max-width: 36rem; }
        .pricing-note { flex-direction: column; align-items: start; }
    }
    @media (max-width: 520px) {
        .wrap { width: calc(100% - 2.5rem); }
        .brand { font-size: 1.3rem; }
        .brand-mark { width: 31px; height: 31px; }
        .hero { padding-top: 2.8rem; }
        .hero h1 { font-size: clamp(2.5rem, 9.4vw, 3.2rem); }
        .hero .eyebrow { font-size: .63rem; }
        .lede { font-size: 1rem; }
        .hero-note { font-size: .68rem; }
        .actions { gap: 1.2rem; }
        .actions .button { font-size: .82rem; }
        .actions .text-link { font-size: .8rem; }
        .hero-visual::before { inset-inline: -.45rem; }
        .ownership-tag { right: -.3rem; padding: .6rem .75rem; }
        .preview-heading { padding: .75rem; }
        .preview-panels, .hero-visual .preview-panels { aspect-ratio: 1; }
        .prejoin-content, .complete-content { padding: 1rem; }
        .prejoin-content h3, .complete-content h3 { font-size: 1.4rem; }
        .preview-stages { gap: .25rem; }
        .preview-brand { font-size: .62rem; }
        .preview-example { font-size: .52rem; }
        .self-tile { width: 68px; height: 76px; }
        .platform-content { gap: 1rem 1.5rem; }
        .platform-content > a { font-size: .73rem; }
        .platform-symbol { font-size: 1rem; }
        .platform-php { font-size: .85rem; }
        .section-heading h2 { font-size: 2.15rem; }
        .section-heading > p { font-size: .86rem; }
        .architecture-layout .zones, .zones { grid-template-columns: 1fr; }
        .architecture-layout .bridges, .bridges { grid-auto-flow: column; max-width: none; }
        .diagram { padding: 1.4rem; }
        .zone { padding: .85rem; }
        .zone li { font-size: .75rem; }
        .zone-name { font-size: .7rem; }
        .code-window pre { padding: 1.25rem; font-size: .67rem; }
        .code-heading { padding-inline: 1.25rem; font-size: .53rem; }
        .code-note { padding-inline: 1.25rem; }
        .cta { padding: 2rem 1.6rem; }
        .cta h2 { font-size: 2.6rem; }
        .cta .button { width: 100%; font-size: .76rem; gap: .7rem; }
        .cta .eyebrow { font-size: .6rem; }
        .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-top: 2.5rem; }
        .footer-intro { grid-column: 1 / -1; }
        .footer-column > a { font-size: .72rem; }
        .footer-bottom { font-size: .6rem; }
        .page-head { padding-bottom: 1.75rem; }
        .page-head h1 { font-size: 2.65rem; }
        .page-head > p:not(.eyebrow) { font-size: .95rem; }
        .card, .prose { padding: 1.6rem; }
        .card h2, .prose h2 { font-size: 1.65rem; }
        .card > p, .prose p, .prose li { font-size: .88rem; }
        .path { grid-template-columns: 1fr; }
        .path li { padding: 1.1rem; }
        .shots { grid-template-columns: 1fr; }
        .shot-lead { grid-column: auto; }
        .stack { gap: 1.2rem; padding-bottom: 3rem; }
        form { padding: 1.5rem; }
        .form-row { grid-template-columns: 1fr; gap: 1.3rem; }
        .sdk-card .sdk-label { top: 1.8rem; right: 1.6rem; }
        .reference-screens { padding: 1rem; }
        th, td { padding: 1rem; }
    }
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        *, *::before, *::after { transition: none !important; }
        .button:hover, .text-link:hover .icon { transform: none; }
    }
}
