/* SwiftShift's comparison workspace: ink film, dark blue glass, warm and cool offers. */
:root {
  --bg: #101525;
  --bg-deep: #0a0e1a;
  --bg-alt: #121c2c;
  --surface: #162237;
  --surface-2: #1c2c45;
  --surface-3: #25364d;
  --line: #34445e;
  --line-soft: #28334c;
  --line-strong: #52647c;
  --text-2: #d5dfed;
  --text-3: #b8c5d8;
  --lav-text: #b7ddff;
  --mint-text: #a8eedb;
  --ss-charcoal: var(--bg);
  --ss-glass: var(--surface);
  --ss-glass-2: var(--surface-2);
}
@media screen {
  body { isolation: isolate; background: #101525; }
  .workspace-ink {
    position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
    background: #101525 url("/swiftshift/static/workspace/ink.webp") center / 100% 100% no-repeat;
  }
  .workspace-ink video { display: block; width: 100%; height: 100%; object-fit: fill; }
  .workspace-ink::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(150deg, #202a401a, #14162330 54%, #1929383d);
  }
  .hero, .app-comparison-intro, .final { background: transparent; }
  .section.alt { background: #0a172d63; }
  .site-header, .ss-header, .site-footer, .ss-footer { background: #091120d9; }
  .guide-card, .card, .method, .ss-card, .app-profile, .ss-signature {
    background: linear-gradient(135deg, #23344adb, #111d2ee8 72%);
    border-color: #7189a65e;
  }
  .ss-wrap.ss-hero { background: transparent; }
}
@media print { .workspace-ink, .ink-control { display: none !important; } }
.ink-control {
  min-height: 44px; padding: 8px 16px; margin: 0 auto 20px; border-radius: 22px; border: 1px solid #8594a8;
  display: flex; gap: 9px; align-items: center; justify-content: center; font: inherit; font-size: .88rem; cursor: pointer; color: #ddebfc; background: #101a2ef2;
}
.ink-control::before { content: ""; width: 10px; height: 13px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.ink-control[data-paused="true"]::before {
  width: 0; height: 0; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor;
}
.hero { padding-block: clamp(32px, 6vw, 84px); }
.hero h1 span, .app-comparison-headline h1 span { color: #acdaff; }
.offer-preview, .app-directory, .app-comparison-hero nav {
  min-width: 0; border-radius: 23px; border: 1px solid #89a4ca6e;
  background: linear-gradient(140deg, #21304ae8, #111c30f5 76%);
  box-shadow: 0 20px 50px -30px #020913;
}
.offer-preview { padding: clamp(14px, 2.3vw, 30px); text-align: center; }
.offer-preview h2 { margin: 0 0 6px; font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -.04em; }
.offer-preview fieldset {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0; margin: 0; padding: 0; border: 0;
}
.offer-preview legend { margin: 0 auto 10px; padding: 0; color: var(--text-2); font-size: .875rem; }
.offer-preview input {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.offer-preview label {
  justify-self: stretch; display: grid; place-items: center; min-height: 44px;
  border: 1px solid #576b87; border-radius: 10px 0 0 10px; padding: 5px;
  font-size: .92rem; line-height: 1.2; font-weight: 650; color: #d7e4f5; background: #101a2a; cursor: pointer;
}
.offer-preview label[for="hourly"] { border-radius: 0 10px 10px 0; }
.offer-preview input:checked + label { background: #c4e3ff; border-color: #c4e3ff; color: #122039; }
.offer-preview input:focus-visible + label { outline: 3px solid #9ff4de; outline-offset: 2px; z-index: 1; }
.offer-pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.offer-card {
  overflow: hidden; border-radius: 15px; border: 1px solid #ffaf7766;
  background: linear-gradient(145deg,#352b2a,#211f26); color: #ffbd92;
}
.offer-card.hybrid { border-color: #76b7ff77; background: linear-gradient(145deg,#23344c,#152237); color: #a7d7ff; }
.offer-card img { width: 100%; aspect-ratio: 1.56; object-fit: cover; }
.offer-card > div { padding: 12px 4px; }
.offer-card h3 { margin: 0; font-size: clamp(1rem, 1.8vw, 1.18rem); }
.offer-card p { margin: 1px 0 8px; color: var(--text-2); font-size: .86rem; }
.offer-card strong { font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.offer-verdict { grid-column: 1/-1; margin: 12px 0 0; color: #d7e3ef; font-size: .96rem; text-wrap: balance; }
.offer-verdict strong { color: #fff; }
.offer-preview .hourly-value, #hourly:checked ~ * .annual-value { display: none; }
#hourly:checked ~ * .hourly-value { display: inline; }
.preview-assumptions { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #b5dfef; font-size: .86rem; }
.app-directory {
  margin: 24px 0 0; padding: clamp(16px, 3vw, 34px);
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(16px, 4vw, 55px);
}
.directory-heading h3 { margin: 0 0 8px; font-size: clamp(1.55rem, 3vw, 2.5rem); letter-spacing: -.04em; text-wrap: balance; }
.directory-heading p { color: var(--text-2); margin: 0; }
.app-comparison-hero nav { padding: clamp(10px, 1.6vw, 20px); }
.profile-menu { list-style: none; margin: 0; padding: 0; }
.profile-menu li + li { border-top: 1px solid #50648072; }
.profile-menu a {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center;
  gap: 12px; padding: 10px 8px; min-height: 64px; border-radius: 10px; color: #eff5ff; text-decoration: none; text-align: left;
}
.profile-menu a:is(:focus-visible,:hover) { background: #314766; color: white; }
.profile-menu img { width: 44px; height: 44px; border-radius: 11px; }
.profile-menu strong, .profile-menu small { display: block; line-height: 1.35; }
.profile-menu small { margin-top: 2px; font-size: .85rem; color: #c4d6e7; }
.profile-arrow { color: #aedcff; font-size: 1.2rem; }
@media (max-width: 770px) {
  .hero-copy, .offer-preview, .app-comparison-hero > *, .directory-heading, .profile-menu {
    width: 100%; max-width: 520px; margin-inline: auto;
  }
  .app-directory { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .directory-heading, .section .wrap > .lede, .article > header, .article > header .lede, .ss-signature, .ss-signature .ss-lede {
    text-align: center; text-wrap: pretty; margin-inline: auto;
  }
  .hero .wrap, .app-comparison-hero { grid-template-columns: minmax(0,1fr); justify-items: center; }
  .hero-copy { text-align: center; }
  .app-id, .hero .cta-row { justify-content: center; }
  .hero .cta-row, .hero-copy .lede { margin-inline: auto; }
  .hero-copy .lede { text-align: center; }
  .ss-signature .ss-icon { margin-inline: auto; }
  .ss-actions, .ss-inline-actions, .site-footer nav ul { justify-content: center; }
  .site-footer .wrap, .ss-footer__inner { justify-content: center; text-align: center; padding-bottom: 68px; }
  .site-footer .wordmark { margin-inline: auto; }
  .guide-card { align-items: center; text-align: center; }
  .article > .lede, .worksheet-actions, .worksheet-sheet > h2 { text-align: center; text-wrap: pretty; }
  .ss-header__inner, .ss-nav ul { justify-content: center; }
  .offer-card > div { padding: 9px 4px; }
  .app-comparison-content { padding-block: 28px 60px; }
  .app-directory { scroll-margin-top: 12px; }
}
@media (max-width: 380px) {
  .offer-preview { padding: 10px; }
  .offer-pair { gap: 7px; }
  .profile-menu a { gap: 8px; padding-inline: 4px; }
}

/* Highlight the publisher’s first pick in the profile directory. */
.profile-menu .publisher-pick {
  margin-bottom: 9px;
  padding: 5px;
  border: 1px solid #506f84;
  border-radius: 14px;
  background: #22394a;
}
.profile-menu .publisher-pick + li { border-top: 0; }
