/* ============================================================
   Kiozi homepage
   Fixed painted backdrop + floating glass nav + hero + benefits
   ============================================================ */

:root {
  --coral: #f2705a;
  --coral-deep: #e75f49;
  --ink: #1c1a18;
  --ink-soft: #4c453f;
  --purple: #7c6bd9;
  --lavender-line: #cabdf2;
  --card-lilac: rgba(233, 226, 251, 0.9);
  --card-mint: rgba(222, 242, 232, 0.9);
  --card-blue: rgba(222, 233, 250, 0.9);
  --glass: rgba(255, 253, 249, 0.62);
  --glass-border: rgba(255, 255, 255, 0.75);
  --radius-pill: 999px;
  --font: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  /* the outer backdrop: visible whenever the window is wider than the site */
  background: linear-gradient(180deg, #ece1d1 0%, #e3d6c3 100%);
  min-height: 100vh;
}

/* ---------- the site sheet ----------
   The website is a fixed-width artboard (1440px design, rendered at 1280px
   via zoom 1280/1440) centered on the outer backdrop, floating with a
   shadow. Its background is the render's artwork at the top (feathered
   into the paper-grain tile) and scrolls with the content. */

.site {
  width: 1440px;
  zoom: 0.88889; /* 1280 / 1440 */
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  /* clip (not hidden): hidden would turn the sheet into a scroll container
     and silently break the sticky nav */
  overflow: clip;
  background-color: #fdf5ee;
  background-image: url("../assets/bg-hero.png"), url("../assets/bg-tile.png");
  background-repeat: no-repeat, repeat;
  background-position: top center, left top;
  background-size: 100% auto, 1024px 1024px;
  box-shadow: 0 0 90px rgba(74, 52, 32, 0.35);
}

/* ---------- floating glass navigation ---------- */

.nav-wrap {
  position: sticky;
  top: 15px;
  z-index: 40;
  padding: 15px 38px 0;
  display: flex;
  justify-content: center;
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 18px 14px 26px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 40px -22px rgba(60, 40, 30, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -8px rgba(242, 112, 90, 0.7);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav .brand-name {
  font-size: calc(1.45rem + 3px);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 44px;
  margin: 0 auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
  transition: color 140ms ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px 28px;
  white-space: nowrap;
  transition: transform 140ms ease, box-shadow 140ms ease,
    background-color 140ms ease;
}

.btn .arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform 140ms ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 26px -12px rgba(242, 112, 90, 0.75);
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--purple);
  border: 1.6px solid var(--lavender-line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: auto;
  padding: 14px 26px;
}

.nav-links + .nav-cta {
  margin-left: 0;
}

/* ---------- page layout ---------- */

.page {
  width: 100%;
  margin: 0 auto;
  /* top padding trimmed: all content sits 30 rendered px higher,
     the sheet background does not move with it (offset compensates the
     nav position so content below holds its place) */
  padding: 21px 38px 48px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 620px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 600px;
  padding-top: 34px;
  flex: 0 0 auto;
}

.pill-badge {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1.6px solid var(--lavender-line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--purple);
  font-weight: 700;
  font-size: 1.02rem;
}

.headline {
  margin-top: 26px;
  max-width: 455px;
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.keep-together {
  white-space: nowrap;
}

.underlined {
  position: relative;
  display: inline-block;
}

.underline-stroke {
  position: absolute;
  left: 0;
  bottom: -0.25em;
  width: 100%;
  height: 0.22em;
}

.support {
  margin-top: 28px;
  max-width: 340px;
  font-size: 1.32rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-soft);
}

.cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* decorative doodles around the copy */

.doodle {
  position: absolute;
  pointer-events: none;
}

.doodle-sparkle {
  width: 44px;
  top: 96px;
  right: 28px;
  transform: rotate(178deg);
}

.doodle-dashes {
  width: 52px;
  bottom: 122px; /* +50 rendered px higher again */
  right: -39px; /* +15 rendered px further right */
}

/* ---------- hero visual (the tilted iPad) ---------- */

.hero-visual {
  position: absolute;
  z-index: 3;
  top: -24px; /* 50 rendered px higher at the sheet zoom */
  right: -127px; /* 50 rendered px further left */
  width: 1140px; /* 5% smaller than 1200 */
  pointer-events: none;
  perspective: 1500px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 30px rgba(52, 36, 24, 0.26))
    drop-shadow(0 64px 70px rgba(52, 36, 24, 0.2));
  /* draggable 3D tilt (see the script at the end of index.html) */
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    scale(var(--zoom, 1));
}

.hero-visual img.dragging {
  cursor: grabbing;
}

/* soft shadow pool under the tablet's lower edge: grounds it and blends
   the flat gray band baked into the artwork's bottom */
.hero-visual::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 9%;
  bottom: 2%;
  height: 18%;
  background: radial-gradient(
    ellipse 52% 46% at 50% 55%,
    rgba(52, 36, 24, 0.38),
    rgba(52, 36, 24, 0) 72%
  );
  filter: blur(22px);
  transform: rotate(4deg);
  z-index: -1;
}

/* ---------- benefit cards ---------- */

.benefits {
  position: relative;
  z-index: 1;
  margin-top: 42px; /* +10 rendered px higher */
  left: -57px; /* +30 rendered px further left */
  display: grid;
  /* 320x144 design px = 284x128 rendered = 568x256 on a 2x display */
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 26px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 144px;
  padding: 9px 11px;
  border-radius: 22px;
}

.tone-lilac { background: var(--card-lilac); }
.tone-mint  { background: var(--card-mint); }
.tone-blue  { background: var(--card-blue); }

.benefit-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 60px;
  height: 60px;
}

.benefit-text h2 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.benefit-text p {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.42;
  font-weight: 500;
  color: var(--ink-soft);
}

/* The site is a fixed-width artboard; no viewport-responsive rules.
   (Mobile layout intentionally deferred.) */

/* ============================================================
   Full-page sections (How it works, features, Square,
   testimonials, CTA, footer)
   ============================================================ */

.panel {
  position: relative;
  margin-top: 20px;
  border-radius: 30px;
  padding: 56px 60px;
  background: #fffdf9;
  box-shadow: 0 24px 50px -38px rgba(60, 40, 30, 0.35);
}

.panel:first-of-type {
  margin-top: 0;
}

.section-title {
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
}

.pill-small {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.98rem;
}

.text-link:hover {
  color: var(--coral-deep);
}

.dot-green {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3fb98b;
}

/* ---------- how it works ---------- */

.how-panel {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.how-left {
  flex: 0 0 320px;
}

.how-left .section-title {
  margin-top: 22px;
}

.mini-kiosk {
  position: relative;
  margin-top: 34px;
  padding-left: 26px;
}

.mini-sparkle {
  width: 34px;
  left: -12px;
  top: 8px;
}

.mini-arrow {
  width: 54px;
  right: -6px;
  top: -34px;
}

.mini-tablet {
  width: 270px;
  background: #17150f;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 24px 40px -24px rgba(40, 25, 15, 0.55);
}

.mini-tablet > * {
  background: transparent;
}

.mini-tablet {
  background: #17150f;
}

.mini-tablet p,
.mini-tablet .mini-cards,
.mini-tablet .mini-btn {
  position: relative;
}

.mini-tablet::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: #fdf8f2;
  border-radius: 12px;
}

.mini-title {
  font-weight: 800;
  font-size: 0.98rem;
  padding: 12px 14px 0;
}

.mini-sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  padding: 2px 14px 8px;
}

.mini-cards {
  display: flex;
  gap: 8px;
  padding: 0 12px;
}

.mini-card {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 4px 10px -6px rgba(60, 40, 30, 0.35);
}

.mini-card img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  border-radius: 7px;
}

.mini-emoji {
  width: 100%;
  height: 44px;
  border-radius: 7px;
  background: #f6ede2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mini-card span:not(.mini-emoji) {
  font-size: 0.62rem;
  font-weight: 700;
}

.mini-card em {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--ink-soft);
}

.mini-btn {
  display: block;
  margin: 10px 12px 4px;
  background: var(--coral);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.74rem;
  border-radius: 999px;
  padding: 8px 0;
}

.steps {
  flex: 1;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 74px;
}

.step {
  flex: 1;
  max-width: 240px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.num-lilac { background: linear-gradient(135deg, #c3b3f5, #8f7ae8); }
.num-mint  { background: linear-gradient(135deg, #8fdcbd, #3fb98b); }
.num-coral { background: linear-gradient(135deg, #f6a08c, #f2705a); }

.step-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 210px;
  height: 150px;
  background: #fff;
  border: 2.5px solid #1c1a18;
  border-radius: 18px;
}

.step-tile svg {
  width: 130px;
  height: 96px;
}

.step h3 {
  margin-top: 20px;
  font-size: 1.08rem;
  font-weight: 800;
}

.step p {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.step-arrow {
  align-self: center;
  padding-top: 40px;
  flex: 0 0 44px;
}

.step-arrow svg {
  width: 44px;
  height: 16px;
}

/* ---------- everything guests need ---------- */

.guests-panel {
  background: linear-gradient(
    115deg,
    #dcd6f3 0%,
    #d9dfee 30%,
    #d3ebe2 62%,
    #cbecdb 100%
  );
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.guests-dashes {
  width: 46px;
  top: 40px;
  right: 46px;
}

.guests-head {
  flex: 0 0 250px;
}

.guest-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.guest-icon {
  width: 40px;
  height: 40px;
}

.guest-col h3 {
  margin-top: 14px;
  font-size: 1.12rem;
  font-weight: 800;
}

.guest-col p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  min-height: 62px;
}

.ui-chip {
  margin-top: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px -16px rgba(50, 60, 50, 0.45);
}

.chip-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
}

.chip-card img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 9px;
  flex: 0 0 auto;
}

.chip-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.chip-lines strong { font-size: 0.8rem; }
.chip-lines small  { font-size: 0.68rem; color: var(--ink-soft); }
.chip-lines em     { font-style: normal; font-size: 0.72rem; font-weight: 700; }

.chip-plus {
  margin-left: auto;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.chip-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3fb98b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-check svg { width: 12px; height: 12px; }

.chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
}

.chip-pay strong { font-size: 0.92rem; }

.sq-mark svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---------- made to work with square ---------- */

.square-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  padding-right: 350px; /* reserved for the photo blob on the right edge */
  min-height: 400px;
}

.square-body {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.square-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.flow-card {
  background: #fff;
  border: 1.5px solid #eee5d9;
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 140px;
  box-shadow: 0 12px 26px -20px rgba(60, 40, 30, 0.4);
}

.flow-card:last-child {
  min-width: 166px; /* keeps "Orders in Square" on one line */
}

.flow-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.flow-card ul {
  list-style: none;
}

.flow-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 0;
  border-top: 1px solid #f2ece2;
}

.flow-card li:first-child { border-top: 0; }

.row-ico {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.row-ico svg {
  width: 100%;
  height: 100%;
}

.order-rows li {
  white-space: nowrap;
  align-items: flex-start;
}

.order-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.order-lines em {
  font-style: normal;
  color: var(--ink-soft);
  font-weight: 600;
}

.order-rows li .dot-green {
  margin-left: auto;
  margin-top: 4px;
}

.flow-arrow {
  width: 34px;
  height: 13px;
  flex: 0 0 auto;
}

.flow-kiosk {
  text-align: center;
}

.flow-tablet {
  width: 195px;
  background: #17150f;
  border-radius: 16px;
  padding: 9px;
  position: relative;
  box-shadow: 0 18px 32px -20px rgba(40, 25, 15, 0.55);
  transform: rotate(3.5deg);
}

.flow-tablet::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: #fdf8f2;
  border-radius: 9px;
}

.flow-tablet > * { position: relative; }

.flow-greet {
  font-size: 0.56rem;
  color: var(--ink-soft);
  padding: 8px 12px 0;
  text-align: left;
}

.flow-head {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 1px 12px 7px;
  text-align: left;
}

.flow-pills {
  display: flex;
  gap: 4px;
  padding: 0 10px 6px;
}

.fp {
  font-size: 0.4rem;
  font-weight: 700;
  color: var(--ink-soft);
  border: 0.8px solid #e6ddd0;
  background: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  line-height: 1.2;
}

.fp-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.flow-cards {
  display: flex;
  gap: 5px;
  padding: 0 10px 10px;
}

.flow-mini-card {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 3px 3px 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 8px -4px rgba(60, 40, 30, 0.4);
  text-align: left;
}

.flow-mini-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border-radius: 5px;
}

.flow-mini-card b {
  font-size: 0.42rem;
  font-weight: 800;
  margin-top: 3px;
}

.flow-mini-card i {
  font-style: normal;
  font-size: 0.4rem;
  color: var(--ink-soft);
  margin-top: 1px;
}

.fp-plus {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  text-decoration: none;
}

.flow-caption {
  margin-top: 14px;
  line-height: 1.3;
}

.flow-caption strong { display: block; font-size: 0.86rem; }
.flow-caption small  { color: var(--ink-soft); font-size: 0.72rem; }

.square-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 330px;
}

.square-photo svg {
  display: block;
  width: 100%;
  height: 100%;
  /* organic blob: big sweeping curves on the left, panel radius on the right */
  border-radius: 150px 30px 30px 30px / 190px 30px 30px 30px;
}

.square-dashes {
  width: 40px;
  right: 300px;
  bottom: 88px;
}

/* ---------- testimonials ---------- */

.testi-panel {
  /* original layout, kept for when the section returns: */
  grid-template-columns: 250px 1fr;
  gap: 44px;
  align-items: start;
  /* hidden for now; switch back to `display: grid` to bring it back */
  display: none;
}

.testi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #f0e8dc;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 30px -24px rgba(60, 40, 30, 0.4);
}

.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}

.av-lilac { background: linear-gradient(135deg, #c3b3f5, #8f7ae8); }
.av-mint  { background: linear-gradient(135deg, #8fdcbd, #3fb98b); }
.av-blue  { background: linear-gradient(135deg, #9db9f5, #5c8bf0); }

.testi-card blockquote {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}

.testi-card figcaption {
  grid-column: 2;
  font-size: 0.82rem;
  font-weight: 700;
}

.testi-card figcaption small {
  font-weight: 500;
  color: var(--ink-soft);
}

.trust-caption {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 34px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.logo-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 20px;
  padding: 0 26px;
  color: #2f2b27;
  opacity: 0.82;
}

.logo-caps {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.logo-script {
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-stack,
.logo-stack2 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.logo-stack i {
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-style: normal;
  font-size: 1.3rem;
}

.logo-stack b { font-size: 0.62rem; letter-spacing: 0.34em; }

.logo-stack2 b { font-weight: 800; letter-spacing: 0.16em; font-size: 0.92rem; }
.logo-stack2 small { font-size: 0.56rem; letter-spacing: 0.26em; }

/* ---------- CTA banner ---------- */

.cta-panel {
  background: linear-gradient(120deg, #f37a60 0%, #ef6248 100%);
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: center;
}

.cta-blob {
  position: absolute;
  right: 130px;
  bottom: -40px;
  width: 480px;
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding-left: 40px;
}

.cta-copy h2 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.btn-outline-white {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.cta-ipad {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-46%);
  width: 560px;
  z-index: 1;
  pointer-events: none;
}

.cta-dashes-left {
  width: 44px;
  left: 44px;
  top: 34px;
}

.cta-dashes-right {
  width: 40px;
  right: 40px;
  top: 44px;
}

/* ---------- footer ---------- */

.footer {
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1.3fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.social-row a {
  color: var(--ink-soft);
  transition: color 140ms ease;
}

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

.social-row svg {
  width: 19px;
  height: 19px;
  display: block;
}

.footer-col {
  display: block;
}

.footer-col h4,
.footer-news h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

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

.footer-news p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.news-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.6px solid #e9e0d2;
  border-radius: 999px;
  padding: 5px 5px 5px 18px;
  max-width: 300px;
}

.news-form input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 0.88rem;
  flex: 1;
  min-width: 0;
  color: var(--ink);
}

.news-form input::placeholder { color: #a99f92; }

.news-form button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease;
}

.news-form button:hover { background: var(--coral-deep); }

.news-form button svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #f0e8db;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer-legal {
  display: flex;
  gap: 26px;
}

.footer-legal a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

.news-status {
  margin-top: 10px;
  min-height: 1.1em;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.news-status.is-ok {
  color: #2f8f66;
  font-weight: 600;
}

.news-status.is-error {
  color: #c4483a;
  font-weight: 600;
}

/* ---------- not built yet ----------
   Footer entries whose page does not exist. They used to be href="#", which on a live
   site behaves as a broken link — it jumps to the top. Inert text says the true thing
   and costs nothing to swap back to an <a> once the page is real. */

.soon {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.55;
  cursor: default;
}

.soon i {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(124, 107, 217, 0.14);
  color: var(--purple);
  opacity: 0.9;
}

.footer-legal .soon {
  font-size: 0.8rem;
}

.soon-icon {
  display: inline-flex;
  color: var(--ink-soft);
  opacity: 0.4;
  cursor: default;
}

.soon-icon svg {
  width: 20px;
  height: 20px;
}

/* anchors shouldn't hide under the floating nav */
.panel,
.benefits {
  scroll-margin-top: 130px;
}

/* ============================================================
   Mobile
   The desktop sheet is a fixed 1440px artboard scaled by `zoom`. Below the
   breakpoint that artboard is abandoned entirely: the sheet becomes fluid
   (zoom: 1) and every multi-column section collapses to the 390px design.
   ============================================================ */

/* ---------- controls that only exist on mobile ---------- */

/* Hamburger. Hidden on desktop, where .nav-links carries the navigation. */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-bars i + i {
  margin-top: 4px;
}

/* Footer columns are <details open>, so desktop renders them exactly as the
   old <nav> columns did: no marker, no chevron, content always visible. */
.footer-col > summary {
  list-style: none;
  cursor: default;
}

.footer-col > summary::-webkit-details-marker {
  display: none;
}

.footer-col > summary h4 {
  display: inline;
}

.acc-chev {
  display: none;
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  transition: transform 180ms ease;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

@media (max-width: 767px) {
  /* ---------- the sheet goes fluid ---------- */

  body {
    background: #fdf5ee;
  }

  .site {
    width: 100%;
    zoom: 1;
    box-shadow: none;
    /* the hero artwork is authored for a 1440px sheet; oversizing it keeps
       the blobs reading as blobs instead of a thin band across the top */
    background-size: 190% auto, 512px 512px;
    background-position: 62% top, left top;
  }

  .page {
    padding: 12px 16px 30px;
  }

  /* ---------- nav ---------- */

  .nav-wrap {
    top: 10px;
    padding: 10px 16px 0;
  }

  .nav {
    position: relative;
    gap: 10px;
    padding: 8px 8px 8px 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .nav .brand-name {
    font-size: calc(1.16rem + 3px);
  }

  /* Admin Login stays in the bar, compacted to leave room for the hamburger. */
  .nav-cta {
    padding: 10px 16px;
    font-size: 0.84rem;
    gap: 7px;
    box-shadow: 0 10px 18px -10px rgba(242, 112, 90, 0.75);
  }

  /* Pushes Admin Login + hamburger hard right of the brand. Written with the
     sibling selector to out-specify the desktop `.nav-links + .nav-cta` reset,
     which still matches: the list is display:none here, but that does not stop
     a structural selector from applying. */
  .nav-links + .nav-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* the links become a sheet that drops out of the pill */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border-radius: 22px;
    /* opaque, not glass: the hero headline sits directly behind this sheet
       and shows through anything translucent */
    background: #fffdf9;
    border: 1px solid #f0e8db;
    box-shadow: 0 24px 44px -22px rgba(60, 40, 30, 0.45);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(242, 112, 90, 0.1);
  }

  /* ---------- hero ---------- */

  .hero {
    flex-direction: column;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    width: 100%;
    padding-top: 6px;
  }

  .pill-badge {
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .headline {
    margin-top: 16px;
    max-width: none;
    font-size: 2.4rem;
  }

  .support {
    font-size: 1rem;
  }

  /* stacked, full-bleed buttons */
  .cta-row {
    margin-top: 22px;
    flex-direction: column;
    gap: 12px;
  }

  .cta-row .btn {
    justify-content: center;
    width: 100%;
  }

  /* the doodles are placed against the desktop artboard and land on top of
     the copy once it reflows */
  .doodle {
    display: none;
  }

  /* the tablet drops below the copy and stops being a drag target — the
     desktop tilt sets touch-action: none, which would eat page scrolling
     over an image this tall */
  .hero-visual {
    position: static;
    width: calc(100% + 24px);
    margin: 20px -12px 0;
    perspective: none;
  }

  .hero-visual img {
    pointer-events: none;
    touch-action: auto;
    cursor: default;
    transform: none;
    filter: drop-shadow(0 14px 18px rgba(52, 36, 24, 0.24))
      drop-shadow(0 34px 40px rgba(52, 36, 24, 0.18));
  }

  .hero-visual::after {
    display: none;
  }

  /* ---------- benefit cards ---------- */

  .benefits {
    left: 0;
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit {
    height: auto;
    min-height: 82px;
    padding: 14px;
    border-radius: 18px;
  }

  /* ---------- shared panel chrome ---------- */

  .panel {
    margin-top: 14px;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .section-title {
    font-size: 1.62rem;
  }

  .panel,
  .benefits {
    scroll-margin-top: 84px;
  }

  /* ---------- how it works ---------- */

  .how-panel {
    flex-direction: column;
    gap: 24px;
  }

  .how-left {
    flex: 0 0 auto;
    width: 100%;
  }

  .mini-kiosk {
    margin: 26px auto 0;
    padding-left: 0;
    width: max-content;
  }

  /* each step becomes a row: number, tile, copy — joined by the rail */
  .steps {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    width: 100%;
  }

  .step {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: 40px 116px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
  }

  .step-num {
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .step-tile {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .step h3 {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
  }

  .step p {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
  }

  .step-tile {
    max-width: none;
    height: 96px;
    border-width: 2px;
    border-radius: 14px;
  }

  .step-tile svg {
    width: 82px;
    height: 60px;
  }

  .step h3 {
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .step p {
    margin-top: 0;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  /* the desktop arrow between steps becomes a vertical rail under the number */
  .step-arrow {
    align-self: stretch;
    padding-top: 0;
    flex: 0 0 auto;
    height: 26px;
    display: flex;
    justify-content: flex-start;
    padding-left: 19px;
  }

  .step-arrow svg {
    width: 16px;
    height: 100%;
    transform: rotate(90deg);
  }

  /* ---------- everything guests need ---------- */

  .guests-panel {
    flex-direction: column;
    gap: 20px;
  }

  .guests-head {
    flex: 0 0 auto;
  }

  .guests-dashes {
    display: none;
  }

  .guest-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .guest-col h3 {
    font-size: 0.95rem;
  }

  .guest-col p {
    font-size: 0.8rem;
  }

  .ui-chip {
    width: 100%;
    margin-top: 12px;
    border-radius: 12px;
  }

  .chip-card {
    gap: 8px;
    padding: 8px;
  }

  .chip-card img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .chip-lines strong { font-size: 0.72rem; }
  .chip-lines small  { font-size: 0.62rem; }
  .chip-lines em     { font-size: 0.66rem; }

  .chip-plus {
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
  }

  .chip-check {
    width: 19px;
    height: 19px;
  }

  .chip-pill {
    gap: 6px;
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .chip-pay strong { font-size: 0.8rem; }

  .sq-mark svg {
    width: 20px;
    height: 20px;
  }

  /* ---------- made to work with Square ---------- */

  .square-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-right: 18px;
    min-height: 0;
  }

  .square-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .flow-card,
  .flow-kiosk {
    width: 100%;
  }

  .flow-arrow {
    align-self: center;
    transform: rotate(90deg);
  }

  /* the photo blob leaves the right edge and becomes a banner */
  .square-photo {
    position: static;
    width: 100%;
    height: 190px;
  }

  .square-photo svg {
    border-radius: 18px;
  }

  .square-dashes {
    display: none;
  }

  /* ---------- testimonials ---------- */

  .testi-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .logo-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    padding: 0;
  }

  .logo-caps {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  /* ---------- closing CTA ---------- */

  .cta-panel {
    min-height: 0;
    padding: 26px 18px;
  }

  .cta-copy {
    padding-left: 0;
    max-width: 62%;
  }

  .cta-copy h2 {
    font-size: 1.42rem;
  }

  /* the outline button is sized for a 1440px artboard; unconstrained it runs
     out from under the copy column and collides with the tablet */
  .cta-copy .btn-outline-white {
    padding: 11px 18px;
    font-size: 0.86rem;
  }

  .cta-blob {
    right: -74px;
    bottom: -34px;
    width: 260px;
  }

  .cta-ipad {
    width: 218px;
    right: -54px;
    transform: translateY(-44%);
  }

  .cta-dashes-left,
  .cta-dashes-right {
    display: none;
  }

  /* ---------- footer ---------- */

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand {
    margin-bottom: 22px;
  }

  /* link columns turn into tappable accordion rows */
  .footer-col {
    border-top: 1px solid #f0e8db;
  }

  .footer-col > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    cursor: pointer;
  }

  .acc-chev {
    display: block;
  }

  .footer-col[open] .acc-chev {
    transform: rotate(180deg);
  }

  .footer-links {
    padding: 0 2px 16px;
  }

  .footer-news {
    border-top: 1px solid #f0e8db;
    padding-top: 16px;
    margin-top: 0;
  }

  .news-form {
    max-width: none;
  }

  .news-status {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
  }

  .footer-legal {
    gap: 20px;
  }
}

/* very narrow phones: the CTA copy column and the tablet still compete */
@media (max-width: 359px) {
  /* the bar starts to crowd: shed the arrow and tighten the pill */
  .nav-cta {
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  .nav-cta .arrow {
    display: none;
  }

  .cta-copy {
    max-width: 74%;
  }

  .cta-copy .btn-outline-white {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .cta-ipad {
    width: 180px;
    right: -58px;
  }

  .cta-blob {
    width: 220px;
    right: -70px;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .acc-chev {
    transition: none;
  }
}

/* Shared public-site brand artwork. */
.brand-mark { background: transparent; box-shadow: none; overflow: hidden; flex-shrink: 0; border-radius: 22%; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
