:root {
    --bg: #ffffff;
    --surface: #f5f8ff;
    --surface-strong: #e9f0ff;
    --ink: #091a2a;
    --ink-soft: #506176;
    --line: #d6e2f5;
    --blue: #005fe8;
    --primary: #005fe8;
    --primary-soft: #3a7cff;
    --container: 1140px;
    --radius: 18px;
    --shadow: 0 18px 40px rgba(13, 41, 78, 0.1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SF Pro Text", "SF Pro Display", "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(circle at 100% -10%, rgba(0, 95, 232, 0.11), transparent 40%),
        radial-gradient(circle at 0% 18%, rgba(58, 124, 255, 0.08), transparent 34%),
        var(--bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.1rem, 4.8vw, 3.9rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.65rem, 3.4vw, 2.8rem);
    margin-bottom: 0.8rem;
}

h3 {
    font-size: clamp(1.16rem, 2.2vw, 1.45rem);
    margin-bottom: 0.6rem;
}

p,
li,
label,
input,
textarea,
button {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul {
    margin: 0;
    padding-left: 1rem;
}

li + li {
    margin-top: 0.38rem;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
}

.lead {
    color: var(--ink-soft);
    max-width: 62ch;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(9, 26, 42, 0.08);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 26px;
    height: 26px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--ink-soft);
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.42rem 0.84rem;
    transition: all 0.18s ease;
}

.nav-links a:hover {
    color: var(--ink);
    border-color: var(--line);
    background: #ffffff;
}

.nav-links .nav-cta {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    box-shadow: 0 9px 24px rgba(0, 95, 232, 0.22);
}

.nav-links .nav-cta:hover {
    color: var(--ink);
    border-color: transparent;
    filter: saturate(1.06);
    transform: translateY(-1px);
}

.site-main {
    padding-bottom: 2rem;
}

.page-section {
    padding-block: clamp(3.1rem, 7vw, 6rem);
    position: relative;
    scroll-margin-top: 102px;
}

.section-tinted {
    background: linear-gradient(180deg, rgba(0, 95, 232, 0.04), rgba(255, 255, 255, 0.9));
}

.home-hero {
    padding-top: clamp(3.2rem, 8vw, 6.5rem);
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(9, 26, 42, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(9, 26, 42, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy h1 span {
    color: var(--primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.3rem;
}

.button,
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover,
button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 95, 232, 0.24);
}

.button:active,
button[type="submit"]:active {
    transform: translateY(0);
}

.button-quiet {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.button-quiet:hover {
    box-shadow: 0 8px 18px rgba(9, 26, 42, 0.08);
}

.hero-stats {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
}

.hero-stats div {
    display: grid;
    gap: 0.15rem;
}

.hero-stats strong {
    font-size: 1.32rem;
}

.hero-stats span {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.hero-visual {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.hero-logo-shell {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #eef4ff);
    box-shadow: var(--shadow);
    padding: clamp(1.4rem, 4vw, 2rem);
}

.hero-logo-large {
    width: min(720px, 100%);
    margin-inline: auto;
}

.hero-logo-mask {
    background-color: #000000;
    -webkit-mask-image: url("assets/OAS source-08.8d2ab7cfbc4c.svg");
    mask-image: url("assets/OAS source-08.8d2ab7cfbc4c.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    aspect-ratio: 702.89 / 250.5;
}

.glass-card {
    width: min(420px, 100%);
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    padding: 1rem 1.1rem;
}

.glass-card p {
    margin-bottom: 0.65rem;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.section-head {
    margin-bottom: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-item {
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem 1.1rem;
    box-shadow: 0 8px 20px rgba(9, 26, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 95, 232, 0.4);
    box-shadow: 0 15px 26px rgba(9, 26, 42, 0.09);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.work-pane {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(9, 26, 42, 0.06);
    overflow: hidden;
}

.work-pane-top {
    padding: 1.25rem 1.25rem 0.5rem;
}

.work-pane-image-wrap {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fbff, #edf3ff);
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.iphone-frame {
    width: min(240px, 82%);
    border-radius: 34px;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
}

.iphone-frame-no-border {
    background: transparent;
    padding: 0;
}

.iphone-screen {
    border-radius: 27px;
    overflow: hidden;
    background: transparent;
}

.iphone-screen-white {
    background: #ffffff;
}

.work-pane-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    align-items: start;
}

.about-points {
    display: grid;
    gap: 0.8rem;
}

.about-points article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    padding: 1rem 1.1rem;
}

.contact-shell {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 10px 24px rgba(9, 26, 42, 0.06);
}

form {
    max-width: 760px;
}

form p {
    margin-bottom: 1rem;
}

label {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--ink);
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    border: 1px solid #c6d6ef;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    color: var(--ink);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 95, 232, 0.14);
}

.alert-success {
    border: 1px solid #b7d0ff;
    background: #e8f1ff;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.alert-error {
    border: 1px solid rgba(138, 30, 47, 0.18);
    background: #fff1f3;
    color: #7f1d1d;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.site-footer {
    border-top: 1px solid rgba(9, 26, 42, 0.08);
    background: #ffffff;
    padding: 1.3rem 0 1.8rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer p,
.site-footer a {
    margin: 0;
    color: var(--ink-soft);
}

.splash-body {
    background:
        radial-gradient(circle at 12% 8%, rgba(58, 124, 255, 0.17), transparent 30%),
        radial-gradient(circle at 86% 90%, rgba(0, 95, 232, 0.14), transparent 34%),
        #ffffff;
    min-height: 100vh;
}

.splash-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
}

.splash-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(9, 26, 42, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(9, 26, 42, 0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
}

.splash-card {
    width: min(640px, 100%);
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    padding: clamp(1.8rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
    animation: fadeUp 0.6s ease both;
}

.splash-logo {
    width: min(280px, 64%);
    display: block;
    margin: 0 auto 1.25rem;
}

.splash-kicker {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
}

.splash-card h1 {
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    margin-bottom: 1.3rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 980px) {
    .hero-layout,
    .about-layout,
    .work-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 760px) {
    .navbar {
        min-height: auto;
        padding: 0.8rem 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .page-section {
        padding-block: clamp(2.4rem, 8vw, 3.4rem);
    }

    .hero-stats {
        gap: 1rem;
    }

    .footer-grid {
        flex-direction: column;
    }
}
