/* Landing site. Matches the beta: Inter for text, Georgia for the wordmark
   and headlines, navy #202a44, paper #f4f6fa, and the blog-style header. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
}

:root {
  --paper: #f4f6fa;
  --card: #fff;
  --ink: #202e49;
  --navy: #202a44;
  --mute: #697991;
  --line: #dfe6f0;
  --bs-body-font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--mute);
  --bs-primary: #202a44;
  --bs-primary-rgb: 32, 42, 68;
  --bs-primary-text-emphasis: #141a2c;
  --bs-primary-bg-subtle: #e7e9f0;
  --bs-primary-border-subtle: #c8ccd8;
  --bs-link-color: #202a44;
  --bs-link-hover-color: #343e5c;
  --bs-link-color-rgb: 32, 42, 68;
  --bs-link-hover-color-rgb: 52, 62, 92;
  --bs-focus-ring-color: rgba(32, 42, 68, 0.25);
  color-scheme: light;
}
[data-bs-theme=dark] {
  --paper: #101725;
  --card: #182235;
  --ink: #eef3fc;
  --navy: #b9cdee;
  --mute: #a2b1c7;
  --line: #304057;
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--ink);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--mute);
  --bs-primary: #202a44;
  --bs-primary-rgb: 32, 42, 68;
  --bs-primary-text-emphasis: #e2e6f2;
  --bs-primary-bg-subtle: #2c3348;
  --bs-primary-border-subtle: #4a5370;
  --bs-link-color: #c8cde0;
  --bs-link-hover-color: #e4e7f2;
  --bs-link-color-rgb: 200, 205, 224;
  --bs-link-hover-color-rgb: 228, 231, 242;
  --bs-focus-ring-color: rgba(200, 205, 224, 0.35);
  color-scheme: dark;
}

html, body { overflow-x: clip; max-width: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--bs-body-font-family);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
.connection-logo { width: auto; height: 36px; max-width: none; flex: none; }
html[data-theme="dark"] .connection-logo { filter: brightness(0) invert(1); }

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #202a44;
  --bs-btn-border-color: #202a44;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #343e5c;
  --bs-btn-hover-border-color: #343e5c;
  --bs-btn-focus-shadow-rgb: 32, 42, 68;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #161d30;
  --bs-btn-active-border-color: #161d30;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #202a44;
  --bs-btn-disabled-border-color: #202a44;
}
.btn-outline-primary {
  --bs-btn-color: #202a44;
  --bs-btn-border-color: #202a44;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #202a44;
  --bs-btn-hover-border-color: #202a44;
  --bs-btn-focus-shadow-rgb: 32, 42, 68;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #202a44;
  --bs-btn-active-border-color: #202a44;
  --bs-btn-disabled-color: #202a44;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #202a44;
}
[data-bs-theme=dark] .btn-primary {
  --bs-btn-color: #15223c;
  --bs-btn-bg: #b9cbed;
  --bs-btn-border-color: #b9cbed;
  --bs-btn-hover-color: #15223c;
  --bs-btn-hover-bg: #d5e0f2;
  --bs-btn-hover-border-color: #d5e0f2;
  --bs-btn-active-color: #15223c;
  --bs-btn-active-bg: #9eb4d4;
  --bs-btn-active-border-color: #9eb4d4;
  --bs-btn-disabled-color: #15223c;
  --bs-btn-disabled-bg: #b9cbed;
  --bs-btn-disabled-border-color: #b9cbed;
}
[data-bs-theme=dark] .btn-outline-primary {
  --bs-btn-color: #c8cde0;
  --bs-btn-border-color: #a8b0c8;
  --bs-btn-hover-color: #141a2c;
  --bs-btn-hover-bg: #c8cde0;
  --bs-btn-hover-border-color: #c8cde0;
  --bs-btn-active-color: #141a2c;
  --bs-btn-active-bg: #c8cde0;
  --bs-btn-active-border-color: #c8cde0;
  --bs-btn-disabled-color: #c8cde0;
  --bs-btn-disabled-border-color: #4a5370;
}

.blog-header { border-bottom: 1px solid var(--line); padding: 22px 0 0; }
.blog-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 16px;
}
.blog-side-start { grid-column: 1; }
.brand-home {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  text-decoration: none;
}
.brand-home:hover { color: var(--ink); }
.brand-domain { color: var(--mute); }
.blog-side-end {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  min-width: 0;
}
.sign-in {
  color: var(--mute);
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}
.sign-in:hover { color: var(--ink); }
.blog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  padding: 18px 0 14px;
}
.blog-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  padding: 6px 2px;
}
.blog-nav a:hover { border-bottom: 2px solid currentColor; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  padding: 3px;
  border: 0;
  background: none;
  color: inherit;
  box-shadow: none;
}
.theme-toggle .ico { grid-area: 1 / 1; width: 20px; height: 20px; }
.theme-toggle .theme-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: block; }

.hero { padding: 3.25rem 0 2.5rem; }
.hero h1, .legal h1, .section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.5px;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.kicker {
  margin: 0 0 0.6rem;
  color: var(--mute);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .lead { color: var(--mute); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.band { background: var(--card); }
.section-title { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; }

.card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}
.plan-featured { border-color: var(--navy); border-width: 2px; }
[data-bs-theme=dark] .plan-featured { border-color: var(--navy); }
.price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.card ul { padding-left: 1.15rem; }
.card li + li { margin-top: 0.25rem; }
.plan-note { color: var(--mute); font-size: 0.95rem; }

.bill-toggle { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bill-toggle .btn { border-radius: var(--bs-border-radius) !important; }

/* Empty phone outlines stay in the markup. Delete this rule when real screenshots are ready. */
.app-shots { display: none !important; }

.device {
  width: min(220px, 100%);
  aspect-ratio: 9 / 19;
  border: 8px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  color: var(--mute);
  text-align: center;
}
.device.ipad { aspect-ratio: 3 / 4; width: min(280px, 100%); }

.faq .accordion-item { background: var(--card); color: var(--ink); border-color: var(--line); }
.faq .accordion-button { background: var(--card); color: var(--ink); }
.faq .accordion-button:not(.collapsed) {
  color: var(--ink);
  background: color-mix(in srgb, var(--navy) 14%, var(--card));
  box-shadow: none;
}
.faq .accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(32, 42, 68, 0.25); }
.faq .accordion-body { background: var(--card); }

.legal { padding: 2rem 0 3rem; }
.legal-body { max-width: 760px; }
.legal h1 { font-size: 2rem; margin-bottom: 0.25rem; }
.legal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  margin-top: 2.2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
}
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal p, .legal li { overflow-wrap: break-word; }
.legal ul { padding-left: 1.4rem; }
.legal li { margin: 0.3rem 0; }
.confirm {
  background: #ffe9a8;
  color: #5a4300;
  padding: 0 0.2em;
  border-radius: 3px;
  font-weight: 600;
}
[data-bs-theme=dark] .confirm { background: #5a4300; color: #ffe9a8; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--mute);
  text-align: center;
  font-size: 0.95rem;
}
.crew { color: var(--mute); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin: 0;
  padding: 0;
}
.footer-links a { color: var(--navy); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.build-stamp {
  margin: 0.85rem 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mute);
}

@media (max-width: 700px) {
  .blog-header { padding-top: 18px; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-side-start { display: none; }
  .brand-home { grid-column: 1; justify-self: center; font-size: 28px; }
  .blog-side-end { grid-column: 1; justify-self: end; }
  .blog-nav { gap: 8px 20px; padding-top: 8px; }
  .hero { padding-top: 2.25rem; }
}
