/* Glass City AI site styles. Self-hosted font, no JS, no trackers, no third-party loads.
   Idea: Toledo is the Glass City. Plate glass looks green on its edge, so panels here are
   clear panes with a green edge, layered the way glass is stacked in a shop. */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --river: #13242c;      /* Maumee at dusk: main ink and dark bands */
  --river-2: #1d3640;
  --clear: #f4f8f7;      /* page: cool, like light through clear glass */
  --mist: #e2ecea;       /* pane fill */
  --edge: #2f8f7e;       /* plate-glass edge green */
  --edge-soft: #a9d6cb;
  --slate: #4b5d64;      /* secondary text */
  --amber: #b06d12;      /* old Toledo bottle glass, used once */
  --radius: 6px;
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--clear);
  color: var(--river);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
  font-variation-settings: "opsz" 96;
}

h1 { font-size: clamp(2.6rem, 7.2vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; font-variation-settings: "opsz" 24; }

p { margin: 0 0 1em; }
a { color: var(--edge); text-underline-offset: 3px; }
a:hover { color: var(--river); }

:focus-visible { outline: 3px solid var(--edge); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Header, shared with /privacy/ */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--river);
  text-decoration: none;
}

/* the mark: two offset panes */
.wordmark::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 2px solid var(--edge);
  border-radius: 3px;
  background: rgba(47, 143, 126, 0.12);
  box-shadow: 6px -6px 0 -2px var(--clear), 6px -6px 0 0 var(--edge);
  flex: none;
  margin: 6px 12px 0 0;
}

.wordmark .dot { color: var(--edge); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--river);
  color: #fff;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.2;
  border: 2px solid var(--river);
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--edge); border-color: var(--edge); color: #fff; }
.btn.small { padding: 10px 16px; font-size: 0.93rem; }
.btn.light { background: #fff; color: var(--river); border-color: #fff; }
.btn.light:hover { background: var(--edge-soft); border-color: var(--edge-soft); color: var(--river); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 96px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 26px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--edge);
  box-shadow: 0 0 0 0 rgba(47, 143, 126, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 143, 126, 0.5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(47, 143, 126, 0); }
}

.hero h1 { max-width: 12.5ch; }

.hero .sub {
  font-size: 1.22rem;
  color: var(--slate);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.micro { font-size: 0.93rem; color: var(--slate); margin: 0; line-height: 1.45; }

/* The device: stacked glass panes holding a chat */
.device { position: relative; margin: 0; padding: 28px 28px 0 0; }

.pane {
  border-radius: 10px;
  border: 1.5px solid rgba(47, 143, 126, 0.55);
  background: linear-gradient(160deg, rgba(255,255,255,0.75), rgba(226,236,234,0.55));
}

.pane-back, .pane-mid { position: absolute; inset: 0 0 64px 28px; }
.pane-back { transform: translate(0, 0); opacity: 0.45; }
.pane-mid { transform: translate(-14px, 14px); opacity: 0.7; }

.pane-front {
  position: relative;
  transform: translate(-28px, 28px);
  background: #fff;
  border: 1.5px solid var(--edge);
  border-left-width: 6px;   /* the green edge you see on plate glass */
  padding: 20px 22px 22px;
  box-shadow: 0 24px 50px -28px rgba(19, 36, 44, 0.45);
}

.chat-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mist);
  font-size: 0.85rem;
}
.chat-name { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.chat-where { color: var(--edge); font-weight: 600; }
.chat-where::before { content: "\25CF"; font-size: 0.6em; margin-right: 6px; vertical-align: 2px; }

.bubble {
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 11px 14px;
  border-radius: 12px;
  margin: 0 0 10px;
  max-width: 88%;
}
.bubble.me { background: var(--river); color: #eef4f3; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.ai { background: var(--mist); color: var(--river); border-bottom-left-radius: 4px; }
.bubble:last-child { margin-bottom: 0; }

.device figcaption {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 48px;
  padding-left: 0;
  transform: translateX(-28px);
}

/* Claim band */
.claim { background: var(--river); color: #dce8e6; padding: 88px 0 0; overflow: hidden; }
.skyway { display: block; width: 100%; height: clamp(220px, 30vw, 400px); margin-top: 24px; }
.claim-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.claim h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 0; }
.claim p { font-size: 1.2rem; margin: 0; padding-left: 28px; border-left: 6px solid var(--edge); }

/* Sections */
.why, .pricing, .answers { padding-top: 104px; padding-bottom: 8px; }
.answers { padding-bottom: 104px; }

.section-head { max-width: 40em; margin-bottom: 40px; }
.lead { font-size: 1.15rem; color: var(--slate); }

/* Reasons: three panes side by side, edge-on */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1.5px solid var(--edge);
}
.reason { padding: 30px 30px 8px 0; }
.reason + .reason { padding-left: 30px; border-left: 1px solid var(--edge-soft); }
.reason p { color: var(--slate); font-size: 0.99rem; }
.spot { display: block; width: 150px; height: auto; margin: 4px 0 18px; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1.5px solid var(--edge-soft);
  border-left: 6px solid var(--edge);
  border-radius: var(--radius);
  padding: 28px;
}
.plan p { color: var(--slate); font-size: 0.99rem; margin-bottom: 0; }
.plan .amount {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--river);
  line-height: 1;
  margin: 4px 0 16px;
}
.plan .amount span { font-family: var(--body); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--slate); }

.plan.founding {
  background: #fbf3e6;
  border-color: #e8cfa6;
  border-left-color: var(--amber);
}
.plan.founding h3 { font-size: 1.45rem; color: #5a3806; }
.plan.founding p { color: #6b4a1c; }

.fine { font-size: 0.92rem; color: var(--slate); margin-top: 18px; }

/* FAQ */
.faq { border-top: 1.5px solid var(--edge); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--edge-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--edge);
  border-bottom: 2px solid var(--edge);
  transform: rotate(45deg) translateY(-4px);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-body { padding: 0 0 18px; max-width: 44em; }
.faq-body p { color: var(--slate); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--river) 0%, var(--river-2) 100%);
  color: #fff;
  padding: 88px 0;
}
.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 14ch; margin: 0; }
.cta-band .micro { color: #b8cbc8; margin-top: 14px; }

/* Footer, shared with /privacy/ */
.site-foot { padding: 40px 0 48px; font-size: 0.92rem; color: var(--slate); }
.site-foot p { margin-bottom: 0.4em; }
.site-foot .disclaimer { font-style: italic; }

/* Privacy page */
.doc { max-width: 720px; padding: 48px 28px 88px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc .updated { color: var(--slate); font-size: 0.92rem; }
.doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 1.1em; }
.doc li::marker { color: var(--edge); font-family: var(--display); font-weight: 700; }

/* Small screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 72px; }
  .device { max-width: 460px; padding: 14px 0 0 14px; }
  .status { margin-bottom: 18px; }
  .pane-back, .pane-mid { inset: 0 0 52px 28px; }
  .pane-mid { transform: translate(-7px, 7px); }
  .pane-front { transform: translate(-14px, 14px); }
  .device figcaption { transform: none; margin-top: 30px; }
  .claim-inner { grid-template-columns: 1fr; gap: 28px; }
  .reasons, .plans { grid-template-columns: 1fr; }
  .reason, .reason + .reason { padding: 26px 0 6px; border-left: 0; }
  .reason + .reason { border-top: 1px solid var(--edge-soft); }
  .why, .pricing, .answers { padding-top: 76px; }
  .answers { padding-bottom: 76px; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-head .btn.small { padding: 9px 12px; font-size: 0.85rem; }
  .wordmark { font-size: 1.1rem; }
  .wordmark::before { margin-right: 10px; }
  .claim p { padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .btn, .faq summary::after { transition: none; }
}

/* Private Safe AI additions */
.trip {
  list-style: none;
  counter-reset: trip;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 56px 0 0;
  padding: 0;
}
.trip li {
  counter-increment: trip;
  position: relative;
  padding: 26px 28px 8px 0;
  border-top: 1.5px solid var(--edge);
}
.trip li + li { padding-left: 28px; border-left: 1px solid rgba(169, 214, 203, 0.25); }
.trip li::before {
  content: counter(trip);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--river);
  background: var(--edge-soft);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.trip h3 { color: #fff; }
.trip p { color: #c6d8d5; font-size: 0.99rem; padding: 0; border: 0; }
.psai .claim { padding-bottom: 88px; }
.psai .claim.origin { padding-bottom: 0; background: #0f1d24; }
.on-dark { color: var(--edge-soft); }
.on-dark:hover { color: #fff; }
.reasons.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.limits { padding-top: 104px; padding-bottom: 8px; }
@media (max-width: 900px) {
  .trip { grid-template-columns: 1fr; }
  .trip li, .trip li + li { padding: 22px 0 6px; border-left: 0; }
  .reasons.four { grid-template-columns: 1fr; }
  .limits { padding-top: 76px; }
}
