:root {
  --ink: #121212;
  --soft-ink: #23262b;
  --muted: #626977;
  --line: #dce2e7;
  --paper: #f4f6f3;
  --surface: #ffffff;
  --surface-strong: #fdfdf9;
  --night: #171a1f;
  --coral: #ff6b4a;
  --aqua: #2eb7c8;
  --green: #71c46c;
  --yellow: #f3c64d;
  --shadow: 0 28px 70px rgba(18, 18, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(18, 18, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 183, 200, 0.14), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(255, 107, 74, 0.13), transparent 26%),
    radial-gradient(circle at 55% 88%, rgba(113, 196, 108, 0.11), transparent 28%);
  content: "";
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  padding: 10px 10px 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(18, 18, 18, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.site-footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(18, 18, 18, 0.18);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(18, 18, 18, 0.06);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(244, 246, 243, 0.96) 0%, rgba(244, 246, 243, 0.78) 44%, rgba(244, 246, 243, 0.34) 100%),
    linear-gradient(135deg, rgba(46, 183, 200, 0.14), rgba(255, 107, 74, 0.11) 45%, rgba(113, 196, 108, 0.1));
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(126px, 15vw, 190px) 0 clamp(72px, 9vw, 118px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 11vw, 10.4rem);
  line-height: 0.84;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: var(--soft-ink);
  font-size: clamp(1.16rem, 2.2vw, 1.58rem);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  padding: 0;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(18, 18, 18, 0.07);
  backdrop-filter: blur(14px);
}

.hero-stats dt {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(18, 18, 18, 0.17);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(var(--stage-x, 0), var(--stage-y, 0), 0);
  transition: transform 240ms ease-out;
}

.hero-icon,
.hero-glow {
  position: absolute;
}

.hero-icon {
  width: clamp(78px, 11vw, 144px);
  border-radius: 27%;
  box-shadow: var(--shadow);
  animation: floatIcon 7s ease-in-out infinite;
  will-change: transform;
}

.hero-icon-canvas {
  top: 19%;
  right: 24%;
  animation-delay: -0.8s;
  --float-rotate: -8deg;
}

.hero-icon-notes {
  top: 29%;
  right: 7%;
  animation-delay: -2.2s;
  --float-rotate: 7deg;
}

.hero-icon-prefocus {
  right: 18%;
  bottom: 24%;
  animation-delay: -1.4s;
  --float-rotate: -5deg;
  --float-scale: 1.2;
}

.hero-icon-contact {
  right: 35%;
  bottom: 12%;
  animation-delay: -3.1s;
  --float-rotate: 11deg;
}

.hero-icon-invoice {
  right: 5%;
  bottom: 13%;
  animation-delay: -4.1s;
  --float-rotate: -10deg;
}

.hero-glow {
  width: clamp(260px, 36vw, 520px);
  height: clamp(260px, 36vw, 520px);
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.74;
  animation: driftGlow 12s ease-in-out infinite alternate;
}

.hero-glow-one {
  top: 13%;
  right: 2%;
  background: radial-gradient(circle, rgba(46, 183, 200, 0.24), transparent 68%);
}

.hero-glow-two {
  right: 18%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.2), transparent 68%);
  animation-delay: -4s;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 11vw, 132px) 0;
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: clamp(26px, 7vw, 82px);
  align-items: end;
  margin-bottom: 38px;
}

.section-kicker h2 {
  max-width: 830px;
  margin-bottom: 0;
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.product-card {
  display: grid;
  grid-column: span 6;
  min-height: 100%;
  padding: clamp(20px, 3vw, 30px);
  background: var(--surface);
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(18, 18, 18, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  border-color: rgba(18, 18, 18, 0.18);
  box-shadow: 0 26px 68px rgba(18, 18, 18, 0.12);
  transform: translateY(-6px);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

.product-card.reveal:nth-child(2),
.studio-panel div.reveal:nth-child(2) {
  transition-delay: 90ms;
}

.product-card.reveal:nth-child(3),
.studio-panel div.reveal:nth-child(3) {
  transition-delay: 180ms;
}

.product-card.reveal:nth-child(4) {
  transition-delay: 270ms;
}

.product-card.reveal:nth-child(5) {
  transition-delay: 360ms;
}

.product-card.flagship {
  grid-column: span 12;
  grid-template-columns: 0.76fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  color: var(--surface);
  background:
    linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(35, 38, 43, 0.92)),
    var(--night);
  overflow: hidden;
}

.product-card.flagship p,
.product-card.flagship li {
  color: rgba(255, 255, 255, 0.74);
}

.product-card.flagship .app-category,
.product-card.flagship .text-link {
  color: var(--yellow);
}

.product-card.flagship .feature-list li::before {
  background: var(--yellow);
}

.product-visual {
  display: flex;
  align-items: flex-start;
}

.product-visual img {
  width: clamp(86px, 12vw, 138px);
  height: clamp(86px, 12vw, 138px);
  border-radius: 27%;
  box-shadow: 0 20px 44px rgba(18, 18, 18, 0.18);
  transition: transform 220ms ease;
}

.product-card:hover .product-visual img {
  transform: rotate(-3deg) scale(1.04);
}

.flagship .product-visual img {
  width: min(290px, 100%);
  height: auto;
}

.app-category {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 18px;
}

.rating-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  color: var(--soft-ink);
  background: rgba(18, 18, 18, 0.06);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.flagship .rating-row span {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.11);
}

.feature-badges span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: var(--night);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

.product-copy p:not(.app-category),
.studio-copy p,
.contact-band p {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--soft-ink);
}

.feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--aqua);
  border-radius: 999px;
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
}

.text-link::after {
  content: "↗";
  font-size: 0.9em;
}

.studio-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 82px);
  border-top: 1px solid var(--line);
}

.studio-copy h2 {
  margin-bottom: 24px;
}

.studio-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  align-self: start;
  background: rgba(18, 18, 18, 0.12);
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 24px;
}

.studio-panel div {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
}

.studio-panel span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 900;
}

.studio-panel p {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 7vw, 82px);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 7vw, 90px);
  padding: clamp(28px, 6vw, 64px);
  color: var(--surface);
  background: var(--night);
  border-radius: 30px;
}

.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-band .button.primary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--surface);
  box-shadow: none;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .hero-stage {
    opacity: 0.6;
  }

  .hero-icon-contact {
    right: 42%;
  }

  .section-kicker,
  .product-card.flagship,
  .studio-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-column: span 12;
  }

}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    width: auto;
    margin: 12px 12px 0;
    transform: none;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .section,
  .contact-band {
    width: min(100% - 32px, 1120px);
  }

  .hero-inner {
    padding-top: 56px;
  }

  .hero-stage {
    opacity: 0.24;
  }

  .hero-icon-canvas {
    top: 12px;
    right: 18px;
  }

  .hero-icon-notes {
    top: 104px;
    right: -28px;
  }

  .hero-icon-prefocus {
    right: 88px;
    bottom: 96px;
  }

  .hero-icon-contact {
    right: 164px;
    bottom: 32px;
  }

  .hero-icon-invoice {
    right: -12px;
    bottom: 38px;
  }

  .hero-actions,
  .site-footer,
  .site-footer div {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .contact-band {
    border-radius: 22px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer div {
    align-items: flex-start;
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--float-rotate, 0deg)) scale(var(--float-scale, 1));
  }

  50% {
    transform: translate3d(0, -18px, 0) rotate(calc(var(--float-rotate, 0deg) * -0.7)) scale(var(--float-scale, 1));
  }
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-30px, 22px, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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