@font-face {
  font-family: "Geologica";
  src: url("assets/fonts/Geologica-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Netti brand palette — overrides the generic tokens declared in styles.css */
  --accent-1: #406b8c;
  --seafoam: #eff2e5;
  --cream: #f9fbf2;
  --charcoal: #171712;
  --ink: #171712;
  --paper: #f9fbf2;
  --mono: "Geologica", Inter, ui-sans-serif, system-ui, sans-serif;
  --display: Georgia, "Times New Roman", ui-serif, serif;

  /* Additional accent colors used only in Netti-specific decoration */
  --moss-green: #306b34;
  --coral: #d64045;
  --slate: #406b8c;
}

html {
  overflow-x: clip;
}

.quote-wrap {
  padding-top: 120px;
}

.netti-quote {
  max-width: 860px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  padding: 4px 0 4px 28px;
  color: rgba(249, 251, 242, .72);
  border-left: 4px solid var(--accent-1);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.netti-quote p {
  margin-bottom: 12px;
}

.netti-quote p:last-child {
  margin-bottom: 0;
  color: var(--cream);
  font-weight: 600;
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: var(--mono);
  letter-spacing: -.01em;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 6.1vw, 82px);
  line-height: 1;
}

h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.05;
}

h3 {
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.18;
}

.eyebrow {
  color: var(--slate);
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero {
  background: var(--cream);
  min-height: 100svh;
}

.header {
  width: min(1200px, 100% - 48px);
  min-height: 76px;
  margin-top: 16px;
  padding: 10px 16px 10px 24px;
  background: var(--seafoam);
  border: 0;
  border-radius: 1440px;
}

.header .logo {
  width: 118px;
}

nav a {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.pill,
.callback-form button {
  color: var(--cream);
  background: var(--accent-1);
  border-radius: 1440px;
  box-shadow: none;
  font-family: var(--mono);
  font-weight: 600;
}

.hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  min-height: calc(100svh - 92px);
  padding-block: 72px 88px;
}

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

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(50px, 5vw, 76px);
}

.hero-notes {
  color: var(--slate);
  font-size: 17px;
}

.hero-notes p,
.hero-notes p:first-child {
  max-width: 580px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-notes strong {
  color: var(--ink);
  font-weight: 600;
}

.inline-demo {
  margin-top: 36px;
}

.inline-demo p {
  margin-bottom: 16px;
}

.price-demo {
  margin-top: auto;
  padding-top: 80px;
  color: var(--cream);
  border-top: 0;
}

.price-demo .pill {
  color: var(--cream);
  background: var(--ink);
  min-width: 180px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--cream);
}

.pricing-copy h2,
.pricing-copy > p,
.pricing-copy .price-demo p {
  color: var(--cream);
}

.pricing-copy > p:not(.eyebrow) {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
}

.pricing-copy .price-demo p {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.45;
}

.callback-prompt {
  margin-bottom: 28px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
}

.mark {
  isolation: isolate;
  min-height: 460px;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 32px;
  box-shadow: none;
  transform: rotate(1.5deg);
}

.mark::before,
.mark::after {
  content: "";
  z-index: -2;
  position: absolute;
  border-radius: 44% 56% 62% 38% / 54% 35% 65% 46%;
}

.mark::before {
  inset: -36px 28% 48% -44px;
  background: var(--moss-green);
  transform: rotate(-9deg);
}

.mark::after {
  inset: 46% -42px -38px 26%;
  background: var(--coral);
  transform: rotate(8deg);
}

.post {
  z-index: 1;
  bottom: auto;
  background: var(--seafoam);
  border-radius: 24px;
}

.post::before,
.post::after,
.post span {
  display: none;
}

.post-one {
  width: 58%;
  height: 62%;
  top: 9%;
  left: 8%;
  background: var(--ink);
}

.post-one::after {
  content: "";
  display: block;
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(90deg, transparent 49.5%, #ffffff 49.5% 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, #ffffff 49.5% 50.5%, transparent 50.5%),
    var(--moss-green);
  border: 2px solid #fff;
  border-radius: 12px;
}

.post-two {
  width: 36%;
  height: 34%;
  top: 56%;
  left: 56%;
  background: var(--accent-1);
}

.post-three {
  width: 28%;
  height: 28%;
  top: 16%;
  right: 6%;
  background: var(--seafoam);
}

.mark-line {
  z-index: -1;
  border-radius: 50%;
}

.line-one {
  width: 34%;
  height: 34%;
  top: -9%;
  left: 60%;
  background: var(--accent-1);
}

.line-two {
  width: 23%;
  height: 23%;
  top: 72%;
  right: 74%;
  background: var(--ink);
}

.flow-band,
.audiences,
.start,
footer {
  background: var(--seafoam);
}

.solution,
.features {
  background: var(--cream);
}

.online {
  background: var(--ink);
  color: var(--cream);
}

.online h2,
.online .eyebrow {
  color: var(--cream);
}

.online .eyebrow {
  opacity: .66;
}

.form-sheet {
  background: var(--seafoam);
  border: 0;
  border-radius: 24px;
}

.form-sheet span {
  background: var(--ink);
  opacity: .55;
}

.form-sheet b {
  color: var(--cream);
  background: var(--accent-1);
}

.qr {
  border: 0;
  border-radius: 20px;
}

.sticky-heading h2::after {
  height: 12px;
  margin-top: 22px;
  background: var(--accent-1);
  border-radius: 1440px;
}

.flow-list,
.flow-list li {
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.audience-grid {
  gap: 16px;
  border: 0;
}

.audience-grid article,
.audience-grid article + article {
  min-height: 290px;
  padding: 32px;
  background: var(--cream);
  border: 0;
  border-radius: 24px;
}

.audience-grid span,
.feature-grid span {
  color: var(--slate);
  font-family: var(--mono);
  font-weight: 600;
}

.feature-grid {
  gap: 16px;
  background: transparent;
  border: 0;
}

.feature-grid article {
  min-height: 310px;
  padding: 32px;
  background: var(--seafoam);
  border: 0;
  border-radius: 24px;
}

.feature-grid article::before {
  display: none;
}

.feature-grid p,
.audience-grid p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.5;
}

.pricing {
  color: var(--cream);
  background: var(--accent-1);
}

.pricing .eyebrow {
  color: var(--cream);
  opacity: .66;
}

.price-panel {
  color: var(--ink);
  padding: 40px;
  background: var(--cream);
  border: 0;
  border-radius: 24px;
}

.price-panel li {
  border-color: color-mix(in srgb, var(--ink) 24%, transparent);
}

.price-kicker {
  margin-bottom: 28px;
}

.court-note {
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--accent-1);
}

.court-note p {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.55;
}

.court-note p:last-child {
  margin-bottom: 0;
}

.includes-label {
  margin-top: 40px;
}

.free-months {
  border-color: var(--ink);
  border-radius: 1440px;
}

.setup-list {
  border: 0;
}

.setup-list article {
  margin-bottom: 16px;
  padding: 48px;
  background: var(--cream);
  border: 0;
  border-radius: 24px;
}

.setup-icon {
  width: 96px;
  height: 96px;
  color: var(--cream);
  background: var(--accent-1);
  border-radius: 1440px;
  font: 700 42px/1 var(--mono);
}

.contact,
.callback-strip {
  color: var(--cream);
  background: var(--ink);
}

.contact h2,
.contact .eyebrow {
  color: var(--cream);
}

.form-field input {
  border-color: var(--cream);
  font-family: var(--mono);
}

.form-field input:focus {
  border-color: var(--accent-1);
}

footer {
  padding-block: 32px;
}

.product-shot {
  overflow: hidden;
  background: #fff;
  border: 10px solid #fff;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(23, 23, 18, .12);
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-product-shot {
  aspect-ratio: 1 / 1.05;
  width: 100%;
  min-width: 0;
  transform: rotate(1.5deg);
}

.hero-product-shot img {
  object-position: top left;
}

.section-product-shot {
  margin-top: 80px;
  aspect-ratio: 16 / 9;
}

.section-product-shot img {
  object-position: top center;
}

.registration-product-shot {
  width: min(520px, 100%);
  max-height: 620px;
  justify-self: center;
}

.registration-product-shot img {
  object-position: top center;
}

.tournament-product-shot {
  margin-top: 72px;
  width: min(900px, 100%);
  aspect-ratio: 1779 / 1920;
  margin-inline: auto;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 72px;
  align-items: start;
}

.product-showcase figure {
  margin-inline: 0;
}

.product-showcase figure:first-child {
  aspect-ratio: 16 / 9;
}

.product-showcase figcaption {
  padding: 18px 16px 10px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .header {
    width: min(100% - 32px, 1200px);
  }

  .mark {
    width: min(560px, 100%);
  }

  .hero-product-shot {
    width: min(560px, 100%);
    margin-inline: auto;
  }

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

  .price-demo {
    margin-top: 0;
    padding-top: 40px;
  }
}

@media (max-width: 680px) {
  .header {
    min-height: 64px;
    margin-top: 10px;
    padding: 8px 10px 8px 18px;
  }

  .header .logo {
    width: 102px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .sticky-heading h2 {
    white-space: normal;
  }

  .hero-grid {
    padding-top: 56px;
  }

  .mark {
    min-height: 330px;
    border-width: 7px;
  }

  .product-shot {
    border-width: 6px;
    border-radius: 20px;
  }

  .hero-product-shot {
    aspect-ratio: 1 / 1;
  }

  .section-product-shot {
    margin-top: 48px;
    aspect-ratio: 4 / 3;
  }

  .registration-product-shot {
    max-height: 520px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .netti-quote {
    padding-left: 20px;
  }

  .quote-wrap {
    padding-top: 80px;
  }

  .audience-grid,
  .feature-grid {
    gap: 12px;
  }

  .audience-grid article,
  .audience-grid article + article,
  .feature-grid article {
    min-height: 0;
    padding: 28px;
  }

  .price-panel,
  .setup-list article {
    padding: 28px;
  }

  .setup-list article {
    grid-template-columns: 64px 1fr;
  }

  .setup-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
}
