/* The landing page has its own visual language; support and legal pages stay quiet. */
:root {
  --home-canvas: #f4f6f4;
  --home-card: #fff;
  --home-card-border: #dee7e5;
  --home-heading: #142c36;
  --home-copy: #52636b;
  --home-soft: #e7f0ee;
}

.home-page {
  background: var(--home-canvas);
}

.home-page .site-header {
  padding: 17px 0 13px;
  background: var(--home-canvas);
}

.home-page .header-inner {
  width: min(1280px, calc(100% - 48px));
  min-height: 70px;
  border: 1px solid var(--home-card-border);
  border-radius: 18px;
  background: var(--home-card);
  box-shadow: 0 9px 35px #123a4820;
}

.home-page .nav-download {
  border-radius: 10px;
  background: #173f54;
  font-weight: 600;
}

.home-page .nav-download:hover {
  background: #225b73;
}

.home .hero-band {
  position: relative;
  width: min(1456px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 18%, #356d7560 0, transparent 38%),
    radial-gradient(circle at 58% 95%, #23556970 0, transparent 46%), #0b2636;
  color: #f6fbf9;
}

.home .hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(#efffff0b 1px, transparent 1px),
    linear-gradient(90deg, #efffff0b 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.home .hero {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(42px, 6vw, 90px);
  min-height: 650px;
  padding: 80px 0 95px;
}

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

.home .hero .eyebrow {
  color: #abdccf;
  font-family: Plex, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.home .hero .eyebrow::before {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #9edfc6;
}

.home .hero h1 {
  max-width: 700px;
  margin-bottom: 29px;
  color: #f6fbf9;
  font-size: clamp(3.45rem, 5.1vw, 5.65rem);
  font-weight: 680;
  line-height: 0.99;
  letter-spacing: -0.07em;
}

.home .hero h1 span {
  color: #b3e4d3;
}

.home .hero .intro {
  max-width: 485px;
  margin-bottom: 32px;
  color: #ccdadc;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.home .actions {
  gap: 10px 22px;
  margin-bottom: 24px;
}

.home .actions .button {
  min-height: 54px;
  padding: 15px 23px;
  border-radius: 10px;
  background: #b5e5d2;
  color: #10352f;
  font-weight: 700;
  box-shadow: 0 10px 28px #020e172e;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.home .actions .button:hover {
  transform: translateY(-2px);
  background: #d0f4e3;
}

.home .actions .text-link {
  color: #f4fcf8;
  font-weight: 600;
  text-decoration-color: #a6d8cf80;
  text-underline-offset: 6px;
}

.home .actions .text-link:hover {
  color: #b5e5d2;
}

.home .hero .small {
  max-width: 445px;
  margin: 0;
  color: #adbdc3;
  line-height: 1.55;
}

.home .product-stage {
  z-index: 1;
  padding: 30px 28px 17px;
  border: 1px solid #83c3c338;
  border-radius: 27px;
  background: linear-gradient(145deg, #245b67, #174257 80%);
  box-shadow: 0 30px 68px #031c2c66;
}

.home .product-stage::before {
  content: '';
  position: absolute;
  inset: 10px 10px auto auto;
  width: 102px;
  height: 102px;
  border: 1px solid #b8eee663;
  border-radius: 50%;
  transform: translate(33%, -34%);
  pointer-events: none;
}

.home .sheet {
  --ink: #1d3039;
  --muted: #647680;
  --rule: #e2e9eb;
  --accent: #216177;
  --base: #e8eef0;
  position: relative;
  padding: 27px 26px 20px;
  border: 0;
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 46px #061d2b50;
  transform: none;
}

.home .sheet-head {
  padding-bottom: 19px;
}

.home .profile-mark {
  border-radius: 7px;
}

.home .amount {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
}

.home .meter,
.home .meter span {
  border-radius: 99px;
}

.home .expense {
  padding: 14px 0;
}

.home .caption {
  margin: 19px 0 0;
  color: #d0e5e5;
}

.home > div.container {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.home .facts {
  gap: 0;
  padding: 25px 28px;
  border: 1px solid var(--home-card-border);
  border-radius: 20px;
  background: var(--home-card);
  box-shadow: 0 16px 45px #24434a18;
}

.home .fact {
  display: block;
  padding: 0 26px;
  border-right: 1px solid var(--home-card-border);
  color: var(--home-copy);
}

.home .fact:first-child {
  padding-left: 0;
}

.home .fact:last-child {
  padding-right: 0;
  border-right: 0;
}

.home .fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--home-heading);
  font-size: 1.55rem;
  font-weight: 600;
}

.home .section {
  padding: 105px 0;
}

.home .section-head {
  align-items: end;
  margin-bottom: 38px;
}

.home h2 {
  color: var(--home-heading);
  font-size: clamp(2.65rem, 4vw, 4.2rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.home h3 {
  color: var(--home-heading);
  font-weight: 650;
}

.home .section-head p,
.home .audience p,
.home .steps p,
.home .faq-layout details p {
  color: var(--home-copy);
}

.home .audiences {
  gap: 16px;
}

.home .audience {
  min-height: 280px;
  padding: 29px 28px;
  border: 1px solid var(--home-card-border);
  border-radius: 20px;
  background: var(--home-card);
  box-shadow: 0 9px 28px #2944510a;
}

.home .audience .number {
  margin-bottom: 48px;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.home .audience h3 {
  max-width: 250px;
  font-size: 1.55rem;
  line-height: 1.19;
  letter-spacing: -0.04em;
}

.home .audience p:last-child {
  line-height: 1.58;
}

.home .how {
  background: var(--home-soft);
}

.home .steps {
  gap: 16px;
}

.home .steps article {
  min-height: 285px;
  padding: 30px 28px;
  border: 1px solid var(--home-card-border);
  border-radius: 20px;
  background: var(--home-card);
}

.home .step-number {
  margin-bottom: 35px;
  color: #478479;
  font-size: 2.2rem;
}

.home .steps h3 {
  font-size: 1.35rem;
}

.home .detail-line {
  margin-top: 33px;
  border-top-color: #b7cbc7;
  color: #44605e;
}

.home .current-features .audience {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 20px;
  align-content: start;
  min-height: 0;
  padding: 26px 28px;
}

.home .current-features .feature-icon {
  display: grid;
  grid-row: 1 / 3;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #e2f2e9;
  color: #327564;
}

.home .current-features .feature-icon svg {
  width: 30px;
  height: 30px;
}

.home .current-features .audience:nth-child(2) .feature-icon {
  background: #f5ead7;
  color: #97713b;
}

.home .current-features .audience:nth-child(3) .feature-icon {
  background: #e2ecf7;
  color: #5579a5;
}

.home .current-features .audience:nth-child(4) .feature-icon {
  background: #eee8f5;
  color: #806a9d;
}

.home .current-features .audience h3 {
  grid-column: 2;
  max-width: none;
  margin: 1px 0 9px;
}

.home .current-features .audience p {
  grid-column: 2;
  margin: 0;
}

.home .faq-layout {
  gap: 60px;
  margin: 10px auto 95px;
  padding: 56px 60px;
  border: 1px solid var(--home-card-border);
  border-radius: 28px;
  background: var(--home-card);
}

.home .faq-layout .eyebrow {
  color: #47736b;
}

.home .faq-layout .text-link {
  color: #1a625f;
  font-weight: 600;
}

.home details:first-child {
  border-top: 0;
}

.home summary {
  color: var(--home-heading);
  font-weight: 600;
}

.home .download {
  margin: 0 auto 32px;
  padding: 58px 60px;
  border: 0;
  border-radius: 28px;
  background: radial-gradient(circle at 12% 105%, #2c6b7078, transparent 48%), #0e3040;
  color: #f3faf7;
}

.home .download h2 {
  color: #f3faf7;
}

.home .download .eyebrow {
  color: #b6e4d4;
}

.home .download p {
  color: #cad9db;
}

.home .store-list {
  justify-content: flex-end;
}

.home .store {
  min-width: 155px;
  border: 1px solid #c6e4e375;
  border-radius: 12px;
  background: #ffffff12;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.home .store:hover {
  transform: translateY(-2px);
  background: #ffffff22;
}

.home .store small {
  color: #bfdbdc;
}

.home-page .site-footer {
  padding: 54px 0 35px;
  background: #0b2636;
  color: #f3faf7;
}

.home-page .site-footer .company {
  border-top-color: #ffffff24;
  color: #b6c7ca;
}

.home-page .site-footer a:hover {
  color: #b5e5d2;
}

:root[data-theme='dark'] {
  --home-canvas: #0d1c26;
  --home-card: #17303d;
  --home-card-border: #2b4a53;
  --home-heading: #f2f8f5;
  --home-copy: #b6c9cc;
  --home-soft: #132b35;
}

[data-theme='dark'] .home-page .header-inner {
  background: #17303d;
}

[data-theme='dark'] .home-page .site-header {
  background: #0d1c26;
}

[data-theme='dark'] .home-page .nav-download {
  background: #b5e5d2;
  color: #10352f;
}

[data-theme='dark'] .home .how {
  background: var(--home-soft);
}

[data-theme='dark'] .home .detail-line {
  border-top-color: #4b6870;
  color: #b6c9cc;
}

[data-theme='dark'] .home .current-features .audience:nth-child(1) .feature-icon {
  background: #244d47;
  color: #a6e1bf;
}

[data-theme='dark'] .home .current-features .audience:nth-child(2) .feature-icon {
  background: #564731;
  color: #f1d29a;
}

[data-theme='dark'] .home .current-features .audience:nth-child(3) .feature-icon {
  background: #2d4963;
  color: #b8d4f1;
}

[data-theme='dark'] .home .current-features .audience:nth-child(4) .feature-icon {
  background: #483c59;
  color: #d9c3f4;
}

[data-theme='dark'] .home .faq-layout .eyebrow,
[data-theme='dark'] .home .faq-layout .text-link {
  color: #b5e5d2;
}

@media (max-width: 1100px) {
  .home .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding: 70px 0 85px;
  }

  .home .hero-copy {
    max-width: 730px;
  }

  .home .product-stage {
    width: min(530px, 100%);
    justify-self: center;
  }

  .home .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .home .audiences,
  .home .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .audience,
  .home .steps article {
    display: block;
    min-height: auto;
  }

  .home .audience .number {
    margin-bottom: 20px;
  }

  .home .step-number {
    margin-bottom: 18px;
  }

  .home .download {
    align-items: start;
  }

  .home .store-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .home-page .site-header {
    padding: 9px 0;
  }

  .home-page .header-inner {
    width: calc(100% - 24px);
    min-height: 58px;
    border-radius: 14px;
  }

  .home .hero-band {
    width: calc(100% - 20px);
    border-radius: 23px;
  }

  .home .hero {
    width: calc(100% - 46px);
    gap: 37px;
    padding: 45px 0 59px;
  }

  .home .hero .eyebrow {
    margin-bottom: 19px;
    font-size: 0.67rem;
  }

  .home .hero h1 {
    font-size: clamp(2.55rem, 10.5vw, 3.45rem);
    line-height: 1.01;
    letter-spacing: -0.065em;
  }

  .home .hero .intro {
    font-size: 1rem;
  }

  .home .actions {
    gap: 17px;
  }

  .home .actions .button {
    width: 100%;
  }

  .home .actions .text-link {
    font-size: 0.88rem;
  }

  .home .product-stage {
    padding: 18px 17px 12px;
    border-radius: 19px;
  }

  .home .sheet {
    padding: 19px 17px 14px;
    border-radius: 12px;
  }

  .home .sheet-head {
    padding-bottom: 13px;
    font-size: 0.72rem;
  }

  .home .amount {
    font-size: 2rem;
  }

  .home .expense {
    padding: 11px 0;
    font-size: 0.79rem;
  }

  .home .expense small {
    font-size: 0.68rem;
  }

  .home .caption {
    font-size: 0.7rem;
  }

  .home > div.container {
    width: calc(100% - 38px);
    margin-top: -21px;
  }

  .home .facts {
    grid-template-columns: 1fr;
    padding: 9px 21px;
    border-radius: 17px;
  }

  .home .fact,
  .home .fact:first-child,
  .home .fact:last-child {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--home-card-border);
  }

  .home .fact:last-child {
    border-bottom: 0;
  }

  .home .fact strong {
    min-width: 83px;
    margin: 0;
    font-size: 1.22rem;
  }

  .home .section {
    padding: 70px 0;
  }

  .home h2 {
    font-size: clamp(2.3rem, 9vw, 3.25rem);
  }

  .home .section-head {
    margin-bottom: 27px;
  }

  .home .audiences,
  .home .steps {
    gap: 12px;
  }

  .home .audience,
  .home .steps article {
    padding: 24px;
    border-radius: 17px;
  }

  .home .audience h3 {
    font-size: 1.4rem;
  }

  .home .current-features {
    grid-template-columns: 1fr;
  }

  .home .current-features .audience {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0 16px;
    padding: 22px;
  }

  .home .current-features .feature-icon {
    grid-row: 1;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .home .current-features .feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .home .current-features .audience h3 {
    align-self: center;
    margin: 0;
  }

  .home .current-features .audience p {
    grid-column: 1 / -1;
    margin-top: 15px;
  }

  .home .detail-line {
    margin-top: 25px;
  }

  .home .faq-layout {
    width: calc(100% - 40px);
    gap: 26px;
    margin: 0 auto 70px;
    padding: 27px 22px;
    border-radius: 19px;
  }

  .home .faq-layout h2 {
    margin-bottom: 18px;
  }

  .home .download {
    width: calc(100% - 40px);
    margin-bottom: 20px;
    padding: 36px 25px;
    border-radius: 19px;
  }

  .home .store-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .home .store {
    width: 100%;
  }

  .home-page .site-footer {
    padding-top: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .actions .button,
  .home .store {
    transition: none;
  }
}
