:root {
  --ink: #17212b;
  --muted: #5f6f78;
  --paper: #fbfaf6;
  --line: #ded8cd;
  --panel: #ffffff;
  --blue: #2f83af;
  --blue-deep: #245a94;
  --green: #17645c;
  --leaf: #5d8f53;
  --clay: #a65043;
  --gold: #b8862d;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(222, 216, 205, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--green);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--blue-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: clamp(560px, calc(100svh - 68px), 680px);
  padding: clamp(40px, 5vw, 68px) clamp(18px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 6vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede,
.product-intro p,
.closing p,
.section-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  align-items: center;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(222, 216, 205, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img:nth-child(2) {
  transform: translateY(48px);
}

.apps-overview,
.product-section,
.closing,
.detail-section,
.walkthrough-section,
.video-overview,
.video-section,
.contact-section {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 80px);
}

.section-heading,
.product-intro,
.closing,
.video-section,
.contact-section {
  min-width: 0;
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-copy {
  max-width: 560px;
  margin-bottom: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.app-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-icon {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
}

.app-card p {
  color: var(--muted);
}

.app-card a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.video-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.video-card video,
.app-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef3f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.video-card h3 {
  margin-bottom: 6px;
}

.video-card p {
  color: var(--muted);
}

.video-card a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-hero {
  display: grid;
  min-height: clamp(480px, calc(88svh - 68px), 660px);
  padding: clamp(46px, 7vw, 86px) clamp(18px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.app-page-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
}

.elm-hero,
.product-elm,
.contact-hero {
  background: #eef7fb;
}

.page-copy {
  max-width: 780px;
  min-width: 0;
}

.page-copy h1 {
  max-width: 780px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.phone-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  min-width: 0;
}

.phone-pair img {
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-pair img:nth-child(2) {
  transform: translateY(42px);
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.video-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.walkthrough-section {
  border-top: 1px solid var(--line);
}

.product-section {
  border-top: 1px solid var(--line);
}

.product-sitrabajo {
  background: #fffdf8;
}

.product-elm {
  background: #eef7fb;
}

.product-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  margin-bottom: 28px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto clamp(34px, 6vw, 64px);
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
}

.product-sitrabajo .feature-list span:nth-child(odd) {
  color: var(--green);
}

.product-sitrabajo .feature-list span:nth-child(even) {
  color: var(--blue);
}

.product-elm .feature-list span:nth-child(odd) {
  color: var(--blue-deep);
}

.product-elm .feature-list span:nth-child(even) {
  color: var(--leaf);
}

.walkthrough {
  display: grid;
  gap: clamp(26px, 5vw, 60px);
  max-width: 1180px;
  margin: 0 auto;
}

.walkthrough-item {
  display: grid;
  grid-template-columns: minmax(210px, 360px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
}

.walkthrough-item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 360px);
}

.walkthrough-item:nth-child(even) figure {
  order: 2;
}

.walkthrough-item figure {
  margin: 0;
}

.walkthrough-item img {
  width: min(100%, 360px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.walkthrough-item p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.04rem;
}

.step {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
}

.closing > div:first-child {
  max-width: 720px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 80px);
  background: var(--ink);
  color: #f5f1e8;
  font-size: 0.92rem;
}

.site-footer a {
  color: inherit;
}

.contact-hero {
  min-height: auto;
}

.contact-hero .page-copy {
  max-width: 860px;
}

.contact-form {
  display: grid;
  gap: 20px;
  width: min(100%, 880px);
  min-width: 0;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(47, 131, 175, 0.22);
  border-color: var(--blue);
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.status-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 7px;
  font-weight: 800;
}

.status-message p {
  margin: 0;
}

.status-message.success {
  background: #e3f4ea;
  color: #17645c;
}

.status-message.error {
  background: #fbe9e5;
  color: #a65043;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.direct-email {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.direct-email a,
.hero-lede a {
  color: var(--blue-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .product-intro,
  .app-page-hero,
  .video-section,
  .walkthrough-item,
  .walkthrough-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .phone-pair {
    max-width: 560px;
  }

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

  .walkthrough-item:nth-child(even) figure {
    order: 0;
  }

  .walkthrough-item img {
    width: min(100%, 410px);
  }

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

  .closing {
    display: block;
  }

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

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

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 36px;
    width: 100vw;
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
  }

  .page-hero {
    padding: 36px 20px;
  }

  .hero-copy {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .page-copy {
    width: min(100%, 340px);
    max-width: 340px;
  }

  h1 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.06;
  }

  h2 {
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .section-heading,
  .product-intro,
  .closing,
  .contact-section {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .hero-lede,
  .hero-actions {
    max-width: 340px;
  }

  .hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: min(100%, 340px);
    max-width: 340px;
    overflow: hidden;
  }

  .phone-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    width: min(100%, 340px);
    max-width: 340px;
    overflow: hidden;
  }

  .hero-visual img:nth-child(2) {
    transform: translateY(24px);
  }

  .phone-pair img:nth-child(2) {
    transform: translateY(24px);
  }

  .button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .app-card {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 18px;
  }

  .app-icon {
    width: 62px;
    height: 62px;
  }

  .walkthrough-item img {
    width: min(100%, 340px);
  }

  .form-submit {
    justify-self: stretch;
  }
}
