:root {
  --crimson: #dc143c;
  --crimson-dark: #b50f31;
  --ink: #17191d;
  --muted: #5f6570;
  --line: #dfe3e9;
  --mist: #f2f5f9;
  --ice: #eaf2f7;
  --white: #ffffff;
  --green: #177447;
  --shadow: 0 18px 50px rgba(23, 25, 29, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(23, 25, 29, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 178px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #383c43;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--crimson);
}

.hero {
  position: relative;
  min-height: min(820px, 92svh);
  overflow: hidden;
  background: url("/assets/g8-knock-community-entrance.jpg") center center / cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(820px, 92svh);
  align-items: center;
  padding-top: 90px;
}

.hero-copy {
  width: min(610px, 56%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--crimson);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  color: #111216;
  font-size: clamp(56px, 7rem, 112px);
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3rem, 52px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 30px;
  color: #2d3138;
  font-size: 20px;
  line-height: 1.55;
}

.launch-date {
  display: inline-flex;
  margin: -7px 0 22px;
  border-left: 3px solid var(--crimson);
  padding: 4px 0 4px 12px;
  color: #31353c;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.launch-date time {
  margin-left: 7px;
  color: var(--crimson-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(220, 20, 60, 0.25);
  outline-offset: 3px;
}

.button-primary {
  background: var(--crimson);
  color: var(--white);
}

.button-primary:hover {
  background: var(--crimson-dark);
}

.button-secondary {
  border-color: rgba(23, 25, 29, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: #000000;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: #363a41;
  font-size: 13px;
  font-weight: 700;
}

.hero-proof span {
  position: relative;
  padding-left: 17px;
}

.hero-proof span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.launch-section,
.platform-section,
.download-section {
  scroll-margin-top: 24px;
}

.launch-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4f7fa;
  padding: 96px 0;
}

.launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: 76px;
}

.launch-copy h2 {
  max-width: 650px;
}

.launch-intro {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.offer-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid #cfd5dd;
  border-bottom: 1px solid #cfd5dd;
  padding: 25px 0;
}

.offer-summary > div {
  display: flex;
  flex-direction: column;
}

.offer-summary span {
  color: var(--crimson-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-summary strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 54px;
  line-height: 1;
}

.offer-summary sup {
  color: var(--crimson);
  font-size: 18px;
  vertical-align: top;
}

.offer-summary p {
  margin: 0;
  color: #3e434b;
  font-size: 17px;
  font-weight: 650;
}

.offer-terms {
  margin: 18px 0 0;
  color: #737983;
  font-size: 12px;
  line-height: 1.55;
}

.signup-form {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(220, 20, 60, 0.55), #c9d8e1 68%, rgba(40, 116, 138, 0.45)) border-box;
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-heading p {
  margin: 0 0 5px;
  color: var(--crimson-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-heading h3 {
  margin-bottom: 28px;
  font-size: 26px;
}

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

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.consent-field span {
  color: #454a52;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 48px;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 0 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:hover {
  border-color: #9ea6b1;
}

.field input:focus {
  border-color: var(--crimson);
  outline: 0;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.12);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  cursor: pointer;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
  accent-color: var(--crimson);
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-button {
  width: 100%;
}

.signup-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-status {
  min-height: 21px;
  margin: 13px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: var(--crimson-dark);
}

.platform-section {
  padding: 104px 0 108px;
}

.section-heading {
  max-width: 710px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 64px;
}

.feature {
  border-top: 3px solid var(--ink);
  padding-top: 24px;
}

.feature:nth-child(2) {
  border-color: var(--crimson);
}

.feature:nth-child(3) {
  border-color: #28748a;
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  color: #8a9099;
  font-size: 13px;
  font-weight: 800;
}

.feature p,
.app-description,
.install-note p {
  margin: 0;
  color: var(--muted);
}

.download-section {
  border-top: 1px solid var(--line);
  background: var(--mist);
  padding: 96px 0;
}

.download-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 64px;
  margin-bottom: 44px;
}

.download-heading h2 {
  margin-bottom: 0;
}

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

.download-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 62%, #edf3f7 100%);
  padding: 30px;
  box-shadow: var(--shadow);
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-icon {
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  place-items: center;
  border: 1px solid #f1bac6;
  border-radius: 8px;
  background: #fff4f6;
}

.app-icon-dark {
  border-color: #cfd8dd;
  background: var(--ice);
}

.app-icon img {
  width: 50px;
  height: auto;
}

.app-label {
  margin: 0 0 4px;
  color: var(--crimson);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-identity h3 {
  margin: 0;
}

.app-description {
  min-height: 78px;
  margin-top: 26px;
}

.app-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-meta div {
  padding: 15px 0;
}

.app-meta div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.app-meta dt {
  color: #7c828c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.app-meta dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.download-button {
  width: 100%;
}

details {
  margin-top: 14px;
  color: #6b717a;
  font-size: 12px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 9px;
  color: #444950;
  font-size: 10px;
  line-height: 1.5;
}

.install-note {
  display: flex;
  max-width: 820px;
  align-items: flex-start;
  gap: 15px;
  margin-top: 28px;
}

.note-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: #d9e9f0;
  color: #185a6c;
  font-size: 14px;
  font-weight: 800;
}

.install-note h3 {
  margin: 1px 0 4px;
  font-size: 16px;
}

.install-note p {
  font-size: 14px;
}

footer {
  border-top: 1px solid #2a2d32;
  background: var(--ink);
  color: #d6d8dc;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 118px;
  align-items: center;
  gap: 28px;
}

.footer-inner img {
  width: 148px;
  border-radius: 4px;
  background: var(--white);
  padding: 8px 10px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}

.footer-meta a {
  color: var(--white);
  font-weight: 600;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: #ff8da4;
}

.legal-page .site-header {
  position: static;
}

.legal-main {
  background: var(--mist);
  padding: 72px 0 96px;
}

.legal-document {
  max-width: 820px;
}

.legal-document h1 {
  margin-bottom: 12px;
  font-size: 52px;
}

.legal-updated {
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.legal-document section {
  border-top: 1px solid var(--line);
  padding: 28px 0 10px;
}

.legal-document h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.legal-document p,
.legal-document li {
  color: #4b515a;
}

.legal-document ul {
  margin: 12px 0 16px;
  padding-left: 22px;
}

.legal-document a {
  color: var(--crimson-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    background-position: 60% center;
  }

  .hero-scrim {
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-copy {
    width: min(620px, 78%);
  }

  .feature-grid {
    gap: 24px;
  }

  .launch-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .launch-copy {
    max-width: 700px;
  }

  .download-heading {
    display: block;
  }

  .download-heading > p {
    max-width: 640px;
    margin-top: 14px;
  }

}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 148px;
  }

  .desktop-nav {
    gap: 16px;
    font-size: 13px;
  }

  .desktop-nav a:not(:first-child) {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero {
    background-position: 68% center;
  }

  .hero-scrim {
    background: rgba(255, 255, 255, 0.8);
  }

  .hero-inner {
    align-items: flex-end;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 36px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .launch-section,
  .platform-section,
  .download-section {
    padding: 72px 0;
  }

  .offer-summary {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .signup-form {
    padding: 26px 22px;
  }

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

  .field-wide {
    grid-column: auto;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    margin-top: 48px;
  }

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

  .download-card {
    padding: 24px;
  }

  .app-description {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 32px 0;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-main {
    padding: 52px 0 72px;
  }

  .legal-document h1 {
    font-size: 42px;
  }

}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
