/* ==========================================================================
   Aimi Camera — homepage
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 108px) var(--gutter) 0;
  text-align: center;
}

.hero::before {
  position: absolute;
  top: -34%;
  left: 50%;
  width: min(1280px, 120vw);
  height: 900px;
  background:
    radial-gradient(46% 48% at 52% 24%, rgba(0, 113, 227, 0.09), transparent 70%),
    radial-gradient(36% 44% at 78% 18%, rgba(191, 90, 242, 0.07), transparent 72%),
    radial-gradient(34% 36% at 22% 16%, rgba(94, 92, 230, 0.06), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  animation: hero-up 0.9s var(--ease) both;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6.9vw, 88px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  animation: hero-up 1s 0.06s var(--ease) both;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin: 24px auto 0;
  text-wrap: balance;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
  animation: hero-up 1s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: hero-up 1s 0.18s var(--ease) both;
}

.hero-meta {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  animation: hero-up 1s 0.24s var(--ease) both;
}

@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

/* --------------------------------------------------------------------------
   Interactive device stage
   -------------------------------------------------------------------------- */

.device-stage {
  position: relative;
  max-width: 1180px;
  margin: clamp(52px, 7vw, 84px) auto 0;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 54px) clamp(26px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 44px;
  background: radial-gradient(120% 120% at 50% 0%, #fff 0%, #f5f6f9 50%, #edf0f6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 40px 100px rgba(0, 0, 0, 0.07);
  animation: stage-in 1.1s 0.15s var(--ease) both;
}

.device-stage::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 42% at 18% 26%, rgba(0, 113, 227, 0.12), transparent 68%),
    radial-gradient(34% 38% at 84% 22%, rgba(191, 90, 242, 0.1), transparent 68%),
    radial-gradient(40% 36% at 50% 92%, rgba(94, 92, 230, 0.06), transparent 70%);
  content: "";
  pointer-events: none;
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }

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

.stage-note {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 186px;
  flex-direction: column;
  gap: 4px;
  padding: 15px 17px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.stage-note--left {
  top: 31%;
  left: clamp(18px, 5vw, 66px);
}

.stage-note--right {
  right: clamp(18px, 5vw, 66px);
  bottom: 27%;
}

.stage-note .note-label {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-note strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stage-note span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Phone mockup
   -------------------------------------------------------------------------- */

.phone {
  position: relative;
  z-index: 2;
  width: clamp(282px, 29vw, 340px);
  aspect-ratio: 9 / 19.2;
  margin: 0 auto;
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(
    150deg,
    #ebebf0 0%,
    #a1a1a6 14%,
    #3a3a3c 32%,
    #1c1c1e 50%,
    #3a3a3c 68%,
    #a1a1a6 88%,
    #e3e3e8 100%
  );
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.28), 0 14px 34px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.phone-screen {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 46px;
  background: #000;
}

.camera-view {
  --clip-pos: 50%;
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  background: #000;
  user-select: none;
}

.shot {
  position: absolute;
  inset: 0;
  background-image: url("hero-photo.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.shot-before {
  background-position: 50% 44%;
  filter: saturate(0.55) brightness(0.88) contrast(0.98);
}

.shot-after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--clip-pos)) 0 0);
}

.shot-after {
  background-position: 50% 44%;
  filter: saturate(1.08) contrast(1.03);
}

.camera-view[data-tone="复古胶片"] .shot-after {
  filter: sepia(0.26) saturate(0.86) contrast(0.94) brightness(1.02);
}

.camera-view[data-tone="胶片直出"] .shot-after {
  filter: contrast(1.08) saturate(1.12) sepia(0.07);
}

.camera-view[data-tone="都市夜景"] .shot-after {
  filter: brightness(0.78) contrast(1.14) saturate(0.84) hue-rotate(-8deg);
}

.viewfinder-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 18%, transparent 76%, rgba(0, 0, 0, 0.36) 100%);
  pointer-events: none;
}

.rule-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
  pointer-events: none;
}

.focus-reticle {
  position: absolute;
  top: 38%;
  left: 39%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1.5px solid #ffd60a;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 0 18px rgba(255, 214, 10, 0.22);
  transform: translate(-50%, -50%);
  animation: focus-pulse 3s ease-in-out infinite;
}

.focus-reticle::before,
.focus-reticle::after {
  position: absolute;
  width: 28px;
  height: 1.5px;
  background: #ffd60a;
  content: "";
}

.focus-reticle::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.focus-reticle::after {
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 28px;
  transform: translate(-50%, -50%);
}

@keyframes focus-pulse {
  0%,
  100% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 20;
  width: 92px;
  height: 25px;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
}

.dynamic-island::after {
  position: absolute;
  top: 9px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c2a45;
  content: "";
}

.ai-chip,
.zoom-chip,
.filter-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.ai-chip {
  top: 44px;
  left: 12px;
}

.ai-chip::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.16);
  content: "";
}

.ai-chip.is-refocusing {
  border-color: rgba(255, 214, 10, 0.5);
  background: rgba(255, 214, 10, 0.16);
  color: #ffe066;
}

.ai-chip.is-refocusing::before {
  background: #ffd60a;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.18);
}

.zoom-chip {
  top: 44px;
  right: 12px;
  color: #ffe066;
}

.filter-chip {
  bottom: 12px;
  left: 12px;
  gap: 5px;
}

.source-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 600;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.source-chip::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  content: "";
}

.filter-chip .icon-line {
  width: 11px;
  height: 11px;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--clip-pos);
  z-index: 4;
  width: 1px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--clip-pos);
  z-index: 7;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.04);
  color: #1d1d1f;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease);
}

.compare-handle svg {
  width: 16px;
  height: 16px;
}

.phone:hover .compare-handle {
  transform: translate(-50%, -50%) scale(1.06);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-range:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

.camera-controls {
  position: relative;
  display: flex;
  height: 96px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 5px;
  background: #000;
}

.camera-thumb {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background-image: url("hero-photo.jpg");
  background-position: 12% 40%;
  background-size: 330%;
}

.shutter {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.shutter::after {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.ai-shoot {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid rgba(0, 113, 227, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #0a84ff, #5e5ce6 70%);
  box-shadow: 0 0 18px rgba(0, 113, 227, 0.35);
  color: #fff;
}

.ai-shoot svg {
  width: 17px;
  height: 17px;
}

.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 96px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.48);
  transform: translateX(-50%);
}

/* Demo UI below the phone */
.demo-ui {
  position: relative;
  z-index: 2;
  margin-top: clamp(26px, 3vw, 36px);
  text-align: center;
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 16px;
  color: var(--muted-2);
  font-size: 11px;
}

.compare-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
}

.legend-dot--after {
  background: var(--blue);
}

.demo-hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.filter-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-badge {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.filter-badge:hover {
  border-color: var(--muted-2);
  transform: translateY(-1px);
}

.filter-badge.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(86px, 11vw, 148px) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(46px, 6vw, 76px);
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-lede {
  max-width: 640px;
  margin: 18px auto 0;
  text-wrap: balance;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 19px);
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.section .eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.feature-card:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 15px;
  background: #f5f5f7;
  color: var(--ink);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(94, 92, 230, 0.1);
  color: #5e5ce6;
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(52, 199, 89, 0.12);
  color: #248a3d;
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(255, 45, 85, 0.1);
  color: #d70015;
}

.feature-card:nth-child(5) .feature-icon {
  background: rgba(255, 159, 10, 0.12);
  color: #a05a00;
}

.feature-card:nth-child(6) .feature-icon {
  background: rgba(10, 132, 255, 0.1);
  color: #0a84ff;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   Workflow
   -------------------------------------------------------------------------- */

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

.step {
  position: relative;
  padding: 30px 28px 34px;
  border-radius: 26px;
  background: var(--bg-alt);
}

.step-index {
  display: block;
  margin-bottom: 46px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-text-fill-color: transparent;
}

.step h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   Specs
   -------------------------------------------------------------------------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec {
  padding: 42px 24px 44px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.spec:first-child {
  border-left: 0;
}

.spec-value {
  display: block;
  color: var(--ink);
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.spec-label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.download {
  position: relative;
  overflow: hidden;
  padding: clamp(92px, 12vw, 156px) 0;
  background: #08080a;
  color: #f5f5f7;
  text-align: center;
}

.download::before {
  position: absolute;
  top: -55%;
  left: 50%;
  width: 1100px;
  height: 900px;
  background:
    radial-gradient(45% 45% at 50% 50%, rgba(0, 113, 227, 0.24), transparent 70%),
    radial-gradient(30% 34% at 72% 48%, rgba(191, 90, 242, 0.16), transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.download-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.download h2 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.download-lede {
  max-width: 590px;
  margin: 20px auto 0;
  text-wrap: balance;
  color: #a1a1a6;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.store-button {
  display: inline-flex;
  min-width: 212px;
  height: 62px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: 16px;
  background: #fff;
  color: #000;
  text-align: left;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.store-button:hover {
  box-shadow: 0 18px 44px rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.store-button > svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.store-button span {
  display: grid;
  gap: 1px;
}

.store-button small {
  color: #6e6e73;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.store-button strong {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.store-button--android {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  cursor: default;
}

.store-button--android:hover {
  box-shadow: none;
  transform: none;
}

.store-button--android small {
  color: #86868b;
}

.store-button--android strong {
  color: #f5f5f7;
}

.download-note {
  margin: 20px 0 0;
  color: #6e6e73;
  font-size: 11px;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .stage-note {
    display: none;
  }

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

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

@media (max-width: 860px) {
  .hero {
    padding-top: 54px;
  }

  .device-stage {
    border-radius: 32px;
  }

  .phone {
    width: min(300px, 64vw);
  }

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

  .spec:nth-child(3) {
    border-left: 0;
  }

  .spec:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    padding: 24px;
  }

  .step-index {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(31px, 9.4vw, 40px);
    letter-spacing: -0.04em;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 26px;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
  }

  .hero-meta {
    font-size: 11px;
  }

  .device-stage {
    margin-top: 40px;
    padding: 30px 14px 24px;
    border-radius: 28px;
  }

  .phone {
    width: min(268px, 72vw);
    border-radius: 46px;
    padding: 7px;
  }

  .phone-screen {
    border-radius: 40px;
  }

  .camera-controls {
    height: 82px;
  }

  .demo-ui {
    margin-top: 24px;
  }

  .compare-legend {
    font-size: 10px;
  }

  .filter-badge {
    padding: 8px 13px;
    font-size: 11px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .section-lede {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 24px;
    border-radius: 22px;
  }

  .feature-icon {
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-size: 19px;
  }

  .spec {
    padding: 30px 14px 32px;
  }

  .spec-value {
    font-size: 40px;
  }

  .spec-label {
    margin-top: 10px;
    font-size: 12px;
  }

  .download {
    padding: 86px 0;
  }

  .download-icon {
    width: 76px;
    height: 76px;
    border-radius: 19px;
  }

  .download h2 {
    font-size: 36px;
  }

  .store-actions {
    margin-top: 28px;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
    max-width: 340px;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Direction A: imagery narrative + bento features
   -------------------------------------------------------------------------- */

.hero-learn-more {
  display: inline-flex;
  height: 48px;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.hero-learn-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.hero-learn-more:hover {
  text-decoration: underline;
}

.hero-learn-more:hover svg {
  transform: translateX(3px);
}

/* Shot on Aimi */
.shots {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 11vw, 150px) 0;
  background: #08080a;
  color: #f5f5f7;
}

.shots::before {
  position: absolute;
  top: -24%;
  left: 50%;
  width: 1000px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.14), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.shots-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shots-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.shots-head .eyebrow {
  margin: 0 0 16px;
  color: #6ea8ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shots-head h2 {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.shots-lede {
  max-width: 340px;
  margin: 0 0 4px;
  color: #a1a1a6;
  font-size: 15px;
  line-height: 1.65;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 20vw, 280px);
  gap: 14px;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: #141416;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.photo-frame:hover img {
  transform: scale(1.035);
}

.photo-frame::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  content: "";
  pointer-events: none;
}

.photo-frame figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.shot-tag {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(68, 68, 70, 0.4);
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.photo-frame--coast {
  grid-column: span 8;
}

.photo-frame--portrait {
  grid-column: span 4;
  grid-row: span 2;
}

.photo-frame--cafe {
  grid-column: span 5;
}

.photo-quote {
  display: flex;
  grid-column: span 3;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(150deg, #141419, #0d0d10);
}

.quote-mark {
  color: rgba(255, 255, 255, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 0.8;
}

.photo-quote p {
  margin: 0;
  color: #f5f5f7;
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.quote-caption {
  color: #6e6e73;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* Split section heading */
.section-head--split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
  text-align: left;
}

.section-head--split > div {
  max-width: 620px;
}

.section-head--split .eyebrow {
  margin-bottom: 16px;
}

.section-head--split .section-lede {
  max-width: 330px;
  margin: 0 0 4px;
  text-align: left;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.bento-card:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.bento-card--wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 386px;
}

.bento-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 32px 30px;
}

.bento-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #f5f5f7;
  color: var(--ink);
}

.bento-icon svg {
  width: 22px;
  height: 22px;
}

.bento-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.bento-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(0, 0, 0, 0.04);
  background: #0b0b0d;
}

.bento-visual::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 58px;
  background: linear-gradient(180deg, #0b0b0d 0%, rgba(11, 11, 13, 0.65) 44%, transparent 100%);
  content: "";
  pointer-events: none;
}

.bento-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.bento-visual--filter img {
  object-position: center 40%;
}

.bento-card--small {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  padding: 24px;
}

.bento-card--small .bento-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
}

.bento-card--small .bento-icon svg {
  width: 21px;
  height: 21px;
}

.bento-card--small h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.bento-card--small p {
  font-size: 13px;
  line-height: 1.65;
}

.bento-mini {
  margin-top: auto;
  padding-top: 20px;
}

.bento-mini--zoom {
  display: flex;
  gap: 6px;
}

.bento-mini--zoom span {
  display: inline-flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5f5f7;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.bento-mini--zoom .is-active {
  background: #1d1d1f;
  color: #fff;
}

.bento-mini--swatches {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bento-mini--swatches i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.bento-mini--swatches i:nth-child(1) {
  background: #e9b26c;
}

.bento-mini--swatches i:nth-child(2) {
  background: #8fb9ad;
}

.bento-mini--swatches i:nth-child(3) {
  background: #d7a4a0;
}

.bento-mini--swatches i:nth-child(4) {
  background: #73808f;
}

.bento-mini--swatches i:nth-child(5) {
  background: #3d6fd4;
}

.bento-mini--sliders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-mini--sliders i {
  position: relative;
  display: block;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1d1d1f var(--v), #e8e8ed var(--v));
}

.bento-mini--sliders i::after {
  position: absolute;
  top: 50%;
  left: var(--v);
  width: 10px;
  height: 10px;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translate(-50%, -50%);
}

.bento-mini--live {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bento-mini--live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff453a;
}

@media (max-width: 1024px) {
  .shots-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .shots-lede {
    max-width: 560px;
  }

  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .photo-frame--coast {
    grid-column: 1 / -1;
  }

  .photo-frame--portrait {
    grid-column: 1;
    grid-row: span 2;
  }

  .photo-frame--cafe {
    grid-column: 2;
  }

  .photo-quote {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .section-head--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .section-head--split .section-lede {
    max-width: 560px;
  }

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

  .bento-card--wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bento-visual {
    order: -1;
    min-height: 260px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 0;
  }

  .bento-copy {
    padding: 26px;
  }
}

@media (max-width: 640px) {
  .hero-learn-more {
    height: 34px;
    font-size: 14px;
  }

  .shots {
    padding: 76px 0;
  }

  .shots-head h2 {
    font-size: 34px;
  }

  .shot-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .photo-frame--coast,
  .photo-frame--portrait,
  .photo-frame--cafe,
  .photo-quote {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .photo-frame--coast {
    height: 220px;
  }

  .photo-frame--portrait {
    height: 400px;
  }

  .photo-frame--cafe {
    height: 230px;
  }

  .photo-quote {
    min-height: 220px;
    padding: 24px;
  }

  .photo-quote p {
    font-size: 21px;
  }

  .bento {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card--small {
    min-height: 0;
    padding: 22px;
  }

  .bento-mini {
    padding-top: 18px;
  }

  .bento-card h3 {
    font-size: 21px;
  }
}
