/* Editorial, information and marketing pages. */

.wc-theme.page-about .about-hero,
.wc-theme.page-app .app-hero {
    color: #fff;
    background: var(--theme-ink);
}

.wc-theme.page-about .about-hero h1,
.wc-theme.page-about .about-hero p,
.wc-theme.page-app .app-hero h1,
.wc-theme.page-app .app-hero p {
    color: inherit;
}

.wc-theme .about-hero-badge,
.wc-theme .app-hero-badge {
    border-color: rgba(255,255,255,.22);
    color: var(--theme-sand);
    background: rgba(255,255,255,.06);
}

.wc-theme .about-stat-card,
.wc-theme .about-mission-card,
.wc-theme .about-feature-card,
.wc-theme .about-cta-card,
.wc-theme .article-card,
.wc-theme .package-card,
.wc-theme .app-feature-card {
    border-color: var(--theme-line);
    border-radius: var(--theme-radius);
    background: var(--theme-surface);
    box-shadow: var(--theme-shadow-sm);
}

.wc-theme .about-feature-card:hover,
.wc-theme .article-card:hover,
.wc-theme .package-card:hover,
.wc-theme .app-feature-card:hover {
    border-color: var(--theme-mint);
    box-shadow: 5px 6px 0 var(--theme-mint-soft);
}

.wc-theme .package-card.is-recommended {
    border-top: 6px solid var(--theme-accent);
    box-shadow: 6px 7px 0 #f5e4ad;
}

.wc-theme .content-page {
    color: var(--theme-ink-2);
    line-height: 1.9;
}

.wc-theme .content-page h2,
.wc-theme .content-page h3 {
    border-bottom-color: var(--theme-line);
}

.wc-theme .content-page blockquote {
    border-inline-start-color: var(--theme-accent);
    color: var(--theme-ink-2);
    background: #fff3e9;
}

.wc-theme .contact-icon {
    border: 1px solid var(--theme-line);
    border-radius: 9px;
    color: var(--theme-accent-dark);
    background: #fff3e9;
}

.wc-theme .app-device-tabs,
.wc-theme .app-device-panel {
    border-color: var(--theme-line);
    background: var(--theme-surface);
}

.wc-theme .app-device-tabs button[aria-selected="true"] {
    color: #fff;
    background: var(--theme-ink);
}

/* Join the app page directly to the footer without the shared empty spacer. */
.wc-theme.page-app #main-content { padding-bottom: 0 !important; }
.wc-theme.page-app .site-footer { margin-top: 0; }

/* Installation guide: quiet surfaces, readable tabs and text-only actions. */
.wc-theme .app-install-section { padding-block: 64px; background: #f7fafc; color: #25212d; border-block: 1px solid #e8edf0; }
.wc-theme .app-install-section .app-section-heading { margin-bottom: 28px; }
.wc-theme .app-install-section .app-section-heading h2 { color: #25212d; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.35; }
.wc-theme .app-install-section .app-section-heading p { color: #687582; }
.wc-theme .app-install-section .app-section-heading > span { color: #087da8; }
.wc-theme .app-install-section .app-device-tabs { padding: 4px; gap: 4px; border: 1px solid #dfe6eb; border-radius: 10px; background: #fff; }
.wc-theme .app-install-section .app-device-tabs button { color: #596571; font-weight: 500; border-radius: 7px; }
.wc-theme .app-install-section .app-device-tabs button:hover { color: #087da8; background: #f3faff; }
.wc-theme .app-install-section .app-device-tabs button[aria-selected="true"] { color: #087da8; background: #e7f7fd; box-shadow: none; }
.wc-theme .app-install-section .app-device-tabs button:focus-visible { outline: 2px solid #168db8; outline-offset: 2px; }
.wc-theme .app-install-section .app-install-shell { grid-template-columns: minmax(0, 1fr) 300px; border: 1px solid #dfe6eb; border-radius: 14px; box-shadow: none; }
.wc-theme .app-install-section .app-device-panel { min-height: 0; padding: 32px; }
.wc-theme .app-install-section .app-device-panel-head { margin-bottom: 24px; padding-bottom: 20px; }
.wc-theme .app-install-section :is(.app-device-panel-head h3, .app-install-aside h3) { color: #25212d; font-size: 20px; font-weight: 600; }
.wc-theme .app-install-section .app-install-steps strong { color: #35414c; font-weight: 500; }
.wc-theme .app-install-section .app-install-steps li > span { color: #087da8; background: #effaff; border-color: #d1eaf4; font-weight: 500; }
.wc-theme .app-install-section .app-install-aside { padding: 32px 24px; background: #f5fafc; border-color: #dfe6eb; }
.wc-theme .app-install-section .app-install-side-button { justify-content: center; border: 1px solid #00aeef; border-radius: 9px; color: #fff; background: #00aeef; box-shadow: none; font-weight: 500; }
.wc-theme .app-install-section .app-install-side-button:hover { background: #008bc2; border-color: #008bc2; transform: none; }
.wc-theme .app-install-section .app-install-aside small { align-self: center; color: #687582; text-align: center; }
@media (max-width: 991.98px) {
    .wc-theme .app-install-section .app-install-shell { grid-template-columns: 1fr; }
    .wc-theme .app-install-section .app-install-aside { align-items: stretch; }
}
@media (max-width: 575.98px) {
    .wc-theme .app-install-section { padding-block: 40px; }
    .wc-theme .app-install-section :is(.app-device-panel, .app-install-aside) { padding: 24px 20px; }
    .wc-theme .app-install-section .app-device-tabs button { min-width: 0; padding-inline: 10px; }
}

.wc-theme .text-center.py-5.text-muted {
    border: 1px dashed var(--theme-line-strong);
    border-radius: 12px;
    background: var(--theme-surface-soft);
}

/* Contact and not-found pages: shared public visual language. */
body.wc-theme:is(.wc-route-contact, .wc-route-404) {
    --theme-ink: #25212d;
    --theme-ink-2: #514a5d;
    --theme-muted: #726b79;
    --theme-bg: #fff;
    --theme-line: #e8e5ec;
    --theme-line-strong: #dcd9e2;
    --theme-accent: #00aeef;
    --theme-accent-dark: #008bc2;
    --wc-text: #25212d;
    --wc-text-2: #514a5d;
    --wc-muted: #726b79;
    --wc-border: #e8e5ec;
    background: #fff;
}
body.wc-theme:is(.wc-route-contact, .wc-route-404) main { background: #fff; }
body.wc-theme.wc-route-contact main { padding-block: 0 !important; }
body.wc-theme.wc-route-contact .contact-page { width: min(1080px, calc(100% - 48px)); margin: auto; padding: 48px 0 72px; }
body.wc-theme.wc-route-contact .contact-hero { padding: 0 0 32px; margin-bottom: 36px; border-bottom: 1px solid #efedf2; }
body.wc-theme.wc-route-contact .contact-kicker { display: block; margin-bottom: 12px; color: #087da8; font-size: 13px; font-weight: 500; }
body.wc-theme.wc-route-contact .contact-hero h1 { margin: 0 0 14px; font-size: clamp(28px, 3.5vw, 38px); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
body.wc-theme.wc-route-contact .contact-hero p { max-width: 680px; margin: 0; color: #726b79; font-size: 15px; line-height: 1.9; }
body.wc-theme.wc-route-contact .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
body.wc-theme.wc-route-contact .contact-form-card { grid-column: 1; grid-row: 1; min-width: 0; }
body.wc-theme.wc-route-contact .contact-details-card { grid-column: 2; grid-row: 1; min-width: 0; padding: 26px 24px; background: #f9fbfc; border-radius: 14px; }
body.wc-theme.wc-route-contact :is(.contact-form-head, .contact-card-head) { margin-bottom: 26px; }
body.wc-theme.wc-route-contact :is(.contact-form-head, .contact-card-head) h2 { margin: 0 0 8px; font-size: 21px; font-weight: 500; line-height: 1.4; }
body.wc-theme.wc-route-contact :is(.contact-form-head, .contact-card-head) p { margin: 0; color: #726b79; font-size: 13px; line-height: 1.8; }
body.wc-theme.wc-route-contact .contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
body.wc-theme.wc-route-contact .contact-field-full { grid-column: 1 / -1; }
body.wc-theme.wc-route-contact .contact-field label { display: block; margin-bottom: 8px; color: #514a5d; font-size: 13px; font-weight: 500; }
body.wc-theme.wc-route-contact .contact-field label span { color: #b94343; }
body.wc-theme.wc-route-contact .contact-field :is(input, textarea) { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #dcd9e2; border-radius: 9px; background: #fff; color: #25212d; font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
body.wc-theme.wc-route-contact .contact-field textarea { min-height: 156px; resize: vertical; line-height: 1.7; }
body.wc-theme.wc-route-contact .contact-field :is(input, textarea):focus { outline: none; border-color: #168db8; box-shadow: 0 0 0 3px #00aeef15; }
body.wc-theme.wc-route-contact .contact-field :is(input, textarea)::placeholder { color: #928b99; }
body.wc-theme.wc-route-contact .contact-form-bottom { display: flex; flex-direction: column; align-items: start; gap: 22px; margin-top: 22px; }
body.wc-theme.wc-route-contact .contact-agree { display: flex; align-items: start; gap: 9px; color: #726b79; font-size: 12px; line-height: 1.8; }
body.wc-theme.wc-route-contact .contact-agree input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; accent-color: #00aeef; }
body.wc-theme.wc-route-contact .contact-agree a { color: #087da8; }
body.wc-theme.wc-route-contact .contact-submit { min-height: 48px; min-width: 160px; padding: 12px 28px; border: 0; border-radius: 9px; background: #00aeef; color: #fff; font-size: 14px; font-weight: 500; transition: background-color .15s; }
body.wc-theme.wc-route-contact .contact-submit:hover { background: #008bc2; }
body.wc-theme.wc-route-contact .contact-details-list { display: grid; gap: 24px; }
body.wc-theme.wc-route-contact .contact-detail-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
body.wc-theme.wc-route-contact .contact-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; color: #168db8; background: #eaf7fc; }
body.wc-theme.wc-route-contact .contact-detail-item span:not(.contact-icon) { display: block; margin-bottom: 5px; color: #726b79; font-size: 12px; }
body.wc-theme.wc-route-contact .contact-detail-item :is(a, strong) { display: inline-block; max-width: 100%; color: #514a5d; font-size: 14px; font-weight: 400; text-decoration: none; overflow-wrap: anywhere; }
body.wc-theme.wc-route-contact .contact-detail-item a:hover { color: #087da8; text-decoration: underline; }
body.wc-theme.wc-route-contact .contact-hours { white-space: pre-line; }
body.wc-theme.wc-route-contact .contact-socials { display: flex; gap: 10px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #e8e5ec; }
body.wc-theme.wc-route-contact .contact-socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e8e5ec; border-radius: 9px; background: #fff; color: #514a5d; text-decoration: none; }
body.wc-theme.wc-route-contact .contact-socials a:hover { color: #087da8; border-color: #b9dbe7; }
body.wc-theme.wc-route-contact .contact-alert { display: flex; align-items: start; gap: 10px; padding: 14px 16px; margin-bottom: 22px; border-radius: 9px; font-size: 14px; line-height: 1.8; }
body.wc-theme.wc-route-contact .contact-alert i { margin-top: 6px; }
body.wc-theme.wc-route-contact .contact-alert.is-success { color: #176442; background: #edf8f2; }
body.wc-theme.wc-route-contact .contact-alert.is-error { color: #9f1239; background: #fff1f2; }
body.wc-theme.wc-route-404 .not-found-page { max-width: 680px; margin-inline: auto; padding: 48px 24px 64px; text-align: center; }
body.wc-theme.wc-route-404 .not-found-code { color: #00aeef; font-size: clamp(100px, 16vw, 160px); font-weight: 600; line-height: 1; letter-spacing: -.065em; direction: ltr; margin-bottom: 24px; }
body.wc-theme.wc-route-404 .not-found-kicker { margin: 0 0 12px; color: #087da8; font-size: 13px; }
body.wc-theme.wc-route-404 .not-found-page h1 { margin: 0 0 16px; font-size: clamp(26px, 4vw, 34px); font-weight: 600; line-height: 1.3; }
body.wc-theme.wc-route-404 .not-found-description { margin: 0 auto 28px; color: #726b79; font-size: 14px; line-height: 1.9; }
body.wc-theme.wc-route-404 .not-found-search { display: flex; gap: 8px; max-width: 470px; margin: 0 auto 22px; padding: 5px; border: 1px solid #dcd9e2; border-radius: 11px; background: #fff; }
body.wc-theme.wc-route-404 .not-found-search:focus-within { border-color: #168db8; box-shadow: 0 0 0 3px #00aeef15; }
body.wc-theme.wc-route-404 .not-found-search input { flex: 1; min-width: 0; width: 100%; border: 0; border-radius: 6px; padding: 10px; background: transparent; color: #25212d; font-size: 16px; }
body.wc-theme.wc-route-404 .not-found-search input:focus { outline: none; }
body.wc-theme.wc-route-404 .not-found-search button { border: 0; border-radius: 7px; padding: 10px 22px; background: #00aeef; color: #fff; font-size: 14px; font-weight: 500; }
body.wc-theme.wc-route-404 .not-found-search button:hover { background: #008bc2; }
body.wc-theme.wc-route-404 .not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
body.wc-theme.wc-route-404 .not-found-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #514a5d; font-size: 14px; text-decoration: none; }
body.wc-theme.wc-route-404 .not-found-actions a:hover { color: #087da8; text-decoration: underline; }
body.wc-theme.wc-route-404 .not-found-help { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid #efedf2; color: #726b79; font-size: 13px; }
body.wc-theme.wc-route-404 .not-found-help a { color: #087da8; margin-inline-start: 4px; }
@media (max-width: 991.98px) {
    body.wc-theme.wc-route-contact .contact-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; }
    body.wc-theme.wc-route-contact .contact-details-card { padding: 22px 18px; }
}
@media (max-width: 767.98px) {
    body.wc-theme.wc-route-contact .contact-page { width: calc(100% - 40px); padding: 28px 0 40px; }
    body.wc-theme.wc-route-contact .contact-hero { padding-bottom: 24px; margin-bottom: 28px; }
    body.wc-theme.wc-route-contact .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    body.wc-theme.wc-route-contact .contact-details-card { grid-column: 1; grid-row: 2; padding: 24px; }
    body.wc-theme.wc-route-contact .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    body.wc-theme.wc-route-contact .contact-submit { width: 100%; }
    body.wc-theme.wc-route-404 .not-found-page { padding: 32px 20px 40px; }
    body.wc-theme.wc-route-404 .not-found-description br { display: none; }
}

/* Legal documents: shared public-page layout, isolated from other content pages. */
body.wc-theme.page-legal { --theme-ink: #25212d; --theme-ink-2: #514a5d; --theme-muted: #726b79; --theme-line: #e8e5ec; background: #fff; }
body.wc-theme.page-legal main { background: #fff; }
.page-legal .legal-page { max-width: 1120px; padding-block: 28px 56px; }
.page-legal .legal-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; color: #726b79; font-size: 12px; }
.page-legal .legal-breadcrumb a { color: #726b79; }
.page-legal .legal-tabs { display: flex; gap: 28px; border-bottom: 1px solid #e8e5ec; margin-bottom: 32px; }
.page-legal .legal-tabs a { padding: 0 0 14px; color: #726b79; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; text-decoration: none; }
.page-legal .legal-tabs a[aria-current="page"] { color: #087da8; border-color: #00aeef; font-weight: 500; }
.page-legal .legal-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
body.wc-theme.page-legal .legal-heading h1 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.35; }
.page-legal .legal-heading p { margin: 0 0 10px; color: #726b79; font-size: 14px; line-height: 1.8; }
.page-legal .legal-updated { color: #726b79; font-size: 12px; }
.page-legal .legal-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.page-legal .legal-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #dcd9e2; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; }
.page-legal .legal-actions .legal-open { background: #00aeef; border-color: #00aeef; color: #fff; }
.page-legal .legal-actions .legal-open:hover { background: #008bc2; border-color: #008bc2; }
.page-legal .legal-actions .legal-download { color: #514a5d; background: #fff; }
.page-legal .legal-actions .legal-download:hover { background: #f9fbfc; border-color: #b9dbe7; }
.page-legal .legal-document { overflow: hidden; border: 1px solid #e8e5ec; border-radius: 12px; background: #f9fbfc; }
.page-legal .legal-document iframe { display: block; width: 100%; height: 78vh; min-height: 480px; border: 0; }
.page-legal .legal-help { margin: 16px 0 0; color: #726b79; font-size: 13px; line-height: 1.8; }
.page-legal .legal-help a, .page-legal .legal-empty a { color: #087da8; }
.page-legal .legal-empty { padding: 56px 24px; border-block: 1px solid #e8e5ec; background: #f9fbfc; text-align: center; }
body.wc-theme.page-legal .legal-empty h2 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.page-legal .legal-empty p { color: #726b79; font-size: 14px; line-height: 1.8; }
@media (max-width: 767.98px) {
    .page-legal .legal-page { padding: 24px 20px 36px; }
    .page-legal .legal-heading { align-items: stretch; flex-direction: column; gap: 18px; }
    .page-legal .legal-actions a { flex: 1; }
    .page-legal .legal-document iframe { height: 65vh; min-height: 360px; }
    .page-legal .legal-tabs { gap: 24px; margin-bottom: 24px; }
}
