:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --page: #f6f8fb;
  --surface: #ffffff;
  --ink: #111b2d;
  --muted: #657087;
  --line: rgba(17, 27, 45, 0.12);
  --hero: #08142c;
  --hero-ink: #f7f9ff;
  --hero-muted: rgba(247, 249, 255, 0.7);
  --accent: #4a7df0;
  --accent-soft: #dce7ff;
  --accent-2: #ed6d9c;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(17, 27, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
}

body.product-memori {
  --page: #f5f0e7;
  --surface: #fffaf1;
  --ink: #241f1a;
  --muted: #746c61;
  --line: rgba(36, 31, 26, 0.13);
  --hero: #18201f;
  --hero-ink: #fffaf1;
  --hero-muted: rgba(255, 250, 241, 0.7);
  --accent: #2f94a7;
  --accent-soft: #d8edf0;
  --accent-2: #db4f91;
  --shadow: 0 28px 80px rgba(36, 31, 26, 0.14);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  color: var(--hero-ink);
  background:
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 30rem),
    radial-gradient(circle at 64% 94%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 34rem),
    var(--hero);
}

.hero-shell::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span {
  margin-top: 4px;
  color: var(--hero-muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--hero-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.topbar nav a {
  transition: color 160ms ease;
}

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

.nav-cta {
  padding: 9px 14px;
  color: var(--hero-ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  grid-template-columns: minmax(0, 0.9fr) minmax(410px, 1.1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 20px;
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.product-memori .hero h1,
.product-memori .section-heading h2,
.product-memori .manifesto h2 {
  font-family: "Iowan Old Style", "New York", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.hero .lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--hero-muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 34px;
}

.store-badge,
.secondary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border-radius: 12px;
}

.store-badge {
  color: var(--hero);
  background: var(--hero-ink);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.store-symbol {
  font-size: 1.4rem;
  line-height: 1;
}

.store-copy {
  display: grid;
  line-height: 1.05;
}

.store-copy small {
  margin-bottom: 4px;
  font-size: 0.63rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-copy strong {
  font-size: 1rem;
}

.secondary-action {
  color: var(--hero-ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 550px;
  perspective: 1200px;
}

.hero-visual::before {
  position: absolute;
  inset: 14% 6% 8%;
  content: "";
  background: color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 50%;
  filter: blur(74px);
}

.screen-card {
  position: absolute;
  top: 4%;
  left: 50%;
  width: clamp(230px, 27vw, 326px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.36);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.screen-card.primary {
  z-index: 3;
  transform: translateX(-50%) rotate(-1deg);
}

.screen-card.left {
  top: 17%;
  left: 7%;
  z-index: 1;
  width: clamp(180px, 21vw, 250px);
  opacity: 0.72;
  transform: rotate(-9deg) translateZ(-80px);
}

.screen-card.right {
  top: 17%;
  right: -1%;
  left: auto;
  z-index: 2;
  width: clamp(180px, 21vw, 250px);
  opacity: 0.82;
  transform: rotate(8deg) translateZ(-50px);
}

.app-seal {
  position: absolute;
  right: 8%;
  bottom: 8%;
  z-index: 5;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.app-seal img {
  width: 100%;
  border-radius: 18px;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  min-height: 126px;
  padding: 32px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.proof-item strong {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.4;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 140px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .eyebrow {
  color: var(--accent);
}

.section-heading h2,
.manifesto h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 300px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(17, 27, 45, 0.045);
}

.feature-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 58px 0 14px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-section {
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0;
  background: color-mix(in srgb, var(--accent-soft) 52%, var(--page));
  border-block: 1px solid var(--line);
}

.showcase-head {
  display: flex;
  width: min(1040px, calc(100% - 40px));
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto 32px;
}

.showcase-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.showcase-head p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  width: min(820px, calc(100% - 40px));
  grid-template-columns: repeat(3, minmax(0, 240px));
  justify-content: center;
  gap: 28px;
  align-items: start;
  margin: 0 auto;
}

.showcase-grid figure {
  display: flex;
  justify-content: center;
  margin: 0;
}

.showcase-grid figure:nth-child(2) {
  margin-top: 0;
}

.showcase-grid img {
  width: auto;
  height: clamp(360px, 50vh, 500px);
  aspect-ratio: 660 / 1434;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.manifesto-shell {
  color: var(--hero-ink);
  background: var(--hero);
}

.manifesto {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(90px, 11vw, 150px) 0;
}

.manifesto .eyebrow {
  color: color-mix(in srgb, var(--accent) 72%, white);
}

.manifesto-copy > p:last-of-type {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--hero-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.trust-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  background: color-mix(in srgb, var(--hero) 88%, white);
}

.trust-item span {
  color: color-mix(in srgb, var(--accent) 70%, white);
  font-size: 0.75rem;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.trust-item p {
  margin: 0;
  color: var(--hero-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.final-cta {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.final-cta p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.final-cta .store-badge {
  color: var(--hero-ink);
  background: var(--hero);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.footer-brand strong {
  display: block;
  font-size: 0.92rem;
}

.footer-brand span,
.footer-meta {
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.83rem;
}

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

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .topbar nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 540px;
  }

  .screen-card.left {
    left: 10%;
  }

  .screen-card.right {
    right: 8%;
  }

  .section-heading,
  .manifesto {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-card h3 {
    margin-top: 34px;
  }
}

@media (max-width: 700px) {
  .topbar {
    min-height: 70px;
  }

  .brand-text span,
  .nav-cta {
    display: none;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    padding: 60px 0 76px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 5rem);
  }

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

  .screen-card {
    width: 220px;
    border-radius: 22px;
  }

  .screen-card.left,
  .screen-card.right {
    top: 18%;
    width: 160px;
  }

  .screen-card.left {
    left: 0;
  }

  .screen-card.right {
    right: 0;
  }

  .app-seal {
    right: 3%;
    bottom: 1%;
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .proof-bar {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 0;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section,
  .showcase-head,
  .showcase-grid,
  .manifesto,
  .final-cta,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .section-heading {
    gap: 24px;
  }

  .showcase-head {
    display: block;
  }

  .showcase-head p {
    margin-top: 18px;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 18px;
    scroll-snap-type: x mandatory;
  }

  .showcase-grid figure {
    scroll-snap-align: center;
  }

  .showcase-grid figure:nth-child(2) {
    margin-top: 0;
  }

  .showcase-grid img {
    width: 100%;
    height: auto;
  }

  .final-cta,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
