/* =========================================================================
   SHIFT4 Dine Northeast — landing page styles
   Single stylesheet. No framework. System font stack for speed.
   ========================================================================= */

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-2: #cbd5e1;

  /* SkyTab / SHIFT4 Dine brand palette: sky blue + black + white */
  --accent: #0ea5e9;        /* sky-500 — SkyTab brand blue */
  --accent-2: #38bdf8;      /* sky-400 — hover */
  --accent-dark: #0369a1;   /* sky-700 — kicker on light bg */
  --accent-ink: #ffffff;    /* text on accent surfaces */
  --accent-glow: rgba(14, 165, 233, 0.18);
  --accent-glow-soft: rgba(14, 165, 233, 0.12);

  --hero-bg: #050b18;        /* near-black, SHIFT4-style */
  --hero-bg-2: #0a1628;
  --hero-ink: #f8fafc;
  --hero-muted: #94a3b8;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.18);

  --radius: 14px;
  --radius-lg: 20px;

  --container-w: 1180px;
  --narrow-w: 760px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: var(--narrow-w);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: var(--hero-bg);
  color: var(--hero-ink);
}

.section--dark .h2,
.section--dark .kicker {
  color: var(--hero-ink);
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }
}

/* ---------- Skip link (a11y) ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 600;
  z-index: 100;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__primary {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.brand__sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-2);
}

.nav__links a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 15px;
}

.nav__phone:hover {
  color: var(--ink);
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav__phone span {
    display: none;
  }
  .brand__sub {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 0 18px;
  height: 42px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.08s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn--lg {
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-2);
}

.btn--ghost {
  background: transparent;
  color: var(--hero-ink);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

/* ---------- Type ---------- */

.h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 14px 0 18px;
  color: inherit;
}

.h1 .accent {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 18px;
}

.h2--light {
  color: var(--hero-ink);
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 6px;
}

.kicker--light {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--hero-muted);
  text-transform: uppercase;
  margin: 0;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--hero-muted);
  max-width: 720px;
  margin: 0 0 32px;
}

.section__lede {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 0 40px;
}

.section__lede--light {
  color: var(--hero-muted);
}

.section__lede--light strong {
  color: var(--hero-ink);
}

.prose {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.prose strong {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(14, 165, 233, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(56, 189, 248, 0.10), transparent 70%),
    linear-gradient(180deg, var(--hero-bg-2) 0%, var(--hero-bg) 60%);
}

.hero__inner {
  padding: 96px 24px 112px;
  max-width: 1080px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--hero-muted);
  font-size: 14px;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust span {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 720px) {
  .hero__inner {
    padding: 64px 24px 80px;
  }
}

/* ---------- Cards (Why Us) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 880px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}

.card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin: 0 0 14px;
}

.card__title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Authorized Partner trust strip ---------- */

.section--trust {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.trust-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.trust-strip__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-strip__badge {
  height: auto;
  width: 100%;
  max-width: 360px;
  display: block;
}

.trust-strip__caption {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

@media (max-width: 560px) {
  .section--trust {
    padding: 40px 0;
  }
  .trust-strip__badge {
    max-width: 280px;
  }
  .trust-strip__caption {
    font-size: 13.5px;
  }
}

/* Footer partner badge (sits on dark footer — wrap in white card) */

.footer__partner {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  align-self: center;
}

.footer__partner img {
  display: block;
  height: 36px;
  width: auto;
}

@media (max-width: 800px) {
  .footer__partner {
    align-self: flex-start;
  }
}

/* ---------- Contrast (Licensed in-house section) ---------- */

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 880px) {
  .contrast {
    grid-template-columns: 1fr;
  }
}

.contrast__col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.contrast__col--no {
  border-color: #fecaca;
  background: #fef2f2;
}

.contrast__col--yes {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.contrast__heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contrast__col--no .contrast__heading {
  color: #b91c1c;
}

.contrast__col--yes .contrast__heading {
  color: var(--accent-dark);
}

.contrast__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contrast__col li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.contrast__col--no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fecaca;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
}

.contrast__col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.closer {
  margin: 40px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 22px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.closer strong {
  color: var(--ink);
}

/* ---------- Steps (white-glove process) ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 20px;
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hero-ink);
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--hero-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .step {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* ---------- Features grid ---------- */

.grid-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.feature p {
  color: var(--ink-2);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq details[open] {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 32px;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- CTA + Form ---------- */

.section--cta {
  background:
    radial-gradient(50% 80% at 100% 0%, var(--accent-glow-soft), transparent 70%),
    linear-gradient(180deg, var(--hero-bg-2), var(--hero-bg));
  color: var(--hero-ink);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 960px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.cta-copy .h2 {
  margin-bottom: 16px;
}

.cta-lede {
  color: var(--hero-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.cta-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--hero-muted);
  font-size: 15px;
}

.cta-bullets li {
  position: relative;
  padding-left: 26px;
}

.cta-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.form-card {
  background: var(--bg);
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  gap: 16px;
}

.form__row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  .form__row--2 {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field em {
  color: var(--accent-dark);
  font-style: normal;
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  width: 100%;
  border: 1px solid var(--border-2);
  background: var(--bg);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

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

.form__fineprint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

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

.footer {
  background: var(--hero-bg);
  color: var(--hero-muted);
  padding: 48px 0 36px;
  font-size: 14px;
  line-height: 1.6;
}

.footer__inner {
  display: grid;
  gap: 28px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer__heading {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__text,
.footer__address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hero-muted);
}

.footer__text a {
  color: #cbd5e1;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.footer__text a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__company {
  margin: 0;
  color: var(--hero-ink);
  font-weight: 700;
  font-size: 16px;
}

.footer__sub {
  margin: 2px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.footer__contact a {
  color: var(--hero-ink);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.footer__contact a:hover {
  border-bottom-color: var(--accent);
}

.footer__legal {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
  max-width: 1080px;
}

.footer__legal a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  color: var(--accent-2);
}

/* ---------- Reduced motion ---------- */

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