:root {
    --ink: #27302f;
    --muted: #6f7772;
    --paper: #f7f3ed;
    --card: #fffdf9;
    --line: #e7e0d6;
    --accent: #d9674e;
    --accent-dark: #a94839;
    --sage: #b8c7b4;
    --lavender: #d9d1e3;
    --shadow: 0 24px 60px rgba(58, 50, 42, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.site-shell { overflow: hidden; }

.site-header,
.hero,
.feature-section,
.about-section,
.site-footer {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

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

.brand-name {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 750;
    letter-spacing: -.02em;
}

.brand-logo {
    display: block;
    height: auto;
    max-height: 42px;
    object-fit: contain;
}

.site-nav { display: flex; gap: 28px; color: var(--muted); font-size: .88rem; }
.site-nav a, .footer-links a { transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover { color: var(--accent-dark); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    align-items: center;
    gap: 80px;
    min-height: 590px;
    padding: 72px 0 100px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent-dark);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.055em; }
h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(3.7rem, 7vw, 6.7rem); font-weight: 650; }
h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 650; }
h3 { margin-bottom: 12px; font-size: 1.25rem; font-weight: 700; }

.hero-description { max-width: 470px; margin-bottom: 32px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button { display: inline-flex; align-items: center; gap: 14px; border-radius: 999px; padding: 14px 21px; font-size: .9rem; font-weight: 750; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(39, 48, 47, .18); }
.button-primary:hover { background: var(--accent-dark); }
.action-note { color: var(--muted); font-size: .78rem; }

.hero-card { position: relative; min-height: 380px; border-radius: 38px; background: linear-gradient(145deg, #d8e2d5, #c7d2dc 55%, #d9d1e3); box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-card::before, .hero-card::after { position: absolute; border-radius: 50%; content: ""; }
.hero-card::before { width: 220px; height: 220px; top: -65px; right: -45px; background: rgba(255, 250, 237, .36); }
.hero-card::after { width: 170px; height: 170px; bottom: -55px; left: -45px; background: rgba(217, 103, 78, .18); }
.card-glow { position: absolute; inset: 46px 35px auto auto; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.3); filter: blur(2px); }
.book-window { position: absolute; top: 83px; left: 14%; width: 72%; min-height: 210px; padding: 30px 27px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: rgba(255, 253, 249, .74); box-shadow: 0 20px 35px rgba(63, 67, 65, .13); transform: rotate(-2deg); }
.window-label, .page-number { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.window-label { display: block; margin-bottom: 25px; }
.book-line { height: 7px; margin-bottom: 13px; border-radius: 10px; background: #a9b9ab; opacity: .72; }
.book-line-long { width: 92%; }.book-line-medium { width: 72%; }.book-line-short { width: 48%; }
.book-divider { width: 100%; height: 1px; margin: 25px 0 20px; background: var(--line); }
.page-number { position: absolute; right: 27px; bottom: 22px; }
.floating-note { position: absolute; z-index: 1; padding: 11px 15px; border: 1px solid rgba(255,255,255,.68); border-radius: 14px; background: rgba(255,253,249,.84); box-shadow: 0 12px 24px rgba(63, 67, 65, .1); font-size: .73rem; font-weight: 750; }
.note-top { top: 43px; left: -20px; }.note-bottom { right: -18px; bottom: 54px; }.note-bottom span { margin-left: 7px; color: var(--accent-dark); }

.feature-section { padding: 60px 0 120px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: end; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 0; }.section-heading h2 { max-width: 590px; margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 245px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(58,50,42,.08); }.feature-card-accent { background: var(--accent); color: #fffaf5; border-color: var(--accent); }.feature-card-accent .feature-number, .feature-card-accent p { color: #ffe7dc; }
.feature-number { display: block; margin-bottom: 55px; color: var(--accent-dark); font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; }.feature-card-accent p { color: #ffe7dc; }

.about-section { display: grid; grid-template-columns: 100px 1fr; gap: 30px; align-items: start; padding: 90px 0 110px; border-top: 1px solid var(--line); }
.about-mark { color: var(--accent); font-family: Georgia, serif; font-size: 8rem; line-height: .7; }.about-section h2 { max-width: 700px; }.about-copy { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: end; padding: 34px 0 42px; border-top: 1px solid var(--line); }.footer-tagline, .copyright { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }.footer-links { display: flex; gap: 24px; color: var(--muted); font-size: .8rem; }.copyright { grid-column: 1 / -1; margin-top: 28px; }

@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 55px; }.hero-card { width: min(100%, 500px); min-height: 340px; margin: 0 auto; }.section-heading { grid-template-columns: 1fr; gap: 16px; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 0; }.feature-number { margin-bottom: 28px; }
}

@media (max-width: 560px) {
    .site-header, .hero, .feature-section, .about-section, .site-footer { width: min(100% - 32px, 1160px); }.site-header { padding: 20px 0; }.site-nav { gap: 13px; font-size: .74rem; }.hero { min-height: 0; padding: 68px 0 88px; }.hero-card { min-height: 290px; border-radius: 28px; }.book-window { top: 60px; min-height: 175px; padding: 22px 20px; }.window-label { margin-bottom: 17px; }.book-divider { margin: 18px 0 15px; }.note-top { left: -8px; }.note-bottom { right: -8px; bottom: 28px; }.about-section { grid-template-columns: 1fr; gap: 8px; padding: 68px 0 80px; }.about-mark { font-size: 5rem; }.site-footer { grid-template-columns: 1fr; }.footer-links { flex-wrap: wrap; gap: 12px 20px; }.copyright { grid-column: auto; margin-top: 20px; }
    .brand-logo { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }.button, .feature-card { transition: none; }.button:hover, .feature-card:hover { transform: none; }
}
