/* Extracted & CSP-hardened styles for casademliving.com */

/* From index.php */
:root {
            --color-canvas: #F1EEEA;
            --color-card: #FFFFFF;
            --color-card-warm: #FAF8F5;
            --color-terracotta: #C56945;
            --color-terracotta-hover: #b05735;
            --color-terracotta-soft: #fbf0eb;
            --color-olive: #65674E;
            --color-olive-soft: #f2f3ee;
            --color-charcoal: #494838;
            --color-muted: #78716c;
            --color-border: rgba(73, 72, 56, 0.12);
            --color-border-card: rgba(73, 72, 56, 0.08);
            --shadow-subtle: 0 4px 20px -2px rgba(73, 72, 56, 0.05), 0 2px 6px -1px rgba(73, 72, 56, 0.03);
            --shadow-elevated: 0 12px 36px -4px rgba(73, 72, 56, 0.08), 0 4px 12px -2px rgba(73, 72, 56, 0.04);
            --radius-pill: 9999px;
            --radius-card: 16px;
            --radius-btn: 10px;
        }

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

        body {
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--color-canvas);
            color: var(--color-charcoal);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 24px 20px 24px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            line-height: 1.6;
        }

        .main-container {
            width: 100%;
            max-width: 840px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: auto 0;
        }

        /* Top Announcement Pill */
        .top-badge-wrapper {
            margin-bottom: 24px;
        }

        .top-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            padding: 6px 18px;
            border-radius: var(--radius-pill);
            background: rgba(101, 103, 78, 0.09);
            color: var(--color-olive);
            border: 1px solid rgba(101, 103, 78, 0.18);
        }

        /* Brand Navigation & Emblem */
        .brand-header {
            text-align: center;
            margin-bottom: 28px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .brand-emblem-wrap {
            width: 72px;
            height: 72px;
            margin-bottom: 16px;
            transition: transform 0.3s ease;
        }

        .brand-emblem-wrap:hover {
            transform: scale(1.04);
        }

        .brand-emblem-wrap img,
        .brand-emblem-wrap svg {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .brand-title-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: inherit;
        }

        .brand-wordmark {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 2.1rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--color-charcoal);
            line-height: 1.1;
        }

        .brand-submark {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.35em;
            text-transform: uppercase;
            color: var(--color-terracotta);
            margin-top: 5px;
        }

        /* Hero Section */
        .hero-section {
            text-align: center;
            margin-bottom: 36px;
            max-width: 680px;
        }

        .hero-tagline {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--color-terracotta);
            margin-bottom: 12px;
        }

        .hero-heading {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 2.9rem;
            font-weight: 600;
            line-height: 1.18;
            letter-spacing: -0.02em;
            color: var(--color-charcoal);
            margin-bottom: 16px;
        }

        @media (max-width: 640px) {
            .hero-heading {
                font-size: 2.2rem;
            }
            .brand-wordmark {
                font-size: 1.8rem;
            }
        }

        .hero-narrative {
            font-size: 1.05rem;
            color: var(--color-muted);
            line-height: 1.65;
            margin: 0 auto;
            max-width: 580px;
        }

        /* Curated 3-Pillar Grid */
        .pillars-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            width: 100%;
            margin-bottom: 36px;
        }

        @media (max-width: 720px) {
            .pillars-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
        }

        .pillar-card {
            background: var(--color-card);
            border: 1px solid var(--color-border-card);
            border-radius: var(--radius-card);
            padding: 24px 20px;
            text-align: left;
            box-shadow: var(--shadow-subtle);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pillar-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-elevated);
        }

        .pillar-badge {
            display: inline-block;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--color-olive);
            background: var(--color-olive-soft);
            padding: 4px 10px;
            border-radius: var(--radius-pill);
            margin-bottom: 12px;
            align-self: flex-start;
        }

        .pillar-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-charcoal);
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .pillar-desc {
            font-size: 13px;
            color: var(--color-muted);
            line-height: 1.55;
        }

        /* Waitlist Allocation Box */
        .waitlist-wrapper {
            width: 100%;
            margin-bottom: 32px;
        }

        .waitlist-box {
            background: var(--color-card);
            border: 1px solid var(--color-border);
            border-radius: 20px;
            padding: 38px 32px;
            text-align: center;
            box-shadow: var(--shadow-elevated);
            position: relative;
            overflow: hidden;
        }

        .waitlist-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--color-olive), var(--color-terracotta));
        }

        .waitlist-badge span {
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 6px 16px;
            border-radius: var(--radius-pill);
            background: var(--color-terracotta-soft);
            color: var(--color-terracotta);
        }

        .waitlist-title {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.65rem;
            font-weight: 600;
            margin: 16px 0 8px;
            letter-spacing: -0.01em;
            color: var(--color-charcoal);
        }

        .waitlist-desc {
            font-size: 14px;
            color: var(--color-muted);
            line-height: 1.6;
            margin: 0 auto 24px;
            max-width: 520px;
        }

        .waitlist-form {
            max-width: 500px;
            margin: 0 auto;
        }

        .waitlist-inputs {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        @media (min-width: 600px) {
            .waitlist-inputs {
                flex-direction: row;
            }
        }

        .waitlist-input {
            flex: 1;
            padding: 14px 18px;
            border-radius: var(--radius-btn);
            border: 1px solid rgba(73, 72, 56, 0.22);
            font-size: 15px;
            outline: none;
            background: #ffffff;
            color: var(--color-charcoal);
            font-family: inherit;
            transition: border-color 0.2s, box-shadow 0.2s;
        }

        .waitlist-input:focus {
            border-color: var(--color-terracotta);
            box-shadow: 0 0 0 3px rgba(197, 105, 69, 0.18);
        }

        .waitlist-btn {
            background: var(--color-terracotta);
            color: #ffffff;
            border: none;
            padding: 14px 26px;
            border-radius: var(--radius-btn);
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(197, 105, 69, 0.28);
            transition: all 0.2s ease;
            white-space: nowrap;
            font-family: inherit;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .waitlist-btn:hover {
            background: var(--color-terracotta-hover);
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(197, 105, 69, 0.38);
        }

        .btn-spinner {
            width: 16px;
            height: 16px;
            border: 2px solid #ffffff;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
            display: inline-block;
            vertical-align: middle;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .waitlist-privacy {
            font-size: 12px;
            color: var(--color-muted);
            margin-top: 12px;
        }

        .waitlist-success {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            background: var(--color-olive-soft);
            border: 1px solid rgba(101, 103, 78, 0.25);
            border-radius: 12px;
            padding: 20px 24px;
            max-width: 500px;
            margin: 0 auto;
            text-align: left;
        }

        .success-icon {
            width: 38px;
            height: 38px;
            background: var(--color-olive);
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .success-text h4 {
            font-family: 'Fraunces', Georgia, serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--color-charcoal);
            margin-bottom: 3px;
        }

        .success-text p {
            font-size: 13px;
            color: var(--color-olive);
            line-height: 1.45;
        }

        /* Trust & Provenance Bar */
        .trust-bar {
            width: 100%;
            text-align: center;
            margin-top: 8px;
        }

        .trust-items {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            font-size: 12px;
            font-weight: 500;
            color: var(--color-muted);
        }

        .trust-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .trust-dot {
            width: 6px;
            height: 6px;
            background-color: var(--color-terracotta);
            border-radius: 50%;
            display: inline-block;
        }

/* From privacy-policy.php */
body { margin: 0; padding: 40px 20px; background: #f8fafc; font-family: 'Plus Jakarta Sans', sans-serif; color: #0f172a; line-height: 1.7; }
      .legal-box { max-width: 820px; margin: 0 auto; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
      .header-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 18px; margin-bottom: 24px; }
      .brand-txt { font-weight: 700; font-size: 1.25rem; color: #0f172a; text-decoration: none; }
      .back-link { font-size: 0.85rem; color: #475569; text-decoration: none; padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: 6px; }
      h1 { font-size: 1.85rem; margin-bottom: 6px; }
      .meta-line { color: #64748b; font-size: 0.82rem; margin-bottom: 24px; }
      h2 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 6px; }
      p, li { color: #334155; font-size: 0.92rem; }
      ul { padding-left: 20px; margin: 12px 0 16px; }
      li { margin-bottom: 6px; }
      a { color: #31aa39; text-decoration: underline; }

/* From shipping-and-returns.php */
body { margin: 0; padding: 40px 20px; background: #f8fafc; font-family: 'Plus Jakarta Sans', sans-serif; color: #0f172a; line-height: 1.7; }
      .legal-box { max-width: 820px; margin: 0 auto; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
      .header-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 18px; margin-bottom: 24px; }
      .brand-txt { font-weight: 700; font-size: 1.25rem; color: #0f172a; text-decoration: none; }
      .back-link { font-size: 0.85rem; color: #475569; text-decoration: none; padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: 6px; }
      h1 { font-size: 1.85rem; margin-bottom: 6px; }
      .meta-line { color: #64748b; font-size: 0.82rem; margin-bottom: 24px; }
      h2 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 6px; }
      p, li { color: #334155; font-size: 0.92rem; }
      ul { padding-left: 20px; margin: 12px 0 16px; }
      li { margin-bottom: 6px; }
      a { color: #31aa39; text-decoration: underline; }

/* From terms-of-service.php */
body { margin: 0; padding: 40px 20px; background: #f8fafc; font-family: 'Plus Jakarta Sans', sans-serif; color: #0f172a; line-height: 1.7; }
      .legal-box { max-width: 820px; margin: 0 auto; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
      .header-bar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e8f0; padding-bottom: 18px; margin-bottom: 24px; }
      .brand-txt { font-weight: 700; font-size: 1.25rem; color: #0f172a; text-decoration: none; }
      .back-link { font-size: 0.85rem; color: #475569; text-decoration: none; padding: 6px 14px; border: 1px solid #cbd5e1; border-radius: 6px; }
      h1 { font-size: 1.85rem; margin-bottom: 6px; }
      .meta-line { color: #64748b; font-size: 0.82rem; margin-bottom: 24px; }
      h2 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 6px; }
      p, li { color: #334155; font-size: 0.92rem; }
      ul { padding-left: 20px; margin: 12px 0 16px; }
      li { margin-bottom: 6px; }
      a { color: #31aa39; text-decoration: underline; }

/* Static attribute rules */

[data-pt-style="display:none;"] { display:none; }

[data-pt-style="display: block; width: 100%; max-width: 860px; margin: 48px auto 0; text-align: center; font-size: 11px; color: #78716c; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.8; background: transparent; clear: both; box-sizing: border-box; border-top: 1px solid rgba(73, 72, 56, 0.15); padding: 28px 16px 20px;"] { display: block; width: 100%; max-width: 860px; margin: 48px auto 0; text-align: center; font-size: 11px; color: #78716c; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.8; background: transparent; clear: both; box-sizing: border-box; border-top: 1px solid rgba(73, 72, 56, 0.15); padding: 28px 16px 20px; }

[data-pt-style="text-align: center; letter-spacing: 0.02em;"] { text-align: center; letter-spacing: 0.02em; }

[data-pt-style="color: #494838; text-decoration: underline; text-underline-offset: 3px; font-weight: 500;"] { color: #494838; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

[data-pt-style="text-align: center; margin-top: 8px;"] { text-align: center; margin-top: 8px; }

[data-pt-style="color: #C56945; text-decoration: underline; text-underline-offset: 3px;"] { color: #C56945; text-decoration: underline; text-underline-offset: 3px; }

[data-pt-style="color: #494838; text-decoration: underline; text-underline-offset: 3px;"] { color: #494838; text-decoration: underline; text-underline-offset: 3px; }

[data-pt-style="text-align: center; margin-top: 6px; font-size: 10px; color: #a8a29e; letter-spacing: 0.03em;"] { text-align: center; margin-top: 6px; font-size: 10px; color: #a8a29e; letter-spacing: 0.03em; }
