:root {
  --ink: #101820;
  --ink-2: #1c2a35;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #d9dfd8;
  --muted: #5d6870;
  --green: #0f7c55;
  --green-2: #0a5f43;
  --brass: #b6812f;
  --blue: #315f72;
  --shadow: 0 18px 60px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  display: block;
  width: clamp(190px, 22vw, 290px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  color: rgba(16, 24, 32, 0.74);
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--green-2);
}

.language-selector {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  background: #eef2ed;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-selector button {
  min-width: 38px;
  min-height: 34px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-selector button.active {
  color: var(--white);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.92) 0%, rgba(16, 24, 32, 0.74) 38%, rgba(16, 24, 32, 0.2) 75%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.52), rgba(16, 24, 32, 0.04) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 138px clamp(22px, 7vw, 92px) 92px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
}

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

.button.primary:hover {
  background: var(--green-2);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-form .button.secondary,
.button.full {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
  margin-top: 18px;
}

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

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 22px clamp(18px, 4vw, 54px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 15px;
}

.trust-band span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(70px, 9vw, 116px) 0;
}

.section + .section {
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.image-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.image-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-position: center;
  background-size: cover;
}

.image-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.84), rgba(247, 248, 245, 0.68) 48%, rgba(247, 248, 245, 0.34)),
    linear-gradient(0deg, rgba(247, 248, 245, 0.8), rgba(247, 248, 245, 0.44));
}

.solutions-section::before {
  background-image: url("assets/bg-payments-software.jpg");
  background-position: 68% center;
}

.industry-section::before {
  background-image: url("assets/bg-service-operations.jpg");
  background-position: 62% center;
}

.faq-section::before {
  background-image: url("assets/bg-golf-systems.jpg");
  background-position: center;
}

.partner-section::before {
  background-image: url("assets/bg-payments-software.jpg");
  background-position: 70% center;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 660px;
}

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

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.calculator-copy p,
.contact-copy p,
.partner-layout p {
  color: var(--muted);
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.solution-card,
.tier-list article,
.industry-card,
.partner-list article,
.calculator-panel,
.contact-form,
.config-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(16, 24, 32, 0.04);
}

.solution-card {
  min-height: 260px;
  padding: 24px;
}

.card-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 48px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.solution-card p,
.tier-list p,
.industry-card p,
.partner-list p {
  color: var(--muted);
}

.hardware-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9eee8;
}

.hardware-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/bg-payments-software.jpg") 64% center / cover;
  opacity: 0.52;
}

.hardware-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 238, 232, 0.84), rgba(233, 238, 232, 0.68) 56%, rgba(233, 238, 232, 0.36)),
    linear-gradient(0deg, rgba(233, 238, 232, 0.78), rgba(233, 238, 232, 0.44));
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.tier-list {
  display: grid;
  gap: 12px;
}

.tier-list article {
  padding: 24px;
}

.tier-list span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry-card {
  min-height: 220px;
  padding: 24px;
}

.industry-card.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.industry-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.custom-callout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.custom-callout strong {
  font-size: 20px;
  line-height: 1.2;
}

.custom-callout span {
  color: rgba(255, 255, 255, 0.82);
}

.calculator-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.calculator-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/bg-payments-software.jpg") 68% center / cover;
  opacity: 0.6;
}

.calculator-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.86), rgba(16, 24, 32, 0.72) 50%, rgba(16, 24, 32, 0.42)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.42));
}

.why-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9eee8;
}

.why-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/swipe-family-cover.jpg") center / cover;
  opacity: 0.42;
}

.why-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 238, 232, 0.86), rgba(233, 238, 232, 0.7) 52%, rgba(233, 238, 232, 0.4)),
    linear-gradient(0deg, rgba(233, 238, 232, 0.82), rgba(233, 238, 232, 0.48));
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.why-side {
  display: grid;
  gap: 14px;
}

.about-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

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

.why-grid article,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(16, 24, 32, 0.04);
}

.why-grid article {
  min-height: 210px;
  padding: 22px;
}

.why-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.why-grid p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  max-width: 840px;
  margin-bottom: 0;
  color: var(--muted);
}

.calculator-layout,
.contact-layout,
.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.calculator-copy {
  position: sticky;
  top: 106px;
}

.calculator-copy p,
.calculator-copy .check-list {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--brass);
  content: "✓";
  font-weight: 900;
}

.calculator-panel,
.contact-form,
.config-panel {
  padding: clamp(20px, 4vw, 32px);
}

.calculator-panel {
  color: var(--ink);
  box-shadow: var(--shadow);
}

label,
.range-row {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.range-row {
  grid-template-columns: 1fr auto;
  margin-bottom: 22px;
}

.range-row input {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 124, 85, 0.12);
}

input[type="range"] {
  accent-color: var(--green);
  padding: 0;
}

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

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.results-grid div {
  min-height: 112px;
  padding: 18px;
  background: #f2f5ef;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.results-grid span {
  display: block;
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-grid strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.results-grid .highlight-result {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.highlight-result span {
  color: rgba(255, 255, 255, 0.78);
}

.partner-list {
  display: grid;
  gap: 12px;
}

.partner-list article {
  padding: 24px;
}

.partner-feature {
  display: grid;
  gap: 14px;
}

.partner-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9eee8;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("assets/bg-service-operations.jpg") 58% center / cover;
  opacity: 0.5;
}

.contact-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(233, 238, 232, 0.84), rgba(233, 238, 232, 0.66) 58%, rgba(233, 238, 232, 0.36)),
    linear-gradient(0deg, rgba(233, 238, 232, 0.78), rgba(233, 238, 232, 0.44));
}

.contact-status {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 12px;
  color: var(--green-2);
  background: rgba(15, 124, 85, 0.1);
  border: 1px solid rgba(15, 124, 85, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.config-panel {
  display: grid;
  gap: 14px;
}

.config-panel h3 {
  margin-bottom: 8px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner div:first-child {
  display: grid;
  gap: 4px;
}

.footer-inner div:first-child span:first-child {
  color: var(--white);
  font-weight: 900;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.social-links a:hover {
  background: var(--green);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    padding-top: 206px;
  }

  .trust-band,
  .solution-grid,
  .hardware-layout,
  .industry-grid,
  .why-layout,
  .calculator-layout,
  .contact-layout,
  .partner-layout,
  .config-grid {
    grid-template-columns: 1fr;
  }

  .calculator-copy {
    position: static;
  }

  .solution-card {
    min-height: auto;
  }

  .industry-card {
    min-height: auto;
  }

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

  .card-icon {
    margin-bottom: 28px;
  }
}

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

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-actions,
  .form-actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .field-grid,
  .results-grid,
  .custom-callout {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 18px;
    font-size: 13px;
  }

  .brand img {
    width: min(245px, 78vw);
  }
}
