*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

@font-face {
    font-family: "Ranade";
    src: url("/static/fonts/Ranade/Ranade-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Ranade";
    src: url("/static/fonts/Ranade/Ranade-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Ranade";
    src: url("/static/fonts/Ranade/Ranade-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #15191d;
    --ink-soft: #515961;
    --muted: #777f86;
    --paper: #f7f8f8;
    --canvas: #edf0f2;
    --line: #d6dade;
    --line-dark: #afb5bb;
    --accent: #2458d6;
    --night: #1a2026;
    --white: #ffffff;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; background: var(--canvas); }
body {
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Ranade", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 68px;
    padding: 0 max(28px, calc((100vw - 1320px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(247, 248, 248, .9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 700; }
.lp-brand-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    font-size: 10px;
    letter-spacing: .04em;
}
.lp-nav { display: flex; align-items: center; gap: 28px; color: var(--ink-soft); font-size: 13px; }
.lp-nav > a { transition: color 160ms ease; }
.lp-nav > a:hover { color: var(--ink); }
.lp-nav-cta { padding: 10px 15px; color: var(--white) !important; background: var(--ink); }
.lp-nav-cta span, .lp-btn-primary span { display: inline-block; margin-left: 7px; transition: transform 180ms var(--ease); }
.lp-nav-cta:hover span, .lp-btn-primary:hover span { transform: translateX(3px); }

.lp-hero { padding: 78px 28px 96px; overflow: hidden; }
.lp-hero-inner {
    max-width: 1264px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(420px, .9fr) minmax(540px, 1.1fr);
    gap: clamp(56px, 7vw, 112px);
    align-items: center;
}
.lp-kicker {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}
.lp-hero h1 {
    max-width: 670px;
    margin-bottom: 25px;
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .99;
}
.lp-accent { color: var(--accent); }
.lp-lede { max-width: 570px; margin-bottom: 30px; color: var(--ink-soft); font-size: 16px; line-height: 1.68; }
.lp-cta-row { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.lp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    color: var(--white);
    background: var(--accent);
    border: 1px solid var(--accent);
    font-size: 13px;
    font-weight: 700;
    transition: background 160ms ease, transform 160ms var(--ease);
}
.lp-btn-primary:hover { background: #1949bd; }
.lp-btn-primary:active, .lp-btn-ghost:active { transform: scale(.98); }
.lp-btn-ghost { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.lp-play-dot { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.lp-play-dot i { margin-left: 2px; font-size: 9px; }
.lp-stat { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.lp-stat i { width: 7px; height: 7px; background: #1c9c68; border-radius: 50%; box-shadow: 0 0 0 4px rgba(28, 156, 104, .11); }
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.55); color: var(--ink-soft); font-size: 11px; }
.lp-badge i { color: var(--ink); font-size: 13px; }

.lp-hero-visual {
    position: relative;
    min-height: 518px;
    padding: 54px 30px 30px;
    background: var(--night);
    border: 1px solid #0d1013;
    box-shadow: 22px 28px 0 #dfe3e6;
}
.lp-visual-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aeb6bd;
    border-bottom: 1px solid #333b42;
    font-size: 11px;
}
.lp-visual-toolbar b { color: #f2f4f5; font-weight: 500; }
.lp-card { position: absolute; color: #f3f5f6; }
.lp-card-label { display: block; margin-bottom: 8px; color: #aab1b7; font-size: 10px; letter-spacing: .04em; }
.lp-card-thumb { position: relative; height: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #2c333a; }
.lp-card-thumb::after { content: ""; position: absolute; inset: auto 13% 12% 13%; height: 1px; background: rgba(255,255,255,.35); }
.lp-card-thumb i { position: absolute; top: 12%; right: 14%; width: 23px; height: 23px; background: var(--accent); border-radius: 50%; }
.lp-card-thumb b { position: absolute; left: 12%; bottom: 20%; font-size: clamp(15px, 1.7vw, 23px); line-height: .95; letter-spacing: -.05em; }
.lp-card-thumb small { position: absolute; right: 11%; bottom: 5%; color: rgba(255,255,255,.55); font-size: 8px; }
.lp-thumb-a { background: var(--accent); }
.lp-thumb-a i { background: #f2f4f5; }
.lp-thumb-a b { color: #fff; }
.lp-thumb-b { background: #ddd8cb; color: var(--ink); }
.lp-thumb-b i { background: var(--ink); }
.lp-thumb-b b { color: var(--ink); }
.lp-thumb-b::after { background: rgba(21,25,29,.3); }
.lp-thumb-c { background: #9ba7af; }
.lp-thumb-c i { border-radius: 0; background: #f2f4f5; transform: rotate(45deg); }
.lp-thumb-d { background: #273b32; }
.lp-card-1 { left: 30px; top: 82px; width: 28%; height: 385px; }
.lp-card-2 { left: 34%; top: 112px; width: 24%; height: 350px; }
.lp-card-3 { right: 30px; top: 82px; width: 34%; height: 255px; }
.lp-card-4 { right: 30px; bottom: 30px; width: 34%; height: 98px; }
.lp-card-4 .lp-card-thumb b { bottom: 31%; }

.lp-section { padding: 108px 28px; background: var(--paper); border-top: 1px solid var(--line); }
.lp-section-inner { max-width: 1264px; margin: 0 auto; }
.lp-section-head { max-width: 665px; margin-bottom: 50px; }
.lp-section-head h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.lp-feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.lp-feature-card {
    min-height: 248px;
    padding: 28px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 22px;
    align-items: start;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    background: var(--white);
    transition: background 180ms ease;
}
.lp-feature-card:hover { background: #f3f5f6; }
.lp-feature-card:nth-child(1), .lp-feature-card:nth-child(4) { grid-column: span 7; }
.lp-feature-card:nth-child(2), .lp-feature-card:nth-child(3) { grid-column: span 5; }
.lp-feature-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); font-size: 16px; }
.lp-feature-card h3 { margin: 4px 0 11px; font-size: 18px; font-weight: 700; }
.lp-feature-card p { max-width: 440px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.lp-feature-card > span { color: var(--muted); font: 500 11px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }

.lp-section-alt { color: #f3f5f6; background: var(--night); border-color: var(--night); }
.lp-workflow-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(500px, 1.2fr); gap: 100px; }
.lp-section-alt .lp-section-head { margin-bottom: 0; }
.lp-section-alt .lp-section-head h2 { margin-bottom: 18px; }
.lp-section-alt .lp-section-head p { max-width: 400px; color: #aeb6bd; font-size: 14px; line-height: 1.65; }
.lp-steps { border-top: 1px solid #46515a; }
.lp-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid #46515a; }
.lp-step-num { color: #79a0ff; font: 500 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.lp-step h3 { margin-bottom: 7px; font-size: 16px; }
.lp-step p { max-width: 470px; color: #aeb6bd; font-size: 13px; line-height: 1.62; }
.lp-inline-cta { padding-top: 30px; }

.lp-footer { min-height: 84px; padding: 0 max(28px, calc((100vw - 1264px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--canvas); color: var(--muted); font-size: 11px; }
.lp-footer > span { color: var(--ink); font-weight: 700; }
.lp-footer a { color: var(--ink); font-weight: 700; }

@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fade-up { opacity: 0; animation: fade-up 650ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
    .lp-hero-inner { grid-template-columns: 1fr; }
    .lp-hero-copy { max-width: 720px; }
    .lp-hero-visual { max-width: 720px; width: 100%; }
    .lp-workflow-layout { gap: 50px; }
    .lp-feature-card { grid-template-columns: 44px 1fr; }
    .lp-feature-card > span { grid-column: 2; }
}

@media (max-width: 760px) {
    .lp-header { height: 60px; padding: 0 18px; }
    .lp-nav > a:not(.lp-nav-cta) { display: none; }
    .lp-brand > span:last-child { display: none; }
    .lp-hero { padding: 54px 18px 72px; }
    .lp-hero-inner { gap: 52px; }
    .lp-hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
    .lp-hero-visual { min-height: 440px; box-shadow: 10px 12px 0 #dfe3e6; }
    .lp-card-1 { left: 18px; top: 76px; width: 36%; height: 325px; }
    .lp-card-2 { left: 40%; top: 100px; width: 28%; height: 294px; }
    .lp-card-3 { right: 18px; top: 76px; width: 27%; height: 210px; }
    .lp-card-4 { right: 18px; bottom: 38px; width: 27%; }
    .lp-card-thumb b { font-size: 14px; }
    .lp-section { padding: 76px 18px; }
    .lp-feature-grid { display: block; border-bottom: 0; }
    .lp-feature-card { min-height: 220px; border-left: 0; }
    .lp-workflow-layout { grid-template-columns: 1fr; gap: 46px; }
    .lp-footer { padding: 26px 18px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .lp-cta-row { align-items: flex-start; flex-direction: column; }
    .lp-hero-visual { min-height: 382px; padding-left: 16px; padding-right: 16px; }
    .lp-card-label { font-size: 8px; }
    .lp-card-1 { left: 16px; width: 38%; height: 265px; }
    .lp-card-2 { left: 42%; width: 30%; height: 245px; }
    .lp-card-3 { right: 16px; width: 24%; height: 176px; }
    .lp-card-4 { right: 16px; bottom: 34px; width: 24%; height: 70px; }
    .lp-feature-card { grid-template-columns: 40px 1fr; padding: 22px 18px; gap: 14px; }
    .lp-feature-card > span { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
    .fade-up, .reveal { opacity: 1; transform: none; }
}
