/* Velvetor site: teal velvet and gold. Shared by every page; the home page section is further down.
   Fonts are system serifs (Didot on Apple devices) so the site makes no third-party requests. */
:root {
  --bg: #051C21; --deep: #020E11; --surface: #0A2a30; --surface2: #0E353C;
  --ink: #F3EAD3; --ink2: #B8C4BC; --line: rgba(217, 184, 114, .22);
  --gold: #D9B872; --gold2: #F3D58F; --accent: var(--gold);
  --serif: Didot, "Bodoni 72", "Bodoni Moda", "Playfair Display", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 75% 0%, #0E3A40 0, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, #072429 0, transparent 60%),
    linear-gradient(180deg, var(--bg), var(--deep));
  background-attachment: fixed;
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
header.site a.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: .04em; color: var(--gold); text-decoration: none; }
header.site a.brand:before { content: ''; width: 32px; height: 32px; border-radius: 9px; background: url('/images/icon.png') center/cover; box-shadow: 0 0 0 1px var(--line); }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
header.site nav a { color: var(--ink2); text-decoration: none; }
header.site nav a:hover { color: var(--gold); }
a { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: 34px; line-height: 1.2; margin: 24px 0 8px; }
h2 { font-size: 24px; margin: 28px 0 6px; }
p, li { color: var(--ink2); }
strong { color: var(--ink); font-weight: 600; }
.meta { color: var(--ink2); font-size: 14px; letter-spacing: .02em; }
section.card { background: linear-gradient(160deg, rgba(14, 53, 60, .85), rgba(6, 30, 35, .85)); border: 1px solid var(--line); border-radius: 18px; padding: 8px 24px 20px; margin: 24px 0; }
.hero { text-align: center; padding: 32px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.lead { font-size: 19px; }
footer { margin-top: 40px; color: var(--ink2); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 500; color: var(--ink); }
summary::marker { color: var(--gold); }

/* Journal (blog index and posts). */
.blog-head { padding: 40px 0 8px; }
.blog-head h1 { font-size: 44px; margin: 6px 0 10px; }
.post-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.post-list a { display: block; text-decoration: none; background: linear-gradient(160deg, var(--surface2), var(--surface)); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; transition: border-color .2s ease, transform .2s ease; }
.post-list a:hover { border-color: var(--gold); transform: translateY(-1px); }
.post-list h2 { color: var(--ink); font-size: 24px; line-height: 1.25; margin: 2px 0 6px; }
.post-list p { margin: 0; }
.post { padding-top: 24px; }
.post h1 { font-size: 40px; line-height: 1.15; margin: 8px 0 6px; }
.post h2 { font-size: 26px; margin: 36px 0 8px; color: var(--ink); }
.post .lead { color: var(--ink); }
.post li { margin: 4px 0; }
.crumbs { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.crumbs a { text-decoration: none; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plain th, table.plain td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink2); }
table.plain thead th { color: var(--gold); font-weight: 500; }
table.plain tbody th { color: var(--ink); font-weight: 500; }
.post-cta { margin: 48px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, var(--surface2), var(--surface)); text-align: center; }
.post-cta h2 { margin-top: 0; }
@media (max-width: 600px) { .post h1, .blog-head h1 { font-size: 32px; } .post h2 { font-size: 22px; } }

/* Home page (index.html + home.js). */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.home main { max-width: 1100px; padding-top: 8px; }
.wide { max-width: 1100px; margin: 0 auto; padding: 22px 20px 0; }
footer.wide { padding-bottom: 40px; margin-top: 40px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #051C21; font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 2px; padding: 15px 26px; cursor: pointer; font-family: inherit; box-shadow: 0 10px 30px -12px rgba(217, 184, 114, .6); transition: transform .2s ease, box-shadow .2s ease; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(217, 184, 114, .75); }
header.site nav a.cta.small { color: var(--gold); background: none; border: 1px solid var(--gold); padding: 8px 14px; box-shadow: none; font-size: 12px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 6px; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px 0 24px; min-height: 78vh; }
.hero2 h1 { font-size: 64px; line-height: 1.04; margin: 12px 0 14px; }
.calm { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold2); margin: 0 0 14px; }
.globe { width: 100%; height: auto; overflow: visible; }
.globe .grid { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .35; }
.globe .grid circle { opacity: 1; stroke-width: 1.1; }
.globe .arc { fill: none; stroke: var(--gold2); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 5; }
.globe .arc { animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.globe .city circle { fill: var(--gold2); }
.globe text { fill: var(--ink2); font-family: var(--serif); font-style: italic; font-size: 15px; paint-order: stroke; stroke: #041a1e; stroke-width: 6px; stroke-linejoin: round; }
.globe .meet circle { fill: none; stroke: var(--gold2); stroke-width: 1.6; }
.globe .meet circle:not(.halo) { fill: var(--gold2); }
.globe .meet text { fill: var(--ink); font-size: 18px; }
.globe .halo { transform-origin: 262px 196px; animation: halo 3.2s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.chat-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.chat-demo { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 10px; align-items: center; background: linear-gradient(160deg, var(--surface2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.chat-title { font-size: 12px; margin: 0 0 6px; letter-spacing: .04em; }
.bub { background: #1B3237; color: #E8EEE9; border-radius: 16px; padding: 7px 12px; margin: 5px 0; font-size: 14px; line-height: 1.4; width: fit-content; max-width: 92%; }
.bub.me { background: #3A3424; color: #F6EBD2; margin-left: auto; }
.arrow { color: var(--gold); font-size: 24px; text-align: center; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tcard, .field { background: rgba(2, 14, 17, .55); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--ink); }
.ic { color: var(--gold); margin-right: 4px; }
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }
.block { margin: 110px 0; }
.block h2 { font-size: 42px; line-height: 1.12; margin: 6px 0 12px; color: var(--ink); }
.block > p { max-width: 640px; }
.split-box { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; background: linear-gradient(160deg, var(--surface2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin-top: 20px; }
.split-rows { display: grid; gap: 16px; }
.split-row { display: grid; grid-template-columns: 130px 110px 1fr; gap: 10px; align-items: center; }
.split-row .what { color: var(--ink); font-weight: 500; }
.split-row small { display: block; color: var(--ink2); font-weight: 400; font-size: 13px; }
.split-row input[type=number] { width: 80px; background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; }
.split-row input[type=number]:focus, .poster-form input:focus { outline: 1px solid var(--gold); }
.who { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--ink2); }
.who input { accent-color: var(--gold); margin-right: 4px; }
.split-out { border-left: 1px solid var(--line); padding-left: 24px; }
.pay { margin: 6px 0; color: var(--ink); }
.amt { color: var(--gold2); font-family: var(--serif); font-size: 20px; margin-left: 6px; }
svg.route { width: 100%; height: auto; background: linear-gradient(160deg, var(--surface2), var(--surface)); border: 1px solid var(--line); border-radius: 22px; margin-top: 20px; }
.route-line { fill: none; stroke: var(--gold2); stroke-width: 2.5; stroke-linecap: round; }
svg.route circle { fill: var(--gold2); }
svg.route text { fill: var(--ink); font-size: 13px; font-family: var(--serif); font-style: italic; }
.import { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: center; }
.phone { background: var(--deep); border: 1px solid var(--line); border-radius: 34px; padding: 16px; display: grid; gap: 8px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.shot { background: #F3EAD3; color: #051C21; border-radius: 10px; padding: 10px; font-size: 13px; line-height: 1.5; }
.poster-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: start; margin-top: 20px; }
.poster-form { display: grid; gap: 16px; }
.poster-form label { display: grid; gap: 6px; color: var(--ink); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.poster-form input { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; font: inherit; font-weight: 400; }
.poster-form .cta { justify-self: start; }
.err { color: #F09595; margin: 0; font-size: 14px; min-height: 1em; }
#p-canvas { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.compare-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, var(--surface2), var(--surface)); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink2); }
.compare thead th.us { color: var(--gold); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 40%; }
.compare td { color: var(--ink2); }
.compare td.us { color: var(--gold2); background: rgba(217, 184, 114, .06); }
.fine { font-size: 12px; color: var(--ink2); opacity: .8; margin-top: 12px; }
#faq h2 { margin-bottom: 8px; }
.final { text-align: center; padding: 60px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final h2 { font-size: 48px; }
@media (max-width: 860px) {
  .hero2, .chat-block, .split-box, .import, .poster-grid { grid-template-columns: 1fr; }
  .hero2 { min-height: 0; padding-top: 32px; }
  .hero2 h1 { font-size: 44px; }
  .globe { max-width: 420px; margin: 0 auto; }
  .block { margin: 80px 0; }
  .block h2 { font-size: 32px; }
  .final h2 { font-size: 34px; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .compare thead th { font-size: 17px; }
  .split-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .split-row { grid-template-columns: 1fr 110px; }
  .split-row .who { grid-column: 1 / -1; }
  .import .phone { max-width: 240px; }
  .poster-grid canvas { max-width: 320px; }
  body.home header.site nav a:not(.cta) { display: none; }
}
@media (max-width: 480px) {
  .chat-demo { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .hero2 h1 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .globe .halo, .globe .arc { animation: none; }
  .globe .halo { opacity: 0; }
}
