/* زنجیره — Landing */
:root {
  --ink: #0c2f2c;
  --ink-soft: #3a5f59;
  --muted: #6a8a83;
  --paper: #f3faf7;
  --paper-2: #e7f4ef;
  --white: #ffffff;
  --teal: #006d6a;
  --teal-deep: #0b3d3a;
  --mint: #49c998;
  --line: rgba(12, 47, 44, 0.1);
  --shadow: 0 24px 60px rgba(11, 61, 58, 0.14);
  --shadow-soft: 0 10px 28px rgba(11, 61, 58, 0.08);
  --radius: 14px;
  --font: "Vazirmatn", "Tahoma", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 109, 106, 0.35) transparent;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 90% -12%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(800px 420px at 0% 30%, rgba(0, 109, 106, 0.07), transparent 50%),
    linear-gradient(180deg, #f7fcfa 0%, var(--paper) 42%, #f3faf7 100%);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
  white-space: nowrap;
}
.btn-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}
.btn-ghost .btn-icon {
  filter: invert(0.28) sepia(0.4) saturate(1.5) hue-rotate(130deg);
}
.btn-sm { padding: 10px 16px; font-size: 0.86rem; }
.btn-lg { padding: 14px 22px; font-size: 1rem; min-height: 52px; }
.btn-solid {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 109, 106, 0.28);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 109, 106, 0.34); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(12, 47, 44, 0.1);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.92); }

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px) saturate(1.2);
}
.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(11, 61, 58, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand-logo,
.hero-logo,
.finale-logo,
.footer-brand img {
  border-radius: 22%;
  object-fit: cover;
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.02em; }
.top-nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.top-nav a:hover { color: var(--teal); }

/* Hero — atmospheric brand plane, no screenshot behind text */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 20px 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.85), transparent 58%),
    radial-gradient(ellipse 50% 45% at 100% 85%, rgba(0, 109, 106, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(73, 201, 152, 0.1), transparent 50%),
    linear-gradient(165deg, #f7fcfa 0%, #f3faf7 48%, #eef7f3 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: orbDrift 12s ease-in-out infinite;
}
.hero-orb-a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  top: 4%;
  inset-inline-start: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(73, 201, 152, 0.18) 55%, transparent 72%);
}
.hero-orb-b {
  width: min(50vw, 460px);
  height: min(50vw, 460px);
  bottom: -12%;
  inset-inline-end: -12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(0, 109, 106, 0.14) 60%, transparent 75%);
  animation-delay: -4s;
}
.hero-orb-c {
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  top: 18%;
  inset-inline-end: 8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(232, 245, 240, 0.5) 50%, transparent 72%);
  animation-delay: -7s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.06); }
}

.hero-chain {
  position: absolute;
  inset-inline: 0;
  bottom: 8%;
  width: min(920px, 110%);
  margin-inline: auto;
  color: rgba(0, 109, 106, 0.18);
  pointer-events: none;
}
.chain-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawChain 3.2s var(--ease) forwards;
}
.chain-path.delay {
  animation-delay: 0.35s;
}
@keyframes drawChain {
  to { stroke-dashoffset: 0; }
}
.chain-dot {
  fill: var(--mint);
  opacity: 0;
  animation: popDot 0.5s var(--ease) 1.6s forwards;
}
.chain-dot.d2 { animation-delay: 1.85s; fill: var(--teal); }
.chain-dot.d3 { animation-delay: 2.1s; }
@keyframes popDot {
  from { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.2) 42%, transparent 68%);
  animation: ringPulse 8s ease-in-out infinite;
}
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 109, 106, 0.1);
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

.hero-content {
  width: min(640px, 100%);
  text-align: center;
  position: relative;
  padding: 8px 12px;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.hero-logo {
  width: 88px;
  height: 88px;
  box-shadow: 0 18px 44px rgba(0, 109, 106, 0.28);
  animation: logoFloat 4.5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-title {
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 900;
  color: var(--teal-deep);
}
.hero-tagline {
  margin: 14px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 800;
  color: var(--ink);
}
.hero-lead {
  margin: 10px auto 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.hero-badges li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 109, 106, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

[data-hero] {
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.9s var(--ease) forwards;
}
.hero-brand { animation-delay: 0.05s; }
.hero-tagline { animation-delay: 0.18s; }
.hero-lead { animation-delay: 0.28s; }
.hero-cta { animation-delay: 0.4s; }
.hero-badges { animation-delay: 0.52s; }
@keyframes riseIn {
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(0, 109, 106, 0.3);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* Sections */
.section {
  padding: 88px 0;
  position: relative;
  z-index: 1;
}
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.86rem;
}
.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--teal-deep);
}
.section-sub {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Features — four equal modern cards */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 18px 20px;
  min-height: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 47, 44, 0.06);
  box-shadow: 0 10px 28px rgba(11, 61, 58, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 61, 58, 0.1);
}
.bento-card:nth-child(1),
.bento-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}
.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 0;
}
.bento-index {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(12, 47, 44, 0.32);
}
.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 118, 110, 0.08);
  border: 0;
}
.bento-icon img {
  width: 20px;
  height: 20px;
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}
.bento-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}
.bento-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  max-width: none;
  line-height: 1.65;
}
.bento-glow {
  position: absolute;
  inset-inline-end: -30%;
  top: -40%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}
.accent-teal { background: linear-gradient(165deg, #ffffff 20%, #eef8f5 100%); }
.accent-teal .bento-glow { background: radial-gradient(circle, rgba(0, 109, 106, 0.18), transparent 68%); }
.accent-mint { background: linear-gradient(165deg, #ffffff 20%, #f0faf5 100%); }
.accent-mint .bento-glow { background: radial-gradient(circle, rgba(73, 201, 152, 0.2), transparent 68%); }
.accent-fire { background: linear-gradient(165deg, #ffffff 20%, #fff8f0 100%); }
.accent-fire .bento-glow { background: radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 68%); }
.accent-ice { background: linear-gradient(165deg, #ffffff 20%, #f2f9ff 100%); }
.accent-ice .bento-glow { background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 68%); }

.showcase {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 20%, rgba(255, 255, 255, 0.55) 80%, transparent);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.check-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-soft);
}
.check-list img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}

/* Screenshots — gentle radius, no crop/deform */
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #eaf5f0;
}
.shot img,
.shot picture,
.shot picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}
.only-mobile { display: none; }

.shared .story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.story-steps { display: grid; gap: 18px; }
.story-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.story-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  box-shadow: 0 8px 18px rgba(0, 109, 106, 0.22);
}
.story-steps h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
}
.story-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.streak-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.social { overflow: hidden; }
.social-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.phone-stack {
  position: relative;
  margin: 0;
  min-height: 480px;
  max-width: 420px;
}
.phone-main,
.phone-float {
  border-radius: 18px;
  background: #fff;
}
.phone-main {
  width: min(280px, 68%);
  margin-inline-start: auto;
  position: relative;
  z-index: 1;
}
.phone-float {
  position: absolute;
  width: min(200px, 48%);
  inset-inline-start: 0;
  bottom: 20px;
  z-index: 2;
  animation: floatPhone 5s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.pill-row img {
  width: 16px;
  height: 16px;
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}

/* Gallery */
.gallery-track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-viewport.is-scrollable {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-viewport.is-scrollable::-webkit-scrollbar { display: none; }
.gallery-strip {
  display: flex;
  gap: 14px;
  padding: 4px 2px 10px;
  align-items: center;
}
.gallery-strip .snap { scroll-snap-align: center; }
.gallery-strip figure {
  margin: 0;
  flex: 0 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #eaf5f0;
}
.gallery-strip figure.is-desk {
  width: min(720px, 78vw);
}
.gallery-strip figure.is-phone {
  width: min(240px, 42vw);
}
.gallery-strip img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.gal-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}
.gal-nav:hover { transform: scale(1.06); background: var(--paper-2); }
.gal-nav img {
  width: 18px;
  height: 18px;
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}

/* Platforms */
.platforms { padding-top: 20px; padding-bottom: 20px; }
.platforms-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platforms-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}
.platforms-inner h2 {
  font-size: 1.25rem;
}
.platforms-inner p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Finale */
.finale { padding-bottom: 72px; }
.finale-inner {
  text-align: center;
  padding: 56px 24px;
  border-radius: 22px;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(73, 201, 152, 0.28), transparent 70%),
    linear-gradient(160deg, #0b3d3a 0%, #006d6a 55%, #128f7a 100%);
  color: #eefaf5;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.finale-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 30c8-12 16-12 24 0s16 12 24 0' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='2'/%3E%3C/svg%3E");
  pointer-events: none;
}
.finale-logo {
  margin: 0 auto 16px;
  width: 72px;
  height: 72px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.finale-inner h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}
.finale-inner > p {
  position: relative;
  margin: 10px auto 22px;
  max-width: 36ch;
  color: rgba(238, 250, 245, 0.86);
}
.finale-inner .btn-solid {
  position: relative;
  background: #fff;
  color: var(--teal-deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}
.finale-inner .btn-solid .btn-icon {
  filter: invert(0.28) sepia(0.4) saturate(1.6) hue-rotate(130deg);
}
.finale-note {
  position: relative;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: rgba(238, 250, 245, 0.78);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Footer */
.footer {
  padding: 28px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  border-top: 1px solid rgba(12, 47, 44, 0.08);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
}
.footer-brand strong { display: block; font-size: 1rem; }
.footer-brand span { color: var(--muted); font-size: 0.78rem; }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.soc-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(12, 47, 44, 0.07);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.soc-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 61, 58, 0.1);
}
.soc-link img {
  width: 22px;
  height: 22px;
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.topbar[data-reveal] {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .bento-card:nth-child(1),
  .bento-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 190px;
  }
  .showcase-grid,
  .shared .story,
  .streak-grid,
  .social-grid { grid-template-columns: 1fr; gap: 28px; }
  .phone-stack { margin-inline: auto; }
  .gallery-strip figure.is-desk { width: min(640px, 86vw); }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .top-nav { display: none; }
  .topbar {
    width: calc(100% - 16px);
    margin-top: 10px;
    padding: 8px 10px;
  }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .shot.desktop { display: none; }
  .only-mobile {
    display: block;
    max-width: 300px;
    margin-inline: auto;
  }
  .hero {
    min-height: 100svh;
    padding: 96px 12px 64px;
    align-content: center;
  }
  .hero-content {
    padding: 8px 8px;
    border-radius: 0;
    background: transparent;
  }
  .hero-title { font-size: clamp(2.8rem, 16vw, 4rem); }
  .hero-logo { width: 76px; height: 76px; }
  .hero-badges { gap: 6px; }
  .bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .bento-card {
    min-height: 0;
    padding: 16px 14px;
  }
  .story-steps li {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid var(--line);
  }
  .story-steps li:last-child { border-bottom: 1px solid var(--line); }
  .check-list li {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(12, 47, 44, 0.05);
  }
  .phone-stack {
    min-height: 420px;
    transform: scale(0.96);
  }
  .gallery-track { gap: 6px; }
  .gal-nav { width: 38px; height: 38px; }
  .gallery-strip figure.is-phone { width: min(220px, 58vw); }
  .finale-inner { padding: 44px 18px; border-radius: 20px; }
  .social-tiles { grid-template-columns: repeat(3, 1fr); }
  .social-tile { padding: 12px 10px; gap: 12px; border-radius: 16px; }
  .social-tile em { font-size: 0.82rem; }
  .platforms-inner { padding: 22px 10px; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 22px); }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .hero-badges li { font-size: 0.76rem; padding: 6px 10px; }
  .phone-main { width: 76%; }
  .phone-float { width: 46%; }
  .section h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-hero],
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
