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

:root {
    --ink-900: #10233f;
    --ink-800: #1a3c63;
    --ink-700: #2a5586;
    --sand-100: #fff5e9;
    --sand-200: #ffe9cf;
    --mint-100: #dcf7ef;
    --mint-200: #c3efe2;
    --teal-600: #0f8975;
    --teal-700: #0b6e5f;
    --surface: #ffffff;
    --surface-soft: #f5f9ff;
    --border: #d9e7fb;
    --text: #163154;
    --text-soft: #436184;
    --shadow-strong: 0 22px 44px rgba(16, 35, 63, 0.14);
    --shadow-soft: 0 12px 28px rgba(22, 49, 84, 0.1);
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 6% 8%, var(--sand-200) 0%, transparent 35%),
        radial-gradient(circle at 95% 5%, var(--mint-200) 0%, transparent 35%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    position: relative;
    overflow-x: hidden;
}

h1, h2 {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    margin: 0;
    color: var(--ink-900);
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.bg-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
}

.bg-shape-one {
    width: 340px;
    height: 340px;
    right: -110px;
    bottom: 8%;
    background: radial-gradient(circle, rgba(15, 137, 117, 0.2), transparent 66%);
    animation: drift 12s ease-in-out infinite;
}

.bg-shape-two {
    width: 280px;
    height: 280px;
    left: -100px;
    top: 22%;
    background: radial-gradient(circle, rgba(251, 171, 81, 0.24), transparent 64%);
    animation: drift 10s ease-in-out infinite reverse;
}

.site-header {
    width: min(1100px, 100% - 2rem);
    margin: 1rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--ink-900);
    font-weight: 700;
    font-size: 1.02rem;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #fff;
    padding: 3px;
}

.portal-link {
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
    border-radius: 999px;
    padding: 0.62rem 1rem;
    border: 1px solid #29517f;
}

.portal-link:hover {
    background: linear-gradient(180deg, #356597, #25496f);
}

.page {
    width: min(1100px, 100% - 2rem);
    margin: 1.25rem auto 1rem;
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 1rem;
}

.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero {
    padding: 1.75rem;
}

.status-pill {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #91560f;
    background: var(--sand-100);
    border: 1px solid #ffd8ab;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.8rem;
}

h1 {
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    max-width: 23ch;
}

.lead {
    margin-top: 0.95rem;
    color: var(--text-soft);
    line-height: 1.65;
    max-width: 62ch;
}

.actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.btn {
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.72rem 1.08rem;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #1fae96, var(--teal-600));
    box-shadow: 0 10px 16px rgba(15, 137, 117, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #27c2a7, var(--teal-700));
}

.btn-secondary {
    color: var(--ink-900);
    background: var(--surface-soft);
    border-color: #c9dcf7;
}

.btn-secondary:hover {
    background: #eaf3ff;
}

.btn-tertiary {
    color: #8d5614;
    background: #fff7ef;
    border-color: #ffdcb7;
}

.btn-tertiary:hover {
    background: #ffefdf;
}

.highlights {
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.highlights li {
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    border: 1px solid #d7e7ff;
    background: linear-gradient(180deg, #f9fcff, #f2f8ff);
    color: #365778;
    font-size: 0.94rem;
}

.owner-guide {
    padding: 1.35rem;
    align-self: start;
    background:
        radial-gradient(circle at 100% 0%, rgba(220, 247, 239, 0.6) 0%, transparent 50%),
        #fff;
}

.owner-guide h2 {
    font-size: 1.2rem;
}

.owner-guide ol {
    margin: 0.85rem 0 1rem;
    padding-left: 1.1rem;
    color: var(--text-soft);
    line-height: 1.6;
    display: grid;
    gap: 0.38rem;
}

.guide-link {
    display: block;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink-800);
    padding: 0.52rem 0;
}

.guide-link:hover {
    text-decoration: underline;
}

.visitors {
    grid-column: 1 / -1;
    padding: 1.15rem 1.35rem;
    display: grid;
    gap: 0.55rem;
}

.visitors p {
    color: var(--text-soft);
    line-height: 1.6;
}

.site-footer {
    width: min(1100px, 100% - 2rem);
    margin: 0 auto 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: #3a5878;
    font-size: 0.88rem;
}

.site-footer nav {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer nav a {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 600;
}

.site-footer nav a:hover {
    text-decoration: underline;
}

@keyframes drift {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.04);
    }
}

@media (max-width: 960px) {
    .page {
        grid-template-columns: 1fr;
    }

    .owner-guide {
        order: 2;
    }

    .visitors {
        order: 3;
    }
}

@media (max-width: 640px) {
    .site-header {
        margin-top: 0.75rem;
        padding: 0.78rem 0.82rem;
    }

    .brand-link {
        font-size: 0.95rem;
    }

    .portal-link {
        padding: 0.52rem 0.84rem;
        font-size: 0.84rem;
    }

    .hero {
        padding: 1.28rem;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .owner-guide, .visitors {
        padding: 1rem;
    }

    .site-footer {
        padding: 0.86rem 0.9rem;
        font-size: 0.82rem;
    }
}
