/* Inner website pages for FranInfra and Orcero (about, pricing, contact, legal).
   Header, footer and cookie notice styles come from the product's home stylesheet. */

body[data-product="franinfra"] {
    --ink: #0b2f3a;
    --muted: #3c5866;
    --deep: #00313e;
    --brand: #004556;
    --brand-hover: #0b5a6e;
    --on-deep: #d6e8ec;
    --link: #0b7486;
    --accent: #e07024;
    --accent-hover: #ec8a47;
    --accent-ink: #00313e;
    --tint: #eef4f5;
    --line: #dde8ea;
    --mark: #fdf1e8;
}

body[data-product="orcero"] {
    --ink: #2a1028;
    --muted: #5e4a5c;
    --deep: #2a1028;
    --brand: #351833;
    --brand-hover: #4a2147;
    --on-deep: #e4d4ee;
    --link: #6a22bd;
    --accent: #ff7a59;
    --accent-hover: #ff9a80;
    --accent-ink: #2a1028;
    --tint: #f6f0fa;
    --line: #e3d9ec;
    --mark: #fff0eb;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-main a { color: var(--link); font-weight: 600; text-decoration: none; }
.site-main a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }

.site-main h1, .site-main h2, .site-main h3 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-variation-settings: 'wdth' 88;
    color: var(--ink);
    text-wrap: balance;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Page hero: sits under the floating header */
.page-hero { background: var(--tint); padding: 148px 0 64px; }
.page-hero h1 { margin: 0 0 18px; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.035em; max-width: 16em; }
.page-hero p { margin: 0; max-width: 38em; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); }
.page-hero .updated { margin-top: 18px; font-size: 15px; }

.page-body { padding: 72px 0 96px; display: flex; flex-direction: column; gap: 64px; }

/* Reading column */
.prose { max-width: 46rem; }
.prose h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.prose h3 { margin: 24px 0 8px; font-size: 1.2rem; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: var(--muted); }
.prose li { margin-bottom: 6px; }
.prose section + section { margin-top: 44px; }
.prose strong { color: var(--ink); }

/* Two columns: reading text with a card beside it */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.card.tinted { background: var(--tint); border-color: transparent; }
.card h2, .card h3 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.section-title { margin: 0 0 24px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; max-width: 20em; }

/* Ticked list */
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Price */
.price-card { background: var(--brand); color: #ffffff; border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.price-card h2 { margin: 0; color: #ffffff; font-size: 1.4rem; font-weight: 700; }
.price { margin: 0; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; letter-spacing: -.04em; color: #ffffff; }
.price-unit { margin: 0; color: var(--on-deep); font-size: 1.05rem; }
.price-card .ticks li { color: #ffffff; }

/* Definition table for legal details */
.facts { margin: 0 0 14px; display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--ink); padding-right: 16px; }
.facts dd { color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

.table-wrap { overflow-x: auto; margin: 0 0 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.table-wrap th { color: var(--ink); font-weight: 600; }
.table-wrap code { font-size: 14px; color: var(--ink); }

.tbc { background: var(--mark); color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 500; }

/* Buttons */
.site-main .button { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 999px; text-decoration: none; }
.site-main .button:hover { background: var(--accent-hover); }
.site-main .button.secondary { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--line); }
.site-main .button.secondary:hover { background: var(--tint); }

/* Closing band */
.callout { background: var(--brand); color: #ffffff; border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.callout h2 { margin: 0 0 8px; color: #ffffff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.callout p { margin: 0; color: var(--on-deep); max-width: 36em; }

/* Email links shown large */
.email-link { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }

.faq { display: grid; gap: 12px; }
.faq details { background: #ffffff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Waiting-list form */
.signup-form { display: grid; gap: 20px; }
.signup-form .field { display: grid; gap: 6px; }
.signup-form label { font-weight: 600; color: var(--ink); }
.signup-form input, .signup-form select { font: inherit; color: var(--ink); background: #ffffff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.signup-form input:focus-visible, .signup-form select:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-color: var(--link); }
.signup-form [aria-invalid="true"] { border-color: #b3261e; }
.signup-form .consent { margin: 0; color: var(--muted); font-size: 15.5px; }
.signup-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-main button.button { border: 0; cursor: pointer; font-family: inherit; }
.form-errors { background: #fdecea; color: #5f1410; border-radius: 14px; padding: 14px 18px; }
.form-errors p { margin: 0 0 6px; font-weight: 600; color: inherit; }
.form-errors ul { margin: 0; padding-left: 20px; display: block; list-style: disc; }

/* Temporary operator list */
.operator-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.operator-filters [aria-current="page"] { color: var(--ink); background: var(--tint); padding: 4px 12px; border-radius: 999px; }
.operator-filters .button { margin-left: auto; }
.status-ticks { color: var(--link); font-weight: 700; }

/* Not found (issue #203) */
.not-found-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px !important; }
.not-found-art { display: flex; align-items: center; justify-content: center; gap: .06em; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-variation-settings: 'wdth' 85; font-weight: 800; font-size: clamp(6rem, 14vw, 11rem); line-height: 1; letter-spacing: -.04em; color: var(--brand); user-select: none; }
.not-found-mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: .82em; height: .82em; border-radius: 50%; background: #ffffff; box-shadow: 0 24px 50px -24px var(--brand); }
.not-found-mark img { display: block; width: 58%; height: 58%; object-fit: contain; }
.not-found-heading { margin: 0 0 20px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.not-found-links { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.site-main .not-found-links a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 24px 26px; border-radius: 22px; background: var(--tint); color: var(--ink); transition: background-color .15s; }
.site-main .not-found-links a:hover { background: var(--line); color: var(--ink); }
.not-found-link-title { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.not-found-link-title span { display: inline-block; color: var(--accent); transition: transform .15s; }
.not-found-links a:hover .not-found-link-title span, .not-found-links a:focus-visible .not-found-link-title span { transform: translateX(4px); }
.not-found-link-text { color: var(--muted); font-weight: 400; }
@media (max-width: 760px) {
    .not-found-grid { grid-template-columns: 1fr; gap: 8px; }
    .not-found-art { order: -1; justify-content: flex-start; font-size: 5.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .site-main .not-found-links a, .not-found-link-title span { transition: none; }
}

/* On a tenant host: a single panel, without the website's header and footer */
body.not-found-tenant { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; background: var(--tint); }
.not-found-panel { width: 100%; max-width: 34rem; box-sizing: border-box; background: #ffffff; border-radius: 28px; padding: clamp(28px, 6vw, 48px); box-shadow: 0 24px 50px -28px var(--brand); }
.not-found-panel h1 { margin: 28px 0 12px; font-weight: 800; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.not-found-panel p { margin: 0; color: var(--muted); }
.site-main .not-found-brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.not-found-brand .not-found-mark { width: 46px; height: 46px; background: var(--tint); box-shadow: none; }
