/* 918Kiss beginner installation guide */
.install-page {
  background: #0b0907;
  font-size: 17px;
  padding-bottom: 76px;
}
.install-page .container { max-width: 1140px; }
.install-container { max-width: 920px !important; }

.install-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 64px;
  background:
    linear-gradient(90deg, rgba(11, 9, 7, .98) 0%, rgba(11, 9, 7, .91) 45%, rgba(11, 9, 7, .58) 100%),
    url('/assets/slide3_918kiss_welcome.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.install-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, #0b0907 100%);
}
.install-hero-inner { position: relative; z-index: 1; }
.back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--gold-bright); }
.install-hero .eyebrow { margin-bottom: 16px; }
.install-hero .eyebrow::before { display: none; }
.install-hero h1 {
  max-width: 660px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  color: #fff9ed;
}
.install-hero h1 span { color: var(--gold-bright); }
.install-hero p {
  max-width: 620px;
  margin-top: 22px;
  color: #d3c9ba;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.65;
}
.verification-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 15px;
  border: 1px solid rgba(76, 211, 133, .28);
  border-radius: 999px;
  background: rgba(23, 105, 58, .2);
  color: #b8efcc;
  font-size: 13px;
  font-weight: 700;
}
.verification-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4cd385;
  box-shadow: 0 0 0 5px rgba(76, 211, 133, .12);
}
.verification-pill.is-stale {
  border-color: rgba(232, 180, 78, .36);
  background: rgba(161, 107, 24, .22);
  color: #f5d693;
}
.verification-pill.is-stale .verification-dot {
  background: #e8b44e;
  box-shadow: 0 0 0 5px rgba(232, 180, 78, .13);
}

.device-section { padding: 72px 0 56px; }
.install-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}
.heading-number {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #281c09;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(212, 175, 95, .2);
}
.heading-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.install-heading h2 {
  margin-top: 2px;
  font-size: clamp(27px, 4.5vw, 38px);
  line-height: 1.2;
  letter-spacing: -.8px;
}
.install-heading > div > p:last-child {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 16px;
}

.device-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.device-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 164px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 22px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.device-option:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
  background: var(--card-hover);
}
.device-option[aria-selected="true"] {
  border-color: var(--gold);
  background: linear-gradient(150deg, rgba(212, 175, 95, .15), var(--card) 58%);
  box-shadow: 0 0 0 3px rgba(212, 175, 95, .08);
}
.device-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(212, 175, 95, .1);
  color: var(--gold-bright);
}
.device-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.device-option[data-device="ios"] .device-icon svg { fill: currentColor; stroke: none; }
.device-option[data-device="windows"] .device-icon svg { fill: currentColor; stroke: none; }
.device-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.device-copy strong { font-size: 19px; line-height: 1.25; }
.device-copy small { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; }
.device-check {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #241806;
  font-weight: 900;
}
.device-option[aria-selected="true"] .device-check { display: inline-flex; }
.device-tip {
  margin-top: 20px;
  color: var(--text-muted);
  text-align: center;
  font-size: 14.5px;
}
.device-tip a { font-weight: 700; }

.guide-section {
  padding: 18px 0 76px;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.guide-main-heading { padding-top: 52px; }
.guide-panel {
  overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  background: #100d0a;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}
.guide-panel[hidden] { display: none; }
.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(212, 175, 95, .11), rgba(212, 175, 95, .025));
}
.guide-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.guide-header h3 { margin-top: 5px; font-size: clamp(24px, 4vw, 32px); line-height: 1.25; }
.guide-header p { margin-top: 7px; color: var(--text-muted); font-size: 14.5px; }
.guide-device-badge {
  color: rgba(232, 200, 126, .23);
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: 3px;
}
.download-box {
  display: grid;
  grid-template-columns: 1fr minmax(260px, auto);
  align-items: center;
  gap: 22px;
  padding: 24px 30px;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid var(--border);
}
.download-box > div { display: flex; flex-direction: column; gap: 4px; }
.download-box strong { font-size: 17px; }
.download-box span { color: var(--text-muted); font-size: 13px; }
.install-download-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #211608;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(212, 175, 95, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.install-download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 95, .3);
}
.install-steps { list-style: none; padding: 12px 30px 30px; }
.install-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.install-step:last-child { border-bottom: 0; padding-bottom: 6px; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(212, 175, 95, .1);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 19px;
  font-weight: 800;
}
.step-content h4 { font-size: 20px; line-height: 1.35; }
.step-content p { margin-top: 7px; color: #c4baac; line-height: 1.7; }
.screen-word { color: var(--gold-bright); font-weight: 800; }
.mini-screen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 560px;
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px solid #38312a;
  border-radius: 10px;
  background: #211c18;
  color: #ddd4c8;
  font-size: 13px;
}
.mini-screen strong {
  flex: none;
  padding: 7px 12px;
  border-radius: 7px;
  background: #316fd4;
  color: #fff;
  font-size: 12px;
}
.safety-stop {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(235, 176, 76, .34);
  border-radius: 10px;
  background: rgba(133, 84, 15, .18);
  color: #f0d9ab;
}
.safety-stop span { color: #cdbd9b; font-size: 13px; }
.settings-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.settings-path span {
  padding: 10px 13px;
  border: 1px solid var(--border-gold);
  border-radius: 9px;
  background: rgba(212, 175, 95, .07);
  color: var(--text);
  font-weight: 700;
}
.settings-path small { color: var(--text-muted); font-size: 10px; font-weight: 600; }
.settings-path b { color: var(--gold); font-size: 20px; }
.step-help-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 10px;
  background: var(--green);
  color: #05210e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.safety-section { padding: 64px 0 24px; }
.safety-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid rgba(226, 92, 77, .28);
  border-radius: 16px;
  background: rgba(104, 28, 22, .14);
}
.safety-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(226, 92, 77, .14);
  color: #ff9b8e;
  font-size: 26px;
  font-weight: 900;
}
.safety-card h2 { font-size: 24px; }
.safety-card ul { margin-top: 10px; padding-left: 20px; color: #cfc5b7; }
.safety-card li + li { margin-top: 6px; }

.source-section { padding: 36px 0 56px; }
.source-card {
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}
.source-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.source-heading h2 { margin-top: 3px; font-size: 26px; }
.source-status {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(76, 211, 133, .11);
  color: #86dea9;
  font-size: 12px;
  font-weight: 800;
}
.source-list { margin-top: 20px; }
.source-list > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.source-list dt { color: var(--text-muted); font-size: 13px; }
.source-list dd { color: var(--text); font-size: 14px; font-weight: 600; }
.source-card details { margin-top: 18px; }
.source-card summary {
  min-height: 44px;
  color: var(--gold-bright);
  font-weight: 700;
  cursor: pointer;
}
.source-card details p { margin-top: 10px; color: var(--text-muted); font-size: 13.5px; }
.source-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }

.final-help-section { padding: 8px 0 72px; }
.final-help-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(37, 211, 102, .25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 211, 102, .11), var(--card) 55%);
}
.final-help-card span { color: #69dd94; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; }
.final-help-card h2 { margin-top: 3px; font-size: 27px; }
.final-help-card p { margin-top: 8px; max-width: 560px; color: var(--text-muted); font-size: 14.5px; }
.final-help-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--green);
  color: #05210e;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
}
.install-footer .footer-bottom { margin-top: 0; }
.install-help-float {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 55;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 17px 8px 9px;
  border-radius: 999px;
  background: var(--green);
  color: #05210e;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .48);
}
.install-help-float span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .27);
  font-size: 20px;
  font-weight: 900;
}
.install-help-float strong { font-size: 13.5px; }

@media (max-width: 760px) {
  .install-page { font-size: 16px; }
  .install-hero { padding: 34px 0 54px; }
  .install-hero h1 { letter-spacing: -1.7px; }
  .device-section { padding: 54px 0 44px; }
  .device-picker { grid-template-columns: 1fr; }
  .device-option {
    min-height: 106px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .guide-main-heading { padding-top: 40px; }
  .guide-header { padding: 24px 22px; }
  .guide-device-badge { display: none; }
  .download-box { grid-template-columns: 1fr; padding: 22px; }
  .install-download-button { width: 100%; }
  .install-steps { padding: 8px 22px 24px; }
  .install-step { grid-template-columns: 44px 1fr; gap: 13px; }
  .step-number { width: 40px; height: 40px; }
  .mini-screen { align-items: flex-start; flex-direction: column; }
  .settings-path { align-items: flex-start; flex-direction: column; }
  .settings-path b { line-height: 12px; transform: rotate(90deg); margin-left: 22px; }
  .safety-card { grid-template-columns: 1fr; padding: 24px; }
  .source-card { padding: 24px 22px; }
  .source-heading { align-items: flex-start; flex-direction: column; }
  .source-list > div { grid-template-columns: 1fr; gap: 3px; }
  .final-help-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .final-help-button { width: 100%; }
}

@media (max-width: 620px) {
  .install-page .main-nav a:first-child { display: none; }
  .install-page .main-nav a { padding: 0 9px; }
  .install-page .brand-name { font-size: 14px; letter-spacing: 1.4px; }
  .install-heading { gap: 13px; }
  .heading-number { width: 44px; height: 44px; font-size: 20px; }
  .install-help-float { right: 12px; bottom: 12px; }
}

@media (max-width: 400px) {
  .install-page .main-nav a:not(.nav-cta) { display: none; }
  .install-page .main-nav a.nav-cta { display: inline-flex; margin-left: 0; }
  .install-page .site-header .container { gap: 8px; }
  .device-option { padding: 18px; }
  .device-copy strong { font-size: 17px; }
  .guide-header h3 { font-size: 22px; }
  .install-step { grid-template-columns: 1fr; }
  .install-help-float strong { display: none; }
  .install-help-float { padding-right: 9px; }
}
