@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}

:root {
    color-scheme: light;
    --ink: #111315;
    --muted: #626a73;
    --paper: #f5f7f8;
    --surface: #ffffff;
    --line: #d9dee3;
    --teal: #0f766e;
    --teal-dark: #115e59;
    --rose: #be123c;
    --amber: #b7791f;
    --green: #15803d;
    --teal-soft: #e9f7f4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
}

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

.site-header {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 clamp(20px, 5vw, 64px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 18px;
    font-weight: 700;
    gap: 10px;
}

.brand-mark {
    align-items: center;
    background: var(--ink);
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 6px;
    justify-content: flex-end;
}

.nav a {
    border-radius: 6px;
    color: var(--muted);
    padding: 9px 11px;
}

.nav a:hover {
    background: #edf2f4;
    color: var(--ink);
}

.nav .nav-cta {
    background: var(--ink);
    color: #fff;
}

.hero {
    min-height: 78vh;
    overflow: hidden;
    position: relative;
}

.hero::before {
    background-image:
        linear-gradient(#dde4e8 1px, transparent 1px),
        linear-gradient(90deg, #dde4e8 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    inset: 0;
    opacity: 0.58;
    position: absolute;
}

.hero-scene {
    inset: 0;
    position: absolute;
}

.audit-window {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cbd5dc;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(17, 19, 21, 0.12);
    max-width: 760px;
    min-height: 380px;
    padding: 0;
    position: absolute;
    right: clamp(-220px, -8vw, -40px);
    top: clamp(92px, 16vh, 170px);
    transform: rotate(-2deg);
    width: min(70vw, 760px);
}

.window-top {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 7px;
    height: 44px;
    padding: 0 16px;
}

.window-top span {
    background: #b9c2ca;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.metric-row {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
    padding: 22px;
}

.metric-row div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
}

.metric-row strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.metric-row span,
.scan-row span {
    color: var(--muted);
}

.scan-table {
    display: grid;
    gap: 10px;
    padding: 0 22px 22px;
}

.scan-row {
    align-items: center;
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 14px;
    grid-template-columns: 110px 1fr 70px;
    min-height: 58px;
    padding: 0 16px;
}

.scan-row b {
    text-align: right;
}

.scan-row.danger {
    border-color: #fecdd3;
}

.scan-row.danger b {
    color: var(--rose);
}

.scan-row.warn {
    border-color: #fde68a;
}

.scan-row.warn b {
    color: var(--amber);
}

.hero-inner {
    max-width: 820px;
    padding: clamp(84px, 13vh, 148px) clamp(20px, 5vw, 64px) 80px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 16px;
    text-transform: uppercase;
}

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

h1 {
    font-size: clamp(40px, 6.5vw, 76px);
    line-height: 1;
    max-width: 760px;
}

h2 {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.03;
}

h3 {
    font-size: 21px;
    line-height: 1.2;
}

.hero-copy {
    color: var(--muted);
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.45;
    margin-top: 24px;
    max-width: 660px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 700;
    min-height: 48px;
    padding: 0 18px;
}

.button.primary {
    background: var(--teal);
    color: #fff;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.button.secondary {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
}

.subhero {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: clamp(26px, 4vw, 44px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 56px);
}

.subhero h1 {
    font-size: clamp(38px, 5.6vw, 66px);
    line-height: 1.02;
    max-width: 820px;
}

.subhero > p:not(.eyebrow):not(.availability-note):not(.languages-note) {
    color: var(--muted);
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.55;
    margin-top: 18px;
    max-width: 740px;
}

.subhero .availability-note {
    align-items: flex-start;
    background: transparent;
    border: 0;
    border-left: 3px solid var(--teal);
    border-radius: 0;
    color: var(--muted);
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin-top: 16px;
    max-width: 560px;
    padding: 2px 0 2px 12px;
}

.subhero .hero-actions {
    margin-top: 24px;
}

.languages-note {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    margin-top: 26px;
    max-width: 880px;
}

.languages-note strong {
    color: var(--ink);
}

.section {
    border-top: 1px solid var(--line);
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.intro {
    align-items: end;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.intro > p,
.section-heading > p,
.two-column p,
.price-card p,
.feature-card p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.product-band {
    background: var(--surface);
}

.section-heading {
    max-width: 780px;
}

.section-heading p {
    margin-top: 16px;
}

.feature-grid,
.price-grid {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 210px;
    padding: 22px;
}

.feature-kicker {
    color: var(--teal-dark);
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-card p,
.price-card p {
    margin-top: 14px;
}

.blog-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 24px;
}

.blog-grid.compact .blog-card {
    min-height: 240px;
}

.blog-card h3 {
    font-size: 24px;
}

.blog-card h3 a:hover {
    color: var(--teal-dark);
}

.blog-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 14px;
}

.blog-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.blog-card-links a {
    background: var(--teal-soft);
    border: 1px solid #b9ebe0;
    border-radius: 999px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    padding: 7px 10px;
}

.blog-hero .blog-card-links {
    margin-top: 26px;
}

.blog-layout {
    align-items: start;
    display: grid;
    gap: clamp(28px, 5vw, 64px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
}

.blog-content {
    max-width: 780px;
}

.blog-content .lead {
    color: var(--ink);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.55;
}

.blog-content section {
    margin-top: 46px;
}

.blog-content h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.08;
}

.blog-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
    margin-top: 18px;
}

.blog-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 92px;
}

.aside-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.aside-panel ul {
    color: var(--muted);
    display: grid;
    gap: 12px;
    line-height: 1.5;
    margin: 18px 0 0;
    padding-left: 20px;
}

.related-plugin-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.related-plugin-list a {
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    padding: 14px;
}

.related-plugin-list a:hover {
    border-color: #b9ebe0;
}

.related-plugin-list strong,
.related-plugin-list span {
    display: block;
}

.related-plugin-list span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    margin-top: 6px;
}

.two-column {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
}

.two-column p {
    margin-top: 18px;
}

.checklist {
    background: #0f1817;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 1px;
    overflow: hidden;
}

.checklist div {
    background: #172321;
    min-height: 58px;
    padding: 18px;
}

.pricing {
    background: #fff;
}

.price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card.highlighted {
    border-color: var(--teal);
    box-shadow: inset 0 4px 0 var(--teal);
}

.price {
    color: var(--ink);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.price span {
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
}

.docs {
    align-items: center;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
}

.doc-links {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-links a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 700;
    min-height: 56px;
    padding: 17px;
}

.footer {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 28px clamp(20px, 5vw, 64px);
}

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .audit-window {
        margin: 34px 20px 0;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: auto;
    }

    .hero-inner {
        padding-top: 54px;
    }

    .intro,
    .two-column,
    .docs {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .price-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-aside {
        position: static;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 64px;
    }

    .metric-row,
    .feature-grid,
    .price-grid,
    .blog-grid,
    .doc-links {
        grid-template-columns: 1fr;
    }

    .scan-row {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .scan-row b {
        text-align: left;
    }
}
