/* ────────────────────────────────────────────────────────────────
   Need for Service Solo Tech, landing site.
   Standalone static page. No framework, no build step.
   ──────────────────────────────────────────────────────────────── */

:root {
  --bg: #F0F2F5;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --text-dim: #6B7280;
  --text-faint: #9CA3AF;
  --border: #E4E6EB;
  --divider: #E5E7EB;

  --yellow: #FDB913;
  --yellow-pressed: #E2A310;
  --yellow-wash: #FFF6DE;

  --dark: #111319;
  --dark-text: #E9ECF1;
  --dark-text-dim: #A5ABB6;

  --error: #DC2626;

  --container: 1120px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;

  --font-sys:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* {
  box-sizing: border-box;
}

/* The `hidden` HTML attribute defaults to `display: none` via the UA
   stylesheet, but any author rule that sets `display: ...` outranks it.
   Force the cascade so [hidden] always wins, otherwise our show/hide
   toggles on the lead form would leave both states stacked. */
[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sys);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}

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

/* ─── Top bar ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.topbar-brand {
  display: inline-block;
  flex-shrink: 1;
  text-decoration: none;
}
.topbar-lockup {
  height: 36px;
  width: auto;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-signin {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.topbar-signin:hover {
  background: var(--border);
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.lang-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn[aria-pressed="true"] {
  background: var(--text);
  color: var(--yellow);
}
.lang-btn:not([aria-pressed="true"]):hover {
  color: var(--text);
}

/* ─── Layout container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
}

/* ─── Hero ─── */
.hero {
  padding: 32px 0 56px;
}
.hero .container {
  padding-top: 16px;
}
.badge {
  display: inline-block;
  background: var(--yellow);
  color: #1A1A1A;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.headline {
  font-size: 32px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}
.subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 720px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}
.hero-bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--yellow-wash);
  color: var(--yellow-pressed);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #1A1A1A;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  min-height: 50px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-primary:hover {
  background: var(--yellow-pressed);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-primary[disabled],
.btn-primary[aria-busy="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 8px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}
.btn-secondary:hover {
  opacity: 0.7;
}

/* ─── Section base ─── */
.section {
  padding: 48px 0;
}
.section-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 28px;
}
.section-wash {
  background: var(--yellow-wash);
}
.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}

/* ─── Grids ─── */
.grid-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

/* ─── For-you cards (numbered) ─── */
.card-numbered {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-num {
  display: block;
  color: var(--yellow);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.card-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

/* ─── Hero split layout (text + phone) ─── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
  .hero-text {
    max-width: 600px;
  }
  .hero-visual {
    justify-content: flex-end;
  }
}

/* ─── Phone-frame (rounded screenshot wrapper, no bezel) ─── */
.phone-frame {
  position: relative;
  display: block;
  background: #1A1A1A;
  border-radius: 28px;
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 30px rgba(17, 19, 25, 0.18),
    0 24px 60px rgba(17, 19, 25, 0.10);
  overflow: hidden;
  width: 100%;
  max-width: 280px;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: var(--card);
  /* Constrain aspect to a phone (~9:19.5). When the actual screenshot
     is missing, the empty alt box still holds the slot. */
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}
.phone-frame-hero {
  max-width: 320px;
}
@media (min-width: 880px) {
  .phone-frame-hero {
    max-width: 340px;
  }
}
.phone-frame-feature {
  max-width: 220px;
  border-radius: 22px;
  padding: 5px;
  margin: 0 auto;
}
.phone-frame-feature img {
  border-radius: 17px;
}

/* ─── Feature card with screenshot above the title ─── */
.feature-card-with-shot {
  text-align: center;
  padding-top: 28px;
}
.feature-card-with-shot .feature-title,
.feature-card-with-shot .feature-body {
  text-align: left;
}
.feature-shot {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* ─── Section subtitle (used by Compare) ─── */
.section-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: -16px 0 28px;
  max-width: 720px;
}

/* ─── Compare table (paper vs Solo Tech) ─── */
.compare-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-head {
  display: none;
}
.compare-row,
.compare-head {
  border-bottom: 1px solid var(--divider);
}
.compare-row:last-child {
  border-bottom: 0;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 18px 20px;
}
.compare-col {
  font-size: 15px;
  line-height: 1.55;
}
.compare-col-when {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}
.compare-col-old {
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.compare-col-old::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--text-faint);
  font-weight: 700;
}
.compare-col-new {
  color: var(--text);
  padding-left: 18px;
  position: relative;
  font-weight: 600;
}
.compare-col-new::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow-pressed);
  font-weight: 700;
}
@media (min-width: 720px) {
  .compare-head,
  .compare-row {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.3fr;
    gap: 24px;
    padding: 18px 24px;
    align-items: center;
  }
  .compare-head {
    background: var(--bg);
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .compare-head .compare-col {
    font-weight: 700;
    color: var(--text-dim);
    margin: 0;
  }
  .compare-col-when {
    margin-bottom: 0;
  }
  .compare-col-old,
  .compare-col-new {
    padding-left: 22px;
  }
}

/* ─── Trust strip ─── */
.trust-strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
}
.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--yellow-pressed);
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
}

/* ─── Manifesto card ─── */
.manifesto-card {
  background: linear-gradient(180deg, var(--yellow-wash) 0%, var(--card) 100%);
  border: 1px solid var(--border);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.manifesto-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--yellow-pressed);
  margin-bottom: 12px;
}
.manifesto-headline {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}
.manifesto-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px;
}
.manifesto-body-emph {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  margin: 16px 0;
}
.manifesto-body:last-child {
  color: var(--text-dim);
  margin-bottom: 0;
}
@media (min-width: 720px) {
  .manifesto-card {
    padding: 40px 44px;
  }
  .manifesto-headline {
    font-size: 32px;
  }
}

/* ─── Pains list ─── */
.pains-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pain-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
}
.pain-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1A1A1A;
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.pain-row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

/* ─── Features ─── */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yellow-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-pressed);
  margin-bottom: 14px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.feature-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* ─── Day-in-the-life ─── */
.day-list {
  display: grid;
  gap: 14px;
}
.day-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.day-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
  color: var(--yellow);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  min-width: 80px;
  flex-shrink: 0;
}
.day-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}

/* ─── Why (dark) ─── */
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(253, 185, 19, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 20px;
}
.why-icon svg {
  width: 28px;
  height: 28px;
}
.why-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--dark-text);
}
.why-lead {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--dark-text);
}
.why-body {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--dark-text-dim);
}

/* ─── Lead form ─── */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.form-badge {
  display: inline-block;
  background: var(--yellow-wash);
  color: var(--yellow-pressed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.form-title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}
.form-subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 24px;
}
.lead-form {
  display: grid;
  gap: 14px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: -8px;
}
.form-input {
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-input::placeholder {
  color: var(--text-faint);
}
.form-input:focus {
  border-color: var(--yellow);
  background: #FFFFFF;
}
.form-input.is-error {
  border-color: var(--error);
}
.form-error {
  color: var(--error);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.form-submit {
  margin-top: 8px;
  width: 100%;
}
.form-fineprint {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  margin: 8px 0 0;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.form-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow-pressed);
}
.form-success-icon svg {
  width: 28px;
  height: 28px;
}
.form-success-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.form-success-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

/* ─── FAQ ─── */
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.faq-q {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.faq-a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

/* ─── Grow / team edition card ─── */
.grow-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.grow-badge {
  display: inline-block;
  background: var(--yellow-wash);
  color: var(--yellow-pressed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.grow-title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.grow-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.grow-cta {
  margin-top: 4px;
  color: var(--yellow-pressed);
  font-weight: 700;
}
.grow-cta:hover {
  text-decoration: underline;
}

/* ─── Closing CTA card ─── */
.closing-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.closing-headline {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0;
  color: var(--dark-text);
}
.closing-body {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--dark-text-dim);
}

/* ─── Footer ─── */
.footer {
  text-align: center;
  padding: 32px 24px 40px;
  color: var(--text-dim);
}
.footer-copy {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.footer-tagline {
  margin: 4px 0 12px;
  font-size: 14px;
  color: var(--text-faint);
}
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-faint);
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* ─── Wide screens ─── */
@media (min-width: 720px) {
  .topbar {
    padding: 28px 40px;
  }
  .topbar-lockup {
    height: 44px;
  }
  .container {
    padding: 0 40px;
  }
  .hero {
    padding: 56px 0 80px;
  }
  .headline {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }
  .subhead {
    font-size: 20px;
    line-height: 1.55;
  }
  .section {
    padding: 64px 0;
  }
  .section-title,
  .why-title,
  .closing-headline {
    font-size: 32px;
    line-height: 1.2;
  }
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .form-card {
    padding: 36px;
  }
}

@media (min-width: 1040px) {
  .headline {
    font-size: 56px;
  }
}
