:root {
  color-scheme: light;
  --ink: #171719;
  --muted: #68686f;
  --line: rgba(22, 22, 26, 0.08);
  --glass: rgba(255, 255, 255, 0.64);
  --shadow: 0 30px 90px rgba(30, 35, 50, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(219, 230, 255, 0.52), transparent 29rem),
    #fbfbfc;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.ambient-one {
  top: 38%;
  left: -22rem;
  background: #8ab8ff;
}

.ambient-two {
  right: -22rem;
  bottom: 8%;
  background: #ff99c3;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(720px, calc(100% - 32px));
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(250, 250, 252, 0.68);
  box-shadow: 0 8px 32px rgba(36, 38, 46, 0.07);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: linear-gradient(145deg, #26262b, #08080a);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 5px 12px rgba(0, 0, 0, 0.16);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 11px;
  color: #55555b;
  font-size: 13px;
  transition: 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.045);
}

.hero {
  position: relative;
  display: flex;
  min-height: 900px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 190px 24px 100px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: #818188;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 680;
  letter-spacing: -0.068em;
  line-height: 1.04;
}

.hero h1::first-line {
  color: #1b1b1e;
}

.hero-copy {
  max-width: 600px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 12px 18px;
  border: 1px solid rgba(22, 22, 24, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 22px rgba(25, 25, 30, 0.06);
  font-size: 14px;
  font-weight: 600;
  transition: 200ms ease;
}

.hero-action:hover {
  box-shadow: 0 12px 28px rgba(25, 25, 30, 0.1);
  transform: translateY(-2px);
}

.hero-orbit {
  position: relative;
  width: 320px;
  height: 250px;
  margin-top: 54px;
}

.hero-glass {
  position: absolute;
  top: 18px;
  left: 75px;
  display: flex;
  width: 170px;
  height: 170px;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 48px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4)),
    rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 white,
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    0 32px 80px rgba(52, 63, 90, 0.16);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  animation: float 6s ease-in-out infinite;
}

.glass-shine {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(22px);
}

.hero-glass span {
  font-size: 64px;
  font-weight: 690;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.hero-glass small {
  margin-top: 10px;
  color: #77777d;
  font-size: 13px;
}

.orbit-dot {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 15px;
  box-shadow: 0 13px 26px rgba(40, 48, 75, 0.14);
  backdrop-filter: blur(12px);
}

.dot-blue {
  top: 2px;
  left: 35px;
  background: linear-gradient(145deg, #a6d8ff, #4999ff);
  transform: rotate(-12deg);
}

.dot-green {
  top: 24px;
  right: 23px;
  background: linear-gradient(145deg, #b9f2ca, #36c97b);
  transform: rotate(14deg);
}

.dot-orange {
  bottom: 35px;
  right: 42px;
  background: linear-gradient(145deg, #ffd69c, #ff984a);
  transform: rotate(-8deg);
}

.dot-purple {
  bottom: 25px;
  left: 35px;
  background: linear-gradient(145deg, #d5c0ff, #976aff);
  transform: rotate(11deg);
}

.dot-pink {
  bottom: 0;
  left: 137px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffbecb, #ff5673);
  transform: rotate(-16deg);
}

.products {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 120px;
}

.section-heading {
  margin-bottom: 58px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 660;
  letter-spacing: -0.055em;
}

.product-card {
  --accent: #4d9dff;
  --accent-light: #dfeeff;
  display: grid;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 28px;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.58)),
    var(--accent-light);
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  transition:
    box-shadow 280ms ease,
    transform 280ms ease;
}

.product-card:hover {
  box-shadow: 0 36px 100px rgba(30, 35, 50, 0.13);
  transform: translateY(-4px);
}

.product-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 58%, white);
  outline-offset: 5px;
}

.product-card.reverse .product-copy {
  order: 2;
}

.product-card.reverse .product-visual {
  order: 1;
}

.card-green {
  --accent: #25b76b;
  --accent-light: #e3f8ea;
}

.card-orange {
  --accent: #f68a38;
  --accent-light: #fff0df;
}

.card-purple {
  --accent: #8c63e9;
  --accent-light: #eee7ff;
}

.card-pink {
  --accent: #ef516d;
  --accent-light: #ffe8ed;
}

.product-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 86px);
}

.product-index {
  margin-bottom: 60px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.product-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 1;
}

.product-slogan {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-description {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.tags span {
  padding: 8px 11px;
  border: 1px solid rgba(30, 30, 34, 0.06);
  border-radius: 999px;
  color: #595960;
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 520;
  backdrop-filter: blur(10px);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 680;
}

.product-link > span {
  transition: transform 180ms ease;
}

.product-card:hover .product-link > span {
  transform: translate(2px, -2px);
}

.product-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(145deg, var(--accent-light), rgba(255, 255, 255, 0.28));
}

.product-visual::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.16),
    0 0 0 76px rgba(255, 255, 255, 0.1);
  content: "";
}

.app-icon {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    0 34px 70px color-mix(in srgb, var(--accent) 24%, transparent);
  transform: rotate(-4deg);
  transition: 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .app-icon {
  transform: rotate(0) translateY(-8px) scale(1.025);
}

.icon-clean {
  background: linear-gradient(145deg, #77caff, #237bf4);
}

.clean-wave {
  position: absolute;
  right: -34px;
  bottom: -46px;
  left: -34px;
  height: 145px;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.88);
  transform: rotate(-8deg);
}

.wave-two {
  bottom: -78px;
  height: 170px;
  background: rgba(255, 255, 255, 0.56);
  transform: rotate(12deg);
}

.clean-spark {
  position: absolute;
  top: 38px;
  right: 42px;
  color: white;
  font-size: 42px;
  text-shadow: 0 8px 20px rgba(0, 81, 183, 0.24);
}

.visual-caption {
  position: absolute;
  z-index: 3;
  right: 58px;
  bottom: 70px;
  display: flex;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 35px rgba(31, 87, 155, 0.13);
  backdrop-filter: blur(18px);
  transform: rotate(4deg);
}

.visual-caption span,
.chart-label {
  color: #74747b;
  font-size: 11px;
}

.visual-caption strong {
  margin-top: 3px;
  font-size: 18px;
}

.icon-account {
  background: linear-gradient(145deg, #7fe1a7, #20b86d);
}

.account-line {
  position: absolute;
  left: 36px;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
}

.line-one {
  top: 50px;
  width: 102px;
}

.line-two {
  top: 88px;
  width: 138px;
}

.line-three {
  top: 126px;
  width: 82px;
}

.account-dot {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.mini-pill {
  position: absolute;
  z-index: 4;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 15px;
  color: #168c50;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(32, 136, 83, 0.13);
  backdrop-filter: blur(18px);
  font-size: 13px;
  font-weight: 650;
}

.pill-up {
  right: 50px;
  bottom: 78px;
  transform: rotate(4deg);
}

.visual-print {
  perspective: 900px;
}

.photo-stack {
  position: absolute;
  z-index: 2;
  width: 210px;
  height: 250px;
  overflow: hidden;
  border: 10px solid white;
  border-bottom-width: 38px;
  border-radius: 12px;
  box-shadow: 0 32px 65px rgba(171, 91, 25, 0.2);
}

.photo-back {
  background: linear-gradient(145deg, #ffd19f, #fe8c73);
  transform: translate(-50px, -20px) rotate(-13deg);
}

.photo-front {
  background: linear-gradient(#91cffc 0 55%, #ffe0a9 55%);
  transform: translate(34px, 12px) rotate(7deg);
  transition: 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .photo-front {
  transform: translate(24px, 2px) rotate(3deg);
}

.photo-sun {
  position: absolute;
  top: 34px;
  right: 30px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff2a7;
}

.photo-hill {
  position: absolute;
  right: -40px;
  bottom: 30px;
  left: -40px;
  height: 95px;
  border-radius: 50% 50% 0 0;
  background: #73b58d;
  transform: rotate(-9deg);
}

.hill-front {
  bottom: -2px;
  background: #3f906c;
  transform: rotate(8deg);
}

.sticker {
  position: absolute;
  z-index: 4;
  right: 50px;
  bottom: 82px;
  padding: 14px 16px;
  border: 5px solid white;
  border-radius: 14px;
  color: white;
  background: #ff8c3e;
  box-shadow: 0 12px 28px rgba(181, 82, 17, 0.2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-11deg);
}

.icon-todo {
  background: linear-gradient(145deg, #b18cf8, #7b52df);
}

.todo-check {
  position: absolute;
  left: 36px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: #8257e6;
  background: white;
  font-size: 17px;
  font-weight: 800;
}

.check-one {
  top: 45px;
}

.check-two {
  top: 100px;
}

.todo-line {
  position: absolute;
  left: 82px;
  height: 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.84);
}

.todo-one {
  top: 55px;
  width: 92px;
}

.todo-two {
  top: 110px;
  width: 76px;
}

.todo-three {
  top: 158px;
  left: 36px;
  width: 136px;
  opacity: 0.5;
}

.todo-pill {
  right: 42px;
  bottom: 72px;
  color: #6d43ca;
  transform: rotate(5deg);
}

.chart-card {
  position: relative;
  z-index: 3;
  width: min(370px, 76%);
  padding: 30px 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 32px 70px rgba(183, 43, 75, 0.15);
  backdrop-filter: blur(18px) saturate(160%);
  transform: rotate(-3deg);
  transition: 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .chart-card {
  transform: rotate(0) translateY(-8px);
}

.chart-card strong {
  display: block;
  margin-top: 6px;
  color: #e64763;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.chart-card svg {
  display: block;
  width: 100%;
  margin-top: 24px;
  overflow: visible;
}

.chart-fill {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: #f04e69;
  stroke-linecap: round;
  stroke-width: 4;
}

.closing {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  overflow: hidden;
  margin: 0 auto 28px;
  padding: 130px 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 100%, rgba(171, 202, 255, 0.42), transparent 45%),
    rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  text-align: center;
}

.closing h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 670;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.closing > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.closing a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  padding: 13px 18px;
  border-radius: 999px;
  color: white;
  background: #19191c;
  box-shadow: 0 10px 25px rgba(25, 25, 28, 0.17);
  font-size: 14px;
  font-weight: 650;
  transition: 200ms ease;
}

.closing a:hover {
  transform: translateY(-2px);
}

footer {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 8px 48px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  color: #85858b;
  font-size: 12px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}

footer p {
  margin: 0;
}

.footer-meta a {
  transition: color 180ms ease;
}

.footer-meta a:hover {
  color: var(--ink);
}

.footer-brand {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 820px;
    padding-top: 160px;
  }

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

  .product-card.reverse .product-copy,
  .product-card .product-copy {
    order: 1;
  }

  .product-card.reverse .product-visual,
  .product-card .product-visual {
    order: 2;
  }

  .product-copy {
    padding: 52px 42px;
  }

  .product-index {
    margin-bottom: 42px;
  }

  footer {
    gap: 18px;
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 52px;
    border-radius: 17px;
  }

  .hero {
    min-height: 780px;
    padding: 140px 20px 60px;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -0.06em;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-orbit {
    margin-top: 44px;
    transform: scale(0.86);
    transform-origin: top center;
  }

  .products {
    width: calc(100% - 20px);
    padding: 70px 0 80px;
  }

  .section-heading {
    padding: 0 16px;
    margin-bottom: 36px;
  }

  .product-card {
    min-height: auto;
    margin-bottom: 14px;
    border-radius: 30px;
  }

  .product-copy {
    padding: 42px 28px;
  }

  .product-index {
    margin-bottom: 34px;
  }

  .product-copy h3 {
    font-size: 52px;
  }

  .product-slogan {
    font-size: 18px;
    line-height: 1.5;
  }

  .product-description {
    font-size: 14px;
  }

  .product-visual {
    min-height: 390px;
  }

  .product-visual::before {
    width: 300px;
    height: 300px;
  }

  .app-icon {
    width: 168px;
    height: 168px;
    border-radius: 41px;
  }

  .line-one {
    width: 78px;
  }

  .line-two {
    width: 105px;
  }

  .line-three {
    width: 62px;
  }

  .account-line {
    left: 30px;
  }

  .account-dot {
    width: 46px;
    height: 46px;
    border-width: 8px;
  }

  .todo-check {
    left: 28px;
  }

  .todo-line {
    left: 70px;
  }

  .todo-three {
    left: 28px;
  }

  .photo-stack {
    width: 168px;
    height: 205px;
  }

  .visual-caption,
  .pill-up,
  .todo-pill,
  .sticker {
    right: 24px;
    bottom: 46px;
  }

  .closing {
    width: calc(100% - 20px);
    margin-bottom: 12px;
    padding: 90px 20px;
    border-radius: 30px;
  }

  footer {
    width: calc(100% - 28px);
    padding-bottom: 30px;
  }

  .footer-meta {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
  }
}

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

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