:root {
  --product-night: #081d32;
  --product-night-soft: #102c45;
  --product-green: #10d187;
  --product-green-dark: #087b50;
  --product-ice: #eef5f7;
  --product-sand: #f6f1e8;
}

.product-page .site-header {
  position: relative;
  z-index: 20;
}

.till-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 34%, rgba(26, 91, 123, 0.48), transparent 34%),
    linear-gradient(135deg, #071827 0%, #0b263d 58%, #081d32 100%);
}

.till-hero-inner,
.till-proof,
.till-features,
.till-checkout,
.till-scale,
.till-cta {
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

.till-hero-inner {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: 56px;
  padding-top: 46px;
  padding-bottom: 88px;
}

.till-hero-copy {
  position: relative;
  z-index: 3;
}

.product-label {
  margin: 0 0 18px;
  color: #76e9bb;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-label-dark {
  color: var(--product-green-dark);
}

.till-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 5.8vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.till-title-line {
  display: block;
  white-space: nowrap;
}

.till-hero h1 .till-title-accent {
  color: #74e4b7;
}

.till-hero-lead {
  max-width: 570px;
  margin: 28px 0 0;
  color: #f5f8fa;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.42;
}

.till-hero-support {
  max-width: 560px;
  margin: 13px 0 0;
  color: #b9c9d6;
  font-size: 16px;
  white-space: nowrap;
}

.till-hero-actions {
  margin-top: 31px;
}

.product-page .till-hero-actions .button-primary,
.product-page .till-cta .button-primary {
  border-color: var(--product-green);
  color: #062317;
  background: var(--product-green);
}

.product-page .till-hero-actions .button-primary:hover,
.product-page .till-cta .button-primary:hover {
  border-color: var(--product-green-dark);
  color: #fff;
  background: var(--product-green-dark);
}

.till-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 0 38px;
}

.till-hardware-image {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.34));
}

.till-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  color: #91a5b6;
  font-size: 11px;
  text-align: center;
}

.till-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--product-night);
  background: #fff;
}

.till-proof > div {
  min-width: 0;
  padding: 29px 26px 31px;
  border-left: 1px solid #d5dee7;
}

.till-proof > div:first-child {
  border-left: 0;
}

.till-proof strong,
.till-proof span {
  display: block;
}

.till-proof strong {
  font-size: 16px;
}

.till-proof span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.till-features {
  padding-top: 95px;
  padding-bottom: 104px;
  background: var(--product-sand);
}

.till-section-heading {
  margin-bottom: 48px;
}

.till-section-heading h2,
.checkout-copy h2,
.till-scale h2,
.till-cta h2 {
  margin: 0;
  color: var(--product-night);
  font-size: clamp(39px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

#basket-title {
  font-size: clamp(34px, 4vw, 56px);
  white-space: nowrap;
}

.till-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.till-feature-card {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #afbec7;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 33, 53, 0.08);
}

.feature-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #176b97;
}

.feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.till-feature-card h3 {
  margin: 24px 0 0;
  color: var(--product-night);
  font-size: 22px;
  line-height: 1.15;
}

.till-feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.feature-note {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 9px;
  border-radius: 5px;
  color: #075f3d;
  background: #dff7eb;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.till-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 72px;
  padding-top: 82px;
  padding-bottom: 86px;
  background: #fff;
}

.till-showcase + .till-showcase {
  border-top: 1px solid #dbe3e8;
}

.till-showcase-reverse {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  background: var(--product-ice);
}

.till-showcase-reverse .checkout-image-panel {
  order: 2;
}

.till-showcase-reverse .checkout-copy {
  order: 1;
}

.checkout-image-panel {
  min-width: 0;
  padding: 11px;
  border: 1px solid #8198aa;
  border-radius: 18px;
  background: var(--product-night);
  box-shadow: 0 24px 50px rgba(8, 29, 50, 0.2);
}

.checkout-image-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.login-screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.clean-feature-list {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid #cbd6dd;
  list-style: none;
}

.clean-feature-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #cbd6dd;
}

.clean-feature-list strong {
  color: var(--product-night);
  font-size: 15px;
}

.clean-feature-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.till-scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 52px 78px;
  padding-top: 94px;
  padding-bottom: 95px;
  color: #fff;
  background: var(--product-night);
}

.till-scale h2 {
  color: #fff;
}

.till-scale h2 span {
  color: #74e4b7;
}

.till-scale-copy > p:last-child {
  max-width: 590px;
  margin: 24px 0 0;
  color: #b9c9d6;
  font-size: 17px;
}

.till-scale-steps {
  border-top: 1px solid #426078;
}

.till-scale-steps > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 22px 0;
  border-bottom: 1px solid #426078;
}

.till-scale-steps span {
  grid-row: 1 / 3;
  color: #76e9bb;
  font-size: 12px;
  font-weight: 850;
}

.till-scale-steps strong {
  font-size: 18px;
}

.till-scale-steps small {
  color: #b9c9d6;
  font-size: 13px;
}

.scale-scope {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid #426078;
  background: #426078;
}

.scale-scope span {
  padding: 18px 14px;
  color: #dce6ed;
  background: #0d263b;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.till-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding-top: 54px;
  padding-bottom: 54px;
  background: #dff7eb;
}

.till-cta h2 {
  max-width: 850px;
  font-size: clamp(34px, 4vw, 52px);
}

.till-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 1060px) {
  .till-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .till-hero-copy {
    max-width: 760px;
  }

  .till-visual {
    width: min(820px, 100%);
    margin: 0 auto;
  }

  .till-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .till-checkout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .till-showcase-reverse .checkout-image-panel,
  .till-showcase-reverse .checkout-copy {
    order: initial;
  }

  .checkout-image-panel {
    width: min(850px, 100%);
  }

  .till-scale {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .till-hero-inner,
  .till-proof,
  .till-features,
  .till-checkout,
  .till-scale,
  .till-cta {
    padding-right: 20px;
    padding-left: 20px;
  }

  .till-hero-inner {
    padding-top: 38px;
    padding-bottom: 64px;
  }

  .till-hero h1 {
    font-size: clamp(36px, 11.5vw, 58px);
  }

  .till-hero-lead {
    font-size: 19px;
  }

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

  .till-visual {
    padding-top: 14px;
  }

  .till-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .till-proof > div {
    padding: 23px 16px;
    border-top: 1px solid #d5dee7;
  }

  .till-proof > div:nth-child(odd) {
    border-left: 0;
  }

  .till-proof > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .till-features,
  .till-checkout,
  .till-scale {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .till-section-heading h2,
  .checkout-copy h2,
  .till-scale h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  #basket-title {
    font-size: clamp(30px, 8.4vw, 48px);
  }

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

  .till-feature-card {
    min-height: 0;
  }

  .feature-note {
    margin-top: 24px;
  }

  .clean-feature-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .till-scale {
    grid-template-columns: 1fr;
  }

  .scale-scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .till-cta {
    align-items: stretch;
    flex-direction: column;
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .till-cta h2 {
    font-size: clamp(31px, 10vw, 46px);
  }

  .till-cta .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .till-hero h1 {
    font-size: clamp(30px, 9.6vw, 42px);
  }

  .till-hero-support {
    font-size: clamp(10px, 3.2vw, 12px);
  }

  .login-screen-pair {
    grid-template-columns: 1fr;
  }

}
