:root {
    --white: #fff;
    --warm-white: #faf8f4;
    --beige: #efe8da;
    --beige-deep: #dfd1b8;
    --brown: #6b5733;
    --brown-dark: #3e3423;
    --gold: #9a8150;
    --warm-gray: #6f6a61;
    --text: #2f2a22;
    --border: rgba(107, 87, 51, .16);
    --shadow: 0 20px 60px rgba(62, 52, 35, .1);
    --radius: 24px;
    --header-height: 86px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--white);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px;
    color: var(--white); background: var(--brown-dark); border-radius: 8px;
    transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height);
    background: rgba(255, 255, 255, .9); border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px); transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 30px rgba(62, 52, 35, .08); }
.navigation { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 auto; display: inline-flex; width: 74px; height: 68px; border-radius: 10px; }
.brand img, .logo-frame img { width: 100%; height: 100%; object-fit: contain; }
.navigation-links { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.navigation-links a { position: relative; font-size: .95rem; font-weight: 650; text-decoration: none; }
.navigation-links > li > a:not(.button)::after {
    position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: "";
    background: var(--gold); transform: scaleX(0); transition: transform .2s ease;
}
.navigation-links > li > a:hover::after, .navigation-links > li > a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 10px; background: var(--warm-white); cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--brown-dark); transition: transform .2s ease, opacity .2s ease; }

.button {
    display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px;
    border: 1px solid var(--brown); border-radius: 12px; color: var(--white); background: var(--brown);
    box-shadow: 0 10px 24px rgba(107, 87, 51, .18); font-weight: 750; text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--brown-dark); box-shadow: 0 14px 28px rgba(62, 52, 35, .23); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 8px 18px; }
.button-outline { color: var(--brown-dark); background: transparent; box-shadow: none; }
.button-outline:hover { color: var(--white); }

.hero { position: relative; min-height: 760px; padding: calc(var(--header-height) + 82px) 0 84px; overflow: hidden; background: linear-gradient(135deg, var(--white) 0%, var(--warm-white) 65%, var(--beige) 100%); }
.hero::before { position: absolute; top: 14%; left: -7%; width: 340px; height: 340px; border: 1px solid var(--border); border-radius: 50%; content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--brown-dark); font-family: Georgia, "Times New Roman", serif; line-height: 1.14; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.65rem, 5vw, 5rem); letter-spacing: -.04em; }
h2 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.5vw, 3.6rem); letter-spacing: -.03em; }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
.hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 0 0 18px; color: var(--warm-gray); }
.hero-copy .hero-lead { color: var(--text); font-size: 1.18rem; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.logo-frame { position: relative; z-index: 2; width: min(100%, 430px); aspect-ratio: 1; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.visual-orbit { position: absolute; border: 1px solid rgba(154, 129, 80, .35); border-radius: 50%; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 570px; height: 570px; border-style: dashed; }
.visual-badge { position: absolute; z-index: 3; right: -8px; bottom: 55px; display: flex; flex-direction: column; padding: 14px 18px; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.visual-badge strong { color: var(--brown-dark); font-size: .9rem; }
.visual-badge span { color: var(--warm-gray); font-size: .75rem; }

.section { padding: 112px 0; }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading p:not(.eyebrow) { color: var(--warm-gray); font-size: 1.05rem; }
.section-heading-centered { margin-inline: auto; text-align: center; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card { padding: 34px; background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.pillar-card p, .differential-card p { margin-bottom: 0; color: var(--warm-gray); }
.icon-shell { display: grid; width: 52px; height: 52px; margin-bottom: 24px; place-items: center; color: var(--brown); background: var(--beige); border-radius: 14px; }
.icon-shell svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.product { background: var(--warm-white); }
.product-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 78px; }
.product-copy > p:not(.eyebrow) { color: var(--warm-gray); font-size: 1.05rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 28px 0 34px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 24px; font-size: .92rem; font-weight: 650; }
.feature-list li::before { position: absolute; top: .56em; left: 0; width: 9px; height: 9px; content: ""; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px rgba(154,129,80,.12); }
.dashboard-preview { overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.preview-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.preview-brand { color: var(--brown-dark); font-weight: 800; }
.preview-label { padding: 5px 9px; color: var(--brown); background: var(--beige); border-radius: 999px; font-size: .68rem; font-weight: 750; text-transform: uppercase; }
.preview-layout { display: grid; min-height: 390px; grid-template-columns: 82px 1fr; }
.preview-sidebar { display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; background: var(--brown-dark); }
.preview-sidebar span { height: 8px; background: rgba(255,255,255,.28); border-radius: 4px; }
.preview-content { padding: 28px; }
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.preview-cards span { height: 74px; background: var(--beige); border-radius: 12px; }
.preview-chart { display: flex; height: 180px; align-items: end; gap: 12px; margin: 26px 0; padding: 22px 22px 0; background: var(--warm-white); border-radius: 12px; }
.preview-chart i { flex: 1; background: linear-gradient(var(--gold), var(--brown)); border-radius: 6px 6px 0 0; }
.preview-chart i:nth-child(1) { height: 42%; }
.preview-chart i:nth-child(2) { height: 68%; }
.preview-chart i:nth-child(3) { height: 54%; }
.preview-chart i:nth-child(4) { height: 82%; }
.preview-chart i:nth-child(5) { height: 65%; }
.preview-chart i:nth-child(6) { height: 92%; }
.preview-lines { display: grid; gap: 10px; }
.preview-lines span { height: 10px; background: var(--beige); border-radius: 5px; }
.preview-lines span:nth-child(2) { width: 78%; }
.preview-lines span:nth-child(3) { width: 54%; }

.differential-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.differential-card { padding: 28px; border-top: 3px solid var(--gold); background: var(--white); box-shadow: 0 12px 38px rgba(62,52,35,.08); }
.differential-card > span { display: block; margin-bottom: 22px; color: var(--gold); font-family: Georgia, serif; font-size: 1.1rem; }
.differential-card h3 { font-size: 1.17rem; }

.site-footer { padding: 58px 0 22px; color: rgba(255,255,255,.74); background: var(--brown-dark); }
.footer-grid { display: flex; align-items: start; justify-content: space-between; gap: 32px; padding-bottom: 38px; }
.footer-grid strong { color: var(--white); font-family: Georgia, serif; font-size: 1.15rem; letter-spacing: .08em; }
.footer-grid p { margin: 7px 0 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-grid a { color: var(--white); text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; }

.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1199.98px) {
    .hero-grid { gap: 42px; }
    .orbit-two { width: 520px; height: 520px; }
    .differential-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .hero { min-height: auto; }
    .hero-grid, .product-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .hero-visual { min-height: 500px; }
    .product-copy { max-width: 720px; }
    .pillar-grid { gap: 16px; }
}
@media (max-width: 767.98px) {
    :root { --header-height: 74px; }
    .container { width: min(100% - 32px, 680px); }
    .brand { width: 60px; height: 58px; }
    .menu-toggle { display: block; }
    .navigation-links {
        position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; display: grid; gap: 4px;
        max-height: 0; padding: 0 18px; overflow: hidden; visibility: hidden; background: var(--white);
        border-radius: 0 0 16px 16px; box-shadow: 0 18px 34px rgba(62,52,35,.14);
        transition: max-height .25s ease, padding .25s ease, visibility .25s;
    }
    .navigation-links.is-open { max-height: 330px; padding: 16px 18px 22px; visibility: visible; }
    .navigation-links a { display: flex; min-height: 48px; align-items: center; padding: 8px 10px; }
    .navigation-links .button { justify-content: center; color: var(--white); }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding-top: calc(var(--header-height) + 58px); text-align: center; }
    .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { min-height: 430px; }
    .logo-frame { width: min(86vw, 370px); }
    .orbit-one { width: 400px; height: 400px; }
    .orbit-two { width: 450px; height: 450px; }
    .visual-badge { right: 0; bottom: 24px; }
    .section { padding: 82px 0; }
    .section-heading { margin-bottom: 38px; }
    .pillar-grid { grid-template-columns: 1fr; }
    .pillar-card { text-align: center; }
    .icon-shell { margin-inline: auto; }
}
@media (max-width: 575.98px) {
    .container { width: min(100% - 24px, 540px); }
    h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
    h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-visual { min-height: 370px; }
    .logo-frame { width: min(82vw, 320px); padding: 12px; }
    .orbit-one { width: 330px; height: 330px; }
    .orbit-two { width: 370px; height: 370px; }
    .visual-badge { display: none; }
    .feature-list { grid-template-columns: 1fr; }
    .preview-layout { min-height: 320px; grid-template-columns: 54px 1fr; }
    .preview-sidebar { padding: 24px 14px; }
    .preview-content { padding: 18px; }
    .preview-chart { gap: 7px; padding-inline: 12px; }
    .differential-grid { grid-template-columns: 1fr; }
    .footer-grid { align-items: flex-start; flex-direction: column; }
    .footer-grid nav { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
    .reveal-ready .reveal { opacity: 1; transform: none; }
}
