/*
Theme Name: Chat Exporter
Description: Block theme for the Chat Exporter landing page.
Version: 1.0.0
Requires at least: 6.6
Text Domain: chatexporter
*/

.ce-root,.ce-root * { box-sizing:border-box }
.ce-root { --ink:#14213d; --soft:#485671; --accent:#203bb2; --line:#dce4f5; margin:0; background:#f5f7fe; color:var(--ink); font-family:"Segoe UI",Arial,sans-serif; line-height:1.55; overflow-wrap:break-word }
.ce-root :where(p,h1,h2,h3) { margin:0 }
.ce-root :where(a) { color:inherit; text-underline-offset:4px }
.ce-root a:focus-visible { outline:3px solid #7866eb; outline-offset:5px }
.ce-shell { width:min(1120px,calc(100% - 48px)); margin-inline:auto }
.ce-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; min-height:84px; border-bottom:1px solid var(--line) }
.ce-brand,.ce-footer-brand { font-size:20px; font-weight:750; letter-spacing:-.03em }
.ce-brand a { display:inline-flex; align-items:center; text-decoration:none }
.ce-brand a::before { content:""; width:36px; height:36px; margin-right:10px; border-radius:10px; background:url(assets/app-icon.png) center/cover }
.ce-brand span { color:var(--accent) }
.ce-nav,.ce-footer-links { display:flex; flex-wrap:wrap; gap:22px; font-size:15px; color:var(--soft) }
.ce-nav a,.ce-footer a { text-decoration:none }
.ce-nav a:hover,.ce-footer a:hover { text-decoration:underline }
.ce-hero { display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:clamp(24px,5vw,82px); padding-block:72px 78px }
.ce-intro { min-width:0 }
.ce-kicker { color:var(--accent); font-size:15px; font-weight:700 }
.ce-hero h1 { margin:14px 0 18px; font-size:clamp(42px,5.6vw,74px); font-weight:790; line-height:1.02; letter-spacing:-.055em }
.ce-lead { max-width:500px; color:var(--soft); font-size:clamp(17px,2.3vw,21px) }
.ce-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin-top:28px; font-weight:700 }
.ce-store a,.ce-appstore { display:inline-block; padding:11px 18px; border:1px solid transparent; border-radius:11px; white-space:nowrap }
.ce-store a { color:white; background:#233bb4; text-decoration:none }
.ce-store a:hover { background:#182c90 }
.ce-appstore { border-color:#c6d0e7; background:#eaf0fb; color:#435270; font:inherit; opacity:1 }
.ce-guide-link a { color:var(--accent) }
.ce-demo { background:linear-gradient(138deg,#202d71,#4048a4); padding:clamp(16px,3.2vw,34px); border-radius:25px; color:white; box-shadow:0 22px 52px #253b9c22 }
.ce-demo-top { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:13px; font-weight:650 }
.ce-chip { display:inline-block; width:max-content; max-width:100%; background:#e8edff; color:#182d92; font-weight:750; font-size:14px; padding:4px 10px; border-radius:7px }
.ce-demo-paper { border-radius:13px; background:#fff; color:var(--ink); padding:18px; display:grid; gap:9px }
.ce-demo-title { font-weight:750; font-size:20px }
.ce-demo-date { color:#55617b; font-size:14px }
.ce-bubble { justify-self:start; max-width:92%; background:#edf1fa; color:#243452; font-size:15px; padding:8px 11px; border-radius:10px }
.ce-bubble-out { justify-self:end; background:#e3e7ff }
.ce-demo-file { margin-top:3px; border-top:1px solid #e5eaf4; padding-top:9px; font-size:14px; color:#465574 }
.ce-demo-caption { margin-top:13px; font-size:14px; color:#f0f1ff }
.ce-section { border-top:1px solid var(--line); padding-block:35px 50px }
.ce-root h2 { font-size:clamp(29px,4vw,42px); line-height:1.15; letter-spacing:-.04em }
.ce-root h3 { font-size:20px; line-height:1.25; letter-spacing:-.015em }
.ce-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:21px }
.ce-card { background:white; border:1px solid var(--line); border-radius:16px; min-width:0; padding:22px }
.ce-card h3 { margin:14px 0 6px }
.ce-card p:not(.ce-chip),.ce-guide p { color:var(--soft) }
.ce-guide { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.55fr); gap:35px; border-top:1px solid var(--line); padding-block:35px 48px }
.ce-guide h2 { margin-bottom:12px }
.ce-step { border-left:3px solid #b6c3f6; padding-left:15px; margin-bottom:17px }
.ce-step h3 { margin-bottom:4px }
.ce-step:last-child { margin-bottom:0 }
.ce-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid var(--line); padding-block:22px 34px }
@media(max-width:850px) {
  .ce-hero,.ce-guide { grid-template-columns:1fr; }
  .ce-hero { padding-block:45px; }
  .ce-demo { max-width:580px; }
}
@media(max-width:650px) {
  .ce-shell { width:calc(100% - 32px); }
  .ce-header { padding-block:14px; }
  .ce-nav,.ce-footer-links { gap:14px; }
  .ce-hero { padding-top:32px; }
  .ce-grid { grid-template-columns:1fr; }
}
