:root {
  --navy: #0f315d;
  --navy-dark: #0a1626;
  --navy-deep: #07111f;
  --red: #df2f3d;
  --sky: #63bceb;
  --mat: #0f7b6f;
  --cream: #f7f1e7;
  --paper: #ffffff;
  --ink: #142037;
  --muted: #637083;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(3, 13, 28, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Roboto, Arial, sans-serif;
  background: #ffffff;
}

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

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

button {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  animation: topbarDrop 640ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

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

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.language-toggle button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-toggle button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links a,
.nav-cta,
.primary-button,
.secondary-button {
  border: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.nav-links a {
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.82);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-cta,
.secondary-button {
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ios-button {
  gap: 9px;
}

.ios-button::after,
.android-button::after {
  content: "";
  flex: 0 0 16px;
  background: currentColor;
}

.ios-button::after {
  width: 16px;
  height: 19px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.36 12.49c-.02-2.59 2.11-3.83 2.21-3.89-1.24-1.82-3.18-2.07-3.85-2.1-1.62-.17-3.19.97-4.02.97-.84 0-2.11-.95-3.48-.92-1.76.03-3.41 1.05-4.32 2.66-1.87 3.23-.47 7.98 1.31 10.59.89 1.28 1.94 2.71 3.31 2.66 1.34-.05 1.84-.85 3.45-.85 1.6 0 2.07.85 3.46.82 1.44-.02 2.34-1.28 3.2-2.57 1.03-1.47 1.45-2.91 1.46-2.98-.03-.01-2.7-1.03-2.73-4.39ZM13.66 4.79c.72-.9 1.21-2.12 1.08-3.37-1.04.05-2.35.72-3.1 1.6-.66.78-1.26 2.05-1.11 3.25 1.17.08 2.38-.59 3.13-1.48Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 22 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.36 12.49c-.02-2.59 2.11-3.83 2.21-3.89-1.24-1.82-3.18-2.07-3.85-2.1-1.62-.17-3.19.97-4.02.97-.84 0-2.11-.95-3.48-.92-1.76.03-3.41 1.05-4.32 2.66-1.87 3.23-.47 7.98 1.31 10.59.89 1.28 1.94 2.71 3.31 2.66 1.34-.05 1.84-.85 3.45-.85 1.6 0 2.07.85 3.46.82 1.44-.02 2.34-1.28 3.2-2.57 1.03-1.47 1.45-2.91 1.46-2.98-.03-.01-2.7-1.03-2.73-4.39ZM13.66 4.79c.72-.9 1.21-2.12 1.08-3.37-1.04.05-2.35.72-3.1 1.6-.66.78-1.26 2.05-1.11 3.25 1.17.08 2.38-.59 3.13-1.48Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.android-button {
  gap: 9px;
}

.android-button::after {
  width: 17px;
  height: 19px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 27' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.29 2.38 5.46.55a.57.57 0 0 0-.8.8l2.07 2.07A7.91 7.91 0 0 0 3.83 9.5h16.34a7.91 7.91 0 0 0-2.9-6.08l2.07-2.07a.57.57 0 0 0-.8-.8l-1.83 1.83A8.09 8.09 0 0 0 12 1a8.09 8.09 0 0 0-4.71 1.38ZM8.3 6.35a.86.86 0 1 1 0-1.72.86.86 0 0 1 0 1.72Zm7.4 0a.86.86 0 1 1 0-1.72.86.86 0 0 1 0 1.72ZM3.82 10.66v11.05c0 1.03.83 1.86 1.86 1.86h1.27v2.87a.95.95 0 0 0 1.9 0v-2.87h6.3v2.87a.95.95 0 0 0 1.9 0v-2.87h1.27c1.03 0 1.86-.83 1.86-1.86V10.66H3.82ZM1.05 10.99A1.05 1.05 0 0 0 0 12.04v7.78a1.05 1.05 0 1 0 2.1 0v-7.78a1.05 1.05 0 0 0-1.05-1.05Zm21.9 0a1.05 1.05 0 0 0-1.05 1.05v7.78a1.05 1.05 0 1 0 2.1 0v-7.78a1.05 1.05 0 0 0-1.05-1.05Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 27' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.29 2.38 5.46.55a.57.57 0 0 0-.8.8l2.07 2.07A7.91 7.91 0 0 0 3.83 9.5h16.34a7.91 7.91 0 0 0-2.9-6.08l2.07-2.07a.57.57 0 0 0-.8-.8l-1.83 1.83A8.09 8.09 0 0 0 12 1a8.09 8.09 0 0 0-4.71 1.38ZM8.3 6.35a.86.86 0 1 1 0-1.72.86.86 0 0 1 0 1.72Zm7.4 0a.86.86 0 1 1 0-1.72.86.86 0 0 1 0 1.72ZM3.82 10.66v11.05c0 1.03.83 1.86 1.86 1.86h1.27v2.87a.95.95 0 0 0 1.9 0v-2.87h6.3v2.87a.95.95 0 0 0 1.9 0v-2.87h1.27c1.03 0 1.86-.83 1.86-1.86V10.66H3.82ZM1.05 10.99A1.05 1.05 0 0 0 0 12.04v7.78a1.05 1.05 0 1 0 2.1 0v-7.78a1.05 1.05 0 0 0-1.05-1.05Zm21.9 0a1.05 1.05 0 0 0-1.05 1.05v7.78a1.05 1.05 0 1 0 2.1 0v-7.78a1.05 1.05 0 0 0-1.05-1.05Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero {
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.76) 45%, rgba(7, 17, 31, 0.22) 100%),
    url("cutting_mat_with_tools_v2.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}

.hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 128px 0 54px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
}

.hero h1,
.section h2,
.showcase-section h2,
.backup-band h2,
.final-cta h2 {
  margin: 16px 0;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: 112px;
  animation: heroRise 820ms 120ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero p {
  width: min(680px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.62;
  animation: heroRise 820ms 240ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: heroRise 820ms 360ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.primary-button {
  min-width: 174px;
  padding: 0 22px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(223, 47, 61, 0.3);
}

.secondary-button {
  min-width: 166px;
  color: #fff;
}

.hero-device {
  position: relative;
  min-height: 610px;
}

.phone-shot {
  position: absolute;
  width: 270px;
  border-radius: 34px;
  border: 8px solid #0b1018;
  box-shadow: var(--shadow);
  background: #0b1018;
}

.phone-shot-main {
  right: 122px;
  top: 8px;
  z-index: 2;
  transform: rotate(-4deg);
  animation: phoneEnterMain 900ms 320ms cubic-bezier(0.19, 1, 0.22, 1) both, phoneFloatMain 6.5s 1.2s ease-in-out infinite;
}

.phone-shot-side {
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: rotate(7deg);
  opacity: 0.92;
  animation: phoneEnterSide 900ms 430ms cubic-bezier(0.19, 1, 0.22, 1) both, phoneFloatSide 7.2s 1.4s ease-in-out infinite;
}

.hero .eyebrow {
  animation: heroRise 720ms 40ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 300ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal,
.showcase-phone.reveal,
.proof-item.reveal {
  transform: translateY(34px) scale(0.98);
}

.feature-card.reveal.is-visible,
.showcase-phone.reveal.is-visible,
.proof-item.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.primary-button,
.secondary-button,
.nav-cta {
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 20px 42px rgba(223, 47, 61, 0.38);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.android-modal {
  width: min(480px, 100%);
  position: relative;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 49, 93, 0.98), rgba(7, 17, 31, 0.96)),
    var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  animation: modalEnter 220ms ease-out both;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #8bdc67;
  border-radius: 8px;
  background: rgba(139, 220, 103, 0.12);
}

.modal-icon::after {
  width: 24px;
  height: 27px;
}

.android-modal h2 {
  margin: 22px 0 12px;
  font-size: 32px;
  line-height: 1.08;
  text-transform: uppercase;
}

.android-modal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.62;
}

.modal-action {
  margin-top: 26px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #d6dee7;
}

.proof-item {
  min-height: 116px;
  padding: 28px;
  background: var(--paper);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: var(--navy);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.proof-item span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.showcase-section,
.backup-band,
.support-section,
.final-cta {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.split-section {
  padding: 94px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 52px;
}

.section h2,
.showcase-section h2,
.backup-band h2,
.support-section h2,
.final-cta h2 {
  font-size: 54px;
}

.section p,
.showcase-section p,
.backup-band p,
.support-section p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.workbench-panel {
  height: 640px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 68px rgba(15, 49, 93, 0.2);
}

.workbench-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-section {
  padding: 86px 0 96px;
}

.showcase-copy {
  max-width: 790px;
}

.showcase-layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.showcase-text-card {
  min-height: 460px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 49, 93, 0.98), rgba(7, 17, 31, 0.92)),
    var(--navy);
  box-shadow: 0 22px 64px rgba(15, 49, 93, 0.16);
}

.showcase-text-card h3 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.08;
  text-transform: uppercase;
}

.showcase-text-card p {
  color: rgba(255, 255, 255, 0.78);
}

.showcase-points {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.showcase-points span {
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-phones {
  min-height: 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
}

.showcase-phone {
  margin: 0;
  width: min(100%, 190px);
  height: 414px;
  position: relative;
  justify-self: center;
  overflow: hidden;
  border: 7px solid #0b1018;
  border-radius: 28px;
  background: #0b1018;
  box-shadow: var(--shadow);
}

.showcase-phone-main {
  width: min(100%, 220px);
  height: 480px;
  z-index: 3;
  transform: rotate(-1deg);
}

.showcase-phone:nth-child(2) {
  z-index: 2;
  transform: translateY(46px) rotate(-3deg);
}

.showcase-phone:nth-child(3) {
  z-index: 1;
  transform: translateY(46px) rotate(3deg);
}

.showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.showcase-phone figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 11px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(12px);
}

.features-section {
  padding: 88px 0;
  border-top: 1px solid rgba(15, 49, 93, 0.12);
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 820px;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 285px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(15, 49, 93, 0.13);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.feature-copy span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 900;
  border-radius: 8px;
  background: var(--navy);
}

.feature-copy h3 {
  margin: 22px 0 10px;
  color: var(--navy);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.feature-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
}

.feature-phone {
  width: 132px;
  height: 286px;
  margin: 0;
  justify-self: end;
  overflow: hidden;
  border: 6px solid #0b1018;
  border-radius: 22px;
  background: #0b1018;
  box-shadow: 0 18px 42px rgba(15, 49, 93, 0.18);
  transform: rotate(2deg);
}

.feature-card:nth-child(even) .feature-phone {
  transform: rotate(-2deg);
}

.feature-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.backup-band {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 72px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.62)),
    url("cutting_mat_clean.png") center / cover no-repeat;
}

.backup-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.backup-card {
  width: 250px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.backup-card strong {
  font-size: 34px;
  letter-spacing: 0;
}

.backup-card span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.support-section {
  margin-top: 28px;
  padding: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 48px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 49, 93, 0.98), rgba(7, 17, 31, 0.94)),
    #0f315d;
  box-shadow: 0 24px 68px rgba(15, 49, 93, 0.18);
}

.support-section p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.support-section .primary-button {
  width: fit-content;
  margin-top: 28px;
}

.support-card {
  align-self: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.support-card img {
  width: min(140px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(15, 49, 93, 0.12);
}

.support-card strong,
.support-card span {
  display: block;
}

.support-card strong {
  margin-top: 12px;
  font-size: 20px;
  text-transform: uppercase;
}

.support-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.final-cta {
  padding: 100px 0 86px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta img {
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 49, 93, 0.18);
}

.final-cta p {
  max-width: 760px;
}

.final-cta .secondary-button {
  color: var(--navy);
  border-color: rgba(15, 49, 93, 0.2);
  background: #fff;
}

@media (max-width: 980px) {
  .topbar {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .split-section,
  .backup-band {
    grid-template-columns: 1fr;
  }

  .hero-device {
    min-height: 500px;
  }

  .phone-shot {
    width: 230px;
  }

  .phone-shot-main {
    left: 12%;
    right: auto;
  }

  .phone-shot-side {
    right: 10%;
  }

  .hero h1 {
    font-size: 78px;
  }

  .section h2,
  .showcase-section h2,
  .backup-band h2,
  .support-section h2,
  .final-cta h2 {
    font-size: 42px;
  }

  .proof-strip,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-phone {
    width: 190px;
    height: 330px;
    justify-self: center;
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .showcase-text-card {
    min-height: 0;
  }

  .showcase-phones {
    min-height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .showcase-phone {
    width: min(100%, 170px);
    height: 370px;
  }

  .showcase-phone-main {
    width: min(100%, 190px);
    height: 414px;
  }

  .backup-band {
    padding: 44px 28px;
  }

  .support-section {
    grid-template-columns: 1fr;
    padding: 44px 28px;
    gap: 28px;
  }

  .support-card {
    width: min(320px, 100%);
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px;
    gap: 12px;
  }

  .nav-cta {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding-top: 104px;
    padding-bottom: 18px;
    gap: 16px;
  }

  .hero p,
  .section p,
  .showcase-section p,
  .backup-band p,
  .final-cta p {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section h2,
  .showcase-section h2,
  .backup-band h2,
  .support-section h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .hero-device {
    min-height: 220px;
    overflow: hidden;
  }

  .phone-shot {
    width: 142px;
    border-width: 6px;
    border-radius: 26px;
  }

  .phone-shot-main {
    left: 0;
  }

  .phone-shot-side {
    right: 0;
  }

  .proof-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-phone {
    width: min(210px, 76%);
    height: 360px;
  }

  .section,
  .showcase-section,
  .backup-band,
  .support-section,
  .final-cta {
    width: min(100% - 28px, 1180px);
  }

  .workbench-panel {
    height: auto;
    min-height: 0;
  }

  .workbench-panel img {
    height: auto;
    object-fit: contain;
  }

  .showcase-text-card {
    padding: 28px;
  }

  .showcase-phones {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .showcase-phone {
    width: min(220px, 82%);
    height: 480px;
    transform: none;
  }

  .showcase-phone-main {
    width: min(240px, 86%);
    height: 522px;
    transform: none;
  }

  .showcase-phone:nth-child(2) {
    transform: none;
  }

  .showcase-phone:nth-child(3) {
    transform: none;
  }

  .backup-card {
    width: 100%;
  }

  .support-section {
    padding: 34px 28px;
  }

  .support-section .primary-button {
    margin-top: 22px;
  }
}

@keyframes topbarDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneEnterMain {
  from {
    opacity: 0;
    transform: translateY(36px) rotate(-8deg) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-4deg) scale(1);
  }
}

@keyframes phoneEnterSide {
  from {
    opacity: 0;
    transform: translateY(42px) rotate(11deg) scale(0.96);
  }

  to {
    opacity: 0.92;
    transform: translateY(0) rotate(7deg) scale(1);
  }
}

@keyframes phoneFloatMain {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

@keyframes phoneFloatSide {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }

  50% {
    transform: translateY(9px) rotate(6deg);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 34px 34px, 34px 34px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
