/* ============================================================================
   Public site - marketing page and legal documents.
   ========================================================================== */

.site {
  background: var(--paper-1);
  overflow-x: hidden;
}

.sprite { display: none; }

.card__icon, .nav__dot { flex: none; }

.card__icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  color: var(--accent);
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(241, 243, 250, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-1);
}

.nav__mark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text-1);
}

.nav__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.nav__links {
  flex: 1;
  display: flex;
  gap: 22px;
}

.nav__links a {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.nav__links a:hover { color: var(--text-1); }
.nav__login { padding: 8px 16px; font-size: 13px; text-decoration: none; }

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 56px);
}

.hero__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero__lede {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.hero__cta { display: flex; gap: 10px; margin-top: 28px; }
.hero__cta .btn { padding: 12px 22px; text-decoration: none; }
.hero__fine { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }

/* product still */

.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper-0);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(28, 33, 51, 0.16);
  transform: rotate(-0.6deg);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
}

.shot__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-4);
}

.shot__bar span {
  margin-left: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-2);
}

.shot__canvas { background: var(--canvas); }
.shot__svg { display: block; width: 100%; height: auto; }

.shot__hand {
  font-family: 'Literata', Georgia, serif;
  font-size: 26px;
  fill: #e9ecf1;
}

.shot__hand--sm { font-size: 20px; fill: #b9c2d4; }
.shot__note { font-family: 'IBM Plex Mono', monospace; font-size: 12px; fill: #ffd166; }

.shot__chat {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-1);
}

.shot__msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.shot__msg--me {
  align-self: flex-end;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* -------------------------------------------------------------- sections */

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
}

.section__lede {
  margin: 12px auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.features, .pricing {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(18px, 5vw, 56px);
}

.features { border-top: 1px solid var(--line-1); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.card {
  padding: 24px;
  background: var(--paper-0);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.card h3 { margin: 14px 0 8px; font-size: 15.5px; font-weight: 600; }
.card p { font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

/* -------------------------------------------------------------- pricing */

.pricing { border-top: 1px solid var(--line-1); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 14px;
  margin-top: 38px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--paper-0);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.plan--pick {
  border-color: var(--accent);
  box-shadow: 0 10px 34px rgba(85, 99, 216, 0.14);
}

.plan__tag {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
}

.plan__price {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan__price span { font-size: 22px; vertical-align: 0.35em; color: var(--text-3); }
.plan__price small { font-size: 13px; color: var(--text-3); font-family: var(--font-ui); }
.plan__note { margin-top: 8px; font-size: 12.5px; color: var(--text-3); }

.plan__list {
  flex: 1;
  list-style: none;
  margin: 20px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}

.plan__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan__list b { color: var(--text-1); font-weight: 600; }
.plan__cta { width: 100%; }

.pricing__fine {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}

/* -------------------------------------------------------------- closing */

.closing {
  padding: clamp(48px, 7vw, 88px) 24px;
  text-align: center;
  border-top: 1px solid var(--line-1);
  background: var(--paper-0);
}

.closing__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing .btn { padding: 13px 26px; text-decoration: none; }

/* ----------------------------------------------------------------- foot */

.foot {
  padding: 40px clamp(18px, 5vw, 56px) 28px;
  border-top: 1px solid var(--line-1);
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
}

.foot__mark {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-1);
}

.foot__tag {
  width: 100%;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--text-3);
}

.foot__links { display: flex; flex-wrap: wrap; gap: 20px; }

.foot__links a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
}

.foot__links a:hover { color: var(--text-1); text-decoration: underline; }

.foot__copy {
  max-width: 1180px;
  margin: 26px auto 0;
  font-size: 12px;
  color: var(--text-3);
}

/* --------------------------------------------------------------- cookie */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(680px, calc(100% - 32px));
  padding: 15px 18px;
  background: var(--paper-0);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  animation: cookie-in 260ms var(--ease);
}

@keyframes cookie-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.cookie__text { flex: 1; font-size: 12.5px; line-height: 1.6; color: var(--text-2); }
.cookie__text a { color: var(--accent); }
.cookie__ok { flex: none; padding: 9px 18px; }

/* --------------------------------------------------------- plan dialogue */

.plan-panel__body { padding: 18px 22px 24px; }
.plan-panel__body p { font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

.plan-panel__note {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--paper-1);
  border-radius: var(--r-md);
  font-size: 12.5px !important;
  color: var(--text-3) !important;
}

/* ---------------------------------------------------------------- legal */

.legal {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) clamp(18px, 5vw, 56px) 80px;
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.legal__nav {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal__nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.legal__nav a:hover { background: var(--paper-2); color: var(--text-1); }
.legal__nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }

.legal__doc { min-width: 0; }
.legal__doc[hidden] { display: none; }

.legal__updated {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.legal__doc h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.legal__doc h2 {
  margin: 32px 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.legal__doc p, .legal__doc li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

.legal__doc p { margin-bottom: 12px; }
.legal__doc ul { margin: 0 0 14px; padding-left: 20px; }
.legal__doc li { margin-bottom: 7px; }
.legal__doc li::marker { color: var(--accent); }
.legal__doc strong { color: var(--text-1); }
.legal__doc a { color: var(--accent); }

.legal__fill {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--warn-soft);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 12px;
}

.legal__callout {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--paper-0);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
}

.legal__callout p { margin: 0; font-size: 13.5px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .nav__links { display: none; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .cookie { flex-direction: column; align-items: stretch; }
}

/* What is actually switched on today, said plainly next to the plans. */
.pricing__today {
  max-width: 640px;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
}

.closing__fine {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
}

.closing__fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.closing__fine a:hover { color: var(--accent); }
