:root {
  --black: #090304;
  --blue: #136EF6;
  --blue-deep: #0D5AD1;
  --white: #FFFFFF;
  --off: #F4F2F1;
  --gray: #88969E;
  --ink: #1A1214;
  --card: #141011;
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(9,3,4,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.55;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(9,3,4,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.logo { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: #F4F2F1; }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 18px; align-items: center; }
.phone-link { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--white); letter-spacing: .01em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); text-decoration: none;
  font-weight: 650; font-size: 15px; letter-spacing: .01em;
  padding: 12px 20px; border-radius: 4px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--blue-deep); }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,.35); color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #1a1214; }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,3,4,.92) 0%, rgba(9,3,4,.78) 42%, rgba(9,3,4,.45) 100%),
    url("/images/lifestyle-table-service.webp") center/cover no-repeat;
  opacity: 1;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  color: var(--blue);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.lede { font-size: 20px; color: #E8E4E2; max-width: 36em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.fine { font-size: 14px; color: var(--gray); }
.video-card {
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.1);
}
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video-frame img.poster { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: rgba(9,3,4,.28); border: 0; width: 100%; color: #fff;
  cursor: pointer; font-family: inherit;
}
.play-disc {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--blue); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(19,110,246,.45);
}
.play-disc svg { margin-left: 4px; }
.play-label { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.video-caption { font-size: 12px; color: #B8B2B0; padding: 10px 14px 12px; background: #0E090A; }
.hardware-float {
  margin-top: -12px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
}
.hardware-float img { margin: 0 auto; }

/* Sections */
section { padding: 88px 0; }
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sub { font-size: 19px; color: #C9C3C1; max-width: 40em; }
.light { background: var(--off); color: var(--ink); }
.light .sub { color: #4A4446; }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.prob {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 26px 30px;
  box-shadow: 0 8px 30px rgba(9,3,4,.06);
}
.prob h3 { font-size: 22px; font-family: Newsreader, Georgia, serif; font-weight: 600; margin-bottom: 10px; }
.prob p { font-size: 16.5px; color: #3A3436; }
.prob .then { margin-top: 14px; color: var(--ink); font-weight: 600; }

/* Features */
.feature-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab {
  text-align: left; background: transparent; color: #D8D2D0;
  border: 0; border-left: 3px solid transparent;
  padding: 12px 14px; font: 600 16px/1.2 "Source Sans 3", sans-serif;
  cursor: pointer;
}
.tab[aria-selected="true"], .tab.active {
  color: var(--white); border-left-color: var(--blue); background: rgba(19,110,246,.1);
}
.feature-pane { display: none; }
.feature-pane.active { display: block; }
.feature-media {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: stretch;
}
.feature-media .shot {
  border-radius: 10px; overflow: hidden; background: #110C0D;
  min-height: 340px;
}
.feature-media .shot img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h3 { font-family: Newsreader, Georgia, serif; font-size: 30px; font-weight: 550; margin: 0 0 10px; }
.feature-copy p { color: #D4CECC; margin-bottom: 16px; }
.watch { color: var(--white); font-weight: 650; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.watch:hover { color: #8CB8FF; }

/* Local */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 460px; object-fit: cover; border-radius: 10px; }
.note {
  margin-top: 20px; font-size: 14px; color: var(--gray);
  border-left: 3px solid var(--blue); padding-left: 14px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.num { font-family: Newsreader, Georgia, serif; color: var(--blue); font-size: 36px; font-weight: 600; line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 22px; margin-bottom: 8px; font-family: Newsreader, Georgia, serif; font-weight: 600; }
.step p { color: #D0CAC8; font-size: 16.5px; }

/* Stories */
.stories-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; margin-top: 32px; }
.mini-videos { display: grid; gap: 16px; }
.mini { border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.mini .video-frame { aspect-ratio: 16/9; }
.mini .video-caption, .video-card .video-caption { line-height: 1.4; }

/* CTA / form */
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.cta-photo { width: 100%; height: 100%; min-height: 440px; object-fit: cover; border-radius: 10px; }
form {
  background: var(--white); color: var(--ink); border-radius: 12px; padding: 32px;
  box-shadow: 0 16px 50px rgba(9,3,4,.12);
}
label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 14px 0 6px; }
input, select, textarea {
  width: 100%; border: 1px solid #D5D0CE; border-radius: 4px;
  padding: 11px 12px; font: 16px "Source Sans 3", sans-serif; background: #fff; color: var(--ink);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { font-size: 14px; color: #4A4446; margin: 16px 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
form .btn { width: 100%; padding: 14px; font-size: 16px; margin-top: 4px; }

/* FAQ */
details {
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
}
summary {
  font-weight: 650; font-size: 18px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "-"; }
details p { margin-top: 10px; color: #3A3436; max-width: 52em; }

/* Footer */
footer { background: #050203; border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: #B8B2B0; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
footer a { color: #E8E4E2; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.legal { border-top: 1px solid var(--line); padding-top: 18px; color: var(--gray); font-size: 13px; }

@media (max-width: 900px) {
  .hero .wrap, .feature-layout, .feature-media, .split, .stories-grid, .cta-grid, .problem-grid, .steps, .foot, .row, .nav-links {
    grid-template-columns: 1fr;
    display: block;
  }
  .nav-links { display: none; }
  .feature-media .shot { min-height: 220px; margin-bottom: 12px; }
  .tabs { flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; }
  .hero { padding-top: 36px; }
}


/* Production additions */
.sr-only, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.consent a { color: var(--blue-deep); text-decoration: underline; }
.page-main { padding: 72px 0 96px; background: var(--off); color: var(--ink); min-height: 60vh; }
.page-main h1 { color: var(--ink); margin-bottom: 18px; }
.page-main h2 { font-size: clamp(24px, 3vw, 32px); margin: 32px 0 10px; color: var(--ink); }
.page-main p, .page-main li { color: #3A3436; font-size: 18px; max-width: 42em; }
.page-main ul { margin: 12px 0 16px 22px; }
.page-main li { margin: 6px 0; }
.page-main a { color: var(--blue-deep); }
.thanks-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 16px 50px rgba(9,3,4,.10);
  max-width: 640px;
}
.thanks-card .lede { color: #3A3436; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
footer a:hover { text-decoration: underline; }
.legal a { color: #C9C3C1; }
@media (max-width: 700px) {
  .nav-cta .phone-link { display: none; }
  .nav {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 10px 16px;
  }
  .logo { height: 34px; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn {
    font-size: 13px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  form { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .nav-cta { width: 100%; margin-left: 0; }
  .nav-cta .btn { width: 100%; }
}

.hero h1 {
  line-height: 1.16;
  margin-bottom: 20px;
}
.tools { margin-top: 72px; padding-top: 8px; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.tool {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tool img { width: 100%; height: 170px; object-fit: cover; background: #110C0D; }
.tool-body { padding: 22px 22px 24px; }
.tool h3 {
  font-family: Newsreader, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.tool p { color: #D0CAC8; font-size: 16.5px; }
@media (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
}

.cta-short { display: none; }
@media (max-width: 700px) {
  header .cta-full { display: none; }
  header .cta-short { display: inline; }
}
label.file-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 15px;
  color: #4A4446;
}


/* Official Shift4 Partner logo: unaltered lockup, keep aspect ratio */
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 1 auto;
}
.brand-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.22);
  flex-shrink: 0;
}
.partner-logo {
  height: auto;
  width: auto;
  max-height: 36px;
  max-width: 100%;
  flex-shrink: 1;
}
.partner-logo-footer {
  max-height: 40px;
  margin: 0 0 16px;
}
@media (max-width: 900px) {
  .partner-logo { max-height: 30px; }
  .brand-sep { height: 24px; }
}
@media (max-width: 700px) {
  .brand { gap: 12px; flex: 1 1 auto; }
  .partner-logo { max-height: 26px; }
  .brand-sep { height: 22px; }
  .nav-cta { width: 100%; margin-left: 0; }
  .nav-cta .btn { width: 100%; }
}

/* Social icons: 44px tap targets, works in dark footer and light contact */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #E8E4E2;
  border: 1px solid rgba(232,228,226,.28);
  text-decoration: none;
}
.social-links a:hover,
.social-links a:focus-visible {
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border-color: rgba(232,228,226,.55);
}
footer .social-links a:hover,
footer .social-links a:focus-visible {
  text-decoration: none;
}
.social-links svg {
  width: 20px;
  height: 20px;
  display: block;
}
.social-links-on-light a {
  color: #090304;
  border-color: rgba(9,3,4,.18);
}
.social-links-on-light a:hover,
.social-links-on-light a:focus-visible {
  background: rgba(9,3,4,.06);
  border-color: rgba(9,3,4,.35);
}

/* Visible merchant support (contact column and footer) */
.merchant-support {
  margin-top: 18px;
}
.merchant-support-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.merchant-support p {
  margin: 0 0 6px;
  font-size: 16px;
  color: #3A3436;
}
footer .merchant-support p {
  font-size: 14px;
  color: #B8B2B0;
}
.merchant-support a {
  font-weight: 600;
  white-space: nowrap;
}
.light .merchant-support a,
.thanks-card .merchant-support a {
  color: var(--blue-deep);
  text-decoration: underline;
}
.whatsapp-line {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.45;
}
.whatsapp-line svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Header merchant support: compact row under the main nav, wraps on small screens */
.header-support-row {
  border-top: 1px solid var(--line);
  padding: 8px 0 10px;
}
header .merchant-support {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}
header .merchant-support-label {
  margin-bottom: 0;
  font-size: 11px;
}
header .merchant-support p {
  margin: 0;
  font-size: 13px;
  color: #E8E4E2;
}
header .merchant-support a {
  color: var(--white);
  text-decoration: none;
}
header .merchant-support a:hover,
header .merchant-support a:focus-visible {
  text-decoration: underline;
}
header .whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
header .whatsapp-line svg {
  width: 14px;
  height: 14px;
  margin-top: 0;
}
@media (max-width: 700px) {
  .header-support-row {
    padding: 8px 0 10px;
  }
  header .merchant-support {
    gap: 4px 14px;
  }
}
