:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #65706d;
  --soft: #f5f7f6;
  --line: rgba(45, 74, 67, 0.12);
  --primary: #2d4a43;
  --secondary: #8bbab4;
  --accent: #f9b293;
  --success: #4caf50;
  --blue: #3b82f6;
  --yellow: #fde047;
  --shadow: 0 30px 80px rgba(23, 33, 31, 0.14);
  --radius: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 60px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(24px) saturate(170%);
}

.brand,
.nav-links,
.hero-actions,
.site-footer,
.pro-section,
.download-section,
.brain-demo,
.product-section {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

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

.nav-links {
  gap: 28px;
  color: rgba(23, 33, 31, 0.68);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a,
.header-cta,
.button {
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta {
  padding: 0 18px;
  color: #ffffff;
  background: var(--primary);
}

.button {
  min-width: 162px;
  padding: 0 24px;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 34px rgba(45, 74, 67, 0.22);
}

.button.secondary {
  color: var(--primary);
  background: rgba(45, 74, 67, 0.08);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: min(780px, calc(100vh - 136px));
  margin: 0 auto;
  padding: clamp(30px, 5vh, 58px) 0 42px;
}

.hero-copy {
  padding-bottom: 20px;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.product-copy h2,
.pro-section h2,
.download-section h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.94;
  font-weight: 800;
}

.hero-copy p {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.28;
  font-weight: 500;
}

.hero-actions {
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  inset: 42px 0 10px;
  content: "";
  background:
    radial-gradient(circle at 48% 22%, rgba(139, 186, 180, 0.56), transparent 28%),
    radial-gradient(circle at 58% 68%, rgba(249, 178, 147, 0.42), transparent 33%),
    linear-gradient(180deg, rgba(245, 247, 246, 0), rgba(245, 247, 246, 0.9));
  filter: blur(18px);
}

.phone-shell {
  position: relative;
  z-index: 1;
  width: min(390px, 76vw);
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(145deg, #26312e, #0d1211);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: rotate(-3deg);
}

.phone-screen {
  aspect-ratio: 1179 / 2556;
  padding: 0;
  overflow: hidden;
  border-radius: 38px;
  background: #ffffff;
}

.app-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.note-input,
.organized-output,
.flow-grid article,
.mini-screen {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(23, 33, 31, 0.07);
  backdrop-filter: blur(18px);
}

.organized-output small,
.mini-screen small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.organized-output strong {
  display: block;
  font-size: 15px;
}

.floating-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 190px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 55px rgba(23, 33, 31, 0.13);
  backdrop-filter: blur(24px) saturate(180%);
}

.floating-panel span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.floating-panel strong {
  font-size: 15px;
}

.panel-one {
  top: 170px;
  left: -8%;
}

.panel-two {
  right: 1%;
  bottom: 132px;
}

.feature-band,
.flow-section,
.product-section,
.pro-section,
.download-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: 78px 0 96px;
}

.section-copy h2,
.section-heading h2,
.product-copy h2,
.pro-section h2,
.download-section h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  font-weight: 800;
}

.section-copy p,
.section-heading p,
.product-copy p,
.pro-section p,
.download-section p,
.flow-grid p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
}

.brain-demo {
  position: relative;
  align-items: stretch;
  gap: 18px;
  min-height: 420px;
  padding: 22px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(232, 242, 240, 0.9), rgba(255, 248, 241, 0.92));
}

.note-input,
.organized-output {
  flex: 1;
  padding: 22px;
  border-radius: 28px;
}

.note-input span,
.step-number {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-input p {
  margin: 22px 0 0;
  color: rgba(23, 33, 31, 0.78);
  font-size: 24px;
  line-height: 1.26;
  font-weight: 700;
}

.conversion-line {
  align-self: center;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.organized-output {
  display: grid;
  gap: 14px;
}

.organized-output article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(232, 242, 240, 0.82);
}

.flow-section {
  padding: 96px 0;
}

.section-heading {
  max-width: 800px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.flow-grid article {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
}

.flow-grid h3 {
  margin: 72px 0 10px;
  font-size: 24px;
}

.flow-grid p {
  margin: 0;
  font-size: 16px;
}

.product-section {
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.product-copy {
  flex: 0.84;
}

.product-rail {
  flex: 1.16;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mini-screen {
  min-height: 320px;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff, #f8faf9);
}

.mini-screen > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-screen strong {
  display: block;
  margin-top: 24px;
  font-size: 36px;
  line-height: 1;
}

.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 132px;
  margin-top: 44px;
}

.bars i {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.calendar-block {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  color: #ffffff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.calendar-block.muted {
  background: var(--secondary);
}

.calendar-block.accent {
  color: var(--ink);
  background: var(--accent);
}

.mini-screen.pro {
  color: #ffffff;
  background: linear-gradient(180deg, #2d4a43, #17211f);
}

.mini-screen.pro span,
.mini-screen.pro small {
  color: rgba(255, 255, 255, 0.72);
}

.mini-screen.pro strong {
  font-size: 27px;
  line-height: 1.08;
}

.pro-section {
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 28px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 42px;
  background: linear-gradient(135deg, #f2faf8, #fff5ef);
}

.pro-section > div {
  max-width: 650px;
}

.pro-list {
  display: grid;
  gap: 12px;
  min-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-list li {
  padding: 15px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.download-section {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  padding: 132px 0 110px;
}

.download-section img {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(45, 74, 67, 0.18);
}

.download-section p {
  max-width: 620px;
  margin: 22px auto 32px;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 60px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(22px) saturate(160%);
}

.form-row {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-row label span {
  color: var(--muted);
  font-weight: 600;
}

.form-row input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(45, 74, 67, 0.14);
  border-radius: 16px;
  background: rgba(248, 249, 250, 0.86);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 0 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-row input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(45, 74, 67, 0.1);
}

.form-row input[aria-invalid="true"] {
  border-color: rgba(195, 49, 38, 0.58);
  box-shadow: 0 0 0 4px rgba(195, 49, 38, 0.08);
}

.waitlist-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.waitlist-form .button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.waitlist-form .form-status {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.waitlist-form .form-status:empty {
  display: none;
}

.form-status.success {
  color: var(--primary);
}

.form-status.error {
  color: #c33126;
}

.site-footer {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  color: var(--primary);
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links a[aria-current="page"] {
  color: var(--ink);
}

.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 90px;
}

.seo-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 90px;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.seo-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.seo-article {
  margin-top: clamp(54px, 8vw, 94px);
}

.seo-kicker {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-article h1 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.seo-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.36;
  font-weight: 600;
}

.seo-article section {
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.seo-article section:first-of-type {
  margin-top: 58px;
}

.seo-article h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.seo-article p,
.seo-article li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.seo-article a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-article p {
  margin: 0;
}

.seo-article ul,
.seo-article ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.seo-cta {
  padding: 34px !important;
  border: 0 !important;
  border-radius: 34px;
  background: linear-gradient(135deg, #f2faf8, #fff5ef);
}

.seo-cta .button {
  margin-top: 24px;
}

.legal-article section {
  scroll-margin-top: 110px;
}

.support-contact {
  padding: 34px !important;
  border: 0 !important;
  border-radius: 34px;
  background: linear-gradient(135deg, #f2faf8, #fff5ef);
}

.support-contact .button {
  width: fit-content;
  margin-top: 24px;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .phone-shell {
    animation: floatPhone 7s ease-in-out infinite;
  }

  .floating-panel {
    animation: floatPanel 6s ease-in-out infinite;
  }

  .panel-two {
    animation-delay: -2s;
  }
}

@keyframes floatPhone {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-12px);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 920px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .feature-band,
  .product-section,
  .pro-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 590px;
  }

  .feature-band,
  .product-section {
    display: grid;
  }

  .flow-grid,
  .product-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-section {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    margin-top: 10px;
  }

  .brand span {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero,
  .feature-band,
  .flow-section,
  .product-section,
  .pro-section,
  .download-section,
  .site-footer {
    width: calc(100% - 28px);
  }

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

  .hero-copy p {
    font-size: 20px;
  }

  .hero-actions,
  .brain-demo,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .waitlist-form {
    padding: 18px 18px 14px;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 510px;
  }

  .phone-shell {
    width: min(340px, 92vw);
    transform: none;
  }

  .phone-screen {
    min-height: auto;
  }

  .floating-panel {
    display: none;
  }

  .conversion-line {
    width: 2px;
    height: 38px;
  }

  .flow-grid,
  .product-rail {
    grid-template-columns: 1fr;
  }

  .flow-grid article {
    min-height: 210px;
  }

  .section-copy h2,
  .section-heading h2,
  .product-copy h2,
  .pro-section h2,
  .download-section h2 {
    font-size: 40px;
  }

  .pro-section {
    padding: 30px 20px;
    border-radius: 30px;
  }

  .download-section {
    padding-top: 64px;
    padding-bottom: 54px;
  }

  .pro-list {
    min-width: 0;
  }
}
