:root {
  color-scheme: light;
  --bg: #f8f3e8;
  --ink: #20242b;
  --muted: #68707c;
  --line: rgba(32, 36, 43, 0.14);
  --panel: rgba(255, 255, 255, 0.68);
  --panel-solid: #fffaf0;
  --shadow: 0 24px 70px rgba(32, 36, 43, 0.12);
  --coral: #ff7b54;
  --yellow: #f0c85a;
  --mint: #39b37f;
  --teal: #1b8a74;
  --blue: #4f8cff;
  --sand: #e6cc88;
  --charcoal: #20242b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0) 420px),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(79, 140, 255, 0.72);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(32, 36, 43, 0.1);
  background: rgba(248, 243, 232, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(32, 36, 43, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(32, 36, 43, 0.06);
  color: var(--ink);
}

.hero {
  min-height: min(760px, calc(100vh - 118px));
  display: flex;
  align-items: center;
  padding: 56px 0 44px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #7a5128;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.9;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 0.98;
  font-weight: 880;
}

h3 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.12;
}

.lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: #4f5966;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fffaf0;
  box-shadow: 0 16px 34px rgba(32, 36, 43, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--charcoal);
}

.app-shelf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.app-shelf::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -18px;
  height: 18px;
  border-radius: 0 0 8px 8px;
  background: rgba(32, 36, 43, 0.12);
  filter: blur(10px);
}

.shelf-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  border: 1px solid rgba(32, 36, 43, 0.1);
  border-radius: 8px;
  padding: 15px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.shelf-card:hover,
.app-card:hover {
  transform: translateY(-4px);
}

.shelf-card:nth-child(1),
.shelf-card:nth-child(4) {
  grid-column: span 3;
}

.shelf-card:nth-child(2),
.shelf-card:nth-child(3),
.shelf-card:nth-child(5) {
  grid-column: span 2;
}

.shelf-lil {
  background: #ffe2d7;
}

.shelf-spotle {
  background: #dff8ea;
}

.shelf-cymatic {
  background: #20242b;
  color: #fffaf0;
}

.shelf-scanner {
  background: #e0f4ff;
}

.shelf-notebook {
  background: #fff0b8;
}

.shelf-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
}

.shelf-icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.color-dots,
.spot-grid,
.wave-lines,
.paper-stack,
.notebook-lines {
  display: block;
  position: relative;
}

.color-dots {
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 30%, #ff7b54 0 13px, transparent 14px),
    radial-gradient(circle at 68% 30%, #f0c85a 0 13px, transparent 14px),
    radial-gradient(circle at 28% 70%, #39b37f 0 13px, transparent 14px),
    radial-gradient(circle at 68% 70%, #4f8cff 0 13px, transparent 14px),
    #fffaf0;
}

.spot-grid {
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(22, 63, 53, 0.14) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(22, 63, 53, 0.14) 48% 52%, transparent 53%),
    #4fe08a;
}

.spot-grid::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: #62c5ff;
}

.wave-lines {
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(241, 213, 138, 0.18), transparent 58%),
    #050608;
}

.wave-lines::before,
.wave-lines::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 22px;
  border: 5px solid #f1d58a;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 50%;
}

.wave-lines::before {
  top: 24px;
}

.wave-lines::after {
  top: 42px;
  border-color: #62c5ff;
}

.paper-stack,
.notebook-lines {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(32, 36, 43, 0.08);
}

.paper-stack::before,
.paper-stack::after,
.notebook-lines::before,
.notebook-lines::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
}

.paper-stack {
  color: var(--blue);
}

.paper-stack::before {
  top: 26px;
}

.paper-stack::after {
  top: 42px;
}

.notebook-lines {
  color: #8f6d12;
}

.notebook-lines::before {
  top: 28px;
}

.notebook-lines::after {
  top: 48px;
  right: 28px;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.app-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(32, 36, 43, 0.12);
  border-radius: 8px;
  background: var(--panel-solid);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 46px rgba(32, 36, 43, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
  box-shadow: 0 22px 60px rgba(32, 36, 43, 0.14);
}

.app-card.lil,
.app-card.spotle,
.app-card.cymatic {
  grid-column: span 2;
}

.app-card.scanner,
.app-card.notebook {
  grid-column: span 3;
}

.card-art {
  display: grid;
  place-items: center;
  padding: 24px;
}

.card-art > span {
  grid-area: 1 / 1;
  width: 96px;
  height: 96px;
}

.product-icon {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(32, 36, 43, 0.2);
}

.lil .card-art {
  background: #ffe2d7;
}

.spotle .card-art {
  background: #dff8ea;
}

.cymatic .card-art {
  background: #20242b;
}

.scanner .card-art {
  background: #e0f4ff;
}

.notebook .card-art {
  background: #fff0b8;
}

.card-copy {
  display: grid;
  align-content: start;
  padding: 24px;
}

.app-kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-copy p:not(.app-kicker) {
  margin-bottom: 20px;
  color: #55606d;
}

.card-link {
  margin-top: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.card-link::after {
  content: " ->";
}

.principles {
  padding: 78px 0;
  background: #20242b;
  color: #fffaf0;
}

.principles .eyebrow {
  color: #f1d58a;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-list article {
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 250, 240, 0.06);
}

.principle-list p {
  margin-bottom: 0;
  color: #d8cfbf;
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.footer-links a {
  color: #48515d;
  text-decoration: none;
  font-weight: 720;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 14px;
  text-align: right;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: 44px 0 50px;
  }

  .hero-layout,
  .principles-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 36px;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 9px 8px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 66px);
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .app-shelf,
  .apps-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .shelf-card:nth-child(n),
  .app-card.lil,
  .app-card.spotle,
  .app-card.cymatic,
  .app-card.scanner,
  .app-card.notebook {
    grid-column: auto;
  }

  .shelf-card {
    min-height: 112px;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-content: center;
  }

  .shelf-icon {
    width: 58px;
    height: 58px;
  }

  .section {
    padding: 64px 0;
  }

}

@media (max-width: 460px) {
  .hero {
    padding: 34px 0 42px;
  }

  .hero-layout {
    gap: 30px;
  }

  .brand {
    font-size: 16px;
    gap: 0;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav {
    gap: 10px;
  }

  .nav-links {
    font-size: 13px;
  }

  .nav-links a {
    padding: 8px 6px;
  }

  .hero-actions {
    display: grid;
  }

  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  .app-card {
    min-height: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
