@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02D0-02D1, U+02D8-02DB, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #f7f7f0;
  --ink: #191e18;
  --muted: #50584e;
  --green: #365346;
  --forest: #202f26;
  --line: #d8dcd1;
  --lime: #d3f755;
  --panel: #fefef9;
  --font: "Geist", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
:where(section[id], article[id], #tartalom, #adatkezeles) { scroll-margin-top: 28px; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 2px solid #426b36;
  outline-offset: 4px;
}

::selection { background: var(--lime); color: var(--ink); }

.shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 10px;
  padding: 10px 16px;
  border-radius: 5px;
  background: var(--lime);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-block; width: 145px; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 36px; }

.primary-nav a, .text-link {
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav a:hover, .text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 680;
  font-size: .95rem;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button svg, .text-link svg, .email-link svg { flex: 0 0 auto; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover:not(:disabled) { background: #c6e94b; }

.button-outline {
  min-height: 42px;
  border-color: #a7b0a2;
  background: transparent;
}

.button-outline:hover { background: #e9eee1; border-color: var(--green); }
.header-contact { justify-self: end; }

.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(28px, 4.2vw, 64px);
  padding-block: 55px 48px;
}

.hero-copy { min-width: 0; padding-block: 18px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .73rem;
  font-weight: 730;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgb(34 53 26 / 17%);
}

.hero h1 {
  margin-top: 19px;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  font-weight: 730;
  line-height: 1.02;
  letter-spacing: -.077em;
  text-wrap: balance;
}

.hero h1 span { color: var(--green); }

.hero-description {
  max-width: 480px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-top: 30px;
}

.text-link { display: inline-flex; align-items: center; gap: 8px; }

.hero-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: #23372b;
  aspect-ratio: 1.225;
}

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

.image-corner {
  position: absolute;
  top: 19px;
  right: 19px;
  width: 43px;
  height: 43px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.platform-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(20px, 6vw, 88px);
  padding-block: 23px;
  border-block: 1px solid var(--line);
}

.platform-label {
  font-size: .71rem;
  font-weight: 730;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-strip ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.platform-strip li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 650;
}

.platform-strip a:hover { text-decoration: underline; text-underline-offset: 4px; }
.platform-strip li svg { color: var(--green); flex: 0 0 auto; }

.services { padding-block: clamp(44px, 5vw, 62px) 85px; }

.services-intro {
  margin-bottom: clamp(21px, 2.2vw, 29px);
}

.services-intro h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
}

h2 {
  font-size: clamp(2.35rem, 4.05vw, 4rem);
  font-weight: 705;
  line-height: 1.06;
  letter-spacing: -.067em;
  text-wrap: balance;
}

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

.service-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2vw, 27px);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  color: #2d4638;
  background: #e8efda;
}

.service-card h3 {
  margin-top: 17px;
  font-size: 1.25rem;
  line-height: 1.23;
  font-weight: 710;
  letter-spacing: -.035em;
}

.service-card p {
  margin-top: 8px;
  font-size: .94rem;
  line-height: 1.55;
  color: var(--muted);
}

.service-card > p:not(.service-details) { margin-bottom: 16px; }

.service-card .service-details {
  width: 100%;
  margin-top: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: #38483c;
}

.on-prem {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px clamp(30px, 6vw, 85px);
  margin-top: 15px;
  padding: clamp(25px, 3.6vw, 46px);
  border: 1px solid #d4dfcc;
  border-radius: 8px;
  background: #eaf0e2;
}

.on-prem-intro h3 {
  max-width: 440px;
  color: #223b2c;
  font-size: clamp(1.85rem, 3.2vw, 3.04rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.061em;
  text-wrap: balance;
}

.on-prem-intro p {
  max-width: 355px;
  margin-top: 13px;
  color: var(--muted);
  font-size: .95rem;
}

.infrastructure-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.infrastructure-list li {
  display: grid;
  grid-template-columns: 23px 1fr;
  align-items: start;
  gap: 11px;
  padding-block: 10px;
  border-bottom: 1px solid #ced9c7;
}

.infrastructure-list li:first-child { padding-top: 0; }
.infrastructure-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.infrastructure-list svg { margin-top: 2px; color: var(--green); }
.infrastructure-list h4 { font-size: .94rem; font-weight: 670; }
.infrastructure-list p { color: var(--muted); font-size: .88rem; line-height: 1.45; }

.about { background: var(--forest); color: #f8faf3; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding-block: 64px;
}

.about h2, .contact h2 { margin-top: 16px; }
.about-lead { max-width: 410px; margin-top: 18px; color: #d2ddd1; font-size: 1.04rem; }

.process-list {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid #48584c;
}

.process-list li:first-child { padding-top: 0; }
.process-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.process-list svg { color: var(--lime); margin-top: 3px; }
.process-list h3 { font-size: 1rem; font-weight: 670; }
.process-list p { color: #d2ddd1; font-size: .93rem; line-height: 1.5; }

.contact {
  display: grid;
  grid-template-columns: .89fr 1.11fr;
  align-items: start;
  gap: clamp(27px, 5vw, 80px);
  padding-block: 83px;
}

.contact h2 { text-wrap: initial; }

.contact-copy > p:not(.eyebrow) {
  max-width: 385px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 1.06rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
  font-weight: 680;
  color: var(--green);
}

.email-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 33px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-form fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-field { display: grid; gap: 5px; margin-bottom: 13px; }
.form-field label { font-size: .88rem; font-weight: 650; }
.form-field label span { color: var(--muted); font-size: .79rem; font-weight: 400; }

.form-field :where(input, textarea) {
  width: 100%;
  color: var(--ink);
  border: 1px solid #cbd2c7;
  border-radius: 5px;
  padding: 9px 11px;
  background: #fbfcf6;
}

.form-field :where(input, textarea):disabled { background: #f2f4ed; }
.phone-input { position: relative; }
.phone-input > span {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 11px;
  display: flex;
  align-items: center;
  color: var(--muted);
  pointer-events: none;
}
.phone-input input { padding-inline-start: 49px; }
.form-field small { color: var(--muted); }

.form-field textarea { min-height: 108px; resize: vertical; }
.captcha-widget:not(:empty) { margin-top: 4px; }

.form-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 16px; margin-top: 17px; }
.form-bottom .button { min-height: 44px; }
.button-primary:disabled { background: #e7ebdc; color: #4f594c; cursor: default; }

.form-notice, .form-status { font-size: .83rem; line-height: 1.5; color: var(--muted); }
.form-status:not(:empty) { margin-top: 10px; }
.form-status.is-error { color: #8a2e2c; }
.form-status.is-success { color: #2e5c3e; font-weight: 650; }
.form-status a, .form-notice a, .privacy-note a { text-decoration: underline; text-underline-offset: 2px; }

.privacy-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: .81rem;
}

.privacy-note summary { width: fit-content; cursor: pointer; }
.privacy-note p { margin-top: 6px; }

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 13px;
}

.footer-inner .brand { width: 123px; }
.footer-inner p { font-size: .83rem; color: var(--muted); }
.footer-inner .text-link { justify-self: end; font-size: .83rem; }
.arrow-up { transform: rotate(-90deg); }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 76px); }
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(2.95rem, 5.55vw, 4.4rem); }
  .platform-strip { column-gap: 28px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 44px); }
  .header-inner { min-height: 69px; gap: 13px; }
  .brand { width: 129px; }
  .primary-nav { gap: 19px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 36px 31px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.9rem, 8.65vw, 4.4rem); letter-spacing: -.072em; text-wrap: initial; }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-image { aspect-ratio: 1.45; }
  .platform-strip { align-items: start; grid-template-columns: 1fr; row-gap: 10px; padding-block: 16px; }
  .platform-strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .platform-strip li a { font-size: .86rem; gap: 6px; }
  .services { padding-bottom: 52px; }
  .on-prem { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 45px; }
  .contact { grid-template-columns: minmax(0, 1fr); padding-block: 47px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .footer-inner .text-link { white-space: normal; text-align: right; line-height: 1.3; }
}

@media (max-width: 520px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .header-contact { min-height: 39px; gap: 8px; padding: 7px 12px; }
  .hero h1 { font-size: clamp(2.15rem, 9.3vw, 3.35rem); letter-spacing: -.069em; }
  .hero-actions .button { min-height: 46px; }
  .image-corner { top: 13px; right: 13px; width: 32px; height: 32px; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.retry-button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: .86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
