:root {
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --plum: #34252f;
  --plum-soft: #654f60;
  --mauve: #b8879d;
  --mauve-light: #ead9e1;
  --sage: #8fa58d;
  --sage-light: #dce6d8;
  --yellow: #e2bd67;
  --line: rgba(52, 37, 47, 0.14);
  --shadow: 0 20px 55px rgba(52, 37, 47, 0.09);
  --radius: 2rem;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--plum);
  background: var(--cream);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a, button { touch-action: manipulation; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .6rem 1rem; border-radius: 999px; background: var(--plum); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid transparent; }
.nav { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 1.85rem; aspect-ratio: 1; display: grid; place-items: center; border-radius: .65rem .65rem .65rem .2rem; color: var(--paper); background: var(--plum); font-size: .63rem; letter-spacing: -.04em; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--plum-soft); font-size: .93rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--plum); }
.menu-button { min-width: 2.75rem; min-height: 2.75rem; display: none; padding: .5rem; border: 0; background: transparent; color: var(--plum); font: inherit; font-weight: 700; cursor: pointer; }

main { overflow: hidden; }
.hero { position: relative; min-height: 34rem; display: grid; align-items: center; padding: 5.5rem 0 7rem; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.hero::before { width: 25rem; height: 25rem; right: -9rem; top: 1rem; background: var(--mauve-light); opacity: .72; }
.hero::after { width: 14rem; height: 14rem; right: 16%; bottom: -4rem; background: var(--sage-light); opacity: .85; }
.eyebrow { margin: 0 0 .8rem; color: var(--plum-soft); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1 { max-width: 13ch; margin-bottom: 1.25rem; font-size: clamp(3.1rem, 8vw, 6.7rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: 1.45rem; }
p { margin-top: 0; }
.hero-copy { position: relative; z-index: 1; max-width: 49rem; }
.hero .lead { max-width: 39rem; color: var(--plum-soft); font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
.section { padding: 6.5rem 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 32rem; margin-bottom: .35rem; color: var(--plum-soft); }

.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: 1.4rem; }
.app-card { position: relative; min-height: 31rem; display: flex; flex-direction: column; padding: clamp(1.6rem, 4vw, 2.7rem); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.app-card--knowi { background: linear-gradient(145deg, var(--paper) 46%, var(--sage-light)); }
.app-card--talumi { background: linear-gradient(145deg, var(--paper) 42%, #f3e4bd); }
.app-art { height: 13rem; display: grid; place-items: center; margin: -.7rem 0 1rem; }
.app-art img { width: 12.5rem; height: 12.5rem; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(52,37,47,.12)); }
.app-card .kicker { margin-bottom: .3rem; color: var(--plum-soft); font-weight: 750; }
.app-card h3 { margin-bottom: .75rem; font-size: 2.5rem; }
.app-card p { max-width: 30rem; color: var(--plum-soft); }
.app-card .button { margin-top: auto; align-self: flex-start; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.15rem; border: 1px solid var(--plum); border-radius: 999px; background: var(--plum); color: white; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(52,37,47,.18); }
.button.secondary { background: transparent; color: var(--plum); }
.button.disabled { border-color: var(--line); background: rgba(255,255,255,.55); color: var(--plum-soft); cursor: default; }
.button.disabled:hover { transform: none; box-shadow: none; }

.future { padding: 0 0 7rem; }
.future-card { padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.38); }
.future-card h2 { margin-bottom: .6rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.future-card p { margin: 0; color: var(--plum-soft); }

.product-hero { padding: 4.5rem 0 5.5rem; }
.product-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.product-hero h1 { font-size: clamp(3.6rem, 8vw, 6.8rem); }
.product-hero .tagline { font-size: 1.2rem; font-weight: 750; }
.product-hero .lead { max-width: 43rem; color: var(--plum-soft); font-size: 1.2rem; }
.product-mark { width: min(100%, 25rem); justify-self: center; filter: drop-shadow(0 24px 35px rgba(52,37,47,.14)); }
.store-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.feature-section { background: rgba(255,255,255,.38); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { min-height: 11rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--paper); }
.feature-card::before { content: ""; display: block; width: 2rem; height: .35rem; margin-bottom: 1.3rem; border-radius: 1rem; background: var(--sage); }
.feature-card:nth-child(2n)::before { background: var(--mauve); }
.feature-card:nth-child(3n)::before { background: var(--yellow); }
.feature-card h3 { margin-bottom: .6rem; }
.feature-card p { margin-bottom: 0; color: var(--plum-soft); font-size: .96rem; }

.page-hero { padding: 4.5rem 0 3.5rem; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.page-hero .lead { max-width: 46rem; color: var(--plum-soft); font-size: 1.2rem; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-bottom: 6rem; }
.info-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--paper); }
.info-card h2 { margin-bottom: .7rem; font-size: 1.6rem; }
.info-card p:last-child { margin-bottom: 0; }
.notice { padding: 1.4rem 1.6rem; border: 1px solid rgba(180,132,80,.32); border-radius: 1rem; background: #f8eccc; }
.legal-content { max-width: 52rem; padding-bottom: 6rem; }
.legal-content section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: 1.7rem; }
.legal-content h3 { margin-top: 1.6rem; margin-bottom: .45rem; font-size: 1.08rem; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: var(--plum-soft); }
.legal-content a, .page-hero a { text-decoration-thickness: .08em; text-underline-offset: .18em; }
.contact-details { color: var(--plum-soft); font-style: normal; }
.placeholder-list { padding: 0; list-style: none; }
.placeholder-list li { margin: .65rem 0; padding: .85rem 1rem; border: 1px dashed var(--mauve); border-radius: .8rem; background: var(--paper); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 9rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-meta { color: var(--plum-soft); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--plum-soft); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--plum); }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .nav { min-height: 4.5rem; }
  .menu-button { display: block; }
  .nav-links { position: absolute; top: 4rem; left: .75rem; right: .75rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; min-height: 3rem; padding: .75rem; }
  .hero { min-height: 31rem; padding: 3.5rem 0 5rem; }
  .hero::before { width: 18rem; height: 18rem; right: -9rem; }
  .hero::after { width: 10rem; height: 10rem; right: 5%; }
  .section { padding: 4.5rem 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: .8rem; }
  .app-grid, .product-layout, .content-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 28rem; }
  .product-layout { gap: 1.5rem; }
  .product-mark { width: 15rem; grid-row: 1; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { padding: 2rem 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.65rem, 15vw, 4rem); }
  .hero { min-height: 27rem; }
  .app-card { padding: 1.4rem; border-radius: 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .app-art { height: 11rem; }
  .app-art img { width: 10.5rem; height: 10.5rem; }
}

@media (max-width: 340px) {
  .shell { width: min(calc(100% - 1.1rem), var(--max)); }
  .product-hero h1, .page-hero h1 { font-size: 2.55rem; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
