:root {
  --text: #111318;
  --muted: #5f6673;
  --line: #e2e6ee;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --blue: #1d9bf0;
  --blue-dark: #0c6fba;
  --green: #8bd22f;
  --green-soft: #edf8d7;
  --amber-soft: #fcf7cf;
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
[aria-disabled="true"]:focus-visible {
  outline: 3px solid rgba(29, 155, 240, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 230, 238, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 52px;
  padding: 36px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  font-weight: 800;
}

.hero-body {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: 176px;
  min-height: 58px;
  padding: 10px 14px;
  color: #fff;
  background: #111318;
  border: 1px solid #111318;
  border-radius: 8px;
  cursor: default;
  opacity: 0.9;
}

.store-badge svg {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.store-badge span {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 1.03rem;
  font-weight: 780;
  line-height: 1.05;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 720;
  text-transform: uppercase;
}

.store-badge-light {
  color: var(--text);
  background: #fff;
  border-color: rgba(17, 19, 24, 0.16);
}

.store-badge-light small {
  color: var(--muted);
}

.email-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 780;
  box-shadow: 0 12px 30px rgba(29, 155, 240, 0.24);
}

.email-link:hover,
.primary-link:hover {
  background: var(--blue-dark);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.phone-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111318;
  border: 10px solid #111318;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.hero-phone {
  width: auto;
  height: min(560px, 76vh);
  aspect-ratio: 1242 / 2688;
}

.hero-phone img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 52px;
  display: grid;
  gap: 4px;
  width: min(250px, 64%);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 230, 238, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(17, 19, 24, 0.16);
}

.hero-note strong {
  font-size: 0.92rem;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-strip div {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--surface-soft);
}

.proof-strip strong {
  font-size: 1.02rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.features,
.action-section,
.privacy-section,
.platforms-section {
  padding: 86px 0;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-narrow {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 390px);
  align-items: center;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.feature-row-reverse {
  grid-template-columns: minmax(260px, 390px) minmax(0, 0.9fr);
}

.feature-row-reverse .feature-copy {
  order: 2;
}

.feature-row-reverse .feature-phone {
  order: 1;
}

.feature-copy {
  display: grid;
  gap: 16px;
}

.feature-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--blue-dark);
  background: #e8f4fe;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 850;
}

.feature-phone {
  width: min(360px, 100%);
  justify-self: center;
}

.action-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: 58px;
  padding-top: 72px;
  padding-bottom: 72px;
  background: linear-gradient(90deg, var(--amber-soft), #fff 55%, var(--green-soft));
  border-radius: 8px;
  padding-right: 48px;
  padding-left: 48px;
}

.action-copy {
  display: grid;
  gap: 20px;
}

.action-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.action-list li {
  padding: 9px 13px;
  background: #fff;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  font-weight: 760;
}

.onboarding-phone {
  width: min(300px, 100%);
  justify-self: center;
}

.privacy-section {
  background: var(--surface);
}

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

.privacy-grid article,
.platform-panel {
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.privacy-grid h3,
.platform-panel h3 {
  font-size: 1.18rem;
}

.privacy-grid p,
.platform-panel li {
  color: var(--muted);
}

.privacy-grid p {
  margin: 12px 0 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-heading span {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--blue-dark);
  background: #e8f4fe;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
}

.platform-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 72px;
  padding: 36px;
  color: #fff;
  background: #111318;
  border-radius: 8px;
}

.closing-cta .eyebrow {
  color: #9bd7ff;
}

.closing-cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.closing-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.closing-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.closing-actions .store-row {
  margin: 0;
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.brand-footer {
  color: var(--text);
}

.brand-footer img {
  width: 32px;
  height: 32px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .hero,
  .feature-row,
  .feature-row-reverse,
  .action-section,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-phone {
    width: min(350px, 82vw);
    height: 236px;
    max-height: 236px;
  }

  .hero-phone img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero-note {
    right: auto;
    left: min(260px, 54vw);
    bottom: 38px;
  }

  .feature-row-reverse .feature-copy,
  .feature-row-reverse .feature-phone {
    order: initial;
  }

  .feature-row {
    gap: 34px;
  }

  .feature-phone,
  .onboarding-phone {
    justify-self: start;
  }

  .privacy-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    justify-items: start;
  }

  .closing-actions .store-row {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.88rem;
  }

  .section-shell,
  .proof-strip,
  .closing-cta,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .hero-body,
  .section-heading p:not(.eyebrow),
  .feature-copy p,
  .action-copy p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions,
  .store-row {
    align-items: stretch;
  }

  .store-badge {
    width: min(100%, 182px);
  }

  .email-link,
  .primary-link {
    width: 100%;
  }

  .hero-note {
    display: none;
  }

  .hero-visual {
    display: grid;
  }

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

  .features,
  .action-section,
  .privacy-section,
  .platforms-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .feature-row {
    padding: 40px 0;
  }

  .feature-phone {
    width: min(315px, 100%);
  }

  .action-section,
  .closing-cta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .action-list li {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .platform-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 420px) {
  .site-header {
    gap: 14px;
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-actions,
  .store-row {
    align-items: stretch;
  }

  .store-badge {
    flex: 1 1 calc(50% - 8px);
    width: auto;
    min-width: 0;
  }

  .phone-frame {
    border-width: 8px;
    border-radius: 32px;
  }

  .phone-frame img {
    border-radius: 24px;
  }
}

/* HermesTap mobile overflow fix: keep header navigation inside narrow viewports. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .proof-strip,
  .closing-cta,
  .site-footer {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero,
  .hero-copy,
  .hero-lede,
  .hero-body,
  .section-heading {
    min-width: 0;
    max-width: 100%;
  }
}
