*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --bg: #0a0b0c;
  --bg-2: #0f1012;
  --panel: #15161a;
  --panel-2: #1c1d22;
  --text: #f6f5ef;
  --muted: #8a8b91;
  --soft: #c2c3c8;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #8669fe;
  --accent-soft: #9b82ff;
  --accent-ink: #ffffff;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

html {
  background: var(--bg);
  color: var(--text);
  font-family:
    "Inter var", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(134, 105, 254, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(120, 140, 255, 0.04), transparent 60%),
    var(--bg);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  padding: 0.12em 0.45em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 64px;
  padding: 0 var(--pad);
  background: rgba(10, 11, 12, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 0.98rem;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 120ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad) 0;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.98;
  font-weight: 680;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 br {
  display: inline;
}

@media (max-width: 720px) {
  h1 br {
    display: none;
  }
}

.lede {
  max-width: 640px;
  margin: 1.6rem auto 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  text-wrap: balance;
}

.cta-row {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 2.4rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  font-size: 1rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 16px 40px -12px rgba(134, 105, 254, 0.35);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 22px 50px -12px rgba(134, 105, 254, 0.45);
}

.btn-primary.big {
  height: 60px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.cta-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- screen frames ---------- */

.hero-screen {
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: 0;
}

.screen-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.screen-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1d1e22, #18191c);
}

.screen-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: #3a3b3f;
}

.screen-chrome span:nth-child(1) { background: #ff5f57; }
.screen-chrome span:nth-child(2) { background: #ffbd2e; }
.screen-chrome span:nth-child(3) { background: #28c840; }

.screen-chrome p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(246, 245, 239, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  max-width: 60%;
  text-overflow: ellipsis;
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* Soft fade at the bottom so the long inbox list doesn't dominate. */
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

.calendar-screen .screen-frame img {
  -webkit-mask-image: none;
  mask-image: none;
}

/* ---------- features ---------- */

.features {
  max-width: var(--max);
  margin: clamp(5rem, 9vw, 8rem) auto 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.features article {
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--bg-2);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1.6rem;
  border-radius: 10px;
  background: rgba(134, 105, 254, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.features h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.features p {
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* ---------- calendar section ---------- */

.calendar {
  max-width: var(--max);
  margin: clamp(5rem, 9vw, 8rem) auto 0;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.calendar-copy h2,
.privacy-copy h2,
.final h2 {
  margin: 0.9rem 0 1.1rem;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 660;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.calendar-copy p {
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.check-list {
  margin-top: 1.6rem;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--soft);
  font-size: 0.96rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(134, 105, 254, 0.15);
}

@media (max-width: 880px) {
  .calendar {
    grid-template-columns: 1fr;
  }
}

/* ---------- privacy ---------- */

.privacy {
  max-width: var(--max);
  margin: clamp(5rem, 9vw, 8rem) auto 0;
  padding: clamp(2.4rem, 4vw, 3.6rem) clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 60%),
    var(--bg-2);
}

.privacy-copy {
  max-width: 720px;
}

.privacy-copy h2 {
  margin-top: 0.9rem;
}

.privacy-copy p {
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.proof-grid {
  margin-top: 2.4rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-grid li {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.proof-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(134, 105, 254, 0.1);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-grid p {
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- final ---------- */

.final {
  max-width: var(--max);
  margin: clamp(5rem, 9vw, 8rem) auto clamp(4rem, 7vw, 6rem);
  padding: clamp(2.6rem, 5vw, 4rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(134, 105, 254, 0.1), transparent 60%),
    var(--panel);
}

.final p {
  margin-top: 0.4rem;
  color: var(--soft);
  font-size: 1rem;
  max-width: 520px;
}

@media (max-width: 720px) {
  .final {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 540px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
