/* =========================================================
   Link Bypasser — Components
   ========================================================= */

/* ---------- Bypass console ---------- */
.console {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.console__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.console__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}

.console__endpoint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
}

.console__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
}

.console__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-3);
}

.console__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.25rem;
  border: 0;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text);
}

.console__input::placeholder {
  color: var(--text-3);
}

.console__input:focus {
  outline: none;
}

.console:focus-within {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--accent-soft);
}

.console__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.console__foot span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Spinner */
.spinner {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(10, 12, 6, 0.28);
  border-top-color: var(--on-accent);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn.is-loading .spinner {
  display: block;
}

.btn.is-loading .btn-label {
  opacity: 0.75;
}

/* ---------- Result panel ---------- */
.result {
  margin-top: 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  animation: rise var(--t-slow) var(--ease-out) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.result__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.result__status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--text-3);
}

.result__status .dot.ok {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(110, 231, 168, 0.16);
}

.result__status .dot.err {
  background: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.result__body {
  padding: 1rem;
}

.result__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.55rem;
}

.result__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--accent-text);
  word-break: break-all;
}

.result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--t-base) var(--ease);
}

.btn-action:hover {
  border-color: var(--line-3);
  background: var(--surface-3);
}

.btn-action.is-done {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.result__error {
  padding: 1rem;
  border: 1px solid var(--danger-soft);
  border-radius: var(--r-sm);
  background: var(--danger-soft);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  word-break: break-word;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.feature {
  position: relative;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--bg);
  transition: background var(--t-base) var(--ease);
}

.feature:hover {
  background: var(--surface);
}

.feature__index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-3);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--accent);
  background: var(--accent-soft);
}

.feature h3 {
  font-size: var(--step-1);
}

.feature p {
  color: var(--text-2);
  font-size: var(--step-0);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.step {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  background: var(--bg);
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xs);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
}

.step h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-2);
  font-size: var(--step-0);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 0.85rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.75rem;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-3);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Service grid ---------- */
.services-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.services-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}

.services-search input {
  width: 100%;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.services-search input::placeholder {
  color: var(--text-3);
}

.services-search input:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.services-search__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
  display: grid;
}

.services-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 0.75rem;
}

.service {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}

.service:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
}

.service.is-featured {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%);
}

.service__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.service__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
}

.service.is-featured .service__badge {
  border-color: var(--accent-line);
  background: var(--accent);
  color: var(--on-accent);
}

.service__name {
  min-width: 0;
  flex: 1;
}

.service__name h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.service__type {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.service__domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.service__domains span {
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-2);
  word-break: break-all;
}

.services-empty {
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  padding: 1.4rem 1.25rem;
  background: var(--bg);
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-text);
}

.stat__label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Accordion ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color var(--t-base) var(--ease);
}

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

.faq-item summary:hover {
  color: var(--accent-text);
}

.faq-item__marker {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.faq-item[open] .faq-item__marker {
  transform: rotate(45deg);
  border-color: var(--accent-line);
  color: var(--accent-text);
}

.faq-item__body {
  padding: 0 3.25rem 1.35rem 0.25rem;
  color: var(--text-2);
  max-width: 76ch;
}

.faq-item__body strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%);
  pointer-events: none;
}

.cta h2 {
  font-size: var(--step-3);
  max-width: 22ch;
}

.cta p {
  color: var(--text-2);
  max-width: 52ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Forms ---------- */
.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-note {
  font-size: var(--step--1);
  color: var(--text-3);
}

/* ---------- Prose (SEO / legal) ---------- */
.prose {
  max-width: 74ch;
}

.prose h2 {
  font-size: var(--step-2);
  margin: 2.6rem 0 0.9rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: var(--step-1);
  margin: 1.9rem 0 0.6rem;
}

.prose p {
  color: var(--text-2);
  margin-bottom: 1.05rem;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  list-style: none;
  margin: 0 0 1.05rem;
  display: grid;
  gap: 0.55rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-2);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.prose ol {
  counter-reset: step;
  list-style: none;
  margin: 0 0 1.05rem;
  display: grid;
  gap: 0.55rem;
}

.prose ol li {
  position: relative;
  counter-increment: step;
  padding-left: 2.2rem;
  color: var(--text-2);
}

.prose ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent-text);
}

.prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Value list (about) ---------- */
.value-list {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.value {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.6rem;
  background: var(--bg);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--accent);
}

.value h3 {
  font-size: var(--step-1);
}

.value p {
  color: var(--text-2);
  font-size: var(--step-0);
}

/* ---------- Info cards (contact / support) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.85rem;
}

.info-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-text);
}

.info-card h3 {
  font-size: var(--step-1);
}

.info-card p {
  color: var(--text-2);
  font-size: var(--step-0);
}

.info-card a {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  word-break: break-all;
}

.info-card a:hover {
  text-decoration: underline;
}

/* ---------- Definition rows ---------- */
.deflist {
  border-top: 1px solid var(--line);
}

.deflist__row {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.deflist__row dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.deflist__row dd {
  margin: 0;
  color: var(--text-2);
}
