:root {
  color-scheme: light;
  --bg: #f4eee6;
  --panel: #fbf7f2;
  --text: #1d1a17;
  --muted: #6a635b;
  --line: rgba(29, 26, 23, 0.12);
  --accent: #1d1a17;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

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

.page {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand,
.nav a {
  font-size: 0.95rem;
}

.brand {
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.hero,
.feature,
.about {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.hero {
  border-top: none;
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 24px;
  align-items: center;
}

.eyebrow,
.section-label,
.card-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.feature h2 {
  margin: 10px 0 14px;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
}

.hero-product h1 {
  max-width: 640px;
}

.lede,
.feature p,
.about p {
  max-width: 680px;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions,
.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button,
.product-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.product-card:hover,
.nav a:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #f8f4ef;
}

.product-card {
  min-width: min(320px, 100%);
  flex: 1 1 320px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.product-card-featured {
  min-height: 180px;
}

.contact-card strong {
  font-size: 1.05rem;
  word-break: break-word;
}

.card-copy {
  color: var(--muted);
  line-height: 1.55;
}

.product-shot {
  position: relative;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(29, 26, 23, 0.12);
  background: #111;
}

.screenshot-frame-hero {
  aspect-ratio: 1.18 / 1;
}

.screenshot-frame-card {
  min-height: 180px;
}

.screenshot-frame-dark {
  background: #181818;
}

.screenshot-frame-light {
  background: #f7f5fb;
}

.screenshot-image {
  display: block;
  width: 100%;
  height: 100%;
}

.screenshot-image-hero {
  object-fit: cover;
  object-position: 50% 0%;
}

.screenshot-image-card {
  min-height: 180px;
  object-fit: cover;
}

.screenshot-image-know-you-card {
  object-position: 44% 0%;
}

.screenshot-image-who-card {
  object-position: 50% 0%;
}

.app-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(29, 26, 23, 0.12);
  border-radius: 26px;
}

.app-shot-know-you {
  background: #171717;
  color: #f4f1ed;
}

.app-shot-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #28c840;
}

.app-shot-title {
  margin-left: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.know-you-ui {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 180px;
  min-height: 430px;
}

.ky-sidebar {
  padding: 18px 12px;
  background: #1e1e1f;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
  gap: 12px;
}

.ky-day {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 12px;
}

.ky-day.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.ky-story {
  padding: 22px 24px 24px;
}

.ky-header {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.ky-header span {
  color: rgba(255, 255, 255, 0.4);
  margin-left: 8px;
}

.ky-block + .ky-block {
  margin-top: 24px;
}

.ky-label,
.ky-sources-title {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  margin-bottom: 10px;
}

.ky-block h2 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  line-height: 1.08;
}

.ky-block p,
.ky-block li,
.ky-source span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.ky-block ul {
  margin: 0;
  padding-left: 18px;
}

.ky-block li + li {
  margin-top: 8px;
}

.ky-sources {
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e1e1f;
}

.ky-source + .ky-source {
  margin-top: 18px;
}

.ky-source strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.92);
}

.product-thumb {
  width: 100%;
}

.thumb-shell {
  width: 100%;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.thumb-shell-dark {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 92px;
  background: #1b1b1c;
}

.thumb-sidebar {
  background: #232324;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-main {
  padding: 18px 16px;
}

.thumb-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 14px;
}

.thumb-line.wide {
  width: 88%;
}

.thumb-line.short {
  width: 46%;
}

.thumb-sidepanel {
  padding: 18px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: #232324;
}

.thumb-pill {
  height: 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.thumb-pill + .thumb-pill {
  margin-top: 12px;
}

.thumb-shell-light {
  background: linear-gradient(180deg, #fff 0%, #f7f5fb 100%);
  padding: 16px;
}

.who-balance {
  position: relative;
  height: 96px;
  margin-bottom: 18px;
}

.who-balance::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 58%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #6b5af0 0%, #8362f0 100%);
}

.who-balance::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 35px;
  width: 12px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #7b5cf2;
}

.who-circle {
  position: absolute;
  top: 10px;
  width: 58px;
  height: 58px;
  border: 4px solid #7b5cf2;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.who-circle.left {
  left: 14%;
  color: #4c46ea;
}

.who-circle.right {
  right: 14%;
  color: #ff5376;
}

.who-cat {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 52px;
  height: 52px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at 32% 35%, #ffc488 0%, #ffb065 65%, #f39a4c 100%);
  box-shadow: 0 10px 22px rgba(243, 154, 76, 0.25);
}

.who-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.who-buttons span {
  height: 18px;
  border-radius: 999px;
}

.who-buttons span:first-child {
  background: linear-gradient(90deg, #735cf1, #8066f0);
}

.who-buttons span:last-child {
  background: #57c765;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero {
    padding-top: 36px;
    grid-template-columns: 1fr;
  }

  .know-you-ui {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .ky-sources {
    display: none;
  }
}
