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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;

  --text: #0f172a;
  --text-light: #64748b;

  --background: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;

  --success: #166534;
  --error: #991b1b;

  --shadow-small: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-medium: 0 15px 40px rgba(15, 23, 42, 0.08);
  --shadow-large: 0 24px 70px rgba(15, 23, 42, 0.08);

  --content-width: 1300px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.14),
      transparent 35%
    ),
    linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a,
button,
summary,
input {
  -webkit-tap-highlight-color: transparent;
}

a {
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

/* Navigation */

.nav {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 24px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: max-content;

  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 50px;
  height: 50px;

  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.brand span {
  color: var(--text);

  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-links a {
  position: relative;

  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;

  transition:
    color 160ms ease,
    transform 160ms ease;
}

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

.nav-button {
  min-width: max-content;
  padding: 12px 22px;

  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;

  background: var(--card);
  color: var(--blue);

  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;

  width: 46px;
  height: 46px;
  padding: 0;

  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;

  background: var(--card);
  color: var(--text);

  cursor: pointer;

  box-shadow: var(--shadow-small);
}

.mobile-menu-button span {
  display: block;

  width: 20px;
  height: 2px;
  margin: 4px auto;

  border-radius: 999px;

  background: currentColor;

  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;

  visibility: hidden;
  pointer-events: none;

  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  opacity: 0;

  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.mobile-menu-overlay.is-visible {
  visibility: visible;
  pointer-events: auto;

  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;

  width: min(360px, 86vw);
  height: 100dvh;
  padding: 26px;

  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: none;

  border-left: 1px solid rgba(226, 232, 240, 0.9);

  background: rgba(255, 255, 255, 0.98);

  box-shadow: -24px 0 70px rgba(15, 23, 42, 0.18);

  transform: translateX(105%);

  transition: transform 240ms ease;
}

.mobile-menu.is-open {
  pointer-events: auto;

  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 22px;

  border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
  font-size: 20px;
  font-weight: 800;
}

.mobile-menu-close {
  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 12px;

  background: var(--background);
  color: var(--text);

  cursor: pointer;

  font-size: 30px;
  line-height: 1;
}

.mobile-menu-close:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;

  margin-top: 28px;
}

.mobile-menu-links a {
  padding: 18px 4px;

  border-bottom: 1px solid var(--border);

  color: var(--text);

  font-size: 20px;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 160ms ease,
    padding-left 160ms ease;
}

.mobile-menu-links a:hover {
  padding-left: 8px;

  color: var(--blue);
}

.mobile-menu-waitlist {
  margin-top: auto;
  padding: 16px 20px;

  border-radius: 16px;

  background: var(--blue);
  color: #ffffff;

  text-align: center;
  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.mobile-menu-waitlist:hover {
  background: var(--blue-dark);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Hero */

.hero {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 80px 40px;

  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-visual {
  position: relative;

  min-width: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  isolation: isolate;
}

.hero-visual::before {
  content: "";

  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.18),
    transparent 68%
  );

  z-index: -1;
  pointer-events: none;
}

.badge {
  display: inline-block;

  padding: 10px 18px;
  margin-bottom: 24px;

  border-radius: 999px;

  background: var(--blue-light);
  color: var(--blue-dark);

  font-weight: 700;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 28px;

  font-size: clamp(52px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;

  overflow-wrap: break-word;
}

.hero-text {
  max-width: 760px;
  margin-bottom: 36px;

  color: var(--text-light);

  font-size: 22px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 18px 30px;

  border-radius: 18px;

  text-decoration: none;
  font-weight: 700;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.primary-button {
  background: var(--blue);
  color: #ffffff;

  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.3);
}

.secondary-button {
  border: 1px solid var(--border);

  background: var(--card);
  color: var(--text);
}

.secondary-button:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: var(--shadow-small);
}

.trust-row {
  margin-top: 36px;

  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row span {
  padding: 10px 14px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--card);
  color: var(--text-light);

  font-size: 14px;
}

/* Phone */

.phone-frame {
  position: relative;

  width: min(320px, 100%);
  margin: auto;
  padding: 8px;

  border-radius: 48px;

  background: linear-gradient(180deg, #111827 0%, #020617 100%);

  box-shadow:
    0 42px 90px rgba(15, 23, 42, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;

  width: 72px;
  height: 7px;

  transform: translateX(-50%);

  border-radius: 999px;

  background: rgba(15, 23, 42, 0.42);
}

.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;

  overflow: hidden;

  border-radius: 40px;

  background: #ffffff;
  line-height: 0;
}

.hero-app-image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;
}

/* Sections */

.section {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 110px 40px;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 60px;

  text-align: center;
}

.section-header h2 {
  margin: 14px 0 20px;

  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.05em;

  overflow-wrap: break-word;
}

.section-header p {
  color: var(--text-light);

  font-size: 20px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--blue);

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cards */

.problem-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card,
.feature-card,
.target-card {
  min-width: 0;
  padding: 32px;

  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 28px;

  background: var(--card);

  box-shadow: var(--shadow-medium);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.info-card:hover,
.feature-card:hover,
.target-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.11);
}

.card-icon {
  margin-bottom: 18px;

  font-size: 36px;
  line-height: 1;
}

.feature-number {
  color: var(--blue);

  font-weight: 800;
}

.feature-card h3,
.info-card h3,
.target-card h3 {
  margin: 16px 0;

  font-size: 21px;
  line-height: 1.25;
}

.feature-card p,
.info-card p,
.target-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.target-card ul {
  margin-top: 20px;
  padding-left: 20px;
}

.target-card li {
  margin-bottom: 10px;
  line-height: 1.55;
}

.target-card li::marker {
  color: var(--blue);
}

.highlighted {
  border: 2px solid rgba(37, 99, 235, 0.18);
}

/* Value */

.value-box {
  padding: 50px;

  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 36px;

  background: var(--card);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.value-box h2 {
  margin-top: 14px;

  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.value-list {
  margin-top: 40px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-list > div {
  min-width: 0;
}

.value-list strong {
  display: inline-block;
  margin-bottom: 12px;

  color: var(--blue);

  font-size: 26px;
}

.value-list p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Waitlist */

.waitlist-box {
  width: 100%;
  padding: 0;

  border-radius: 36px;

  background: transparent;
  color: var(--text);

  text-align: center;
}

.waitlist-box p {
  line-height: 1.8;
}

.light {
  color: var(--blue);
}

/* Brevo-Formular */

.waitlist-box .sib-form {
  width: 100%;

  padding: 0 !important;

  background: transparent !important;
}

.waitlist-box #sib-form-container {
  width: 100%;
  max-width: 100% !important;
}

.waitlist-box #sib-container {
  width: min(540px, 100%);
  max-width: 540px !important;
  margin: 0 auto !important;
  padding: 24px !important;

  border-color: var(--border) !important;
  border-radius: 24px !important;

  box-shadow: var(--shadow-medium);
}

.waitlist-box .sib-form-block {
  max-width: 100%;
}

.waitlist-box .entry__field {
  width: 100%;
}

.waitlist-box .entry__field .input {
  width: 100%;
  min-height: 50px;
}

.waitlist-box .sib-form-block__button {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px !important;

  cursor: pointer;

  background-color: var(--blue) !important;

  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.waitlist-box .sib-form-block__button:hover {
  transform: translateY(-1px);

  background-color: var(--blue-dark) !important;

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.waitlist-box .entry__choice > label {
  align-items: flex-start;
}

.waitlist-box .entry__choice a {
  overflow-wrap: anywhere;
}

.waitlist-box .sib-form-message-panel {
  width: min(540px, 100%);
  margin-right: auto !important;
  margin-left: auto !important;
}

.success-message {
  display: none;
  margin-top: 10px;

  color: var(--success);
}

/* FAQ */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  margin-bottom: 16px;
  padding: 24px;

  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 20px;

  background: var(--card);

  box-shadow: var(--shadow-small);
}

.faq-list summary {
  position: relative;

  padding-right: 32px;

  cursor: pointer;

  font-weight: 700;
  line-height: 1.45;

  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";

  position: absolute;
  top: 50%;
  right: 0;

  color: var(--blue);

  font-size: 24px;
  font-weight: 500;
  line-height: 1;

  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin-top: 14px;

  color: var(--text-light);

  line-height: 1.7;
}

.faq-list a {
  color: var(--blue);
}

/* Footer */

.footer {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 40px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-left {
  min-width: 0;
}

.footer-brand {
  color: var(--text);

  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.footer p {
  margin-top: 10px;

  color: var(--text-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

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

  font-weight: 600;
  text-decoration: none;

  transition: color 160ms ease;
}

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

/* Legal Pages */

.legal-page {
  width: 100%;
  max-width: 920px;
  margin: 70px auto 140px;
  padding: 0 32px;
}

.legal-card {
  padding: 56px;

  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 34px;

  background: rgba(255, 255, 255, 0.94);

  box-shadow: var(--shadow-large);
}

.legal-page h1 {
  margin-bottom: 34px;

  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.06em;

  overflow-wrap: break-word;
}

.legal-page h2 {
  margin: 42px 0 14px;

  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.legal-page p {
  margin-bottom: 18px;

  color: var(--text-light);

  font-size: 17px;
  line-height: 1.8;

  overflow-wrap: anywhere;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 20px;
  padding-left: 24px;

  color: var(--text-light);

  font-size: 17px;
  line-height: 1.8;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a:not(.back-link) {
  color: var(--blue);

  overflow-wrap: anywhere;
}

.legal-page strong {
  color: var(--text);
}

.legal-note {
  margin-top: 46px;
  padding: 20px 22px;

  border: 1px solid #bfdbfe;
  border-radius: 18px;

  background: #eff6ff;
  color: #1d4ed8 !important;
}

.back-link {
  display: inline-flex;
  align-items: center;

  margin-bottom: 26px;

  color: var(--blue);

  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Tablet */

@media (max-width: 1000px) {
  .hero,
  .problem-grid,
  .features-grid,
  .target-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .hero {
    display: block;

    text-align: center;
  }

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 60px;
  }

  .phone-frame {
    width: min(320px, 100%);
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .value-list {
    gap: 30px;
  }

  .footer {
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Small tablet and mobile */

@media (max-width: 700px) {
  .nav {
    padding: 20px;
  }

  .section,
  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .phone-frame {
    width: min(300px, 100%);
    padding: 7px;

    border-radius: 44px;
  }

  .phone-screen {
    border-radius: 36px;
  }

  .legal-card {
    padding: 34px 24px;

    border-radius: 26px;
  }

  .legal-page {
    margin-top: 40px;
    padding: 0 20px;
  }

  .waitlist-box #sib-container {
    padding: 20px 16px !important;
  }
}

/* Mobile */

@media (max-width: 520px) {
  .nav {
    gap: 16px;
    padding: 18px 20px;
  }

  .nav-button {
   display: none;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;

    border-radius: 12px;
  }

  .mobile-menu {
    width: min(340px, 88vw);
    padding: 22px;
  }

  .brand span {
    font-size: 22px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .badge {
    padding: 9px 14px;
    margin-bottom: 18px;

    font-size: 13px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.02;
    letter-spacing: -0.05em;
  }

  .hero-text {
    margin-bottom: 30px;

    font-size: 18px;
    line-height: 1.6;
  }

  .hero-actions {
    justify-content: center;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    padding: 16px 22px;

    text-align: center;
  }

  .trust-row {
    justify-content: center;

    margin-top: 28px;
  }

  .trust-row span {
    font-size: 13px;
  }

  .hero-visual {
    margin-top: 32px;
  }

  .hero-visual::before {
    width: 300px;
    height: 300px;
  }

  .phone-frame {
    width: min(270px, 100%);
    padding: 7px;

    border-radius: 42px;
  }

  .phone-screen {
    border-radius: 34px;
  }

  .phone-speaker {
    top: 15px;

    width: 62px;
    height: 6px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .section-header h2 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .section-header p {
    font-size: 17px;
    line-height: 1.6;
  }

  .problem-grid,
  .features-grid,
  .target-grid,
  .value-list {
    gap: 18px;
  }

  .info-card,
  .feature-card,
  .target-card {
    padding: 26px;

    border-radius: 24px;
  }

  .value-box {
    padding: 34px 24px;

    border-radius: 28px;
  }

  .value-box h2 {
    font-size: 34px;
  }

  .waitlist-box {
    padding: 0;

    border-radius: 28px;
  }

  .waitlist-box #sib-container {
    padding: 18px 12px !important;

    border-radius: 20px !important;
  }

  .waitlist-box .sib-form-block {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }

  .waitlist-box .sib-form-block p {
    overflow-wrap: break-word;
  }

  .waitlist-box .sib-form-block__button {
    padding-right: 12px !important;
    padding-left: 12px !important;

    white-space: normal;
  }

  .faq-list details {
    padding: 20px;

    border-radius: 18px;
  }

  .legal-page h1 {
    font-size: 40px;
    line-height: 1.05;
  }

  .legal-page h2 {
    font-size: 23px;
  }

  .footer {
    padding: 44px 20px;
  }
}

/* Very small screens */

@media (max-width: 380px) {
  .nav {
    gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav-actions {
    gap: 8px;
  }

  .mobile-menu-button {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-button span {
    width: 18px;
    margin: 3px auto;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 20px;
  }

  .nav-button {
    padding: 9px 12px;

    font-size: 13px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-header h2 {
    font-size: 29px;
  }

  .phone-frame {
    width: min(260px, 100%);
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}