:root {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;

  --text: #111827;
  --muted: #4b5563;

  --border: #e5e7eb;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --container: 1080px;

  /* Deeper endpoint that still feels “in family” with your current --primary */
  --appstore_cta_deep: #1e40af;

  /* Glow uses your logo’s light blue tone (matches the brand without being loud) */
  --appstore_glow: rgba(135,191,234,0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */

.site_header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo_link img {
  width: 320px;
  height: auto;
}

.header_actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
}

.header_link:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* Nav */

.site_nav {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.nav_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
}

.nav_link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
}

.nav_link:hover {
  background: #f3f4f6;
  color: var(--text);
}

.nav_link.is_active {
  background: #f3f4f6;
  color: var(--text);
}

.nav_cta {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

/* Hero */

.hero {
  padding: 34px 0 18px 0;
}

.hero_grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: stretch;
}

.hero_copy {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.hero_title {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero_lede {
  margin: 14px 0 0 0;
  font-size: 16px;
  color: var(--muted);
}

.hero_points {
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero_points li {
  margin: 6px 0;
}

.hero_actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  justify-content: flex-start;
}

.hero_actions--centered {
  justify-content: center;
}

.hero_microcopy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.hero_hint {
  margin-top: 35px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.78);
}

/* Buttons */

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  background: var(--surface-2);
}

/* Hero panel */

.hero_panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel_title {
  font-weight: 900;
  margin-bottom: 12px;
}

.pair {
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: var(--surface);

  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.pair:hover {
  box-shadow: var(--shadow);
}

.pair_left,
.pair_right {
  font-size: 13px;
  font-weight: 800;
  min-width: 0;
  white-space: nowrap;
}

.pair_left {
  text-align: right;
}

.pair_arrow {
  display: block;
  width: 36px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

.pair_right {
  text-align: left;
}

.pair_right {
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.panel_footer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.text_link {
  color: var(--muted);
}

.text_link:hover {
  color: var(--text);
}

.dot {
  padding: 0 8px;
  color: var(--border);
}

.panel_note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* Trust strip */

.trust_strip {
  padding: 6px 0 22px 0;
}

.trust_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust_item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 14px;
}

.trust_title {
  font-weight: 900;
  margin-bottom: 4px;
}

.trust_text {
  color: var(--muted);
  font-size: 14px;
}

/* Benefits */

.benefits {
  padding: 18px 0 24px 0;
}

.benefits_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}

.benefit_title {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.benefit p {
  margin: 8px 0;
  color: var(--muted);
}

/* Explain + Logos */

.explain {
  padding: 6px 0 10px 0;
}

.section_title {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.section_text {
  margin: 0;
  color: var(--muted);
}

.benefits .section_text {
  margin-bottom: 14px;
}

.logos {
  padding: 18px 0 34px 0;
}

.logos_block {
  margin-top: 14px;
}

.logos_group_title {
  font-weight: 900;
  margin: 10px 0;
}

.logos_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo_tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  text-decoration: none;
}

.logo_tile:hover {
  box-shadow: var(--shadow);
}

.logo_tile img {
  max-height: 30px;
  width: auto;
  max-width: 100%;
}

/* Footer */

.site_footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding: 18px 0;
  color: var(--muted);
}

.footer_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer_link {
  color: var(--muted);
  text-decoration: none;
}

.footer_link:hover {
  color: var(--text);
}

/* Signup page */

.hero_signup .hero_lede {
  max-width: 60ch;
}

.hero_grid_signup {
  align-items: start;
}

.signup_card {
  margin-top: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.signup_h2 {
  margin: 16px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.form_row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 10px 0 0;
}

.form_label {
  font-size: 13px;
  color: var(--muted);
}

.form_select,
.form_input {
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
}

.form_input {
  display: inline-block;
  width: auto;
  min-width: 260px;
}

.signup_install_box {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
}

.signup_install_title {
  font-weight: 900;
  margin-bottom: 6px;
}

.signup_install_text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.appstore_panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.appstore_intro {
  margin: 0 0 10px;
  color: var(--text);
}

.appstore_notice {
  margin: 10px 0 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(116,191,232,0.14);
}

.appstore_links {
  margin-top: 12px;
}

/* App Store install buttons - no encircled arrow */

.appstore_link {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* was space-between */
  gap: 10px;

  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(29,78,216,0.95);

  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.01em;

  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--appstore_cta_deep) 100%);
  box-shadow:
    0 18px 38px rgba(29,78,216,0.22),
    0 10px 18px rgba(0,0,0,0.08);

  transform: translateY(0);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

/* Remove the arrow entirely */
.appstore_link::after {
  content: none;
}

.appstore_link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(29,78,216,0.28),
    0 12px 22px rgba(0,0,0,0.10);
  filter: saturate(1.05);
}

.appstore_link:active {
  transform: translateY(-1px);
}

.appstore_link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--appstore_glow),
    0 22px 46px rgba(29,78,216,0.28),
    0 12px 22px rgba(0,0,0,0.10);
}

.signup_cta {
  margin-top: 12px;
}

.signup_lede_small {
  margin: 8px 0 0;
  color: var(--muted);
}

.signup_smallprint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.signup_callout {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  line-height: 1.45;
}

.signup_callout strong {
  font-weight: 900;
}

.hero_panel .panel_steps {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.hero_panel .panel_step {
  color: var(--text);
  line-height: 1.45;
}

.hero_panel .panel_callout {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
}

.panel_callout_title {
  font-weight: 900;
  margin-bottom: 6px;
}

.panel_callout_text {
  color: var(--muted);
  line-height: 1.45;
}

.panel_callout_links {
  margin-top: 8px;
  font-size: 13px;
}

@media (max-width: 1050px) {
  .hero_grid_signup {
    grid-template-columns: 1fr;
  }

  .form_input {
    min-width: 0;
    width: 100%;
  }
}

.hero_simple .hero_lede {
  max-width: 62ch;
}

.hero_grid_simple {
  align-items: start;
}

.steps_list {
  margin: 14px 0 0;
  padding-left: 20px;
  line-height: 1.6;
}

.steps_list li {
  margin: 8px 0;
}

.two_col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.two_col_item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.subhead {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.faq_section {
  padding: 10px 0 30px;
}

.faq_list {
  display: grid;
  gap: 12px;
}

.faq_item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
}

.faq_item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 10px 0;
}

.faq_item summary::-webkit-details-marker {
  display: none;
}

.faq_item summary::after {
  content: '▾';
  float: right;
  opacity: 0.65;
  font-weight: 900;
}

.faq_item[open] summary::after {
  content: '▴';
}

.faq_answer {
  padding: 4px 0 10px;
  line-height: 1.6;
}

.faq_answer p,
.faq_answer ol {
  margin: 10px 0;
}

.faq_answer ol {
  padding-left: 20px;
}

.faq_answer a.text_link {
  font-weight: 800;
}

/* Contact page */

.contact_section {
  padding: 10px 0 34px;
}

.contact_grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: start;
}

.contact_card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.form_textarea {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
}

.contact_form .form_input {
  width: 100%;
  min-width: 0;
}

.form_help {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.form_errors {
  margin: 12px 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.08);
}

.form_errors b {
  display: block;
  margin-bottom: 6px;
}

.form_errors ul {
  margin: 0;
  padding-left: 18px;
}

.form_info {
  margin: 12px 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  color: var(--muted);
  line-height: 1.55;
}

.recaptcha_wrap {
  margin-top: 10px;
}

/* =========================
   Connector page
   ========================= */

.connector_logo_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 6px;
  flex-wrap: wrap;
}

.connector_logo_cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.connector_logo {
  display: block;
  max-width: 180px;
  max-height: 52px;
  height: auto;
  width: auto;
}

.connector_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

.connector_badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.connector_badge_img {
  display: block;
  max-width: 260px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.connector_badge_plus {
  display: block;
  width: 22px;
  height: auto;
  opacity: 0.85;
}

.connector_section {
  padding: 22px 0 36px;
}

.connector_grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.connector_card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.connector_side .panel_title {
  margin-bottom: 10px;
}

.section_lede {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.subsection_title {
  margin-top: 18px;
  font-size: 18px;
}

.feature_list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.feature_list li {
  margin: 8px 0;
  line-height: 1.5;
}

.note_box {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(135, 191, 234, 0.12);
}

.steps_list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.steps_list li {
  margin: 8px 0;
  line-height: 1.5;
}

.video_wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 14px;
  background: #000;
}

.video_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta_row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media( max-width: 900px ) {
  .connector_grid {
    grid-template-columns: 1fr;
  }

  .connector_logo_row {
    justify-content: flex-start;
  }

  .connector_logo {
    max-width: 160px;
  }
}

@media (max-width: 980px) {
  .contact_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .two_col {
    grid-template-columns: 1fr;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .hero_grid {
    grid-template-columns: 1fr;
  }

  .trust_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits_grid {
    grid-template-columns: 1fr;
  }

  .logos_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero_title {
    font-size: 30px;
  }

  .logo_link img {
    width: 280px;
  }
}

@media (max-width: 520px) {
  .trust_grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 14px;
  }
}

/* =========================
   Legal pages (popup friendly)
   ========================= */

body.legal_page {
  background: var(--surface-2);
}

.legal_shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px;
}

.legal_card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.legal_title {
  margin: 0 0 8px 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.legal_intro {
  margin: 0 0 16px 0;
  color: var(--muted);
}

.legal_content {
  color: var(--text);
  line-height: 1.65;
}

.legal_content h2,
.legal_content h3 {
  margin: 18px 0 8px 0;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.legal_content h4 {
  margin: 14px 0 8px 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.legal_content p {
  margin: 10px 0;
  color: var(--text);
}

.legal_content p strong,
.legal_content strong {
  font-weight: 900;
}

.legal_content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.legal_content a:hover {
  color: var(--primary-hover);
}

.legal_content ol,
.legal_content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.legal_content li {
  margin: 8px 0;
}

.legal_notice {
  margin: 14px 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(135, 191, 234, 0.12);
  color: var(--text);
}

@media( max-width: 520px ) {
  .legal_shell {
    padding: 16px 14px;
  }

  .legal_card {
    padding: 18px;
  }

  .legal_title {
    font-size: 24px;
  }
}
