:root {
  --ink: #10243d;
  --ink-soft: #36506c;
  --muted: #6f7f8d;
  --line: #dce4ea;
  --band: #f3f7f8;
  --white: #ffffff;
  --emerald: #047857;
  --emerald-dark: #025f47;
  --emerald-soft: #e5f4ef;
  --shadow: 0 22px 70px rgba(16, 36, 61, 0.14);
  --radius: 8px;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 234, 0.76);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--emerald);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-action {
  padding: 0 18px;
  background: var(--emerald);
  color: var(--white);
}

.button {
  padding: 0 20px;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.header-action:hover {
  background: var(--emerald-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #b9c7d0;
  background: #f7fafb;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px) clamp(20px, 5vw, 72px) clamp(28px, 4vw, 40px);
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  margin: 18px 0 0;
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 18px);
}

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

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: absolute;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  max-width: 330px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(16, 36, 61, 0.18);
  backdrop-filter: blur(12px);
}

.hero-panel span {
  display: block;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 850;
}

.hero-panel strong {
  display: block;
  margin-top: 7px;
  font-size: 18px;
  line-height: 1.28;
}

.services-section,
.why-section,
.client-section,
.goal-section,
.contact-section {
  padding: clamp(66px, 9vw, 108px) clamp(20px, 5vw, 72px);
}

.services-section,
.goal-section {
  background: var(--band);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

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

.section-heading p,
.why-copy p,
.goal-section p,
.contact-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.service-item {
  min-height: 248px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
}

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

.service-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 8vw, 110px);
  align-items: start;
}

.why-copy p {
  max-width: 700px;
  margin-top: 20px;
}

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

.trust-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.trust-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 900;
}

.client-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.74fr);
  gap: clamp(34px, 8vw, 104px);
  align-items: start;
  background: var(--white);
}

.client-copy p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.client-benefits {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.client-benefits li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.client-benefits span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-weight: 900;
}

.client-demo {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid #27435d;
  border-radius: var(--radius);
  background: #10243d;
  color: var(--white);
  box-shadow: var(--shadow);
}

.client-form {
  display: grid;
  gap: 14px;
}

.client-demo-header {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.client-demo-header strong {
  font-size: 20px;
  line-height: 1.25;
}

.client-demo-header span,
.client-message {
  color: #c7d4df;
  font-size: 14px;
}

.client-code {
  display: grid;
  gap: 8px;
  color: #d8e3ec;
  font-size: 13px;
  font-weight: 850;
}

.client-code input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #ced9e2;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

.client-code input:focus {
  outline: 3px solid rgba(4, 120, 87, 0.28);
  outline-offset: 2px;
}

.client-login {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.client-message {
  min-height: 22px;
  margin: 0;
}

.client-workspace {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.client-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.client-status span {
  color: #c7d4df;
  font-size: 13px;
  font-weight: 850;
}

.client-status strong {
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.25;
}

.folder-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.folder-list span {
  min-height: 44px;
  padding: 11px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #eef5f8;
  font-size: 14px;
  font-weight: 800;
}

.upload-box {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.upload-box span {
  color: var(--white);
  font-size: 17px;
  font-weight: 850;
}

.upload-box strong {
  color: #c7d4df;
  font-size: 13px;
  line-height: 1.35;
}

.file-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  overflow-wrap: anywhere;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #edf6f3;
  font-size: 14px;
}

.client-disabled {
  width: 100%;
  opacity: 0.7;
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

.goal-section {
  display: flex;
  justify-content: center;
}

.goal-section div {
  max-width: 980px;
  text-align: center;
}

.goal-section p {
  margin-top: 22px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.45;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: start;
}

.contact-copy p {
  margin-top: 20px;
  max-width: 660px;
}

.contact-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(16, 36, 61, 0.08);
}

.contact-card a {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-card a:last-child {
  border-bottom: 0;
}

.contact-card a:hover {
  background: #f8fbfa;
}

.contact-card span {
  color: var(--emerald);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .why-section,
  .client-section,
  .contact-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 760px;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero,
  .services-section,
  .why-section,
  .client-section,
  .goal-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 54px);
  }

  .hero p,
  .section-heading p,
  .why-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-media img {
    aspect-ratio: 1 / 0.9;
  }

  .hero-panel {
    position: static;
    margin-top: 12px;
    max-width: none;
    border-color: var(--line);
    box-shadow: none;
  }

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

  .service-item {
    min-height: 0;
  }

  .service-icon {
    margin-bottom: 22px;
  }

  .trust-list li {
    align-items: start;
  }

  .client-section {
    gap: 28px;
  }

  .client-benefits li {
    align-items: start;
  }

  .client-demo {
    padding: 18px;
  }

  .folder-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

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