:root {
    --ink: #102033;
    --muted: #5f6f82;
    --line: #dfe7f1;
    --soft: #f4f7fb;
    --white: #ffffff;
    --blue: #123e6f;
    --blue-2: #0e5a91;
    --mint: #2ca58d;
    --amber: #f2b544;
    --danger: #c2413a;
    --shadow: 0 18px 45px rgba(16, 32, 51, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-logo,
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

.brand-mark {
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue);
}

.brand-text {
    font-size: 18px;
}

.main-nav {
    display: flex;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--blue);
}

.hero {
    background:
        linear-gradient(110deg, rgba(18, 62, 111, 0.96), rgba(14, 90, 145, 0.78)),
        linear-gradient(0deg, #183b59, #183b59);
    color: var(--white);
    padding: 76px 0 52px;
}

.hero-grid,
.detail-grid,
.content-grid,
.form-layout,
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 36px;
    align-items: center;
}

.hero h1 {
    margin: 6px 0 12px;
    font-size: 56px;
    line-height: 1;
}

.hero p,
.page-hero p,
.section-head p,
.lead {
    color: inherit;
    max-width: 720px;
    font-size: 18px;
}

.hero p {
    color: rgba(255, 255, 255, 0.84);
}

.eyebrow,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow {
    color: var(--mint);
    background: rgba(44, 165, 141, 0.12);
}

.hero .eyebrow {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.pill {
    color: var(--blue);
    background: #e9f2fa;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    font-weight: 800;
    cursor: pointer;
}

.hero .button {
    background: var(--amber);
    color: #16202c;
}

.button-secondary {
    background: var(--soft);
    color: var(--blue);
}

.hero .button-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.button-small {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
}

.hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-panel div {
    min-height: 120px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
}

.hero-panel strong,
.hero-panel span {
    display: block;
}

.hero-panel span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding: 58px 0;
}

.band {
    background: var(--soft);
}

.page-hero {
    padding: 58px 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.page-hero.compact {
    padding: 34px 0;
}

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

h1 {
    font-size: 42px;
    line-height: 1.12;
    margin-bottom: 14px;
}

h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
}

h3 {
    font-size: 20px;
    line-height: 1.25;
}

.section-head {
    margin-bottom: 24px;
}

.split-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.split-title span {
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card,
.form-card,
.text-block,
.pay-card,
.result-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-card {
    overflow: hidden;
}

.product-image-wrap {
    display: block;
    background: var(--soft);
    aspect-ratio: 16 / 10;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 18px;
}

.product-card-body p {
    color: var(--muted);
}

.product-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.product-detail {
    padding: 52px 0 26px;
}

.detail-media {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--soft);
}

.detail-copy .lead {
    color: var(--muted);
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    margin: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-line span {
    color: var(--muted);
}

.price-line strong {
    font-size: 24px;
}

.content-grid {
    align-items: start;
}

.text-block,
.form-card,
.pay-card,
.result-card {
    padding: 24px;
}

.text-block p {
    color: var(--muted);
}

.check-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
}

.form-layout {
    align-items: start;
}

.form-card {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: var(--ink);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    color: var(--ink);
    font: inherit;
    background: var(--white);
}

textarea {
    resize: vertical;
}

.summary-list {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
}

.summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted);
    font-weight: 700;
}

.summary-list dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.notice,
.flash {
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff7e3;
    color: #76520f;
    border: 1px solid #f3dda3;
}

.flash {
    width: min(1120px, calc(100% - 32px));
    margin: 18px auto 0;
}

.flash-success {
    background: #eaf8f4;
    color: #176b5b;
    border-color: #bfe8de;
}

.flash-error,
.form-error {
    background: #fff0ef;
    color: var(--danger);
    border-color: #f4c4c0;
}

.status {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 800;
    background: var(--soft);
}

.status-paid {
    color: #176b5b;
    background: #eaf8f4;
}

.status-pending {
    color: #76520f;
    background: #fff7e3;
}

.status-failed,
.status-cancelled {
    color: var(--danger);
    background: #fff0ef;
}

.result-card {
    text-align: center;
}

.result-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: var(--white);
    background: var(--mint);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
}

.result-error {
    background: var(--danger);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 840px;
    background: var(--white);
    border: 1px solid var(--line);
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    background: var(--soft);
    font-size: 13px;
}

.legal {
    max-width: 860px;
}

.contact-list {
    display: grid;
    gap: 8px;
}

.site-footer {
    padding: 36px 0;
    color: rgba(255, 255, 255, 0.82);
    background: #102033;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.site-footer strong {
    color: var(--white);
}

.site-footer a {
    display: block;
    margin-top: 8px;
}

.narrow {
    max-width: 820px;
}

@media (max-width: 860px) {
    .header-inner,
    .split-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero-grid,
    .detail-grid,
    .content-grid,
    .form-layout,
    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1,
    h1 {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .summary-list div,
    .product-card-foot,
    .price-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .summary-list dd {
        text-align: left;
    }

    .button {
        width: 100%;
    }
}

