/* Homepage only. Legal pages continue to use styles.css. */

.page-home {
  --home-ink: #080807;
  --home-ink-soft: #161615;
  --home-paper: #f5eee6;
  --home-white: #fffdfa;
  --home-coral: #ff6d5f;
  --home-blue: #b9cadd;
  --home-green: #67d871;
  --home-yellow: #ffd148;
  --home-line: rgba(255, 253, 250, 0.16);
  --home-muted: rgba(255, 253, 250, 0.68);
  --home-dark-muted: #5d5a56;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  background: var(--home-ink);
  color: var(--home-white);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

.page-home p,
.page-home a,
.page-home span,
.page-home small,
.page-home strong {
  letter-spacing: 0;
}

.page-home .container {
  max-width: 1280px;
  padding-inline: 32px;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 7, 0.9);
  border-bottom: 1px solid var(--home-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-header .nav-shell {
  height: 72px;
}

.home-brand {
  min-width: max-content;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 250, 0.18);
  border-radius: 8px;
  background: var(--home-paper);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto 6px auto;
  align-items: center;
  gap: 8px;
  color: var(--home-white);
  line-height: 1;
}

.brand-lockup strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.brand-lockup > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.brand-lockup small {
  font-size: 8px;
  font-weight: 700;
  line-height: 1.05;
}

.page-home .site-nav {
  gap: 28px;
}

.page-home .site-nav a {
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 600;
}

.page-home .site-nav a:hover {
  color: var(--home-white);
}

.page-home .nav-cta {
  color: var(--home-ink) !important;
  background: var(--home-white);
  border-radius: 6px;
  padding: 11px 18px;
}

.page-home .nav-cta:hover {
  background: var(--home-coral);
}

.page-home .nav-toggle {
  border-color: var(--home-line);
  border-radius: 6px;
}

.page-home .nav-toggle span {
  background: var(--home-white);
}

.product-hero {
  position: relative;
  min-height: calc(100svh - 120px);
  overflow: hidden;
  background: var(--home-ink);
  border-bottom: 1px solid var(--home-line);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 58%;
  width: 1px;
  background: rgba(255, 253, 250, 0.08);
}

.hero-shell {
  position: relative;
  min-height: calc(100svh - 120px);
  display: flex;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 62px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(590px, 52%);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #3e3b37;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--home-coral);
}

.section-label-light {
  color: var(--home-muted);
}

.hero-copy h1 {
  max-width: 620px;
  color: var(--home-white);
  font-size: 76px;
  line-height: 0.94;
}

.hero-copy h1 span {
  color: var(--home-coral);
}

.hero-lede {
  max-width: 540px;
  margin-top: 28px;
  color: var(--home-muted);
  font-size: 19px;
  line-height: 1.65;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-badge-link:hover {
  transform: translateY(-3px);
  opacity: 0.88;
}

.store-badge-link img {
  display: block;
  width: auto;
  max-width: none;
}

.store-badge-apple img {
  height: 54px;
}

.store-badge-play img {
  height: 80px;
}

.hero-availability {
  margin-top: 16px;
  color: rgba(255, 253, 250, 0.48);
  font-size: 12px;
}

.hero-product-stage {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: -20px;
  bottom: 0;
  width: 58%;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  bottom: -135px;
  width: auto;
  max-width: none;
  height: min(810px, 94vh);
  filter: drop-shadow(0 34px 26px rgba(0, 0, 0, 0.42));
}

.hero-phone-main {
  z-index: 3;
  right: 19%;
  transform: rotate(2deg);
}

.hero-phone-back {
  z-index: 1;
  height: min(680px, 80vh);
  opacity: 0.52;
}

.hero-phone-left {
  right: 50%;
  bottom: -90px;
  transform: rotate(-8deg);
}

.hero-phone-right {
  right: -9%;
  bottom: -75px;
  transform: rotate(8deg);
}

.proof-strip {
  position: relative;
  z-index: 5;
  background: var(--home-coral);
  color: var(--home-ink);
}

.proof-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 30px;
  border-left: 1px solid rgba(8, 8, 7, 0.22);
}

.proof-grid p:last-child {
  border-right: 1px solid rgba(8, 8, 7, 0.22);
}

.proof-grid strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.proof-grid span {
  margin-top: 5px;
  font-size: 12px;
}

.inside-intro {
  padding: 112px 0 94px;
  background: var(--home-white);
  color: var(--home-ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.3fr 0.8fr;
  align-items: end;
  gap: 40px;
}

.section-heading .section-label {
  margin: 0;
  align-self: start;
}

.section-heading h2 {
  max-width: 660px;
  font-size: 50px;
  line-height: 1.08;
}

.section-heading > p:last-child {
  color: var(--home-dark-muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-band {
  min-height: 760px;
  overflow: hidden;
}

.feature-band-paper {
  color: var(--home-ink);
  background: var(--home-paper);
}

.feature-band-ink {
  color: var(--home-white);
  background: var(--home-ink);
}

.feature-band-blue {
  color: var(--home-ink);
  background: var(--home-blue);
}

.feature-band-coral {
  color: var(--home-ink);
  background: var(--home-coral);
}

.feature-layout {
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 86px;
}

.feature-layout-reverse .feature-visual {
  order: 2;
}

.feature-visual {
  position: relative;
  height: 720px;
  align-self: end;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.feature-visual img {
  position: absolute;
  bottom: -170px;
  width: auto;
  max-width: none;
  height: 820px;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.24));
}

.screen-note {
  position: absolute;
  z-index: 3;
  top: 88px;
  right: 18px;
  padding: 10px 14px;
  border-radius: 5px;
  color: var(--home-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.screen-note-dark {
  background: var(--home-ink);
}

.screen-note-coral {
  background: var(--home-coral);
  color: var(--home-ink);
}

.screen-note-green {
  background: var(--home-green);
  color: var(--home-ink);
}

.screen-note-yellow {
  background: var(--home-yellow);
  color: var(--home-ink);
}

.feature-copy {
  max-width: 580px;
}

.feature-number {
  display: block;
  margin-bottom: 50px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.feature-copy h2 {
  max-width: 620px;
  font-size: 52px;
  line-height: 1.08;
}

.feature-copy > p:not(.section-label) {
  max-width: 560px;
  margin-top: 24px;
  color: var(--home-dark-muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-band-ink .feature-copy > p:not(.section-label) {
  color: var(--home-muted);
}

.feature-points {
  margin-top: 34px;
  border-top: 1px solid currentColor;
}

.feature-points li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 600;
}

.feature-points li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--home-coral);
  font-weight: 700;
}

.feature-band-coral .feature-points li::before,
.feature-band-blue .feature-points li::before {
  color: var(--home-ink);
}

.privacy-links {
  margin-top: 34px;
  border-top: 1px solid var(--home-ink);
}

.privacy-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--home-ink);
  font-size: 14px;
  font-weight: 700;
}

.privacy-links a:hover span {
  transform: translateX(4px);
}

.privacy-links span {
  transition: transform 180ms ease;
}

.principles-section {
  padding: 120px 0;
  background: var(--home-ink-soft);
}

.principles-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.principles-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.principles-heading h2 {
  max-width: 500px;
  font-size: 52px;
  line-height: 1.08;
}

.principles-list {
  border-top: 1px solid var(--home-line);
}

.principles-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--home-line);
}

.principles-list article > span {
  color: var(--home-coral);
  font-size: 12px;
  font-weight: 700;
}

.principles-list h3 {
  font-size: 24px;
}

.principles-list p {
  max-width: 560px;
  margin-top: 10px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
}

.download-section {
  min-height: 760px;
  overflow: hidden;
  background: var(--home-ink);
  border-top: 1px solid var(--home-line);
}

.download-shell {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.download-copy {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.download-icon {
  width: 160px;
  height: 160px;
  margin-bottom: 34px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
}

.download-copy h2 {
  max-width: 640px;
  font-size: 62px;
  line-height: 1;
}

.download-copy > p:not(.section-label) {
  max-width: 520px;
  margin-top: 22px;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.6;
}

.download-visual {
  position: relative;
  height: 760px;
  align-self: end;
}

.download-visual img {
  position: absolute;
  right: 0;
  bottom: -150px;
  width: auto;
  max-width: none;
  height: 850px;
  filter: drop-shadow(0 32px 30px rgba(0, 0, 0, 0.46));
}

.home-footer {
  background: #030303;
}

.home-footer .footer-grid {
  min-height: 150px;
}

.home-footer .footer-nav a {
  color: var(--home-muted);
}

.home-footer .footer-nav a:hover {
  color: var(--home-white);
}

.home-footer .footer-side a {
  color: var(--home-coral);
}

.home-footer .footer-meta {
  color: var(--home-muted);
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 62px;
  }

  .hero-product-stage {
    right: -70px;
    width: 60%;
  }

  .hero-phone-main {
    right: 14%;
  }

  .hero-phone-left {
    right: 45%;
  }

  .section-heading {
    grid-template-columns: 0.5fr 1.2fr 0.7fr;
  }

  .feature-layout {
    gap: 52px;
  }

  .feature-copy h2,
  .principles-heading h2 {
    font-size: 44px;
  }

  .download-copy h2 {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  .page-home .container {
    padding-inline: 24px;
  }

  .product-hero::before {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    display: block;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
  }

  .hero-copy h1 {
    max-width: 680px;
  }

  .hero-product-stage {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 440px;
    margin-top: 32px;
  }

  .hero-phone {
    bottom: -110px;
    height: 560px;
  }

  .hero-phone-main {
    right: calc(50% - 174px);
  }

  .hero-phone-left {
    right: calc(50% + 72px);
    height: 470px;
  }

  .hero-phone-right {
    right: calc(50% - 340px);
    height: 470px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .section-heading > p:last-child {
    max-width: 580px;
  }

  .feature-band,
  .feature-layout {
    min-height: 680px;
  }

  .feature-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
  }

  .feature-visual {
    height: 680px;
  }

  .feature-visual img {
    bottom: -115px;
    height: 720px;
  }

  .feature-copy h2 {
    font-size: 38px;
  }

  .feature-copy > p:not(.section-label) {
    font-size: 15px;
  }

  .principles-shell {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .principles-heading {
    position: static;
  }

  .download-shell {
    grid-template-columns: 1fr 0.7fr;
    gap: 20px;
  }

  .download-visual img {
    right: -80px;
  }
}

@media (max-width: 720px) {
  .page-home .container {
    padding-inline: 18px;
  }

  .home-header .nav-shell {
    height: 66px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-lockup strong {
    font-size: 25px;
  }

  .page-home .site-nav {
    top: 66px;
    gap: 8px;
    padding: 16px 18px 20px;
    background: rgba(8, 8, 7, 0.98);
    border-bottom: 1px solid var(--home-line);
  }

  .page-home .site-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .page-home .nav-cta {
    width: auto !important;
    padding: 11px 18px !important;
  }

  .product-hero {
    min-height: calc(100svh - 120px);
  }

  .hero-shell {
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 24px;
  }

  .store-badge-link {
    width: 100%;
    height: 54px;
  }

  .store-badge-apple img {
    height: 48px;
  }

  .store-badge-play img {
    height: 71px;
  }

  .hero-product-stage {
    height: 265px;
    margin-top: 18px;
  }

  .hero-phone {
    bottom: -68px;
    height: 345px;
  }

  .hero-phone-main {
    right: calc(50% - 85px);
  }

  .hero-phone-left {
    right: calc(50% + 36px);
    bottom: -48px;
    height: 285px;
  }

  .hero-phone-right {
    right: calc(50% - 162px);
    bottom: -46px;
    height: 285px;
  }

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

  .proof-grid p {
    min-height: 78px;
    padding: 15px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(8, 8, 7, 0.22);
  }

  .proof-grid p:last-child {
    border-right: 0;
    border-bottom: 0;
  }

  .inside-intro {
    padding: 76px 0 66px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .feature-band,
  .feature-layout {
    min-height: auto;
  }

  .feature-layout,
  .feature-layout-reverse {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .feature-layout-reverse .feature-visual {
    order: 0;
  }

  .feature-visual {
    width: 100%;
    height: 540px;
    align-self: auto;
  }

  .feature-visual img {
    bottom: -108px;
    height: 650px;
  }

  .screen-note {
    top: 62px;
    right: 0;
  }

  .feature-copy {
    max-width: none;
    padding: 52px 0 72px;
  }

  .feature-number {
    margin-bottom: 32px;
  }

  .feature-copy h2 {
    font-size: 36px;
  }

  .feature-copy > p:not(.section-label) {
    margin-top: 20px;
    font-size: 15px;
  }

  .principles-section {
    padding: 80px 0;
  }

  .principles-heading h2 {
    font-size: 38px;
  }

  .principles-list article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .principles-list h3 {
    font-size: 21px;
  }

  .download-section,
  .download-shell {
    min-height: auto;
  }

  .download-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .download-copy {
    width: 100%;
    padding: 76px 0 30px;
  }

  .download-icon {
    width: 128px;
    height: 128px;
  }

  .download-copy h2 {
    font-size: 43px;
  }

  .download-visual {
    width: 100%;
    height: 430px;
  }

  .download-visual img {
    right: calc(50% - 134px);
    bottom: -145px;
    height: 560px;
  }

  .home-footer .footer-grid {
    min-height: 0;
    align-items: flex-start;
  }

  .home-footer .footer-side {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 38px;
  }

  .store-actions {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 4px;
  }

  .store-badge-link {
    width: auto;
  }

  .section-heading h2,
  .feature-copy h2 {
    font-size: 32px;
  }

  .feature-visual {
    height: 480px;
  }

  .feature-visual img {
    height: 580px;
  }

  .download-copy h2 {
    font-size: 38px;
  }
}

@media (max-width: 420px) and (max-height: 720px) {
  .hero-shell {
    min-height: calc(100svh - 120px);
    padding-top: 32px;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-lede {
    margin-top: 16px;
    line-height: 1.45;
  }

  .hero-copy .store-actions {
    margin-top: 18px;
  }

  .hero-availability {
    display: none;
  }

  .hero-product-stage {
    position: absolute;
    z-index: 1;
    top: 16px;
    right: -94px;
    bottom: 0;
    width: 250px;
    height: auto;
    margin: 0;
    opacity: 0.16;
  }

  .hero-phone-main {
    right: 0;
    bottom: -84px;
    height: 460px;
  }

  .hero-phone-back {
    display: none;
  }
}
