:root {
  --ink: #101623;
  --muted: #6d747f;
  --soft: #f4f4f5;
  --line: #e8e8ed;
  --red: #ff5353;
  --blue: #5f74e8;
  --green: #84cc2f;
  --orange: #ff9b32;
  --pink: #f5a1ae;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 500;
}

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

button,
input {
  font: inherit;
}

strong,
b {
  font-weight: 500;
}

h1,
h2,
h3,
p,
a,
span,
small,
button,
input {
  font-weight: 500;
}

h1,
h2,
h3,
.button,
button,
.brand {
  font-weight: 700;
}

.page-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 24px clamp(18px, 7vw, 120px);
}

.top-nav,
.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 56px;
  padding: 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  letter-spacing: -1px;
  line-height: 1;
}

.logo-mark {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: flex-end;
  justify-content: center;
  border-radius: 11px;
  background: var(--ink);
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--pink);
}

.logo-mark svg {
  width: 24px;
  height: 31px;
  transform: translateY(2px);
}

.logo-mark path {
  fill: #fff;
}

.logo-small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.logo-small svg {
  width: 21px;
  height: 27px;
}

.top-nav .button {
  margin-left: auto;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(16 22 35 / 12%);
}

.button-small {
  min-height: 34px;
  padding: 9px 18px;
  font-size: 13px;
}

.button-dark {
  background: #0f1115;
  color: #fff;
}

.button-red {
  background: var(--red);
  color: #fff;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 46px;
  min-height: 540px;
  margin-top: 18px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #eceef3;
  border-radius: 999px;
  background: #f7f7fa;
  color: #30343b;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.pill-dark {
  border: 0;
  background: #1c212b;
  color: #c6cbd5;
}

.pill-white {
  border: 0;
  background: #fff;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.red,
.red-bg {
  background: var(--red);
}

.blue,
.blue-bg {
  background: var(--blue);
}

.green,
.green-bg {
  background: var(--green);
}

.orange {
  background: var(--orange);
}

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

h1 {
  max-width: 560px;
  font-size: clamp(48px, 6vw, 68px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 450px;
  color: #5f6672;
  font-size: 17px;
  line-height: 1.45;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.waitlist-form input {
  width: min(300px, 52vw);
  min-height: 48px;
  border: 1px solid #e4e6ec;
  border-radius: 999px;
  background: #f7f7fa;
  color: var(--ink);
  padding: 0 20px;
  outline: none;
}

.waitlist-form input::placeholder {
  color: #9299a3;
}

.waitlist-form input:focus {
  border-color: var(--red);
}

.caption,
.cta-section > span {
  color: #7c828c;
  font-size: 13px;
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(280px, 100%);
  padding: 10px;
  border-radius: 42px;
  background: var(--ink);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 365px;
  padding: 16px;
  border-radius: 34px;
  background: var(--soft);
}

.status-row,
.app-title {
  display: flex;
  align-items: center;
}

.status-row {
  justify-content: space-between;
  padding: 4px 4px 0;
  font-size: 12px;
}

.camera-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}

.app-title {
  gap: 10px;
  font-size: 20px;
}

.reminder-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reminder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #eceef3;
  border-radius: 16px;
  background: #fff;
}

.reminder div {
  display: grid;
  gap: 2px;
}

.reminder strong {
  font-size: 14px;
  line-height: 1;
}

.reminder small {
  color: #8a919c;
  font-size: 11px;
}

.ecosystem,
.features,
.cta-section {
  margin-top: 24px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px 0 10px;
  text-align: center;
}

.section-heading span {
  color: #7c828c;
  font-size: 12px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1;
}

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

.android-card,
.web-card,
.extension-card,
.store-card,
.features article,
.cta-section {
  border-radius: 28px;
}

.android-card {
  display: flex;
  min-height: 503px;
  flex-direction: column;
  gap: 30px;
  padding: 32px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.android-card h3,
.web-card h3,
.extension-card h3 {
  margin-top: 14px;
  font-size: 34px;
  line-height: 1.02;
}

.android-card p,
.web-card p,
.extension-card p {
  margin-top: 12px;
  color: #9ba1ad;
  font-size: 15px;
  line-height: 1.45;
}

.mini-phone-wrap {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  border-radius: 28px;
  background: #181d27;
  padding: 70px 24px 0;
  overflow: hidden;
}

.mini-phone {
  display: grid;
  width: 220px;
  min-height: 275px;
  gap: 8px;
  align-content: start;
  padding: 20px 14px 0;
  border: 8px solid #0c1017;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  background: var(--soft);
  color: var(--ink);
}

.mini-phone strong {
  font-size: 14px;
  font-weight: 700;
}

.mini-phone span,
.browser-main span {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 12px;
}

.mini-phone i,
.browser-main i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.mini-phone span:nth-of-type(2) i {
  background: var(--blue);
}

.mini-phone span:nth-of-type(3) i {
  background: var(--orange);
}

.mini-phone span:nth-of-type(4) i {
  background: var(--green);
}

.side-stack {
  display: grid;
  gap: 24px;
}

.web-card,
.extension-card,
.features article {
  border: 1px solid var(--line);
  background: #fff;
}

.web-card {
  padding: 28px;
}

.card-head,
.extension-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.web-card h3,
.extension-card h3 {
  margin-top: 0;
  font-size: 28px;
}

.web-card p,
.extension-card p {
  margin-top: 4px;
  line-height: 1;
}

.browser-ui {
  margin-top: 28px;
  border: 1px solid #eceef3;
  border-radius: 16px;
  background: #f7f7fa;
  overflow: hidden;
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #eceef3;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.browser-top span:nth-child(1) {
  background: var(--red);
}

.browser-top span:nth-child(2) {
  background: var(--orange);
}

.browser-top span:nth-child(3) {
  background: var(--green);
}

.browser-top b {
  flex: 1;
  margin-left: 12px;
  border-radius: 999px;
  background: #eceef3;
  color: #9299a3;
  padding: 7px 14px;
  font-size: 11px;
}

.browser-body {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.browser-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.browser-side i {
  height: 24px;
  border-radius: 8px;
  background: #e7e9ee;
}

.browser-side i:first-child {
  background: var(--ink);
}

.browser-side i:last-child {
  width: 70%;
}

.browser-main {
  display: grid;
  gap: 10px;
}

.extension-card {
  min-height: 190px;
  padding: 28px;
}

.extension-popup {
  display: grid;
  width: 180px;
  gap: 10px;
  border: 1px solid #eceef3;
  border-radius: 16px;
  background: #f7f7fa;
  padding: 14px;
}

.extension-popup strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ink);
}

.popup-field {
  border: 1px solid #eceef3;
  border-radius: 8px;
  background: #fff;
  color: #9299a3;
  padding: 9px 10px;
  font-size: 11px;
}

.extension-popup button {
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  padding: 9px;
  cursor: pointer;
}

.store-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: #fff;
}

.play-card {
  background: var(--blue);
}

.app-card {
  background: var(--ink);
}

.store-card small {
  display: block;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
}

.store-card strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

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

.features article {
  min-height: 215px;
  padding: 32px;
}

.feature-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 28px;
}

.features h3 {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1;
}

.features p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.cta-section {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 72px 32px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(38px, 5vw, 52px);
  line-height: .98;
}

.cta-section p {
  color: #9ba1ad;
  font-size: 18px;
}

.cta-section input {
  border: 0;
  background: #1c212b;
}

.footer {
  padding-top: 28px;
  padding-bottom: 16px;
}

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

.footer .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}

.footer a,
.footer small {
  color: #6d747f;
  font-size: 14px;
}

.footer small {
  color: #9299a3;
  white-space: nowrap;
}

.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: 900px) {
  .hero-section,
  .ecosystem-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

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

  .ecosystem-grid {
    gap: 18px;
  }

  .android-card {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 20px;
  }

  .top-nav,
  .footer,
  .footer nav,
  .card-head,
  .extension-card,
  .waitlist-form {
    align-items: stretch;
    flex-direction: column;
  }

  .top-nav {
    align-items: center;
    flex-direction: row;
  }

  .brand {
    font-size: 22px;
  }

  .top-nav .button {
    margin-left: auto;
  }

  .hero-section,
  .android-card,
  .web-card,
  .extension-card,
  .store-card,
  .features article,
  .cta-section {
    border-radius: 24px;
  }

  .hero-section {
    padding: 24px;
    gap: 24px;
  }

  h1 {
    max-width: 320px;
    font-size: 40px;
    line-height: .98;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-copy p {
    max-width: 300px;
    font-size: 15px;
  }

  .waitlist-form {
    width: 100%;
  }

  .waitlist-form input,
  .waitlist-form button {
    width: 100%;
  }

  .phone-frame {
    width: 260px;
    border-radius: 40px;
  }

  .browser-body {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .browser-side {
    display: grid;
  }

  .android-card,
  .web-card,
  .extension-card,
  .store-card,
  .features article {
    padding: 24px;
  }

  .android-card {
    min-height: auto;
    gap: 24px;
  }

  .android-card h3 {
    font-size: 30px;
  }

  .mini-phone-wrap {
    padding-top: 32px;
  }

  .mini-phone {
    width: 200px;
    min-height: 240px;
  }

  .web-card .pill {
    padding: 7px 12px;
    font-size: 10px;
  }

  .web-badge .desktop-label {
    display: none;
  }

  .store-card {
    min-height: 140px;
  }

  .features {
    padding-top: 16px;
    gap: 16px;
  }

  .features article {
    min-height: auto;
  }

  .cta-section {
    padding: 48px 24px;
    gap: 18px;
  }

  .cta-section h2 {
    max-width: 280px;
    font-size: 34px;
    line-height: 1;
  }

  .extension-popup {
    width: 100%;
  }

  .footer {
    text-align: center;
  }

  .footer .brand,
  .footer nav {
    justify-content: center;
  }
}
