/* Koiff Client - Dedicated page */
:root {
    --black: #111111;
    --white: #ffffff;
    --sand: #f7f3ec;
    --mist: #efefef;
    --ink-soft: #4a4a4a;
    --line: #d8d8d8;

    --font-title: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: linear-gradient(180deg, var(--sand) 0%, var(--white) 38%);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1080px, 92vw);
    margin: 0 auto;
}

.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    gap: 12px;
}

.brand {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.back-link {
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--black);
    padding: 8px 14px;
    border-radius: 8px;
}

.hero {
    padding: 54px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

h1 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.lead {
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 600;
}

.btn-black {
    background: var(--black);
    color: var(--white);
}

.btn-light {
    border: 1px solid var(--line);
    background: var(--white);
}

.hero-visual {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.section {
    padding: 52px 0;
}

.section h2 {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    margin-bottom: 18px;
}

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

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--ink-soft);
}

.steps {
    list-style: decimal;
    padding-left: 22px;
    display: grid;
    gap: 12px;
}

.steps li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 12px 12px 14px;
}

.highlight {
    background: #fff7d6;
    border: 1px solid #ead89d;
    border-radius: 12px;
    padding: 16px;
    color: #4d4122;
}

.table-wrap {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: auto;
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.faq {
    display: grid;
    gap: 10px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    padding: 12px 14px;
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
}

.faq p {
    margin-top: 8px;
    color: var(--ink-soft);
}

.footer-note {
    padding: 30px 0 46px;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .hero-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        min-height: 64px;
    }
}
