:root {
  --ink: #202124;
  --muted: #6e737a;
  --soft: #f7f1e8;
  --paper: rgba(255, 255, 255, 0.78);
  --green: #08bd78;
  --green-dark: #057b56;
  --coral: #ff7e8c;
  --gold: #ffd36f;
  --blue: #8cc7ff;
  --line: rgba(36, 42, 47, 0.1);
  --shadow: 0 24px 70px rgba(42, 35, 28, 0.14);
  --font-display: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
  --font-body: "Nunito Sans", "Avenir Next", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 126, 140, 0.26), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(140, 199, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #fff9ef 0%, #f9efe9 42%, #eef8f4 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 34px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(39, 31, 25, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.brand img,
.site-footer img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(255, 126, 140, 0.22);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

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

.header-cta,
.primary-button,
.secondary-button,
.early-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.header-cta {
  padding: 12px 18px;
  color: white;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(8, 189, 120, 0.25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: center;
  min-height: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.9;
}

h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
}

.hero-lead,
.showcase-copy p,
.early-copy p {
  max-width: 590px;
  color: #555c62;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button {
  min-width: 210px;
  min-height: 66px;
  flex-direction: column;
  color: white;
  background: #111827;
  box-shadow: var(--shadow);
}

.android-button {
  background: linear-gradient(135deg, #08bd78 0%, #0a8f63 100%);
  box-shadow: 0 18px 36px rgba(8, 189, 120, 0.26);
}

.primary-button small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
}

.secondary-button {
  min-height: 66px;
  padding: 0 26px;
  color: var(--green-dark);
  border: 1px solid rgba(8, 189, 120, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  color: #566067;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 260px;
  height: 260px;
  top: 30px;
  right: 20px;
  background: rgba(255, 211, 111, 0.62);
}

.orb-two {
  width: 340px;
  height: 340px;
  right: 130px;
  bottom: 46px;
  background: rgba(255, 126, 140, 0.22);
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone {
  position: absolute;
  width: min(330px, 58vw);
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(29, 29, 32, 0.2);
}

.phone-main {
  right: 82px;
  top: 18px;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-side {
  right: 0;
  top: 150px;
  z-index: 1;
  opacity: 0.88;
  transform: rotate(-10deg) scale(0.86);
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(42, 35, 28, 0.14);
  backdrop-filter: blur(18px);
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.floating-card strong {
  color: var(--green-dark);
  font-size: 22px;
}

.card-income {
  top: 110px;
  left: 18px;
}

.card-saving {
  right: 20px;
  bottom: 92px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 52px 0;
}

.feature-strip article,
.showcase,
.early-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.feature-strip article {
  min-height: 250px;
  padding: 26px;
  border-radius: 34px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 36px;
  color: var(--green-dark);
  font-weight: 900;
  border-radius: 18px;
  background: rgba(8, 189, 120, 0.1);
}

.feature-strip h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.feature-strip p {
  color: var(--muted);
  line-height: 1.6;
}

.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  margin: 74px 0;
  padding: 44px;
  border-radius: 44px;
}

.device-gallery {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 20px;
  align-items: center;
}

.device-gallery img {
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(31, 35, 39, 0.18);
}

.early-card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 36px;
  margin: 76px 0;
  padding: 46px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 0% 0%, rgba(8, 189, 120, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 239, 0.88));
}

.early-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.early-copy li {
  padding-left: 28px;
  color: #454d54;
  font-weight: 800;
  line-height: 1.5;
  background:
    radial-gradient(circle at 7px 12px, var(--green) 0 5px, transparent 6px)
    no-repeat;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  color: var(--green-dark);
  font-weight: 900;
}

.text-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 14px;
}

.program-card {
  display: grid;
  gap: 16px;
}

.program-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.program-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #697179;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  background: transparent;
}

.program-tab.active {
  color: white;
  background: #111827;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.early-form {
  display: none;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
}

.early-form.active {
  display: grid;
}

.form-heading {
  display: grid;
  gap: 8px;
  padding: 6px 4px 2px;
}

.form-heading span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.early-form label {
  display: grid;
  gap: 8px;
  color: #394149;
  font-size: 14px;
  font-weight: 900;
}

.early-form input,
.early-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: 18px;
  padding: 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  outline: none;
  background: rgba(255, 255, 255, 0.8);
}

.early-form input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.early-form input:focus,
.early-form textarea:focus {
  border-color: rgba(8, 189, 120, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 189, 120, 0.12);
}

.file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: 18px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.8);
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: white;
  border-radius: 999px;
  cursor: pointer;
  background: #111827;
}

.file-name {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-picker:focus-within {
  border-color: rgba(8, 189, 120, 0.55);
  box-shadow: 0 0 0 4px rgba(8, 189, 120, 0.12);
}

.early-form button {
  min-height: 56px;
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 17px;
  background: var(--green);
  box-shadow: 0 18px 40px rgba(8, 189, 120, 0.22);
}

.early-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  box-shadow: none;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(111, 118, 128, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.form-note.success {
  border-color: rgba(8, 189, 120, 0.22);
  background: rgba(8, 189, 120, 0.10);
  color: #057b56;
}

.form-note.error {
  border-color: rgba(194, 65, 12, 0.22);
  background: rgba(255, 237, 213, 0.72);
  color: #c2410c;
}

.form-note.loading {
  border-color: rgba(111, 118, 128, 0.18);
  background: rgba(248, 250, 252, 0.92);
  color: var(--muted);
}

.form-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: currentColor;
  color: white;
  font-size: 14px;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 54px;
  color: var(--muted);
}

.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    top: 10px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero,
  .showcase,
  .early-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 18px;
  }

  .hero-visual {
    min-height: 560px;
    margin-top: 10px;
  }

  .phone-main {
    right: 50%;
    transform: translateX(56%) rotate(3deg);
  }

  .phone-side {
    right: 8px;
    opacity: 0.5;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    min-height: 0;
  }

  .showcase,
  .early-card {
    padding: 28px;
    border-radius: 32px;
  }

  .program-switch {
    border-radius: 24px;
  }

  .device-gallery {
    grid-template-columns: 1fr;
  }

  .device-gallery img:last-child {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 420px);
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  .hero-lead,
  .showcase-copy p,
  .early-copy p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .program-switch {
    grid-template-columns: 1fr;
  }

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

  .phone {
    width: 270px;
  }

  .phone-main {
    top: 18px;
  }

  .card-income {
    left: 0;
    top: 58px;
  }

  .card-saving {
    right: 0;
    bottom: 38px;
  }
}
