* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --text: #16181d;
  --muted: #6f7480;
  --line: #e6e8ee;
  --accent: #6d5dfc;
  --accent-dark: #5847f1;
  --accent-soft: #ece9ff;
  --shadow: 0 24px 70px rgba(27, 30, 45, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 232, 238, 0.8);
  background: rgba(247, 248, 251, 0.84);
  backdrop-filter: blur(16px);
}

.nav-inner {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(109, 93, 252, 0.28);
}

.nav-button {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(109, 93, 252, 0.13);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
}

.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(109, 93, 252, 0.25);
}

.primary:hover {
  background: var(--accent-dark);
}

.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}

.microcopy {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  right: -120px;
  top: 20px;
  background: radial-gradient(circle, rgba(109, 93, 252, .18), transparent 68%);
}

.hero-glow-two {
  width: 430px;
  height: 430px;
  left: -220px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(91, 190, 255, .14), transparent 70%);
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(380px, 100%);
  padding: 12px;
  border-radius: 48px;
  background: #1c1d22;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-top {
  width: 112px;
  height: 26px;
  margin: -1px auto 6px;
  background: #1c1d22;
  border-radius: 0 0 20px 20px;
}

.phone-screen {
  min-height: 650px;
  padding: 32px 22px 22px;
  border-radius: 38px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f4f8 100%);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.tiny {
  color: #9296a2;
  font-size: 12px;
}

.app-title {
  max-width: 230px;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  background: var(--accent);
  font-weight: 800;
}

.memory-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #ececf1;
  border-radius: 19px;
  background: white;
  box-shadow: 0 9px 24px rgba(25, 28, 38, 0.05);
}

.memory-card.muted {
  opacity: 0.78;
}

.memory-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 22px;
}

.memory-title {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
}

.memory-body {
  color: #727783;
  font-size: 12px;
  line-height: 1.45;
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  color: #8d929c;
  background: white;
  border: 1px solid #e7e8ed;
  font-size: 13px;
}

.composer button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--accent);
  font-size: 23px;
  cursor: pointer;
}

.section {
  padding: 100px 0;
}

.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.signup-card h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-heading p,
.signup-card p {
  color: var(--muted);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.step-number {
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.card h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.card p,
.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.features {
  display: grid;
  gap: 14px;
}

.feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: white;
  font-size: 25px;
}

.quote-section {
  padding-bottom: 30px;
}

.quote-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 54px;
  border-radius: 30px;
  background: #17181d;
  color: #fff;
  box-shadow: var(--shadow);
}

.quote-mark {
  color: #9c91ff;
  font-size: 70px;
  line-height: .8;
}

blockquote {
  margin: 18px 0 22px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.quote-result {
  margin: 0;
  color: #b8bbc4;
}

.signup-section {
  padding-bottom: 110px;
}

.signup-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
}

.signup-form {
  display: grid;
  gap: 10px;
}

.signup-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dadde5;
  border-radius: 14px;
  outline: none;
  background: var(--bg);
}

.signup-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 93, 252, .1);
}

.signup-form button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.form-message {
  min-height: 22px;
  color: var(--accent-dark);
  font-size: 13px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 850px) {
  .hero {
    padding-top: 60px;
  }

  .hero-grid,
  .feature-grid,
  .signup-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 55px;
  }

  .hero-copy {
    text-align: center;
  }

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

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

  .feature-grid {
    gap: 45px;
  }

  .section-heading.left {
    text-align: center;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .signup-card {
    padding: 34px;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    height: 66px;
  }

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

  h1 {
    font-size: 52px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phone {
    transform: none;
  }

  .phone-screen {
    min-height: 580px;
  }

  .section {
    padding: 76px 0;
  }

  .quote-card {
    padding: 34px 26px;
  }

  .signup-card {
    padding: 30px 22px;
  }

  .footer-inner {
    padding: 24px 0;
    gap: 20px;
    flex-direction: column;
  }
}


.signup-flow {
  display: grid;
  gap: 12px;
}

.feedback-form {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.feedback-intro {
  margin-bottom: 8px;
}

.feedback-success {
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
}

.feedback-question {
  color: var(--muted);
  font-size: 14px;
}

.feedback-form label {
  font-weight: 700;
  font-size: 14px;
}

.feedback-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  padding: 14px 16px;
  border: 1px solid #dadde5;
  border-radius: 14px;
  outline: none;
  background: white;
}

.feedback-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 93, 252, .1);
}
