:root {
  --ink: #000;
  --paper: #fff;
  --lilac: #c9b2f5;
  --lilac-soft: #f1eafd;
  --grey: #5c5c5c;
  --line: #000;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lilac); color: var(--ink); }
a { color: inherit; }
.wrap { max-width: 1400px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.logo { font-weight: 700; font-size: 28px; letter-spacing: -0.03em; text-decoration: none; }
.nav-cta { font-size: 20px; font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.nav-cta:hover { border-color: var(--lilac); }

/* type */
h1 {
  font-size: clamp(52px, 8.4vw, 136px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 13.5ch;
}
h2 {
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
}
.lead { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.35; max-width: 34ch; margin-top: 40px; letter-spacing: -0.01em; }
.fine { font-size: 20px; color: var(--grey); margin-top: 20px; }

section { padding-top: 120px; }
.hero { padding-top: 80px; }

/* form */
.join { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; max-width: 820px; }
.join input[type=email] {
  flex: 1 1 340px;
  font: inherit;
  font-size: 24px;
  padding: 22px 26px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}
.join input[type=email]:focus { box-shadow: 0 0 0 4px var(--lilac); }
.join button {
  font: inherit;
  font-size: 24px;
  font-weight: 600;
  padding: 22px 34px;
  border: 2px solid var(--ink);
  background: var(--lilac);
  color: var(--ink);
  cursor: pointer;
  border-radius: 0;
}
.join button:hover { background: var(--ink); color: var(--paper); }
.join button:disabled { opacity: 0.6; cursor: default; }
.msg { flex-basis: 100%; font-size: 22px; min-height: 1.4em; }
.msg.ok { font-weight: 600; }
.join.joined > input, .join.joined > button { display: none; }

.share { flex-basis: 100%; margin-top: 8px; }
.share p { font-size: 22px; max-width: 40ch; margin-bottom: 16px; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; }
.share-btn {
  font: inherit; font-size: 20px; font-weight: 600; text-decoration: none;
  padding: 16px 24px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer;
}
.share-btn:first-child { background: var(--lilac); }
.share-btn:hover { background: var(--ink); color: var(--paper); }
.foot-link { display: inline-block; margin-top: 12px; font-weight: 400; font-size: 18px; color: var(--ink); }

/* countdown */
.count { border-top: 2px solid var(--line); margin-top: 120px; padding-top: 64px; }
.big {
  font-size: clamp(72px, 15vw, 240px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.big span { background: var(--lilac); padding: 0 0.08em; }

/* demo */
.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 2px solid var(--ink);
  min-height: 520px;
}
.side { border-right: 2px solid var(--ink); padding: 32px 0; }
.side-item { padding: 12px 32px; font-size: 22px; }
.side-item.on { background: var(--lilac-soft); font-weight: 600; box-shadow: inset 6px 0 0 var(--lilac); }
.side hr { border: 0; border-top: 1px solid #d8d8d8; margin: 16px 32px; }
.main { padding: 40px 48px; }
.app-title { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; }
.app-date { color: var(--grey); margin-bottom: 32px; }
.tasks { list-style: none; }
.tasks li { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e2e2e2; font-size: 24px; }
.box { width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; flex: none; }
.done { color: var(--grey); text-decoration: line-through; }
.done .box { background: var(--lilac); border-color: var(--ink); }
.star { margin-left: auto; color: var(--ink); }
.tag { font-size: 18px; color: var(--grey); margin-left: 8px; }

/* rows */
.rows { list-style: none; border-top: 2px solid var(--line); }
.rows li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 2px solid var(--line);
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
}
.rows strong { font-weight: 600; }
.rows span { color: var(--grey); }

/* steps */
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 2px solid var(--line); padding-top: 28px; }
.n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lilac); font-size: 30px; font-weight: 600; margin-bottom: 28px;
}
.steps p { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -0.02em; }

/* faq */
.faq details { border-top: 2px solid var(--line); }
.faq details:last-of-type { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -0.02em;
  padding: 30px 56px 30px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 26px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { font-size: 24px; max-width: 46ch; padding-bottom: 32px; }

/* end */
.end { padding-bottom: 140px; }
.end h2 { max-width: 12ch; margin-bottom: 0; }

/* footer */
.foot { border-top: 2px solid var(--line); padding-top: 40px; padding-bottom: 60px; display: grid; grid-template-columns: 1fr 2fr 2fr; gap: 32px; font-size: 18px; color: var(--grey); }
.foot p:first-child { color: var(--ink); font-weight: 700; font-size: 22px; }

@media (max-width: 860px) {
  body { font-size: 20px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  section { padding-top: 88px; }
  .hero { padding-top: 40px; }
  .nav-cta { font-size: 18px; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .main { padding: 28px 22px; }
  .tasks li { font-size: 21px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .foot { grid-template-columns: 1fr; }
  .join button { flex: 1 1 100%; }
}
.join .share-btn { font-size: 20px; padding: 16px 24px; flex: 0 0 auto; }
