
:root {
    --primary: #9d2c5c;
    --primary-dark: #7c1f47;
    --primary-soft: #f6e8ef;
    --primary-border: rgba(157, 44, 92, 0.3);
    --ink: #2b1b24;
    --ink-soft: #5d4a55;
    --paper: #fdf9fb;
    --card: #ffffff;
    --line: #e9dce3;
    --input-border: #9c7a8c;
    --focus: #b45a86;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(92, 23, 53, 0.10);
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    overflow-wrap: break-word;
}
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}
.skip-link:focus { top: 12px; }
.legal-draft {
    background: #fdf3d7;
    border-bottom: 1px solid #e6cf9c;
    color: #6b5200;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}
.wrap-narrow { max-width: 760px; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled {
    cursor: not-allowed;
}
#signupSubmitButton:disabled {
    background: #b8aeb5;
    border-color: #b8aeb5;
    color: #fff;
}
#signupResendButton:disabled {
    opacity: 0.55;
}
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary-dark); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(253, 249, 251, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.wordmark {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.main-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}
.main-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 8px;
}
.main-nav a:hover { color: var(--primary); }
.login-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 4px;
}
.login-link:hover { color: var(--primary); }
.nav-cta { margin-left: 8px; }
.hero {
    padding: 64px 0 72px;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(157, 44, 92, 0.10), transparent 60%),
        var(--paper);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
}
.hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-line {
    margin: 18px 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.hero-copy { min-width: 0; }
.hero-mock { min-width: 0; }
.mock-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.mock-card-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f4ecf0;
    border-bottom: 1px solid var(--line);
}
.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9c6d0;
}
.mock-url {
    margin-left: 8px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 10px;
}
.mock-body { padding: 18px; }
.mock-service {
    margin: 0 0 14px;
    font-weight: 700;
    transition: opacity 0.18s ease;
}
.mock-service.mock-service-fading {
    opacity: 0;
}
.mock-cal {
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(92, 23, 53, 0.08);
}
.mock-cal-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}
.mock-cal-arrow {
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.85;
}
.mock-cal-label {
    font-size: 0.9rem;
    font-weight: 700;
}
.mock-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 0;
    background: var(--primary);
    color: #fff;
    text-align: center;
}
.mock-cal-weekdays span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.mock-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 8px;
    text-align: center;
}
.mock-cal-days span {
    font-size: 0.875rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--ink-soft);
}
.mock-cal-days .mock-day-off {
    opacity: 0.55;
    text-decoration: line-through;
}
.mock-cal-days .mock-day-today {
    font-weight: 700;
}
.mock-cal-days .mock-day-on {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.mock-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 8px;
    margin: 14px 0;
}
.mock-chip {
    min-height: 44px;
    padding: 10px 14px;
    background: var(--card);
    border: 2px solid var(--primary-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
    text-align: center;
}
.mock-chip-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.mock-form { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 14px; }
.mock-book {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
}
.built-for {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--card);
    padding: 20px 0;
}
.built-for-line {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
}
.built-for-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.built-for-list li { font-weight: 700; font-size: 0.95rem; }
.section { padding: 72px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin: 0 0 40px;
    text-align: center;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.step { text-align: center; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.step h3 { margin: 0 0 8px; }
.step p { color: var(--ink-soft); margin: 0; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.pricing-note { text-align: center; color: var(--ink-soft); margin: -20px 0 40px; }
.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    margin: 0 auto;
    align-items: stretch;
}
.price-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.price-name { margin: 0 0 4px; font-size: 1.2rem; }
.price-amount { font-size: 2.4rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.02em; }
.price-period { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-blurb { color: var(--ink-soft); margin: 0 0 20px; min-height: 3em; }
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}
.price-features li {
    padding: 7px 0 7px 30px;
    position: relative;
    font-size: 0.95rem;
}
.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    list-style-position: outside;
    padding: 10px 0;
}
.faq-item p { color: var(--ink-soft); margin: 12px 0 0; }
.signup { background: var(--primary-soft); }
.signup-sub { text-align: center; color: var(--ink-soft); margin: -24px 0 36px; }
.signup-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    max-width: 480px;
    margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}
.form-row input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--paper);
    transition: border-color 0.2s ease;
}
.form-row input:focus { border-color: var(--primary); }
.slug-field { display: flex; align-items: center; }
.slug-field input { flex: 1; min-width: 0; }
.slug-suffix {
    padding-left: 10px;
    font-weight: 700;
    color: var(--ink-soft);
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
#slugStatus {
    margin: 8px 0 0;
    font-size: 0.9rem;
}
.field-error {
    margin: 8px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b3261e;
}
.field-error:empty { display: none; }
.field-ok {
    margin: 8px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2f8f4e;
}
.field-ok:empty { display: none; }
.form-status { margin: 14px 0 0; font-weight: 600; color: var(--primary); text-align: center; }
.form-status-error { color: #b3261e; }
.signup-legal {
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
}
.site-footer {
    background: var(--ink);
    color: #d9c6d0;
    padding: 36px 0;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark:hover { color: #fff; opacity: 0.85; }
.footer-inner p { margin: 0; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #d9c6d0; text-decoration: none; font-size: 0.9rem; padding: 8px 6px; }
.footer-nav a:hover { color: #fff; }
.footer-legal { font-size: 0.8rem !important; }
.footer-legal a { color: #d9c6d0; }
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    background: var(--paper);
}
.legal-page h1 {
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.legal-page h2 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}
.legal-page .legal-section {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-top: 36px;
}
.legal-page p {
    color: var(--ink-soft);
    margin: 0 0 16px;
}
.legal-page ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--ink-soft);
}
.legal-page ul li { margin-bottom: 8px; }
.legal-page a {
    color: var(--primary);
    text-decoration: underline;
}
.legal-page a:hover { color: var(--primary-dark); }
.site-header .back-home {
    margin-left: auto;
}
.legal-page .legal-effective {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin: 0 0 0;
}
.legal-page .legal-section-first {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.1rem; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    html { scroll-padding-top: 130px; }
    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 4px 16px;
    }
    .main-nav a { padding: 10px 12px; }
    .nav-cta { margin-left: auto; }
    .login-prompt { display: none; }
    .steps { grid-template-columns: 1fr; gap: 24px; }
    .feature-grid { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .signup-form { padding: 24px; }
    .hero { padding: 44px 0 56px; }
}
.is-hidden {
    display: none !important;
}
:root {
    --brand-preview: var(--primary);
}
.signup-step-note { margin: 0 0 20px; font-weight: 700; }
.signup-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.signup-color-row .signup-color-swatch {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: none;
    overflow: hidden;
}
.signup-color-swatch::-webkit-color-swatch-wrapper { padding: 0; }
.signup-color-swatch::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}
.signup-color-swatch::-moz-color-swatch {
    border: none;
    border-radius: 6px;
}
.signup-color-row .signup-color-hex {
    width: 120px;
    font-family: monospace;
}
.brand-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.brand-preview-cal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--brand-preview);
    color: #fff;
}
.brand-preview-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}
.brand-preview-arrow { font-size: 0.9rem; line-height: 1; opacity: 0.85; }
.brand-preview-month { font-size: 0.8rem; font-weight: 700; }
.brand-preview-book {
    background: var(--brand-preview);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
}
.signup-reward {
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-align: center;
}
.signup-success {
    margin: 0 0 20px;
    font-weight: 600;
    font-size: 1.05rem;
    text-align: center;
    color: var(--ink);
}
.signup-back {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.9rem;
}
.verify-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--paper);
    box-sizing: border-box;
}
.verify-page .verify-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 480px;
    padding: 40px 28px;
    text-align: center;
}
.verify-page h1 { font-size: 1.6rem; margin: 0 0 12px; }
.verify-page p { color: var(--ink-soft); margin: 0 0 20px; }
.verify-page a { color: var(--primary); font-weight: 600; }
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(1200px 500px at 85% -10%, rgba(157, 44, 92, 0.10), transparent 60%),
        var(--paper);
    box-sizing: border-box;
}
.maintenance-page .maintenance-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 460px;
    padding: 44px 32px;
    text-align: center;
}
.maintenance-page .wordmark {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.maintenance-page h1 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.maintenance-page p {
    color: var(--ink-soft);
    margin: 0 0 20px;
}
.maintenance-page .maintenance-form { margin: 0; }
.maintenance-page input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--paper);
    transition: border-color 0.2s ease;
    margin-bottom: 14px;
    box-sizing: border-box;
}
.maintenance-page input[type="password"]:focus { border-color: var(--primary); }
.maintenance-error {
    color: #b3261e;
    font-weight: 600;
    margin: 0 0 14px;
}
.maintenance-error:empty { display: none; }
