* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #dcdcdc;
  --soft: #f7f7f7;
  --green: #dff4e8;
  --green-strong: #bfe8cf;
  --green-text: #154d2e;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
}

.logo {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo img {
    height: 78px;
    width: auto;
    display: block;
}

.topbar nav {
  display: flex;
  gap: 24px;
}

.topbar nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.topbar nav a:hover,
.topbar nav a.active {
  color: var(--text);
}

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

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: center;
  padding: 90px 0;
}

.kicker {
  margin: 0 0 20px;
  color: var(--green-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 86px);
}

h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

p {
  color: var(--muted);
}

.intro {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.button,
button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--text);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--text);
  color: #ffffff;
}

.button:hover,
button:hover {
  background: var(--green);
  color: var(--text);
}



.scanner-preview {
  min-height: 420px;
  border: 1px solid var(--text);
  background: #121212;
  color: #ffffff;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.scanner-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.scanner-mode,
.scanner-info,
.scanner-fps {
  border: 1px solid #555555;
  background: #1b1b1b;
  padding: 7px 9px;
}

.scanner-mode {
  justify-self: start;
}

.scanner-fps {
  justify-self: center;
}

.scanner-info {
  justify-self: end;
}

.scanner-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 0;
}

.scanner-result {
  border: 1px solid #555555;
  background: #000000;
  padding: 18px 24px;
}

.scanner-date {
  color: #3cff78;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.scanner-bottom {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.scanner-expiry-state {
  color: #3cff78;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scanner-status {
  border: 1px solid #555555;
  background: #1b1b1b;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.block {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.block:last-child {
  border-right: 0;
}

.block-number {
  display: block;
  margin-bottom: 45px;
  color: var(--green-text);
  font-size: 12px;
  font-weight: 700;
}

.block h2 {
  font-size: 24px;
}

.statement {
  margin-top: 80px;
  margin-bottom: 100px;
  padding: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, #f7fff9 0%, #ffffff 70%);
}

.statement p {
  max-width: 760px;
}

.text-link {
  color: var(--green-text);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.footer {
  min-height: 90px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.footer div {
  display: flex;
  gap: 20px;
}

.footer a {
  text-decoration: none;
}

.footer > span:last-child {
  text-align: right;
}

.page-title {
  padding: 80px 0 40px;
}

.page-title h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 7vw, 72px);
}

.page-title p:last-child {
  margin-bottom: 0;
}

.legal {
  padding-bottom: 90px;
}

.policy-box {
  margin-bottom: 16px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.policy-box:nth-of-type(2n) {
  background: #fbfffc;
}

.policy-box h2 {
  font-size: 21px;
}

.policy-box p:last-child,
.policy-box ul:last-child {
  margin-bottom: 0;
}

.policy-box ul {
  padding-left: 20px;
  color: var(--muted);
}

.policy-box li + li {
  margin-top: 6px;
}

.support {
  padding-bottom: 90px;
}

.support-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  align-items: start;
}

.support-notes {
  display: grid;
  gap: 14px;
}

.support-box,
.form-box {
  border: 1px solid var(--line);
  padding: 26px;
  background: #ffffff;
}

.support-box h2,
.form-box h2 {
  font-size: 21px;
}

.form-box {
  background:
    linear-gradient(180deg, #fbfffc 0%, #ffffff 160px);
}

.form-note {
  margin-top: -4px;
  margin-bottom: 28px;
  font-size: 14px;
}

form {
  display: grid;
}

label {
  margin: 18px 0 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

label:first-of-type {
  margin-top: 0;
}

label span {
  color: var(--muted);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  padding: 12px;
  font: inherit;
}

input,
select {
  min-height: 46px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--green-strong);
  outline-offset: 0;
  border-color: var(--green-text);
}

.check-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  font-weight: 400;
  line-height: 1.4;
}

.check-row input {
  width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
}

button {
  width: 100%;
}

.small {
  margin: 16px 0 0;
  font-size: 12px;
}

@media (max-width: 800px) {
  .hero,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 40px;
    padding: 70px 0;
  }

  
.scanner-preview {
  min-height: 420px;
  border: 1px solid var(--text);
  background: #121212;
  color: #ffffff;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.scanner-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.scanner-mode,
.scanner-info,
.scanner-fps {
  border: 1px solid #555555;
  background: #1b1b1b;
  padding: 7px 9px;
}

.scanner-mode {
  justify-self: start;
}

.scanner-fps {
  justify-self: center;
}

.scanner-info {
  justify-self: end;
}

.scanner-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 0;
}

.scanner-result {
  border: 1px solid #555555;
  background: #000000;
  padding: 18px 24px;
}

.scanner-date {
  color: #3cff78;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.scanner-bottom {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.scanner-expiry-state {
  color: #3cff78;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scanner-status {
  border: 1px solid #555555;
  background: #1b1b1b;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

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

  .block {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .block:last-child {
    border-bottom: 0;
  }

  .block-number {
    margin-bottom: 28px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 0 18px;
  }

  .topbar nav {
    gap: 14px;
  }

  .page-width {
    width: min(100% - 28px, 1080px);
  }

  h1 {
    font-size: 48px;
  }

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

  .button {
    width: 100%;
  }

  .statement,
  .policy-box,
  .support-box,
  .form-box {
    padding: 22px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 26px 18px;
  }

  .footer > span:last-child {
    text-align: left;
  }
}


.feature-grid,
.colour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line);
}

.feature-box,
.colour-box {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.feature-box:last-child,
.colour-box:last-child {
  border-right: 0;
}

.feature-name {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.feature-box p,
.colour-box p {
  margin-bottom: 0;
}

.metric {
  margin-bottom: 30px;
  color: var(--green-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.colour-box h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.colour-indicator {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.colour-indicator.green {
  color: #0b6b31;
  background: #e9f8ee;
}

.colour-indicator.yellow {
  color: #735b00;
  background: #fff8d6;
}

.colour-indicator.red {
  color: #a81818;
  background: #ffecec;
}

.performance-note {
  margin: 26px 0 0;
  font-size: 12px;
}

@media (max-width: 800px) {

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

  .feature-box,
  .colour-box {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-box:last-child,
  .colour-box:last-child {
    border-bottom: 0;
  }

}