/* Choice Tech LLC — site styles
   Palette and layout approved in design review. */

:root {
  --bg:            #1E2530;
  --surface:       #283040;
  --surface-sunk:  #232B38;
  --surface-sel:   #2E3849;
  --border:        #3A4354;
  --border-strong: #46505F;

  --text:    #F7F9FC;
  --text-1:  #F2F5F9;
  --text-2:  #A3AEBE;
  --text-3:  #8E99A9;

  --blue:      #6BA6E8;
  --blue-soft: #9FC5EE;
  --blue-bg:   #2C3A4E;
  --teal:      #7FD8B8;
  --coral:     #F3AC93;
  --on-accent: #0B1E33;
  --paypal:    #FFC43A;

  --radius:    10px;
  --radius-sm: 6px;

  --wrap: 1080px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text, .plan-price, .stat-figure {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }

img, svg { max-width: 100%; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose { max-width: 62ch; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(30, 37, 48, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.logo-text { font-size: 1.05rem; color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.9rem;
  white-space: nowrap;
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--text-1); }
.nav a[aria-current="page"] {
  color: var(--text-1);
  border-bottom-color: var(--blue);
}

.nav-phone {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  color: var(--text-1);
  white-space: nowrap;
}
.nav-phone:hover { border-color: var(--blue); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--border); }
  .nav-phone {
    margin-top: 0.85rem;
    text-align: center;
    border-bottom: 1px solid var(--border-strong);
  }
}

/* ---------- Sections ---------- */

section { padding-block: clamp(2.5rem, 5vw, 4rem); }
section + section { border-top: 1px solid var(--border); }

.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-centered { text-align: center; }
.hero-centered .prose { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--blue-soft);
  background: var(--blue-bg);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.page-label {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + 0.85vw, 1.75rem); }
h3 { font-size: 1.0625rem; font-weight: 600; }

.lede {
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  color: var(--text-2);
  margin-top: 0.85rem;
}

.section-head { margin-bottom: 1.75rem; }
.section-head p { color: var(--text-2); margin-top: 0.5rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--blue-soft); }

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text-1);
  background: none;
}
.btn-secondary:hover { border-color: var(--blue); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.hero-centered .btn-row { justify-content: center; }

/* ---------- Grids ---------- */

.grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.feature-grid {
  display: grid;
  gap: 1.6rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature h3 { margin-bottom: 0.35rem; }
.feature p { color: var(--text-2); font-size: 0.925rem; }

.feature-icon {
  width: 22px;
  height: 22px;
  color: var(--blue-soft);
  display: block;
  margin-bottom: 0.6rem;
}
.feature-icon.teal { color: var(--teal); }
.feature-icon.coral { color: var(--coral); }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.service-card:hover { border-color: var(--border-strong); }
.service-card h3 { margin: 0.7rem 0 0.45rem; }
.service-card p { color: var(--text-2); font-size: 0.925rem; }

.card-link {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue-soft);
}
.card-link.teal { color: var(--teal); }
.card-link.coral { color: var(--coral); }

.aside-note {
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-2);
  font-size: 0.925rem;
  margin-top: 1.25rem;
}
.aside-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-2); }
.aside-note a { color: var(--blue-soft); }

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  text-align: center;
}
.stat-figure { font-size: 1.15rem; color: var(--text-1); }
.stats p { font-size: 0.85rem; color: var(--text-3); margin-top: 0.3rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--blue-soft);
  margin-bottom: 0.4rem;
}
.step h3 { font-size: 0.975rem; }
.step p { color: var(--text-2); font-size: 0.9rem; margin-top: 0.25rem; }

/* ---------- Plans (VoIP) ---------- */

.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}
.tier-featured { border: 2px solid var(--blue); padding: calc(1.4rem - 1px); }

.tier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.tag {
  background: var(--blue-bg);
  color: var(--blue-soft);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  white-space: nowrap;
}
.tier h3 { margin-top: 0.65rem; font-size: 1.15rem; }
.tier-sub { color: var(--text-3); font-size: 0.875rem; margin-top: 0.2rem; }

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1rem;
}
.tier-price strong {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 600;
  color: var(--text);
}
.tier-price span { font-size: 0.85rem; color: var(--text-3); }
.tier-terms { font-size: 0.85rem; color: var(--text-2); margin-top: 0.3rem; }

.tick-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.6rem;
}
.tick-list li {
  font-size: 0.9rem;
  color: #C8D0DA;
  padding-left: 1.5rem;
  position: relative;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- Entertainment plan picker ---------- */

.plan-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.plan {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.plan:hover { border-color: var(--border-strong); }
.plan[aria-pressed="true"] {
  background: var(--surface-sel);
  border-color: var(--blue);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 1.4rem;
}
.plan-name { font-weight: 600; font-size: 0.975rem; }
.plan-selected {
  font-size: 0.75rem;
  color: var(--blue-soft);
  visibility: hidden;
}
.plan[aria-pressed="true"] .plan-selected { visibility: visible; }
.plan-save { font-size: 0.825rem; color: var(--text-3); margin: 0.2rem 0 0.8rem; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.plan-price strong { font-size: 1.75rem; font-weight: 600; color: var(--text); }
.plan-price span { font-size: 0.825rem; color: var(--text-3); font-family: var(--font-body); }
.plan-basis { font-size: 0.825rem; color: var(--text-2); margin-top: 0.25rem; }

.plan-extra {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding-top: 0.7rem;
}
.plan-extra-label { display: block; font-size: 0.8rem; color: var(--text-3); }
.plan-extra-value { display: block; font-size: 0.825rem; color: var(--coral); margin-top: 0.15rem; }

.checkout {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-top: 0.9rem;
}

.checkout-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.stepper-label { font-size: 0.875rem; color: var(--text-2); margin-bottom: 0.6rem; }
.stepper { display: flex; align-items: center; gap: 0.75rem; }
.stepper button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: none;
  color: var(--text-1);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover:not(:disabled) { border-color: var(--blue); }
.stepper button:disabled { opacity: 0.4; cursor: default; }
.stepper output {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 1.5rem;
  text-align: center;
}

.checkout-total { text-align: right; }
.checkout-total .summary { font-size: 0.825rem; color: var(--text-3); }
.checkout-total .amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  margin: 0.2rem 0;
}
.checkout-total .billing { font-size: 0.825rem; color: var(--text-3); }

#paypal-button-container { min-height: 48px; }

.paypal-fallback {
  display: block;
  width: 100%;
  background: var(--paypal);
  color: #20304A;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.checkout-note {
  font-size: 0.825rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 0.7rem;
}

/* ---------- Callout / CTA ---------- */

.callout {
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.callout svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--coral); }
.callout h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.callout p { color: var(--text-2); font-size: 0.925rem; }
.callout a { color: var(--blue-soft); }

.cta { text-align: center; }
.cta p { color: var(--text-2); margin: 0.5rem auto 0; max-width: 46ch; }
.cta .btn { margin-top: 1.4rem; }
.contact-line { font-size: 0.85rem; color: var(--text-3); margin-top: 0.9rem; }
.contact-line a { color: var(--text-2); }

/* ---------- Form ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.85rem);
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-sunk);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); }

.field-row {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  display: none;
}
.form-status.is-ok { display: block; color: var(--teal); }
.form-status.is-error { display: block; color: var(--coral); }

/* ---------- Remote support ---------- */

.warning-box {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #3A2E28;
  border: 1px solid #5C4234;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-top: 1.75rem;
  max-width: 62ch;
}
.warning-box svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--coral); margin-top: 0.1rem; }
.warning-box h2 { font-size: 1.05rem; color: var(--text); margin-bottom: 0.35rem; }
.warning-box p { color: #E3D3CB; font-size: 0.95rem; }
.warning-box a { color: var(--coral); font-weight: 600; }

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
}
.download-card h3 { font-size: 1.2rem; }
.download-sub { color: var(--text-2); font-size: 0.9rem; margin-top: 0.2rem; }
.download-btn { margin-top: 1.1rem; align-self: flex-start; }

.file-facts {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.file-facts div { display: flex; gap: 0.75rem; }
.file-facts dt { color: var(--text-3); min-width: 4.5rem; }
.file-facts dd { margin: 0; color: var(--text-2); overflow-wrap: anywhere; }

.download-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
.download-note strong { color: var(--text-1); font-weight: 600; }

.plain-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}
.plain-list li { color: var(--text-2); font-size: 0.925rem; }
.plain-list strong { color: var(--text-1); font-weight: 600; }

.verify {
  margin-top: 1.25rem;
  background: var(--surface-sunk);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-2);
}
.verify summary { cursor: pointer; color: var(--text-1); font-weight: 500; }
.verify p { margin-top: 0.75rem; }
.verify code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--text-1);
  overflow-wrap: anywhere;
}
.hashes { margin: 0.75rem 0 0; display: grid; gap: 0.5rem; }
.hashes div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.5rem; }
.hashes dt { color: var(--text-3); }
.hashes dd { margin: 0; }
@media (max-width: 520px) {
  .hashes div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--text-3);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.site-footer a { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
