:root {
  --blue: #176fe8;
  --blue-deep: #0d55bc;
  --coral: #f45f58;
  --ink: #172540;
  --muted: #58657a;
  --paper: #fbfaf6;
  --mist: #edf3f8;
  --line: #cfdae7;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 10px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 37, 64, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #364257;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-deep);
}

.header-cta {
  justify-self: end;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: min(76svh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--blue);
}

.hero-background,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  z-index: -2;
  background: rgba(255, 255, 255, 0.2);
}

.hero-content {
  width: min(600px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max-width)) / 2));
  padding: 34px 0;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(16, 34, 64, 0.2);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: #2c3850;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(13, 85, 188, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.primary-cta:not([aria-disabled="true"]):hover,
.primary-cta:not([aria-disabled="true"]):focus-visible {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.primary-cta[aria-disabled="true"] {
  color: #546177;
  background: #e1e7ee;
  border-color: #e1e7ee;
  box-shadow: none;
  cursor: default;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
}

.hero-note {
  margin: 18px 0 0;
  color: #4a566a;
  font-size: 13px;
  font-weight: 700;
}

.intro-section {
  padding: 72px 24px 112px;
}

.learn-section {
  padding: 112px 24px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.privacy-copy h2,
.download-section h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading > p:last-child {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.product-stage {
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.82fr;
  align-items: end;
  gap: 28px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 40px 54px 0;
  background: var(--mist);
  border-bottom: 5px solid var(--coral);
}

.phone {
  margin: 0;
  overflow: hidden;
  background: #101722;
  border: 9px solid #101722;
  border-radius: 34px;
  box-shadow: 0 26px 50px rgba(20, 42, 78, 0.18);
}

.phone img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border-radius: 24px;
}

.phone-main {
  z-index: 2;
}

.phone-side {
  opacity: 0.82;
  transform: translateY(42px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 80px;
  min-height: 760px;
  padding: 96px max(24px, calc((100vw - var(--max-width)) / 2));
}

.feature-write {
  background: #eaf3ff;
}

.feature-categories {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  background: #fff3ef;
}

.feature-reference {
  background: #edf6f1;
}

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

.feature-number {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 900;
}

.feature-copy > p:not(.feature-number) {
  margin: 24px 0 0;
  color: #435168;
  font-size: 18px;
}

.supporting-copy {
  padding-left: 18px;
  border-left: 3px solid var(--coral);
}

.plain-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 26px;
  color: #334159;
  font-weight: 700;
}

.plain-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.single-phone {
  width: min(330px, 82vw);
}

.learn-section {
  background: var(--paper);
}

.learn-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.learn-columns section {
  min-width: 0;
  padding: 42px;
  border-right: 1px solid var(--line);
}

.learn-columns section:last-child {
  border-right: 0;
}

.learn-index {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.learn-columns h3 {
  margin: 10px 0 12px;
  font-size: 24px;
}

.learn-columns p {
  margin: 0;
  color: var(--muted);
}

.privacy-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 720px);
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 96px 24px;
  color: var(--white);
  background: var(--ink);
}

.privacy-mark {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: var(--ink);
  background: var(--coral);
  border-radius: 50%;
  font-size: 72px;
  font-weight: 900;
}

.privacy-copy .eyebrow {
  color: #8bc7ff;
}

.privacy-copy p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #d4dce8;
  font-size: 18px;
}

.privacy-links {
  display: flex;
  gap: 26px;
  margin-top: 26px;
}

.privacy-links a {
  color: var(--white);
  font-weight: 800;
}

.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 24px;
  text-align: center;
  background: #f5f8fc;
}

.download-section img {
  margin-bottom: 24px;
  border-radius: 25px;
  box-shadow: 0 18px 42px rgba(16, 34, 64, 0.18);
}

.download-section p:not(.eyebrow) {
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - var(--max-width)) / 2));
  color: #5c6778;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  .feature-band,
  .feature-categories {
    grid-template-columns: 1fr 0.75fr;
    gap: 48px;
  }

  .feature-categories .feature-visual {
    order: 2;
  }

  .feature-categories .feature-copy {
    order: 1;
  }

  .learn-columns section {
    padding: 28px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 62px;
    padding: 8px 16px;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    padding: 7px 10px;
    font-size: 12px;
  }

  .hero {
    height: 74svh;
    min-height: 500px;
  }

  .hero-background {
    object-position: 54% center;
  }

  .hero-wash {
    background: rgba(255, 255, 255, 0.32);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 24px 0;
  }

  .hero-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
    border-radius: 16px;
  }

  h1 {
    max-width: 7em;
    font-size: 42px;
  }

  .hero-lead {
    max-width: 18em;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .primary-cta {
    min-height: 48px;
    padding: 10px 16px;
  }

  .hero-note {
    max-width: 18em;
    margin-top: 12px;
    line-height: 1.5;
  }

  .intro-section {
    padding: 64px 16px 80px;
  }

  .learn-section {
    padding: 80px 16px;
  }

  .section-heading {
    margin-bottom: 42px;
    text-align: left;
  }

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

  .section-heading > p:last-child,
  .feature-copy > p:not(.feature-number),
  .privacy-copy p:not(.eyebrow),
  .download-section p:not(.eyebrow) {
    font-size: 16px;
  }

  .product-stage {
    grid-template-columns: 0.78fr 1fr;
    gap: 12px;
    padding: 24px 16px 0;
  }

  .phone-right {
    display: none;
  }

  .phone {
    border-width: 6px;
    border-radius: 24px;
  }

  .phone img {
    border-radius: 17px;
  }

  .phone-side {
    transform: translateY(28px);
  }

  .feature-band,
  .feature-categories {
    grid-template-columns: 1fr;
    gap: 46px;
    min-height: auto;
    padding: 80px 20px;
  }

  .feature-categories .feature-visual,
  .feature-categories .feature-copy {
    order: initial;
  }

  .feature-visual {
    order: 2;
  }

  .feature-copy {
    order: 1;
  }

  .single-phone {
    width: min(310px, 82vw);
  }

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

  .learn-columns section {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .learn-columns section:last-child {
    border-bottom: 0;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 20px;
  }

  .privacy-mark {
    width: 92px;
    height: 92px;
    font-size: 46px;
  }

  .privacy-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .download-section {
    padding: 88px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}

@media (max-height: 650px) and (max-width: 700px) {
  .hero {
    height: 72svh;
    min-height: 440px;
  }

  .hero-icon {
    width: 56px;
    height: 56px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .primary-cta {
    transition: none;
  }
}
