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

:root {
  --paper: #f7f3ec;
  --paper-deep: #efe9dd;
  --cloud: #eaf0f4;
  --surface: #ffffff;
  --ink: #16202a;
  --ink-80: #1f2a36;
  --ink-60: #5a6571;
  --ink-40: #8b939d;
  --ink-20: #c4cad1;
  --mist: #d6dee5;
  --cobalt: #2d6cdf;
  --emerald: #2e8b57;
  --amber: #d98a1f;
  --coral: #d45745;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(22, 32, 42, 0.04), 0 12px 34px rgba(22, 32, 42, 0.08);
  --shadow-hero: 0 22px 70px rgba(22, 32, 42, 0.18);
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --ny: ui-serif, "New York", "Charter", Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--sf);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

@keyframes riseIn {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes cardDrift {
  0%,
  100% {
    transform: translateY(var(--float-start, 0)) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
  }
  50% {
    transform: translateY(var(--float-end, -14px)) rotate(calc(var(--rotate, 0deg) * -0.65)) scale(var(--scale, 1));
  }
}

@keyframes lightSweep {
  0% {
    transform: translateX(-130%) rotate(12deg);
    opacity: 0;
  }
  28% {
    opacity: 0.22;
  }
  62%,
  100% {
    transform: translateX(150%) rotate(12deg);
    opacity: 0;
  }
}

@keyframes proofPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(45, 108, 223, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(45, 108, 223, 0.08);
  }
}

@keyframes stageArrive {
  from {
    transform: translateY(28px) rotateX(9deg) rotateZ(-1deg);
    filter: saturate(0.8);
  }
  to {
    transform: translateY(0) rotateX(0) rotateZ(0);
    filter: saturate(1);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translate3d(var(--x), var(--y), var(--z, 0)) rotate(var(--r)) scale(var(--s, 1));
  }
  50% {
    transform: translate3d(var(--x), calc(var(--y) - var(--lift, 16px)), var(--z, 0)) rotate(calc(var(--r) * -0.45)) scale(var(--s, 1));
  }
}

@keyframes scanBeam {
  0%,
  100% {
    transform: translateY(-170%) rotate(-10deg);
    opacity: 0;
  }
  18%,
  55% {
    opacity: 0.7;
  }
  72% {
    transform: translateY(165%) rotate(-10deg);
    opacity: 0;
  }
}

@keyframes ribbonDrift {
  from {
    transform: translateX(-42%) rotate(var(--ribbon-rotate));
  }
  to {
    transform: translateX(0) rotate(var(--ribbon-rotate));
  }
}

@keyframes statFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  margin-top: 12px;
  border: 1px solid rgba(214, 222, 229, 0.9);
  border-radius: 18px;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(18px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.nav-links span {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink-60);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links .download {
  color: var(--ink);
  background: var(--surface);
  transform: translateY(-1px);
}

.soon-link {
  cursor: default;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 34px;
  padding: 54px 0 86px;
}

.hero > div {
  min-width: 0;
}

.eyebrow {
  color: var(--cobalt);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: riseIn 0.7s ease both;
}

h1,
h2,
.brand-word {
  font-family: var(--ny);
}

h1 {
  font-size: clamp(3.2rem, 7.4vw, 6.15rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 26px;
  animation: riseIn 0.78s 0.08s ease both;
}

.hero-subtitle {
  max-width: min(580px, 100%);
  color: var(--ink-60);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  margin-bottom: 30px;
  animation: riseIn 0.78s 0.16s ease both;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  animation: riseIn 0.78s 0.32s ease both;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  color: var(--ink-60);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
  animation: riseIn 0.78s 0.24s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 13px;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: var(--cobalt);
  box-shadow: 0 14px 34px rgba(45, 108, 223, 0.28);
}

.btn-soon {
  cursor: default;
}

.btn-soon:hover {
  transform: none;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  animation: proofPulse 2.8s ease-in-out infinite;
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--mist);
}

.hero-visual {
  width: 100%;
  max-width: 610px;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  padding: 12px 0;
}

.hero-showcase {
  position: relative;
  width: min(100%, 610px);
  aspect-ratio: 1.12;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(214, 222, 229, 0.88);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.76), rgba(234, 240, 244, 0.46) 42%, rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(90deg, rgba(22, 32, 42, 0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(180deg, rgba(22, 32, 42, 0.03) 0 1px, transparent 1px 64px);
  box-shadow: 0 28px 90px rgba(22, 32, 42, 0.13);
  perspective: 1200px;
  isolation: isolate;
  animation: stageArrive 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(45, 108, 223, 0.24), rgba(46, 139, 87, 0.12) 42%, rgba(217, 138, 31, 0.18));
  filter: blur(34px);
}

.scan-field {
  position: absolute;
  inset: 54px 72px;
  border-radius: 28px;
  border: 1px solid rgba(45, 108, 223, 0.24);
  background:
    linear-gradient(180deg, rgba(45, 108, 223, 0.08), transparent 44%, rgba(46, 139, 87, 0.09)),
    rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62), 0 20px 70px rgba(45, 108, 223, 0.12);
}

.scan-field::before,
.scan-field::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(45, 108, 223, 0.24);
}

.scan-field::after {
  inset: 44px;
  border-color: rgba(46, 139, 87, 0.2);
}

.receipt-ribbon {
  position: relative;
  position: absolute;
  left: -24%;
  width: 148%;
  display: flex;
  gap: 14px;
  opacity: 0.72;
  animation: ribbonDrift 18s linear infinite;
  --ribbon-rotate: -9deg;
}

.receipt-ribbon-one {
  top: 54px;
}

.receipt-ribbon-two {
  bottom: 48px;
  --ribbon-rotate: 8deg;
  animation-duration: 22s;
  animation-direction: reverse;
}

.receipt-ribbon span {
  width: 132px;
  height: 184px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  background:
    repeating-linear-gradient(180deg, rgba(22, 32, 42, 0.07) 0 1px, transparent 1px 17px),
    linear-gradient(180deg, #fffefa, #efe8d9);
  box-shadow: 0 12px 34px rgba(22, 32, 42, 0.08);
}

.device-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 7px solid #11151b;
  background: #11151b;
  box-shadow: 0 30px 80px rgba(22, 32, 42, 0.22);
  animation: deviceFloat var(--speed, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.device-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(255, 255, 255, 0.28) 45%, transparent 58%);
  mix-blend-mode: screen;
  animation: lightSweep 7.5s ease-in-out infinite;
  animation-delay: var(--shine-delay, 0s);
  pointer-events: none;
}

.device-card:hover {
  filter: saturate(1.08) contrast(1.03);
  box-shadow: 0 34px 95px rgba(22, 32, 42, 0.28);
}

.device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.device-card-main {
  width: 35%;
  height: 70%;
  left: 32.5%;
  top: 15%;
  z-index: 5;
  --x: 0;
  --y: 0;
  --r: -1deg;
  --s: 1;
  --lift: 18px;
  --speed: 7.5s;
  --shine-delay: 0.7s;
}

.device-card-left {
  width: 26%;
  height: 54%;
  left: 10%;
  top: 25%;
  z-index: 3;
  --x: 0;
  --y: 0;
  --r: -9deg;
  --s: 0.96;
  --lift: 14px;
  --speed: 8.6s;
  --delay: -1.4s;
  --shine-delay: 2.2s;
}

.device-card-right {
  width: 27%;
  height: 56%;
  right: 9%;
  top: 28%;
  z-index: 3;
  --x: 0;
  --y: 0;
  --r: 9deg;
  --s: 0.98;
  --lift: 15px;
  --speed: 8.2s;
  --delay: -2.1s;
  --shine-delay: 3.1s;
}

.device-card-top {
  width: 30%;
  height: 46%;
  left: 35%;
  top: -6%;
  z-index: 2;
  opacity: 0.9;
  --x: 0;
  --y: 0;
  --r: 4deg;
  --s: 0.9;
  --lift: 10px;
  --speed: 9.4s;
  --delay: -3s;
  --shine-delay: 4.2s;
}

.scan-beam {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42%;
  z-index: 6;
  height: 94px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(45, 108, 223, 0.48), rgba(46, 139, 87, 0.2), transparent);
  filter: blur(1px);
  animation: scanBeam 5.8s ease-in-out infinite;
  pointer-events: none;
}

.scan-beam::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 48%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 18px rgba(45, 108, 223, 0.65);
}

.hero-stat {
  position: absolute;
  z-index: 7;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 222, 229, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(22, 32, 42, 0.12);
  animation: statFloat 5.5s ease-in-out infinite;
}

.hero-stat span {
  display: block;
  color: var(--ink-60);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.1;
  margin-top: 4px;
}

.hero-stat-total {
  left: 6%;
  top: 13%;
}

.hero-stat-export {
  right: 5%;
  top: 13%;
  animation-delay: -1.8s;
}

.hero-stat-sync {
  left: 36%;
  bottom: 8%;
  animation-delay: -3s;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-head p,
.feature-copy p,
.privacy-band p,
.final-cta p {
  color: var(--ink-60);
  font-size: 1.08rem;
  margin-top: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.plan,
.faq details,
.legal-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 108, 223, 0.34);
  box-shadow: 0 18px 50px rgba(22, 32, 42, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(45, 108, 223, 0.1);
  color: var(--cobalt);
}

.feature-card h3,
.plan h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p,
.plan p,
.faq p,
.legal-card p,
.legal-card li {
  color: var(--ink-60);
}

.feature-row {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 52px;
}

.feature-row.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-copy ul,
.plan ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.feature-copy li,
.plan li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-80);
}

.feature-copy li::before,
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--emerald);
}

.visual-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(234, 240, 244, 0.8), rgba(239, 233, 221, 0.8));
  border: 1px solid var(--mist);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.visual-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(22, 32, 42, 0.1);
}

.visual-panel img {
  width: min(74%, 330px);
  border-radius: 30px;
  border: 8px solid #11151b;
  box-shadow: var(--shadow-hero);
}

.ipad-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 34px;
  padding: 24px;
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(239, 233, 221, 0.72));
  box-shadow: var(--shadow-card);
}

.ipad-hero-shot {
  overflow: hidden;
  border: 10px solid #11151b;
  border-radius: 28px;
  background: #11151b;
  box-shadow: var(--shadow-hero);
}

.ipad-hero-shot img {
  width: 100%;
}

.ipad-copy {
  padding: 12px 8px;
}

.ipad-copy h3 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.ipad-copy p {
  color: var(--ink-60);
  font-size: 1.05rem;
}

.ipad-copy ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ipad-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-80);
}

.ipad-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cobalt);
}

.ipad-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.ipad-strip img {
  width: 100%;
  border: 7px solid #11151b;
  border-radius: 22px;
  background: #11151b;
  box-shadow: var(--shadow-card);
}

.privacy-band {
  padding: 92px 0;
  background: var(--ink);
  color: var(--paper);
}

.privacy-band h2 {
  color: var(--paper);
}

.privacy-band p {
  max-width: 760px;
  color: rgba(247, 243, 236, 0.72);
}

.privacy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin-top: 28px;
}

.privacy-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(247, 243, 236, 0.09);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan {
  padding: 28px;
}

.plan.featured {
  border: 2px solid var(--cobalt);
  transform: translateY(-8px);
}

.price {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--ink-60);
  font-size: 1rem;
  font-weight: 650;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--cobalt);
  background: rgba(45, 108, 223, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 750;
}

.faq p {
  margin-top: 10px;
}

.final-cta {
  text-align: center;
  padding: 92px 0 104px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  padding: 48px 0;
  border-top: 1px solid var(--mist);
  color: var(--ink-60);
  font-size: 0.94rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer h4 {
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal-page {
  padding: 58px 0 90px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.legal-card h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  margin-bottom: 8px;
}

.legal-card h2 {
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  margin: 34px 0 10px;
}

.legal-card h3 {
  color: var(--ink);
  margin: 24px 0 8px;
}

.legal-card p,
.legal-card li {
  font-size: 1rem;
  line-height: 1.65;
}

.legal-card ul {
  padding-left: 20px;
}

.updated {
  color: var(--ink-60);
  margin-bottom: 28px;
}

.legal-card a {
  color: var(--cobalt);
  font-weight: 650;
}

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

  .eyebrow,
  h1,
  .hero-subtitle,
  .cta-row,
  .hero-proof,
  .hero-showcase,
  .receipt-ribbon,
  .device-card,
  .device-card::after,
  .scan-beam,
  .hero-stat,
  .soon-badge,
  .btn {
    animation: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .hero,
  .feature-row,
  .feature-row.reverse,
  .faq,
  .footer {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    max-width: 100%;
    justify-self: center;
  }

  .hero-showcase {
    width: min(100%, 620px);
  }

  .feature-grid,
  .pricing-grid,
  .ipad-showcase {
    grid-template-columns: 1fr;
  }

  .plan.featured {
    transform: none;
  }
}

@media (max-width: 780px) {
  .wrap {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }

  .nav {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-visual {
    padding: 18px 0 8px;
  }

  .hero > div:first-child,
  .hero-visual {
    max-width: 330px;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1.02rem;
    overflow-wrap: anywhere;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-showcase {
    aspect-ratio: 0.86;
    border-radius: 24px;
  }

  .scan-field {
    inset: 46px 34px;
  }

  .receipt-ribbon span {
    width: 96px;
    height: 134px;
  }

  .device-card-main {
    width: 46%;
    height: 66%;
    left: 27%;
    top: 17%;
  }

  .device-card-left {
    width: 34%;
    height: 48%;
    left: 3%;
    top: 30%;
  }

  .device-card-right {
    width: 34%;
    height: 48%;
    right: 3%;
    top: 32%;
  }

  .device-card-top {
    width: 38%;
    height: 38%;
    left: 31%;
    top: -4%;
  }

  .hero-stat {
    min-width: 104px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .hero-stat span {
    font-size: 0.62rem;
  }

  .hero-stat strong {
    font-size: 0.88rem;
  }

  .hero-stat-total {
    left: 5%;
    top: 9%;
  }

  .hero-stat-export {
    right: 5%;
    top: 9%;
  }

  .hero-stat-sync {
    left: 34%;
    bottom: 6%;
  }

  .section,
  .privacy-band {
    padding: 68px 0;
  }

  .visual-panel {
    min-height: 420px;
  }

  .ipad-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .ipad-strip img {
    min-width: 78%;
    scroll-snap-align: start;
  }

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