@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0d10;
  --surface: #151920;
  --surface-2: #1a1f27;
  --border: #252b34;
  --border-strong: #333b47;
  --text: #f1f3f5;
  --text-dim: #929aa6;
  --text-faint: #828a98;
  --accent: #7c8cf8;
  --accent-hover: #93a1fa;
  --accent-soft: rgba(124, 140, 248, 0.12);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --tap: 44px;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
dl,
dd,
dt,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(14px);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.brand-sm {
  font-size: 14px;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.head-nav .btn {
  padding: 0 12px;
}

@media (min-width: 420px) {
  .head-nav {
    gap: 8px;
  }

  .head-nav .btn {
    padding: 0 14px;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0b0d10;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-dim);
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.btn-subtle {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn-subtle:hover {
  border-color: var(--border-strong);
}

.btn-lg {
  min-height: 46px;
  padding: 0 20px;
  font-size: 15px;
}

/* Hero */

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(760px 380px at 82% -8%, rgba(124, 140, 248, 0.16), transparent 70%),
    radial-gradient(620px 320px at 0% 0%, rgba(124, 140, 248, 0.07), transparent 70%);
}

.hero-inner {
  display: grid;
  gap: 40px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-note {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 13px;
}

/* Preview card */

.preview {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14);
}

.preview-addr {
  font-size: 13px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-list {
  display: grid;
}

.preview-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-mark {
  margin-top: 7px;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: transparent;
}

.preview-row.is-unread .preview-mark {
  background: var(--accent);
}

.preview-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.preview-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.preview-line strong {
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
}

.preview-row:not(.is-unread) .preview-line strong {
  color: var(--text-dim);
  font-weight: 450;
}

.preview-time {
  font-size: 11px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.preview-subject {
  font-size: 13px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-foot {
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-faint);
  font-size: 12px;
}

/* Sections */

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(23px, 5.4vw, 33px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-lede {
  margin-top: 10px;
  max-width: 56ch;
  color: var(--text-dim);
}

.features {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.feature {
  padding: 22px 20px;
  background: var(--bg);
}

.feature svg {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  color: var(--accent);
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* Limits */

.limits {
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.limits-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.limits-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.limit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

.limit {
  padding: 18px;
  background: var(--bg);
}

.limit dt {
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.limit dd {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Steps */

.steps {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.step h3 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.step p {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 14px;
  max-width: 34ch;
}

/* FAQ */

.narrow {
  max-width: 720px;
}

.faq {
  border-bottom: 1px solid var(--border);
}

.faq:first-of-type {
  margin-top: 26px;
  border-top: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 16px 34px 16px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-faint);
  border-bottom: 1.5px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.faq[open] summary::after {
  transform: rotate(-135deg);
  top: 26px;
}

.faq p {
  padding: 0 34px 18px 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* CTA */

.cta {
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(620px 300px at 50% 120%, rgba(124, 140, 248, 0.16), transparent 70%);
}

.cta-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.cta h2 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.cta p {
  margin: 10px auto 0;
  max-width: 46ch;
  color: var(--text-dim);
}

.cta .btn {
  margin-top: 22px;
}

/* Footer */

.site-foot {
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  justify-content: space-between;
}

.foot-note {
  order: 3;
  width: 100%;
  color: var(--text-faint);
  font-size: 12px;
}

.foot-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.foot-nav a {
  color: var(--text-dim);
}

.foot-nav a:hover {
  color: var(--text);
}


/* Error pages */

.err {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 210px);
  padding: 56px 0;
  text-align: center;
}

.err-inner {
  max-width: 560px;
}

.err-code {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(64px, 16vw, 112px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.err h1 {
  font-size: clamp(21px, 4.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.err-text {
  margin-top: 10px;
  color: var(--text-dim);
}

.err-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 26px;
  }

  .head-inner {
    height: 66px;
  }

  .hero-inner {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .limit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .foot-note {
    order: 0;
    width: auto;
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 56px;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature {
    padding: 26px 24px;
  }

  .section {
    padding: 74px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
