:root {
  color-scheme: light;
  font-family: "Inter", system-ui, sans-serif;
  color: #241f2c;
  background: #f7f4ee;
  font-synthesis: none;
  --muted: #62596a;
  --accent: #332553;
  --apricot: #ffc58f;
  --line: #e0d5c6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a14839; outline-offset: 5px; }
.frame { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; text-decoration: none; font-size: 1.125rem; }
.brand-mark {
  display: block;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}
.footer-links { display: inline-flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.footer-links a { color: var(--accent); font-size: .94rem; text-underline-offset: .22em; }
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 5.65vw, 5rem); letter-spacing: -.068em; line-height: .99; }
h1 span { color: #9a6a2f; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.048em; line-height: 1.12; }
h3 { font-size: 1.06rem; line-height: 1.35; }
p { color: var(--muted); line-height: 1.55; }
.hero p { max-width: 35ch; margin-top: 1.45rem; font-size: clamp(1rem, 2vw, 1.19rem); }
.cta {
  display: inline-flex;
  min-height: 52px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  border-radius: 12px;
  background: var(--accent);
  color: #fffdf9;
  text-decoration: none;
  padding: .75rem 1.15rem;
  margin-top: 1.55rem;
  font-weight: 750;
}
.cta:hover { background: #241a3f; }
.demo { position: relative; display: grid; gap: .75rem; margin: 0; }
.candidate {
  display: grid;
  gap: .55rem;
  padding: 1.1rem;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px -30px #332553;
}
.candidate-top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.candidate-place { color: var(--muted); font-size: .82rem; }
.candidate-status { display: inline-flex; align-items: center; gap: .4rem; color: #6b4423; font-weight: 800; }
.candidate-status::before { content: "◷"; color: #b06a2c; }
.candidate-text { font-size: 1.08rem; }
.reason {
  display: inline-flex;
  justify-self: start;
  padding: .3rem .6rem;
  background: #fdebd7;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
}
.swipe-hint { color: var(--muted); font-size: .88rem; }
.example {
  display: grid;
  gap: .35rem;
  width: min(270px, 100%);
  justify-self: end;
  padding: .65rem;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: .85rem;
}
.example-label { color: var(--muted); padding-inline: .3rem; font-size: .76rem; }
.sent, .received { padding: .5rem .65rem; border-radius: 10px; }
.sent { justify-self: end; background: #fdebd7; font-weight: 650; }
.received { display: grid; background: #f1ede6; }
.section { padding-block: 2.2rem 3rem; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 3rem); margin-top: 1.6rem; }
.features p, .topic p { margin-top: .45rem; }
.more { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.topic { border-radius: 20px; padding: clamp(1.25rem, 3.4vw, 2.7rem); }
.topic h3 { margin-top: 1.35rem; }
.purple { background: #efe9f5; }
.apricot { background: #fdebd7; }
.start { padding-block: clamp(2.8rem, 6vw, 5.4rem); }
.start p { margin-top: .65rem; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; font-weight: 650; }
@media (max-width: 760px) {
  .frame { width: calc(100% - 2rem); }
  .hero, .features, .more { grid-template-columns: 1fr; }
  .demo { max-width: 28rem; }
  .hero { gap: 1.75rem; }
  .features { gap: 1.1rem; }
}
@media (max-width: 370px) {
  .site-header, .site-footer { min-height: 62px; gap: .65rem; }
  .footer-links a { font-size: .85rem; }
  h1 { font-size: 2.4rem; }
}
