/* Raw2Prod360 public website. Plain CSS, no build step. Brand: UBold palette, Nunito. */
:root {
    --brand: #6658dd;
    --brand-600: #5546c9;
    --brand-50: #f0eefc;
    --navy: #1e2761;
    --navy-900: #141a45;
    --amber: #f7b84b;
    --green: #1abc9c;
    --red: #f1556c;
    --ink: #1f2433;
    --muted: #5f6680;
    --line: #e6e8f0;
    --soft: #f6f7fb;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgb(30 39 97 / .25);
    --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, ui-sans-serif, system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6rem; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 10px; font-weight: 800; font-size: .95rem;
    text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.site-logo img { height: 36px; width: auto; }
.site-nav { display: flex; gap: 1.5rem; margin-left: 1rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-actions { margin-left: auto; display: flex; gap: .6rem; align-items: center; }
.site-actions .signin { color: var(--navy); font-weight: 700; text-decoration: none; padding: .5rem .6rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }
@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .site-nav, .site-actions { display: none; }
    .site-header.open .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; }
    .site-header.open .site-nav, .site-header.open .site-actions { display: flex; flex-direction: column; width: 100%; margin: .5rem 0 0; gap: .75rem; }
    .site-header.open .site-actions .btn { width: 100%; }
}

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #d9dcf1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .muted, .section-dark .lead { color: #aeb3d6; }
.section-head { margin-bottom: 48px; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* Hero */
.hero { padding: 72px 0 160px; background: radial-gradient(60rem 30rem at 85% -10%, var(--brand-50), transparent 60%), radial-gradient(40rem 24rem at -10% 20%, #fff6e6, transparent 60%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.hero-note { font-size: .875rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: .35rem; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Product mock (pure HTML/CSS, no screenshots) */
.mock { position: relative; }
.mock-window { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dae6; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-kpi { background: var(--soft); border-radius: 10px; padding: 10px; }
.mock-kpi b { display: block; font-size: 1.25rem; color: var(--navy); }
.mock-kpi small { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mock-lines { display: grid; gap: 8px; }
.mock-line { display: grid; grid-template-columns: 70px 1fr 42px; gap: 10px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--muted); }
.mock-track { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; display: flex; }
.mock-track i { display: block; height: 100%; }
.run { background: var(--green); } .idle { background: var(--amber); } .down { background: var(--red); }
.mock-phone { position: absolute; right: -28px; bottom: -150px; width: 150px; background: var(--navy); border-radius: 22px; padding: 8px; box-shadow: var(--shadow); }
.mock-phone-screen { background: var(--white); border-radius: 16px; padding: 10px; font-size: .62rem; }
.mock-phone-screen b { color: var(--navy); display: block; font-size: .72rem; margin-bottom: 6px; }
.mock-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.mock-row em { font-style: normal; color: var(--green); }
.mock-scan { margin-top: 8px; background: var(--brand); color: #fff; text-align: center; border-radius: 8px; padding: 6px; font-weight: 800; }
@media (max-width: 960px) { .mock-phone { right: 8px; bottom: -140px; } }
@media (max-width: 520px) { .mock-kpis { grid-template-columns: repeat(2, 1fr); } .mock-phone { display: none; } .hero { padding-bottom: 56px; } }

/* Logos strip / stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat b { display: block; font-size: 1.9rem; color: var(--navy); font-weight: 900; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.card-icon svg { width: 22px; height: 22px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; padding: .15rem .5rem; border-radius: 99px; background: #fff3dc; color: #a26a06; margin-left: .4rem; vertical-align: middle; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 1rem; height: .55rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.reverse > :first-child { order: 0; } }
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.panel-row:last-child { border-bottom: 0; }
.panel-row b { color: var(--navy); }
.pill { font-size: .72rem; font-weight: 800; padding: .15rem .55rem; border-radius: 99px; }
.pill-green { background: #ddf6f0; color: #0e8a72; } .pill-amber { background: #fff3dc; color: #a26a06; } .pill-purple { background: var(--brand-50); color: var(--brand); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; display: grid; place-items: center; }

/* Pricing */
.cycle-toggle { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin: 0 auto 36px; }
.cycle-toggle a { padding: .5rem 1.1rem; border-radius: 99px; font-weight: 800; font-size: .9rem; color: var(--muted); text-decoration: none; }
.cycle-toggle a.on { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgb(30 39 97 / .12); }
.cycle-toggle small { color: var(--green); margin-left: .25rem; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -12px; left: 28px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; padding: .2rem .7rem; border-radius: 99px; }
.plan h3 { font-size: 1.3rem; }
.plan-price { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin: .4rem 0 0; }
.plan-price span { font-size: .95rem; font-weight: 700; color: var(--muted); }
.plan-sub { font-size: .85rem; color: var(--muted); min-height: 1.4em; margin-bottom: 1.2rem; }
.plan .ticks { margin-bottom: 1.6rem; font-size: .92rem; }
.plan .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { color: var(--navy); font-weight: 800; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }

/* CTA band */
.cta-band { border-radius: 22px; padding: 48px; background: linear-gradient(120deg, var(--brand) 0%, #4a3fc0 100%); color: #ece9ff; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .75rem .85rem; border: 1px solid #d4d7e3; border-radius: 10px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-50); border-color: var(--brand); }
.field .error { color: #c0392b; font-size: .82rem; margin-top: .3rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; font-weight: 700; }
.alert-success { background: #ddf6f0; color: #0b6f5c; }
.alert-error { background: #fde7ea; color: #a8253a; }

/* Legal / prose */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose li { margin: .3rem 0; }
.placeholder { background: #fff3dc; color: #8a5a00; padding: 0 .25rem; border-radius: 4px; font-weight: 700; }
.notice { background: #fff8e8; border: 1px solid #f6dfa6; padding: .9rem 1.1rem; border-radius: 12px; font-size: .9rem; color: #7a5300; margin-bottom: 2rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #aeb3d6; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #d9dcf1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .9rem; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-logo img { height: 34px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.socials { display: flex; gap: .75rem; margin-top: 1rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Grid and flex children may shrink below their content (prevents sideways scrolling on phones). */
.hero .wrap > *, .split > *, .grid > *, .plans > *, .footer-grid > * { min-width: 0; }
body { overflow-x: hidden; }
