/* Private Chat 365 — site styles. No external fonts, trackers or scripts. */
@font-face { font-family: "Bitter"; src: url("fonts/bitter.woff") format("woff"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dmsans.woff") format("woff"); font-weight: 100 1000; font-display: swap; }

:root {
  --ink: #13233F;        /* text, dark bands */
  --ink-2: #44526B;      /* secondary text */
  --lagoon: #0A746F;     /* main action */
  --lagoon-d: #075A56;
  --seaglass: #DDF3EE;   /* quiet panels */
  --paper: #FAFCFB;      /* page */
  --lilac: #7466E8;      /* the relay / "scrambled" colour */
  --amber: #E39A1E;      /* trial & time */
  --line: #D5DFE0;
  --radius-s: 8px;
  --radius-l: 22px;
  --wrap: 1120px;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
a:hover { color: var(--lagoon-d); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 252, 251, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.15rem var(--serif); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--lagoon); text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .top .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--paper); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.primary { background: var(--lagoon); color: #fff; }
.btn.primary:hover { background: var(--lagoon-d); color: #fff; }
.btn.line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.small { padding: 9px 16px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 85% 30%, #CBC4FF 0%, transparent 60%), radial-gradient(50% 60% at 60% 90%, #BDEFE4 0%, transparent 65%), radial-gradient(40% 50% at 100% 100%, #BFE3FF 0%, transparent 60%), var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 13ch; }
.trial-note { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ink-2); max-width: 46ch; }
.trial-note b { color: var(--ink); }
.trial-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-top: 8px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* the relay diagram: the one moving thing on the page */
.relay { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; padding: 10px 0; }
.dev { background: #fff; border: 2px solid var(--ink); position: relative; padding: 14px 12px 16px; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; box-shadow: 0 18px 40px -22px rgba(19, 35, 63, .45); }
.dev.phone { border-radius: 28px; width: 100%; max-width: 190px; justify-self: end; }
.dev.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: var(--ink); opacity: .85; }
.dev.pc { border-radius: 10px 10px 4px 4px; width: 100%; max-width: 230px; min-height: 190px; justify-self: start; }
.dev.pc::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: -14px; height: 12px; border-radius: 0 0 12px 12px; background: var(--ink); }
.dev .who { position: absolute; top: 18px; left: 8px; right: 8px; white-space: nowrap; font: 600 .76rem var(--sans); color: var(--ink-2); text-align: center; }
.dev.pc .who { top: 10px; }
.bub { font-size: .95rem; line-height: 1.35; padding: 8px 11px; border-radius: 14px; max-width: 92%; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.bub.show { opacity: 1; transform: none; }
.bub.out { background: #2F7BF6; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bub.in { background: #EEF1F6; color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.lock-chip { display: inline-flex; align-items: center; gap: 5px; font: 600 .72rem var(--sans); color: var(--lagoon); }
.lock-chip svg { width: 12px; height: 12px; }
.mid { position: relative; width: 176px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wire { position: absolute; top: 50%; left: -14px; right: -14px; height: 0; border-top: 2px dashed #9AA6BC; }
.box { position: relative; z-index: 1; background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 12px 12px; width: 150px; text-align: center; }
.box .t { font: 600 .74rem var(--sans); opacity: .8; display: block; margin-bottom: 6px; }
.box code { display: block; font: 500 .78rem/1.35 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #C9C2FF; word-break: break-all; min-height: 3.3em; }
.packet { position: absolute; z-index: 2; top: 50%; left: -14px; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; background: var(--lilac); box-shadow: 0 0 0 4px rgba(116, 102, 232, .25); opacity: 0; }
.relay-cap { font-size: .88rem; color: var(--ink-2); text-align: center; margin: 26px auto 0; max-width: 46ch; }
@media (max-width: 560px) {
  .relay { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .dev.phone, .dev.pc { justify-self: center; max-width: 230px; min-height: 150px; }
  .mid { width: 100%; }
  .wire { top: -20px; bottom: -20px; left: 50%; right: auto; width: 0; height: auto; border-top: 0; border-left: 2px dashed #9AA6BC; }
  .packet { left: 50%; margin-left: -8px; top: -20px; margin-top: 0; }
}

/* sections */
section { padding: 84px 0; }
section.tint { background: var(--seaglass); }
section.dark { background: var(--ink); color: #E9EEF6; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .muted, section.dark p { color: #C8D2E2; }
section.dark a { color: #8FE3D6; }
.sec-head { max-width: 680px; margin-bottom: 44px; }

/* how it works: a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); font: 700 2.2rem/1 var(--serif); color: var(--lagoon); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { font-size: .98rem; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.how-shots { display: flex; gap: 26px; align-items: flex-end; justify-content: center; margin-top: 52px; flex-wrap: wrap; }

/* device screenshots */
.shot-phone { width: 250px; border-radius: 28px; border: 7px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(19, 35, 63, .6); }
.shot-phone img { border-radius: 21px; }
.shot-pc { border-radius: 12px; border: 6px solid var(--ink); border-top-width: 18px; background: var(--ink); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(19, 35, 63, .6); }
.shot-pc img { border-radius: 4px; }
figure { margin: 0; }
figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; text-align: center; }

/* feature rows */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat.flip .feat-pic { order: -1; }
.feat-pic { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.feat-pic .shot-phone { width: 230px; }
.feat-pic .shot-phone.sm { width: 190px; margin-bottom: 30px; }
.feat ul { padding-left: 1.1em; margin: 0; }
.feat li { margin: 0 0 .45em; }
.feat li::marker { color: var(--lagoon); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; gap: 28px; } .feat.flip .feat-pic { order: 0; } .feat-pic .shot-phone { width: 200px; } .feat-pic .shot-phone.sm { width: 160px; } }

.also { columns: 3 240px; column-gap: 40px; padding: 0; list-style: none; margin: 0; }
.also li { break-inside: avoid; padding: 0 0 18px; }
.also b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.also span { color: var(--ink-2); font-size: .96rem; }

/* comparison */
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { text-align: left; padding: 13px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); vertical-align: top; }
.compare thead th { font: 650 1.02rem var(--serif); color: #fff; border-bottom: 2px solid rgba(255, 255, 255, .5); }
.compare td:first-child { color: #fff; font-weight: 600; width: 34%; }
.compare .yes { color: #8FE3D6; }
.table-scroll { overflow-x: auto; }

/* good to know */
.know { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.know div { padding: 20px 0; border-top: 1px solid var(--line); }
.know h3 { font-size: 1.1rem; }
.know p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .know { grid-template-columns: 1fr; } }

/* license timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 10px 0 46px; position: relative; }
.timeline li { position: relative; padding: 46px 22px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 14px; left: 0; right: 0; height: 4px; background: var(--amber); }
.timeline li:first-child::before { left: 9px; }
.timeline li:last-child::before { background: var(--lagoon); }
.timeline li::after { content: ""; position: absolute; top: 6px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--amber); }
.timeline li:last-child::after { border-color: var(--lagoon); background: var(--lagoon); }
.timeline .when { font: 700 1.05rem var(--serif); display: block; margin-bottom: 4px; }
.timeline p { font-size: .97rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 26px 40px; }
  .timeline li::before { top: 0; bottom: 0; left: 8px; right: auto; width: 4px; height: auto; }
  .timeline li:first-child::before { left: 8px; top: 10px; }
  .timeline li::after { top: 2px; }
}

.price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.contact { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-l); padding: 26px 26px 20px; }
.contact h3 { margin-bottom: .2em; }
.mail { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mail:first-of-type { border-top: 0; }
.mail span { font: 600 1.02rem var(--sans); word-break: break-all; }
.copy { background: var(--seaglass); color: var(--lagoon-d); border: 0; border-radius: 999px; padding: 7px 14px; font: 600 .9rem var(--sans); cursor: pointer; }
.copy:hover { background: #C6EBE3; }
.copy.done { background: var(--lagoon); color: #fff; }
.mail-tpl { background: var(--paper); border: 1px dashed #A9B6C4; border-radius: var(--radius-s); padding: 12px 14px; font-size: .93rem; white-space: pre-wrap; margin: 6px 0 0; color: var(--ink); font-family: var(--sans); }

.price ul { padding-left: 1.1em; } .price li { margin-bottom: .5em; } .price li::marker { color: var(--lagoon); }

/* download */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.dl-box { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; }
.dl-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; }
.dl-box h3 svg { width: 30px; height: 30px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 6px 0 20px; font-size: .95rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }
.dl-box .btn { align-self: flex-start; margin-top: auto; }
.sha { font: .78rem/1.4 ui-monospace, Consolas, monospace; word-break: break-all; color: var(--ink-2); margin-top: 14px; }

/* install guide */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; } }
.install ol { padding-left: 1.3em; margin: 0; }
.install li { margin-bottom: 14px; }
.install li::marker { font: 700 1rem var(--serif); color: var(--lagoon); }
.install .pics { display: flex; gap: 14px; margin: 12px 0 4px; flex-wrap: wrap; }
.install .pics .shot-phone { width: 150px; border-width: 5px; border-radius: 20px; }
.install .pics .shot-phone img { border-radius: 15px; }
.win-pop { border: 1px solid #9DB1CF; background: #1D5FB4; color: #fff; border-radius: 6px; padding: 14px 16px; font: .9rem "Segoe UI", var(--sans); max-width: 380px; margin: 10px 0; }
.win-pop b { display: block; font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.win-pop u { color: #fff; }
.win-pop .row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.win-pop .row span { border: 1px solid #fff; padding: 4px 14px; border-radius: 3px; }
.win-pop .row span:first-child { background: #fff; color: #1D5FB4; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font: 600 1.1rem var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font: 400 1.7rem var(--sans); color: var(--lagoon); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding-right: 40px; }

/* final call to action */
.end { text-align: left; }
.end .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.end h2 { margin: 0; max-width: 18ch; }

/* footer */
footer { padding: 46px 0 36px; font-size: .93rem; color: var(--ink-2); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink); }

/* plain text pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
.note { background: var(--seaglass); border-radius: var(--radius-s); padding: 14px 18px; font-size: .95rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; }

@media (max-width: 560px) {
  .how-shots { flex-wrap: nowrap; gap: 10px; }
  .how-shots figure { flex: 1 1 0; min-width: 0; }
  .how-shots .shot-phone { width: 100%; border-width: 4px; border-radius: 16px; }
  .how-shots .shot-phone img { border-radius: 12px; }
  .how-shots figcaption { font-size: .78rem; }
  .feat-pic { gap: 10px; }
  .feat-pic .shot-phone { width: 54%; border-width: 5px; border-radius: 20px; }
  .feat-pic .shot-phone.sm { width: 42%; margin-bottom: 16px; }
  .feat-pic .shot-phone img { border-radius: 15px; }
  .shot-pc { border-width: 4px; border-top-width: 12px; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) { .compare { font-size: .86rem; } .compare th, .compare td { padding: 10px 7px; } .compare td:first-child { width: 30%; } }
