:root {
    color-scheme: light;
    --bg: #f7f2ea;
    --bg-deep: #132033;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.88);
    --surface-dark: rgba(19, 32, 51, 0.94);
    --text: #182234;
    --muted: #647083;
    --line: rgba(24, 34, 52, 0.1);
    --accent: #ff7a45;
    --accent-deep: #d35f31;
    --accent-soft: rgba(255, 122, 69, 0.14);
    --mint: #8ccfc3;
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --shadow-lg: 0 24px 80px rgba(27, 37, 52, 0.12);
    --shadow-md: 0 16px 40px rgba(27, 37, 52, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 122, 69, 0.16), transparent 26%),
        radial-gradient(circle at 100% 10%, rgba(140, 207, 195, 0.18), transparent 24%),
        linear-gradient(180deg, #fffcf8 0%, var(--bg) 52%, #f2ece4 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), transparent 78%);
    pointer-events: none;
    opacity: 0.3;
}

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

img {
    max-width: 100%;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-flow {
    padding: 24px 0 72px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    background: rgba(255, 252, 248, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    width: 52px;
    height: 52px;
    display: block;
    flex: 0 0 auto;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), transparent 36%),
        linear-gradient(145deg, #142238, #1d3250 58%, #ec7748 130%);
    box-shadow: 0 10px 24px rgba(211, 95, 49, 0.24);
    overflow: hidden;
}

.brand-orbit,
.brand-core,
.brand-spark {
    position: absolute;
    display: block;
}

.brand-orbit {
    inset: 10px;
    border: 1.5px solid rgba(255, 244, 236, 0.72);
    border-radius: 50%;
    transform: rotate(-26deg);
}

.brand-core {
    width: 12px;
    height: 12px;
    left: 19px;
    top: 19px;
    border-radius: 50%;
    background: #fff7f0;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.brand-spark {
    width: 8px;
    height: 8px;
    right: 12px;
    top: 13px;
    border-radius: 50%;
    background: #ffb08b;
    box-shadow:
        -15px 20px 0 -2px rgba(140, 207, 195, 0.88),
        -22px 22px 0 1px rgba(255, 255, 255, 0.22);
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong,
.footer-shell strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.brand-copy span,
.footer-shell span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav a:hover,
.nav a.active {
    background: rgba(24, 34, 52, 0.08);
    color: var(--text);
    transform: translateY(-1px);
}

.hero,
.section-grid,
.split-layout,
.cta-banner,
.stat-band {
    animation: rise-in 0.7s ease both;
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
    gap: 24px;
    padding: 32px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(17, 30, 48, 0.98), rgba(24, 44, 70, 0.93)),
        linear-gradient(120deg, rgba(255, 122, 69, 0.1), transparent 42%);
    box-shadow: var(--shadow-lg);
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -100px;
    top: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 69, 0.3), transparent 68%);
    pointer-events: none;
}

.hero-copy,
.hero-aside {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-tag,
.mini-kicker,
.card-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.eyebrow {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 247, 241, 0.8);
    font-size: 0.86rem;
}

.mini-kicker,
.section-tag,
.card-tag {
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.section-tag.accent {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 141, 99, 0.9);
}

h1,
h2,
h3,
blockquote {
    margin: 0;
}

h1 {
    margin-top: 20px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(2.45rem, 5vw, 4.9rem);
    max-width: 11ch;
    line-height: 1.18;
    letter-spacing: -0.04em;
    text-wrap: balance;
    color: #fff8f2;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

h3 {
    font-size: 1.16rem;
    line-height: 1.4;
    text-wrap: balance;
}

.lead,
.hero-aside p,
.section-intro p,
.info-card p,
.feature-panel p,
.cta-banner p,
.timeline-list p,
.simple-steps li,
.feature-list li {
    line-height: 1.8;
}

.lead {
    margin: 20px 0 0;
    max-width: 39rem;
    color: rgba(255, 247, 241, 0.78);
    font-size: 1.04rem;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--accent);
    color: #fff8f2;
    box-shadow: 0 14px 28px rgba(255, 122, 69, 0.28);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff8f2;
}

.floating-panel,
.glass-note,
.contact-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    color: #fff;
}

.floating-panel {
    align-self: end;
}

.hero-aside h2 {
    margin-top: 16px;
    color: #fff8f2;
    font-size: 1.7rem;
    max-width: 14ch;
}

.hero-aside p {
    margin: 14px 0 0;
    color: rgba(255, 247, 241, 0.78);
}

.stack-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.stack-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.stack-list strong {
    font-size: 1.25rem;
    color: rgba(255, 141, 99, 0.92);
}

.stack-list span {
    color: rgba(255, 247, 241, 0.82);
}

.stat-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.stat-band article,
.info-card,
.feature-panel,
.cta-banner,
.section-grid {
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
}

.stat-band article {
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
}

.stat-band strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.32;
    text-wrap: balance;
}

.stat-band span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.7;
    text-wrap: pretty;
}

.section-grid,
.cta-banner {
    margin-top: 26px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.section-intro {
    max-width: 52rem;
}

.section-intro h2 {
    margin-top: 16px;
}

.section-intro p {
    margin: 14px 0 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.three-up {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
}

.two-up {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
}

.info-card h3 {
    margin-top: 16px;
    line-height: 1.46;
    text-wrap: balance;
}

.info-card p {
    margin: 12px 0 0;
    color: var(--muted);
    text-wrap: pretty;
}

.inline-link {
    color: var(--accent-deep);
    font-weight: 700;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 26px;
}

.feature-panel {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.feature-panel h2 {
    margin-top: 16px;
    line-height: 1.24;
    text-wrap: balance;
}

.feature-panel p {
    margin: 14px 0 0;
    color: var(--muted);
    text-wrap: pretty;
}

.feature-panel.dark {
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0.92), rgba(255, 255, 255, 0.82));
    border-color: rgba(255, 255, 255, 0.72);
}

.feature-panel.dark h2,
.feature-panel.dark p,
.feature-panel.dark li,
.feature-panel.dark h3 {
    color: var(--text);
}

.feature-panel.dark p,
.feature-panel.dark li {
    color: var(--muted);
}

.feature-panel.warm,
.feature-panel.quote {
    background:
        linear-gradient(180deg, rgba(255, 248, 242, 0.95), rgba(255, 255, 255, 0.82));
}

.feature-list,
.simple-steps,
.timeline-list {
    margin: 18px 0 0;
    padding: 0;
}

.feature-list {
    list-style: none;
}

.simple-steps {
    list-style: none;
    counter-reset: step;
}

.feature-list li,
.simple-steps li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    text-wrap: pretty;
}

.simple-steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
}

.simple-steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 122, 69, 0.12);
    color: var(--accent-deep);
    font-weight: 700;
    line-height: 1;
}

.feature-panel.dark .simple-steps li {
    border-top-color: var(--line);
}

.feature-list li:first-child,
.simple-steps li:first-child {
    padding-top: 0;
    border-top: 0;
}

.simple-steps li:first-child::before {
    margin-top: 0;
}

.quote blockquote {
    margin-top: 18px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    line-height: 1.6;
    text-wrap: balance;
}

.timeline-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.timeline-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.timeline-list strong {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
    color: rgba(255, 141, 99, 0.96);
    font-size: 1.1rem;
}

.timeline-list h3 {
    color: var(--text);
    line-height: 1.42;
    text-wrap: balance;
}

.timeline-list p {
    margin: 8px 0 0;
    color: var(--muted);
    text-wrap: pretty;
}

.timeline-panel .section-tag.accent {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-banner h2 {
    margin-top: 16px;
    line-height: 1.24;
    text-wrap: balance;
}

.cta-banner p {
    margin: 12px 0 0;
    max-width: 42rem;
    color: var(--muted);
    text-wrap: pretty;
}

.contact-email {
    display: inline-block;
    margin-top: 14px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff8f2;
    word-break: break-word;
}

.site-footer {
    padding: 0 0 34px;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 8px;
}

.footer-shell a {
    color: var(--accent-deep);
    font-weight: 700;
}

.page-about .hero::after {
    background: radial-gradient(circle, rgba(140, 207, 195, 0.28), transparent 70%);
}

.page-contact .hero::after {
    background: radial-gradient(circle, rgba(255, 122, 69, 0.38), transparent 68%);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@media (max-width: 960px) {
    .hero,
    .split-layout,
    .three-up,
    .two-up,
    .stat-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar {
        border-radius: 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
    }

    .nav a {
        flex: 1 1 auto;
        text-align: center;
    }

    .hero,
    .section-grid,
    .feature-panel,
    .cta-banner {
        padding: 22px;
    }

    h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
        max-width: 100%;
    }

    .timeline-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
