/* Make 28:2: city hero, angled sample cards, editorial steps and navy comparison. */
main[data-page="home"] {
  max-width: none;
  padding: 0;
}
.home {
  background: #fff;
}
.home-wrap {
  width: min(100% - 160px, 1280px);
  margin-inline: auto;
}
.home .eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1.4px;
  font-weight: 700;
  margin: 0 0 20px;
}
.home h2 {
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: -1px;
}
.home-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, #071522dc, #11182799),
    url("/home-city.png") center / cover;
}
.hero-layout {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 96px;
}
.home-hero .eyebrow {
  color: #ffb5c2;
}
.home-hero h1 {
  color: #fff;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -1.8px;
  text-wrap: balance;
}
.hero-description {
  font-size: 17px;
  color: #e1e5ec;
  margin: 24px 0 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.home .button.primary {
  width: auto;
  border-radius: 99px;
  min-height: 52px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
}
.hero-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  border-bottom: 1px solid #ffffff60;
}
.hero-note {
  font-size: 12px;
  color: #d0d7e2;
  margin: 16px 0 0;
}
.hero-image-note {
  position: absolute;
  right: 24px;
  bottom: 14px;
  margin: 0;
  color: #d0d7e2;
  font-size: 10px;
}
.sample-caption {
  font-size: 12px;
  color: #d0d7e2;
  margin: 0 0 24px;
}
.sample-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  position: relative;
  align-items: center;
}
.home-sample {
  min-width: 0;
  background: white;
  color: #1a1a2e;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 40px #0004;
  transform: rotate(-3deg);
}
.home-sample:last-child {
  transform: rotate(3deg) translateY(18px);
}
.home-sample > img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}
.sample-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 16px 0 12px;
}
.sample-title h2 {
  font-size: 17px;
  letter-spacing: 0;
  margin: 0;
}
.sample-title span {
  font-size: 10px;
  white-space: nowrap;
}
.home-sample dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 8px;
  margin: 0;
  font-size: 11px;
}
.home-sample dt {
  color: #5f6b76;
}
.home-sample dd {
  text-align: right;
  margin: 0;
  font-weight: 600;
}
.home-sample > p {
  margin: 14px 0 0;
  font-size: 10px;
  color: #5f6b76;
}
.sample-vs {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}
.home-scope {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #5f6b76;
}
.home-scope .home-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.home-scope span {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.home-journey {
  padding-block: 88px 96px;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
}
.home-steps li {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step-number {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.home-steps h3 {
  font-size: 19px;
}
.home-steps p {
  margin: 12px 0;
  font-size: 14px;
  color: #5f6b76;
  line-height: 1.85;
}
.home-steps a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  gap: 12px;
}
.home-proof {
  background: #1a1a2e;
  color: white;
  padding-block: 88px;
}
.proof-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 88px;
  align-items: center;
}
.home-proof .eyebrow {
  color: #ff9fb1;
}
.home-proof h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.home-proof p {
  font-size: 14px;
  color: #c8c9d3;
  line-height: 1.9;
}
.proof-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  margin-top: 16px;
  color: #ffb5c2;
}
.proof-table-wrap {
  background: #ffffff06;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  padding: 24px;
  min-width: 0;
}
.proof-table-wrap .sample-caption {
  margin: 0 0 12px;
  font-size: 11px;
}
.proof-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.proof-table th,
.proof-table td {
  border-bottom: 1px solid #ffffff20;
  padding: 20px 8px;
  text-align: right;
  overflow-wrap: anywhere;
}
.proof-table th:first-child {
  text-align: left;
}
.proof-table tbody th {
  color: #b8bac9;
  font-weight: 400;
}
.proof-table .unknown {
  color: #ffd18b;
}
.proof-table-wrap .proof-footnote {
  font-size: 11px;
  margin: 18px 0 0;
}
.home-start {
  text-align: center;
  padding-block: 88px;
}
.home-start > p:not(.eyebrow) {
  color: #5f6b76;
  font-size: 14px;
}
.home-start .button {
  margin: 20px 0 14px;
}
.condition-link {
  display: block;
  width: fit-content;
  margin: auto;
  padding: 12px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #5f6b76;
}
.home-start > .meta {
  font-size: 11px;
  margin-top: 24px;
}
.home-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.home-resume h2 {
  font-size: 23px;
}
.home-resume p {
  font-size: 13px;
  color: #5f6b76;
}
.mobile-break {
  display: none;
}
@media (min-width: 1600px) {
  .home-wrap {
    width: min(100% - 192px, 1440px);
  }
}
@media (max-width: 1199px) {
  .home-wrap {
    width: calc(100% - 80px);
  }
  .hero-layout {
    gap: 36px;
  }
  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero h1 {
    font-size: 36px;
  }
  .home-sample {
    padding: 12px;
  }
  .home-sample > img {
    height: 110px;
  }
  .sample-pair {
    gap: 18px;
  }
  .proof-layout {
    gap: 40px;
  }
}
@media (max-width: 899px) {
  .home-wrap {
    width: calc(100% - 64px);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    padding-block: 64px 76px;
    gap: 48px;
  }
  .hero-preview {
    width: min(100%, 560px);
  }
  .home-hero h1 {
    font-size: 42px;
  }
  .home-steps {
    gap: 24px;
  }
  .proof-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .home-wrap {
    width: calc(100% - 40px);
  }
  .hero-layout {
    padding-block: 48px 64px;
    gap: 40px;
  }
  .home-hero h1 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 16px;
  }
  .home .button.primary {
    font-size: 14px;
    padding-inline: 22px;
  }
  .hero-secondary {
    font-size: 13px;
  }
  .home-sample {
    padding: 10px;
    border-radius: 12px;
  }
  .home-sample > img {
    height: 94px;
  }
  .sample-title {
    display: block;
    margin: 12px 0 10px;
  }
  .sample-title h2 {
    font-size: 15px;
  }
  .sample-title span {
    font-size: 9px;
  }
  .home-sample dl {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 10px;
  }
  .home-sample dd {
    text-align: left;
    margin-bottom: 6px;
    font-size: 12px;
  }
  .home-sample > p {
    font-size: 9px;
  }
  .sample-caption {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .sample-vs {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .hero-image-note {
    left: 20px;
    right: 20px;
    font-size: 9px;
  }
  .home-scope {
    font-size: 11px;
  }
  .home-scope .home-wrap {
    gap: 8px 12px;
  }
  .home-scope span {
    padding-left: 12px;
  }
  .home h2 {
    font-size: 27px;
  }
  .home-sample h2 {
    font-size: 15px;
  }
  .home-journey,
  .home-start {
    padding-block: 56px;
  }
  .mobile-break {
    display: initial;
  }
  .home-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .step-number {
    margin-bottom: 12px;
  }
  .home-steps h3 {
    font-size: 18px;
  }
  .home-proof {
    padding-block: 56px;
  }
  .proof-table-wrap {
    padding: 16px 12px;
  }
  .proof-table {
    font-size: 11px;
  }
  .proof-table th,
  .proof-table td {
    padding: 18px 4px;
  }
  .home-resume {
    align-items: start;
    flex-direction: column;
  }
}

/* Share the same grid as navigation, content pages and footer. */
.home-wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
}
