:root {
    --ink: #111;
    --muted: #6f6259;
    --line: #ded1c2;
    --paper: #fdf8f1;
    --panel: #fffaf4;
    --warm: #eaded2;
    --accent: #31231e;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    background:
        linear-gradient(180deg, rgb(253 248 241 / 96%), rgb(244 235 226 / 95%)),
        radial-gradient(circle at 75% 8%, rgb(234 222 210 / 80%), transparent 34%);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100%;
}

a {
    color: var(--ink);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 5.25rem);
    line-height: 0.98;
    margin-bottom: 24px;
    max-width: 760px;
}

h2 {
    font-size: clamp(1.45rem, 2.5vw, 2.4rem);
    line-height: 1.12;
}

h3 {
    font-size: 1.22rem;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-section {
    align-items: center;
    display: grid;
    gap: clamp(28px, 5vw, 80px);
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    min-height: calc(100vh - 132px);
    padding: clamp(24px, 5vw, 70px) 0;
}

.hero-text,
.page-header p,
.feature-card p,
.info-panel p,
.summary-panel p,
.empty-state p,
.price-card p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-text {
    font-size: 1.08rem;
    max-width: 610px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    align-items: center;
    border: 1px solid var(--ink);
    border-radius: 4px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    text-decoration: none;
}

.button-primary {
    background: var(--ink);
    color: var(--panel);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
}

.hero-panel,
.feature-card,
.info-panel,
.summary-panel,
.price-card,
.auth-panel,
.empty-state {
    background: rgb(255 250 244 / 72%);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-panel {
    padding: clamp(28px, 4vw, 44px);
}

.hero-flower {
    color: var(--ink);
    display: block;
    height: clamp(58px, 7vw, 88px);
    margin: 0 auto 18px;
    width: clamp(58px, 7vw, 88px);
}

.studio-badge {
    border-bottom: 1px solid var(--ink);
    border-top: 1px solid var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 3vw, 3rem);
    letter-spacing: 0.16em;
    padding: 20px 0;
    text-align: center;
    text-transform: uppercase;
}

dl {
    display: grid;
    gap: 22px;
    margin: 32px 0 0;
}

dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

dd {
    font-size: 1.08rem;
    margin: 4px 0 0;
}

.content-band {
    border-top: 1px solid var(--line);
    padding: 54px 0 0;
}

.section-heading {
    align-items: end;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    margin-bottom: 28px;
}

.feature-grid,
.pricing-grid,
.setup-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.info-panel,
.summary-panel,
.price-card,
.empty-state {
    padding: 26px;
}

.page-header {
    border-bottom: 1px solid var(--line);
    margin-bottom: 34px;
    padding: 42px 0 36px;
}

.page-header.compact h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.two-column,
.checkout-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price {
    color: var(--ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem !important;
    line-height: 1.1 !important;
    margin-bottom: 12px;
}

.cart-shell {
    max-width: 760px;
}

.auth-page {
    display: grid;
    min-height: calc(100vh - 200px);
    place-items: center;
}

.auth-panel {
    display: grid;
    gap: 16px;
    max-width: 460px;
    padding: 34px;
    width: min(100%, 460px);
}

.auth-panel h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 4px;
}

label {
    color: var(--muted);
    display: grid;
    font-size: 0.86rem;
    font-weight: 700;
    gap: 8px;
}

input {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    min-height: 44px;
    padding: 0 12px;
}

.auth-note {
    color: var(--muted);
    margin: 0;
}

.empty-state {
    text-align: left;
}

@media (max-width: 900px) {
    .hero-section,
    .section-heading,
    .two-column,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: auto;
    }

    .feature-grid,
    .pricing-grid,
    .setup-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 2.35rem;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .hero-panel,
    .feature-card,
    .info-panel,
    .summary-panel,
    .price-card,
    .auth-panel,
    .empty-state {
        padding: 22px;
    }

    .studio-badge {
        font-size: 1.35rem;
    }
}
