:root {
  --bg-top: #f8fafc;
  --bg-bottom: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.9);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #111827;
  --text-soft: #475569;
  --text-muted: #64748b;
  --accent: #0f172a;
  --accent-warm: #d97706;
  --accent-soft: #fff7ed;
  --shadow-lg: 0 22px 48px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.06);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 14px;
  --sans: 'Sora', 'Avenir Next', 'Nunito Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.62;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(148, 163, 184, 0.45);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.5rem 0 0;
}

.site-main {
  padding: 2.5rem 0 4.5rem;
}

.site-footer {
  padding: 0 0 3rem;
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.brand-mark img {
  width: 58px;
  height: 40px;
  object-fit: cover;
  object-position: center 24%;
}

.brand-name {
  white-space: nowrap;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.nav-links a,
.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.5);
  text-underline-offset: 0.22rem;
}

.nav-links .nav-signup {
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.stack-xl {
  display: grid;
  gap: 5rem;
}

.stack-lg {
  display: grid;
  gap: 3rem;
}

.surface-card {
  border: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--surface-soft));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.section-card,
.feature-card,
.policy-card {
  padding: 1.5rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 4.5rem;
  min-height: 720px;
  padding: 1.25rem 0 1.5rem;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 1.2rem;
}

.hero-copy h1,
.section-intro h1 {
  max-width: 12ch;
  font-size: 4.45rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading h2,
.section-intro h2 {
  max-width: 17ch;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 44rem;
  color: var(--text-soft);
  font-size: 1.14rem;
  line-height: 1.72;
}

.eyebrow {
  color: var(--accent-warm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.45rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--text);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.home-main {
  padding-top: 0;
}

.home-hero {
  display: grid;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  padding: 2rem 0 3rem;
  place-items: center;
}

.home-hero-inner {
  display: grid;
  gap: 2rem;
  place-items: center;
}

.home-title {
  display: grid;
  justify-items: center;
  gap: 0.22em;
  color: var(--text);
  font-size: 4.35rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
  text-align: center;
}

.home-roll-line {
  display: block;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  height: 1.1em;
  overflow: hidden;
  text-align: center;
}

.roll-track {
  display: grid;
  animation:
    rollWordsIntro 2s cubic-bezier(0.16, 1, 0.3, 1) 1,
    rollWords 6.4s cubic-bezier(0.76, 0, 0.24, 1) 2s infinite;
  will-change: transform;
}

.roll-phrase {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
  height: 1.1em;
  line-height: 1.1;
  white-space: nowrap;
}

.roll-for {
  color: var(--text-soft);
}

.system-nayax {
  color: #155fc9;
}

.system-cantaloupe {
  color: #d65f00;
}

.system-shopify {
  color: #008060;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.home-details {
  padding-top: 5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.detail-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.45rem;
}

.detail-card h3 {
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.16;
}

.detail-card p:last-child,
.product-preview-copy p {
  color: var(--text-soft);
}

.product-preview {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
  padding-bottom: 1rem;
}

.preview-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 100%);
  height: min(560px, 72vh);
  justify-self: center;
  filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.14));
}

.preview-phone img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-preview-copy {
  display: grid;
  justify-items: start;
  gap: 1rem;
}

.product-preview-copy h2 {
  max-width: 14ch;
  color: var(--text);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.product-preview-copy p {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.72;
}

@keyframes rollWords {
  0%,
  25% {
    transform: translateY(0);
  }

  33%,
  58% {
    transform: translateY(-1.1em);
  }

  66%,
  91% {
    transform: translateY(-2.2em);
  }

  100% {
    transform: translateY(-3.3em);
  }
}

@keyframes rollWordsIntro {
  0% {
    transform: translateY(0);
  }

  6%,
  18% {
    transform: translateY(-1.1em);
  }

  12%,
  25% {
    transform: translateY(-2.2em);
  }

  31% {
    transform: translateY(-3.3em);
  }

  31.01% {
    transform: translateY(0);
  }

  39% {
    transform: translateY(-1.1em);
  }

  48% {
    transform: translateY(-2.2em);
  }

  57% {
    transform: translateY(-3.3em);
  }

  57.01% {
    transform: translateY(0);
  }

  68% {
    transform: translateY(-1.1em);
  }

  81% {
    transform: translateY(-2.2em);
  }

  100% {
    transform: translateY(-3.3em);
  }
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 280px);
  align-items: center;
  justify-content: end;
  min-height: 610px;
  gap: 1.4rem;
  padding: 0 0 1.5rem;
}

.time-card {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  z-index: 3;
  display: grid;
  width: min(330px, 72%);
  gap: 0.65rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.time-card h2 {
  max-width: 18ch;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.15;
}

.time-card p:last-child {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-phone {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
  background: transparent;
  filter: drop-shadow(0 28px 34px rgba(15, 23, 42, 0.16));
}

.hero-phone img {
  width: 100%;
  height: auto;
}

.hero-phone-primary {
  z-index: 2;
  width: min(282px, 100%);
  transform: translateY(-1rem);
}

.hero-phone-secondary {
  z-index: 1;
  width: min(252px, 100%);
  opacity: 0.96;
  transform: translateY(2.4rem);
}

.section-heading,
.section-intro,
.feature-copy {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.section-intro {
  max-width: 720px;
}

.section-intro-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  max-width: none;
  gap: 2rem;
}

.section-card:not(.policy-card) {
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.section-intro p:last-child,
.footer-shell,
.feature-copy p,
.step p,
.policy-card p,
.policy-card li,
.time-saver-card p,
.signup-band p {
  color: var(--text-soft);
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.75rem;
}

.step {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.step-title,
.feature-copy h3,
.policy-card h2,
.policy-card h3 {
  color: var(--text);
  font-weight: 700;
}

.step-title {
  font-size: 1rem;
  line-height: 1.3;
}

.time-saver-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.time-saver-card,
.workflow-strip,
.signup-band {
  display: grid;
  gap: 1rem;
  padding: 1.65rem;
}

.time-saver-card h3 {
  color: var(--text);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.16;
}

.workflow-strip {
  gap: 1.6rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.82);
}

.signup-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.signup-band h2 {
  max-width: 20ch;
  color: var(--text);
  font-size: 2rem;
  line-height: 1.12;
}

.signup-band .button {
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.94);
}

.feature-copy h3 {
  max-width: 18ch;
  font-size: 1.45rem;
  line-height: 1.12;
}

.compact-feature {
  padding: 1.6rem;
}

.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 2rem;
}

.callout-list {
  display: grid;
  gap: 1rem;
}

.callout-list article {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.callout-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.callout-list strong {
  color: var(--text);
  font-size: 1.02rem;
}

.callout-list p {
  color: var(--text-soft);
}

.device-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.device-single {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-frame {
  overflow: hidden;
  border-radius: 1.9rem;
  background: transparent;
  box-shadow: none;
}

.device-frame img {
  width: 100%;
  height: auto;
  transform: scale(1.012);
  transform-origin: center;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.1));
}

.phone-frame {
  width: 220px;
}

.tablet-frame {
  width: min(560px, 100%);
}

.policy-card {
  display: grid;
  gap: 1rem;
}

.policy-card h2 {
  margin-top: 0.8rem;
  font-size: 1.42rem;
  line-height: 1.18;
}

.policy-card h3 {
  margin-top: 0.45rem;
  font-size: 1.03rem;
  line-height: 1.28;
}

.policy-card a,
.section-intro a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.7);
  text-underline-offset: 0.22rem;
}

@media (max-width: 980px) {
  .hero-shell,
  .signup-band,
  .section-intro-wide,
  .split-callout,
  .product-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-shell {
    min-height: auto;
    gap: 3rem;
  }

  .hero-copy h1,
  .section-intro h1 {
    font-size: 3.2rem;
  }

  .section-heading h2,
  .section-intro h2,
  .signup-band h2,
  .product-preview-copy h2 {
    font-size: 2.2rem;
  }

  .feature-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: center;
  }

  .home-title {
    font-size: 3.2rem;
  }

  .product-preview {
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .footer-links {
    gap: 0.7rem;
  }

  .site-main {
    padding-top: 1.5rem;
  }

  .home-main {
    padding-top: 0;
  }

  .stack-xl {
    gap: 3.5rem;
  }

  .steps-grid,
  .time-saver-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual,
  .device-pair {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-phone-secondary {
    display: none;
  }

  .hero-phone-primary {
    width: min(300px, 100%);
    transform: none;
  }

  .time-card {
    position: static;
    width: 100%;
  }

  .phone-frame {
    width: min(220px, 100%);
  }

  .hero-copy h1,
  .section-intro h1 {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .section-intro h2,
  .signup-band h2,
  .product-preview-copy h2 {
    font-size: 1.9rem;
  }

  .signup-band .button {
    width: 100%;
  }

  .home-hero {
    min-height: calc(100vh - 120px);
    min-height: calc(100svh - 120px);
    padding: 2.5rem 0;
  }

  .home-title {
    font-size: 2.35rem;
  }

  .home-details {
    padding-top: 3.5rem;
  }

  .product-preview {
    gap: 2rem;
  }

  .preview-phone {
    width: min(260px, 100%);
    height: min(500px, 68vh);
  }

  .home-actions {
    width: 100%;
  }

  .home-actions .button {
    width: min(100%, 260px);
  }
}

@media (max-width: 420px) {
  .home-title {
    font-size: 1.72rem;
  }
}

@media (max-width: 360px) {
  .home-title {
    font-size: 1.54rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .roll-track {
    transition: none;
  }

  .roll-track {
    animation: none;
  }
}
