*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --oc-bg:#f4f8fb;
    --oc-card:#ffffff;
    --oc-text:#102033;
    --oc-muted:#65758b;
    --oc-soft:#edf6fb;
    --oc-soft-2:#f8fbfd;
    --oc-line:#dce7ef;
    --oc-blue:#0b74d1;
    --oc-blue-2:#10a7d8;
    --oc-green:#14b87a;
    --oc-red:#d93d4a;
    --oc-shadow:0 24px 70px rgba(16,32,51,.12);
    --oc-radius:28px;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    background:
        radial-gradient(circle at 20% 0%,rgba(16,167,216,.18),transparent 35%),
        radial-gradient(circle at 90% 10%,rgba(11,116,209,.14),transparent 32%),
        var(--oc-bg);
    color:var(--oc-text);
    min-height:100vh;
}

button,
input,
textarea{
    font:inherit;
}

button{
    cursor:pointer;
}

a{
    color:inherit;
}

.hero{
    min-height:80vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:70px 22px;
}

.hero h1{
    font-size:clamp(34px,8vw,68px);
    letter-spacing:-2px;
    margin-bottom:16px;
}

.hero p{
    max-width:680px;
    color:var(--oc-muted);
    font-size:18px;
    line-height:1.6;
    margin-bottom:28px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:0 24px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--oc-blue),var(--oc-blue-2));
    color:#fff;
    text-decoration:none;
    font-weight:800;
    box-shadow:0 18px 35px rgba(11,116,209,.25);
}

.oc-body{
    background:
        linear-gradient(180deg,rgba(255,255,255,.7),rgba(244,248,251,.2)),
        radial-gradient(circle at 10% 0%,rgba(16,167,216,.20),transparent 28%),
        radial-gradient(circle at 95% 5%,rgba(20,184,122,.13),transparent 28%),
        var(--oc-bg);
}

.oc-page-shell{
    width:min(100%,920px);
    margin:0 auto;
    padding:18px;
}

.oc-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:4px 0 22px;
}

.oc-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.oc-brand-mark{
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    border-radius:16px;
    background:linear-gradient(135deg,var(--oc-blue),var(--oc-blue-2));
    color:#fff;
    font-weight:900;
    letter-spacing:-.5px;
    box-shadow:0 14px 28px rgba(11,116,209,.22);
}

.oc-brand strong{
    display:block;
    font-size:16px;
}

.oc-brand small{
    display:block;
    color:var(--oc-muted);
    margin-top:2px;
}

.oc-security-pill{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 13px;
    border:1px solid rgba(20,184,122,.22);
    background:rgba(255,255,255,.68);
    border-radius:999px;
    color:#0f7a53;
    font-size:13px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(16,32,51,.06);
}

.oc-security-pill span{
    width:9px;
    height:9px;
    background:var(--oc-green);
    border-radius:999px;
    box-shadow:0 0 0 5px rgba(20,184,122,.12);
}

.oc-form{
    width:100%;
}

.oc-screen{
    display:none;
    animation:ocFade .28s ease both;
}

.oc-screen-active{
    display:block;
}

@keyframes ocFade{
    from{
        opacity:0;
        transform:translateY(12px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.oc-hero-card,
.oc-photo-card,
.oc-panel-card,
.oc-success-card,
.oc-error-card{
    background:rgba(255,255,255,.86);
    border:1px solid rgba(220,231,239,.85);
    border-radius:var(--oc-radius);
    box-shadow:var(--oc-shadow);
    backdrop-filter:blur(18px);
}

.oc-hero-card{
    padding:34px;
    overflow:hidden;
    position:relative;
}

.oc-hero-card::after{
    content:"";
    position:absolute;
    right:-70px;
    top:-80px;
    width:230px;
    height:230px;
    background:linear-gradient(135deg,rgba(11,116,209,.18),rgba(16,167,216,.10));
    border-radius:999px;
}

.oc-hero-badge{
    display:inline-flex;
    padding:9px 13px;
    border-radius:999px;
    background:var(--oc-soft);
    color:var(--oc-blue);
    font-weight:900;
    font-size:13px;
    margin-bottom:18px;
}

.oc-hero-card h1,
.oc-section-title h1,
.oc-step-head h1,
.oc-success-card h1{
    letter-spacing:-1.3px;
}

.oc-hero-card h1{
    max-width:680px;
    font-size:clamp(36px,9vw,68px);
    line-height:.98;
    margin-bottom:18px;
}

.oc-hero-card p{
    max-width:680px;
    color:var(--oc-muted);
    font-size:18px;
    line-height:1.65;
}

.oc-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin:28px 0;
}

.oc-feature-grid div{
    background:var(--oc-soft-2);
    border:1px solid var(--oc-line);
    border-radius:22px;
    padding:18px;
}

.oc-feature-grid strong{
    display:block;
    font-size:21px;
    margin-bottom:4px;
}

.oc-feature-grid span{
    color:var(--oc-muted);
    font-weight:700;
}

.oc-microcopy{
    margin-top:16px;
    font-size:14px !important;
}

.oc-main-button,
.oc-secondary-button,
.oc-camera-button,
.oc-primary-link{
    width:100%;
    min-height:60px;
    border:none;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    padding:0 18px;
    font-weight:900;
    transition:.18s ease;
}

.oc-main-button,
.oc-camera-button,
.oc-primary-link{
    color:#fff;
    background:linear-gradient(135deg,var(--oc-blue),var(--oc-blue-2));
    box-shadow:0 18px 35px rgba(11,116,209,.26);
}

.oc-main-button:hover,
.oc-camera-button:hover,
.oc-primary-link:hover{
    transform:translateY(-1px);
    box-shadow:0 22px 42px rgba(11,116,209,.30);
}

.oc-main-button:disabled{
    opacity:.45;
    cursor:not-allowed;
    transform:none;
    box-shadow:none;
}

.oc-secondary-button{
    color:var(--oc-text);
    background:#fff;
    border:1px solid var(--oc-line);
}

.oc-secondary-button:disabled{
    opacity:.35;
    cursor:not-allowed;
}

.oc-progress-wrap{
    position:sticky;
    top:0;
    z-index:5;
    background:rgba(244,248,251,.82);
    padding:12px 0 16px;
    backdrop-filter:blur(14px);
}

.oc-progress-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:14px;
    color:var(--oc-muted);
    margin-bottom:8px;
}

.oc-progress-meta strong{
    color:var(--oc-blue);
}

.oc-progress-track{
    height:10px;
    background:#dce9f1;
    border-radius:999px;
    overflow:hidden;
}

.oc-progress-bar{
    height:100%;
    width:13%;
    background:linear-gradient(90deg,var(--oc-blue),var(--oc-green));
    border-radius:999px;
    transition:width .25s ease;
}

.oc-photo-card{
    padding:24px;
}

.oc-step-head{
    display:flex;
    gap:15px;
    align-items:flex-start;
    margin-bottom:22px;
}

.oc-step-chip{
    flex:0 0 auto;
    padding:9px 12px;
    border-radius:999px;
    background:linear-gradient(135deg,rgba(11,116,209,.12),rgba(16,167,216,.10));
    color:var(--oc-blue);
    font-size:13px;
    font-weight:900;
}

.oc-step-head h1{
    font-size:clamp(28px,7vw,46px);
    line-height:1;
    margin-bottom:8px;
}

.oc-step-head p{
    color:var(--oc-muted);
    line-height:1.5;
}

.oc-example-box{
    display:grid;
    grid-template-columns:160px 1fr;
    gap:18px;
    align-items:center;
    padding:18px;
    border-radius:26px;
    background:linear-gradient(180deg,#f8fcff,#eef7fb);
    border:1px solid var(--oc-line);
    margin-bottom:18px;
}

.oc-example-box strong{
    display:block;
    margin-bottom:6px;
}

.oc-example-box p{
    color:var(--oc-muted);
    line-height:1.55;
}

.oc-example-phone{
    width:150px;
    aspect-ratio:3/4;
    border-radius:28px;
    background:#102033;
    padding:10px;
    box-shadow:0 18px 35px rgba(16,32,51,.18);
}

.oc-face-demo{
    width:100%;
    height:100%;
    border-radius:21px;
    background:
        radial-gradient(circle at 50% 35%,#f4c9a8 0 24%,transparent 25%),
        linear-gradient(180deg,#dff5ff,#ffffff);
    position:relative;
    overflow:hidden;
}

.oc-face-demo::before{
    content:"";
    position:absolute;
    left:50%;
    top:23%;
    width:58px;
    height:72px;
    background:#253246;
    border-radius:50% 50% 46% 46%;
    transform:translateX(-50%);
}

.oc-face-demo::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:11%;
    width:86px;
    height:104px;
    background:#78b9d9;
    border-radius:42px 42px 14px 14px;
    transform:translateX(-50%);
}

.oc-face-demo span{
    position:absolute;
    left:50%;
    top:40%;
    width:58px;
    height:72px;
    background:#f0bd98;
    border-radius:48% 48% 45% 45%;
    transform:translateX(-50%);
    z-index:2;
}

.oc-face-demo i{
    position:absolute;
    left:50%;
    top:66%;
    width:64px;
    height:22px;
    background:#fff;
    border-radius:4px 4px 16px 16px;
    transform:translateX(-50%);
    z-index:3;
    display:none;
}

.oc-demo-face-right span{
    width:42px;
    border-radius:50% 44% 44% 50%;
    transform:translateX(-30%);
}

.oc-demo-face-left span{
    width:42px;
    border-radius:44% 50% 50% 44%;
    transform:translateX(-70%);
}

.oc-demo-smile i,
.oc-demo-upper-jaw i,
.oc-demo-lower-jaw i,
.oc-demo-bite-left i,
.oc-demo-bite-right i{
    display:block;
}

.oc-demo-upper-jaw i{
    top:58%;
    border-radius:18px 18px 4px 4px;
}

.oc-demo-lower-jaw i{
    top:70%;
    border-radius:4px 4px 18px 18px;
}

.oc-demo-bite-left i{
    transform:translateX(-70%) rotate(-6deg);
}

.oc-demo-bite-right i{
    transform:translateX(-30%) rotate(6deg);
}

.oc-camera-button{
    margin-top:18px;
}

.oc-camera-button input{
    display:none;
}

.oc-hidden{
    display:none !important;
}

.oc-captured-preview{
    display:none;
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:#eaf3f8;
    border:1px solid var(--oc-line);
    margin-top:16px;
}

.oc-preview-visible{
    display:block;
}

.oc-captured-preview img{
    display:block;
    width:100%;
    max-height:430px;
    object-fit:cover;
}

.oc-captured-preview button{
    position:absolute;
    right:14px;
    bottom:14px;
    width:auto;
    min-height:44px;
    padding:0 16px;
    border:none;
    border-radius:999px;
    background:rgba(16,32,51,.84);
    color:#fff;
    font-weight:900;
    backdrop-filter:blur(10px);
}

.oc-photo-actions{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:12px;
    margin-top:18px;
}

.oc-thumb-row{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:16px 2px 4px;
}

.oc-thumb{
    flex:0 0 112px;
    border:1px solid var(--oc-line);
    background:rgba(255,255,255,.82);
    border-radius:18px;
    padding:12px;
    text-align:left;
    box-shadow:0 10px 22px rgba(16,32,51,.06);
}

.oc-thumb span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:999px;
    background:#e4eef5;
    color:var(--oc-muted);
    font-weight:900;
    margin-bottom:9px;
}

.oc-thumb small{
    display:block;
    line-height:1.2;
    color:var(--oc-muted);
    font-weight:800;
}

.oc-thumb-current{
    border-color:rgba(11,116,209,.45);
}

.oc-thumb-current span{
    background:var(--oc-blue);
    color:#fff;
}

.oc-thumb-done span{
    background:var(--oc-green);
    color:#fff;
}

.oc-panel-card{
    padding:26px;
}

.oc-section-title span{
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    color:var(--oc-blue);
    background:var(--oc-soft);
    font-weight:900;
    font-size:13px;
    margin-bottom:14px;
}

.oc-section-title h1{
    font-size:clamp(30px,8vw,52px);
    margin-bottom:10px;
}

.oc-section-title p{
    color:var(--oc-muted);
    line-height:1.55;
    margin-bottom:24px;
}

.oc-field-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.oc-field{
    margin-bottom:16px;
}

.oc-field label{
    display:block;
    font-weight:900;
    margin-bottom:8px;
    color:#20344a;
}

.oc-field input,
.oc-field textarea{
    width:100%;
    border:1px solid var(--oc-line);
    background:#fff;
    border-radius:18px;
    min-height:58px;
    padding:0 16px;
    color:var(--oc-text);
    outline:none;
    transition:.18s ease;
    box-shadow:0 10px 22px rgba(16,32,51,.04);
}

.oc-field textarea{
    min-height:132px;
    padding-top:16px;
    resize:vertical;
}

.oc-field input:focus,
.oc-field textarea:focus{
    border-color:rgba(11,116,209,.55);
    box-shadow:0 0 0 5px rgba(11,116,209,.10);
}

.oc-photo-summary,
.oc-final-note{
    border-radius:22px;
    padding:16px;
    background:var(--oc-soft-2);
    border:1px solid var(--oc-line);
    margin:18px 0;
}

.oc-photo-summary strong{
    display:block;
    margin-bottom:4px;
}

.oc-photo-summary span,
.oc-final-note{
    color:var(--oc-muted);
    line-height:1.5;
}

.oc-consent-card{
    display:grid;
    grid-template-columns:30px 1fr;
    gap:13px;
    align-items:flex-start;
    border:1px solid var(--oc-line);
    background:#fff;
    border-radius:22px;
    padding:18px;
    margin-bottom:14px;
    box-shadow:0 10px 22px rgba(16,32,51,.04);
    line-height:1.5;
}

.oc-consent-card input{
    width:26px;
    height:26px;
    accent-color:var(--oc-blue);
}

.oc-success-card{
    text-align:center;
    padding:38px 24px;
}

.oc-success-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:76px;
    height:76px;
    border-radius:999px;
    background:rgba(20,184,122,.12);
    color:var(--oc-green);
    font-size:42px;
    font-weight:900;
    margin:0 auto 18px;
}

.oc-success-card h1{
    font-size:38px;
    margin-bottom:10px;
}

.oc-success-card p{
    color:var(--oc-muted);
    line-height:1.55;
    margin-bottom:22px;
}

.oc-error-card{
    padding:16px;
    border-color:rgba(217,61,74,.22);
    background:rgba(255,255,255,.92);
    color:var(--oc-red);
    font-weight:900;
    margin-bottom:16px;
}

@media (max-width:720px){
    .oc-page-shell{
        padding:14px;
    }

    .oc-topbar{
        align-items:flex-start;
    }

    .oc-security-pill{
        display:none;
    }

    .oc-hero-card,
    .oc-photo-card,
    .oc-panel-card{
        border-radius:24px;
        padding:22px;
    }

    .oc-feature-grid{
        grid-template-columns:1fr;
    }

    .oc-example-box{
        grid-template-columns:1fr;
    }

    .oc-example-phone{
        width:100%;
        max-width:210px;
        margin:0 auto;
    }

    .oc-photo-actions,
    .oc-field-grid{
        grid-template-columns:1fr;
    }

    .oc-captured-preview img{
        max-height:360px;
    }
}

@media (max-width:420px){
    .oc-brand small{
        display:none;
    }

    .oc-thumb{
        flex-basis:96px;
    }

    .oc-step-head{
        flex-direction:column;
    }
}
