:root {
  --ink: #13201a;
  --muted: #5d6861;
  --paper: #f6f3ec;
  --surface: #fffefa;
  --line: rgba(19, 32, 26, 0.12);
  --green: #126d58;
  --green-deep: #0c4f40;
  --green-soft: #dcebe2;
  --cream: #eee6d8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Noto Serif", Georgia, serif;
  --shadow-sm: 0 10px 30px rgba(19, 32, 26, 0.06);
  --shadow-lg: 0 34px 90px rgba(19, 32, 26, 0.12);
}

body {
  background:
    radial-gradient(circle at 7% 3%, rgba(197, 223, 207, 0.48), transparent 26rem),
    var(--paper);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #b9dac8;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(18, 109, 88, 0.42);
  outline-offset: 4px;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
}

.topbar {
  top: 12px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.nav {
  min-height: 66px;
  padding: 7px 10px 7px 12px;
  border: 1px solid rgba(19, 32, 26, 0.1);
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.84);
  box-shadow: 0 10px 30px rgba(19, 32, 26, 0.07);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand {
  gap: 11px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(19, 32, 26, 0.1);
}

.nav-links {
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(19, 32, 26, 0.07);
  border-radius: 999px;
  background: rgba(244, 241, 233, 0.72);
}

.nav-links a {
  padding: 7px 11px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.9);
}

.lang-select {
  min-height: 42px;
  border-radius: 12px;
  background-color: rgba(255, 254, 250, 0.92);
}

.hero {
  padding: 112px 0 82px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.93fr) minmax(410px, 1.07fr);
  gap: clamp(42px, 7vw, 94px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--green-deep);
  letter-spacing: 0.12em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55a889;
  box-shadow: 0 0 0 5px rgba(85, 168, 137, 0.13);
}

h1,
.section-head h2,
.cta h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-lede {
  max-width: 640px;
  margin-top: 30px;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.68;
}

.button {
  min-height: 49px;
  padding: 12px 18px;
  border-radius: 13px;
  box-shadow: 0 5px 16px rgba(19, 32, 26, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--green-deep);
  border-color: var(--green-deep);
  box-shadow: 0 12px 26px rgba(12, 79, 64, 0.2);
}

.button:hover {
  box-shadow: 0 12px 28px rgba(19, 32, 26, 0.11);
}

.stats {
  grid-template-columns: repeat(3, max-content);
  gap: 0;
  max-width: none;
  margin-top: 44px;
}

.stat {
  min-width: 0;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.stat:last-child strong {
  max-width: 210px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.stat span {
  display: block;
  max-width: 150px;
  margin-top: 3px;
  line-height: 1.35;
}

.showcase-panel {
  min-height: 620px;
}

.screenshot-wall {
  min-height: 600px;
  border-radius: 52% 48% 44% 56% / 45% 38% 62% 55%;
  background-color: rgba(255, 255, 255, 0.28);
}

.screenshot-wall::before {
  inset: 40px 34px 58px;
  opacity: 0.62;
}

.hero-slide img {
  width: min(88%, 440px);
  filter: drop-shadow(0 38px 54px rgba(20, 25, 22, 0.2));
}

.showcase-top {
  bottom: 12px;
  padding: 11px 16px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(17, 35, 28, 0.48);
}

.showcase-dots {
  gap: 0;
}

.showcase-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  transform: none;
}

.showcase-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.45s ease, transform 0.45s ease;
}

.showcase-dot[aria-current="true"] {
  width: 32px;
  background: transparent;
  transform: none;
}

.showcase-dot[aria-current="true"]::after {
  width: 24px;
  background: #fff;
  transform: translateY(-1px);
}

.icon-strip {
  margin-top: 24px;
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.72);
  box-shadow: var(--shadow-sm);
}

.icon-track {
  gap: 13px;
  padding: 12px 22px;
}

.icon-strip:focus-within .icon-track {
  animation-play-state: paused;
}

.icon-link,
.icon-link img {
  width: 58px;
  height: 58px;
}

.icon-link img {
  border-radius: 16px;
}

.section {
  padding: 98px 0;
}

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

.section-head h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  line-height: 0.98;
}

.section-head p:last-child {
  line-height: 1.7;
}

.product-spotlight {
  position: relative;
  padding-top: 38px;
}

.product-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 32, 26, 0.14), transparent);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.spotlight-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 26, 0.1);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(19, 32, 26, 0.2);
  box-shadow: var(--shadow-lg);
}

.spotlight-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
}

.spotlight-art::before,
.spotlight-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.spotlight-art::before {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.spotlight-art::after {
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(4px);
}

.spotlight-card--pixrinse .spotlight-art {
  background: linear-gradient(150deg, #353078, #6861d0 58%, #48b6ad);
}

.spotlight-card--readune .spotlight-art {
  background: linear-gradient(150deg, #793429, #b14e39 58%, #d79763);
}

.spotlight-icon {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 54px rgba(14, 18, 16, 0.28);
  transform: rotate(-4deg);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.spotlight-card--readune .spotlight-icon {
  transform: rotate(4deg);
}

.spotlight-card:hover .spotlight-icon {
  transform: rotate(0deg) scale(1.04);
}

.spotlight-chip {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 20, 17, 0.28);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 34px 32px;
}

.product-overline {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.spotlight-copy > p:not(.product-overline) {
  margin: 18px 0 26px;
  color: var(--muted);
  line-height: 1.72;
}

.spotlight-link {
  margin-top: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--green-deep);
  font-weight: 820;
}

.category-grid {
  gap: 18px;
}

.category {
  position: relative;
  min-height: 270px;
  padding: 26px;
  overflow: hidden;
  border-color: rgba(19, 32, 26, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.category::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(211, 228, 217, 0.38);
}

.category h3 {
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.pill {
  border-color: rgba(19, 32, 26, 0.1);
  background: rgba(246, 243, 236, 0.72);
}

.apps-toolbar {
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  width: fit-content;
  border: 1px solid rgba(19, 32, 26, 0.09);
  border-radius: 15px;
  background: rgba(255, 254, 250, 0.72);
}

.filter {
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.filter[aria-pressed="true"] {
  background: var(--green-deep);
  box-shadow: 0 6px 15px rgba(12, 79, 64, 0.16);
}

.apps-grid {
  gap: 20px;
}

.app-card {
  min-height: 368px;
  border-color: rgba(19, 32, 26, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.app-card:hover {
  box-shadow: 0 22px 50px rgba(19, 32, 26, 0.1);
}

.app-visual {
  min-height: 132px;
  padding: 24px;
}

.app-visual img {
  width: 76px;
  height: 76px;
  border-radius: 19px;
}

.app-card[data-product="pixrinse"] .app-visual {
  background: linear-gradient(135deg, #ecebff, #dcf4f0);
}

.app-card[data-product="readune"] .app-visual {
  background: linear-gradient(135deg, #f7e7df, #efe5d2);
}

.app-body {
  gap: 14px;
  padding: 24px;
}

.app-body h3 {
  font-family: var(--serif);
  font-size: 1.46rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.link-row {
  padding-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: rgba(18, 109, 88, 0.3);
  text-underline-offset: 4px;
}

.principles {
  position: relative;
  background:
    radial-gradient(circle at 88% 10%, rgba(92, 153, 127, 0.2), transparent 32rem),
    #13201a;
}

.principles .section-kicker::before {
  background: #8edbc0;
}

.principle-grid {
  gap: 18px;
}

.principle {
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.principle h3 {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
}

.cta {
  padding: 94px 0 106px;
}

.cta-panel {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(204, 227, 213, 0.72), transparent 24rem),
    rgba(255, 254, 250, 0.9);
  box-shadow: var(--shadow-lg);
}

.footer {
  padding: 44px 0;
}

.footer-grid {
  row-gap: 24px;
}

.language-links {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-art {
    min-height: 220px;
  }

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

@media (max-width: 920px) {
  .topbar {
    top: 8px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
  }

  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    margin-top: 8px;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 2px;
  }

  .showcase-panel {
    min-height: 560px;
  }

  .screenshot-wall {
    min-height: 540px;
  }

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

  .spotlight-card {
    grid-template-columns: minmax(230px, 0.78fr) 1.22fr;
    min-height: 330px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1200px);
  }

  .nav {
    min-height: 60px;
    gap: 8px;
    border-radius: 16px;
  }

  .brand {
    gap: 6px;
    min-height: 44px;
    font-size: 0.92rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  .lang-select {
    position: relative;
    z-index: 1;
    flex: 0 1 136px;
    width: 136px;
    min-width: 0;
    max-width: 136px;
    min-height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 72px 0 54px;
  }

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

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .stats {
    display: flex;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .stat {
    padding: 0 16px;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .showcase-panel {
    min-height: 500px;
  }

  .screenshot-wall {
    min-height: 480px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head h2 {
    font-size: clamp(2.4rem, 11vw, 3.55rem);
  }

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

  .spotlight-art {
    min-height: 230px;
  }

  .spotlight-copy {
    padding: 28px 26px;
  }

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

  .apps-toolbar {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .icon-strip {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .icon-strip::-webkit-scrollbar {
    display: none;
  }

  .icon-track {
    animation: none;
  }

  .showcase-top {
    bottom: 108px;
    padding: 4px 8px;
  }

  .icon-link:nth-child(n + 18) {
    display: none;
  }

  .apps-toolbar::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .app-card {
    min-height: 340px;
  }
}

@media (max-width: 371px) {
  .brand {
    gap: 0;
    font-size: 0;
  }
}

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