:root {
  --wt-primary: #172554;
  --wt-primary-hover: #1e3a8a;
  --wt-gold: #d4af37;
  --wt-gold-hover: #e2c15a;
  --wt-bg: #f8fafc;
  --wt-text: #0f172a;
  --wt-muted: #64748b;
  --wt-border: #e2e8f0;
  --wt-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.landing-page {
  background: var(--wt-bg);
  color: var(--wt-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.container,
.landing-nav,
.hero-grid {
  margin: 0 auto;
  max-width: 1180px;
  width: min(100% - 2rem, 1180px);
}

.landing-header {
  inset: 0 0 auto;
  position: fixed;
  transition: background 0.2s ease, box-shadow 0.2s ease, backdrop-filter 0.2s ease;
  z-index: 50;
}

.landing-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.08);
}

.landing-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
}

.landing-brand,
.landing-links,
.landing-actions,
.hero-actions {
  align-items: center;
  display: flex;
}

.landing-brand {
  color: var(--wt-primary);
  font-size: 1.125rem;
  font-weight: 800;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  height: auto;
  margin: -1.15rem 0;
  max-width: min(12.5rem, 34vw);
  width: auto;
  width: 12.5rem;
}

.brand-mark {
  align-items: center;
  background: var(--wt-primary);
  border-radius: 1rem;
  box-shadow: var(--wt-shadow);
  color: #fff;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.brand-mark svg,
.menu-toggle svg,
.menu-close svg {
  height: 1.25rem;
  width: 1.25rem;
}

.landing-links {
  gap: 2rem;
}

.landing-links a {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-links a:hover {
  color: var(--wt-primary);
}

.landing-actions {
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.landing-page .btn-primary {
  background: var(--wt-primary);
  color: #fff !important;
  box-shadow: var(--wt-shadow);
}

.landing-page .btn-primary:hover {
  background: var(--wt-primary-hover);
  color: #fff !important;
}

.landing-page .btn-gold {
  background: var(--wt-gold);
  color: var(--wt-primary) !important;
  box-shadow: var(--wt-shadow);
}

.landing-page .btn-gold:hover {
  background: var(--wt-gold-hover);
  color: var(--wt-primary) !important;
}

.landing-page .btn-light,
.landing-page .btn-ghost,
.landing-page .btn-outline,
.landing-page .btn-white {
  background: #fff;
  color: var(--wt-primary) !important;
}

.landing-page .btn-light,
.landing-page .btn-outline {
  border-color: rgba(212, 175, 55, 0.65);
}

.landing-page .btn-light:hover,
.landing-page .btn-ghost:hover,
.landing-page .btn-outline:hover,
.landing-page .btn-white:hover {
  color: var(--wt-primary) !important;
}

.menu-toggle,
.menu-close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 999px;
  color: var(--wt-primary);
  display: none;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.menu-backdrop {
  background: rgba(15, 23, 42, 0.35);
  inset: 0;
  position: fixed;
  z-index: 60;
}

.landing-menu {
  background: #fff;
  box-shadow: var(--wt-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100vh;
  left: 0;
  max-width: min(20rem, calc(100vw - 2rem));
  padding: 1.5rem;
  position: fixed;
  top: 0;
  transform: translateX(-110%);
  transition: transform 0.2s ease;
  width: 20rem;
  z-index: 70;
}

.landing-menu.is-open {
  transform: translateX(0);
}

.menu-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.menu-head strong {
  color: var(--wt-primary);
  font-size: 1.125rem;
}

.landing-menu > a:not(.btn) {
  border-radius: 0.75rem;
  color: #334155;
  font-weight: 700;
  padding: 0.85rem;
}

.landing-menu > a:not(.btn):hover {
  background: #f8fafc;
}

.menu-open {
  overflow: hidden;
}

.hero-section {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 34%), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 4rem;
}

.eyebrow {
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  color: var(--wt-primary);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  padding: 0.65rem 1rem;
}

.hero-copy h1,
.section-head h2,
.cta-content h2 {
  color: var(--wt-primary);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  max-width: 48rem;
}

.hero-text,
.section-head p {
  color: var(--wt-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 41rem;
}

.hero-actions {
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-actions .btn {
  width: 100%;
}

.app-preview {
  margin: 0 auto;
  max-width: 32rem;
  position: relative;
  width: 100%;
}

.preview-glow {
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.1), rgba(212, 175, 55, 0.22));
  border-radius: 2rem;
  filter: blur(28px);
  inset: -1.5rem;
  position: absolute;
}

.preview-phone,
.mockup-frame {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fff;
  border-radius: 2rem;
  box-shadow: var(--wt-shadow);
  padding: 1rem;
  position: relative;
}

.preview-top,
.report-panel {
  background: var(--wt-primary);
  border-radius: 1.5rem;
  color: #fff;
  padding: 1.25rem;
}

.preview-top,
.worker-card div:first-child,
.site-card > div:first-child,
.report-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.preview-top span,
.report-head span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.9rem;
}

.preview-top strong,
.report-head strong {
  display: block;
  font-size: 1.35rem;
  margin-top: 0.25rem;
}

.preview-top em,
.report-head em {
  background: var(--wt-gold);
  border-radius: 999px;
  color: var(--wt-primary);
  font-style: normal;
  font-weight: 900;
  padding: 0.45rem 0.75rem;
}

.worker-card,
.site-card {
  border-radius: 1.25rem;
  margin-top: 0.75rem;
  padding: 1rem;
}

.worker-card {
  background: #fff;
  color: var(--wt-text);
}

.worker-card span {
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 800;
}

.progress {
  background: #f1f5f9;
  border-radius: 999px;
  height: 0.5rem;
  margin-top: 0.85rem;
}

.progress span {
  background: var(--wt-gold);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 62%;
}

.site-card {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-card span:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.site-grid,
.preview-stats,
.feature-grid,
.benefits-grid,
.report-stats {
  display: grid;
  gap: 0.75rem;
}

.site-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
}

.site-grid i {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.75rem;
  display: block;
  height: 3rem;
}

.site-grid i:last-child {
  background: var(--wt-gold);
}

.preview-stats {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0.75rem;
}

.preview-stats div {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 1rem;
}

.preview-stats strong {
  color: var(--wt-primary);
  display: block;
  font-size: 1.6rem;
}

.preview-stats span {
  color: var(--wt-muted);
  font-size: 0.9rem;
}

.section {
  padding: 5rem 0;
}

.section-white {
  background: #fff;
}

.section-head {
  max-width: 42rem;
}

.section-head h2,
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.feature-grid {
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 1.25rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--wt-shadow);
  transform: translateY(-4px);
}

.feature-icon {
  align-items: center;
  background: var(--wt-primary);
  border-radius: 1rem;
  color: #fff;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 3rem;
}

.feature-icon::before {
  content: "";
  background: currentColor;
  height: 1.35rem;
  mask: var(--icon) center / contain no-repeat;
  width: 1.35rem;
}

.feature-icon-people { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 11a4 4 0 1 0-8 0 4 4 0 0 0 8 0ZM4 21a8 8 0 0 1 16 0H4Z'/%3E%3C/svg%3E"); }
.feature-icon-site { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 21h18v-2h-2V9l-7-4-7 4v10H3v2Zm8-2H7v-8l4-2.3V19Zm6 0h-4V8.7l4 2.3V19Z'/%3E%3C/svg%3E"); }
.feature-icon-clock { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 11h5v-2h-4V6h-2v7Z'/%3E%3C/svg%3E"); }
.feature-icon-chart { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19h14v2H3V3h2v16Zm3-2h3V9H8v8Zm5 0h3V5h-3v12Zm5 0h3v-6h-3v6Z'/%3E%3C/svg%3E"); }
.feature-icon-lock { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 9V7A5 5 0 0 0 7 7v2H5v12h14V9h-2Zm-8 0V7a3 3 0 0 1 6 0v2H9Z'/%3E%3C/svg%3E"); }
.feature-icon-phone { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm5 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3C/svg%3E"); }

.feature-card h3 {
  color: var(--wt-primary);
  font-size: 1.25rem;
  margin: 0;
}

.feature-card p {
  color: var(--wt-muted);
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.timeline-step {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 1.25rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  padding: 1.25rem;
}

.timeline-step span {
  align-items: center;
  background: var(--wt-gold);
  border-radius: 999px;
  color: var(--wt-primary);
  display: inline-flex;
  font-weight: 900;
  height: 2.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2.5rem;
}

.timeline-step strong {
  color: var(--wt-primary);
  display: block;
}

.benefits-layout {
  display: grid;
  gap: 2rem;
}

.benefit-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--wt-border);
  border-radius: 1.25rem;
  display: flex;
  gap: 0.8rem;
  padding: 1.2rem;
}

.benefit-item span {
  align-items: center;
  background: #16a34a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 1.75rem;
  justify-content: center;
  width: 1.75rem;
}

.mockup-frame {
  display: grid;
  gap: 1.25rem;
  padding: 1rem;
}

.report-stats {
  margin-top: 2rem;
}

.report-stats div {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
}

.report-stats strong {
  display: block;
  font-size: 2rem;
}

.report-stats span {
  color: rgba(255, 255, 255, 0.72);
}

.screenshots-placeholder {
  background: #f8fafc;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.screenshots-placeholder strong {
  color: #64748b;
  display: block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.screenshots-placeholder span {
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: block;
  height: 4rem;
  margin-top: 0.75rem;
}

.cta-section {
  background: var(--wt-primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 54rem;
}

.cta-content h2 {
  color: #fff;
}

.landing-footer {
  background: #fff;
  color: #64748b;
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-content strong {
  color: var(--wt-primary);
  display: block;
  font-size: 1.125rem;
}

.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-content a:hover {
  color: var(--wt-primary);
}

.login-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

.login-landing {
  min-height: 100vh;
}

.login-hero {
  align-items: center;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.22), transparent 32%), linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin: 0 auto;
  min-height: 100vh;
  padding: 7rem 1rem 3rem;
  width: min(100%, 1180px);
}

.login-copy h1 {
  color: var(--wt-primary);
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  max-width: 43rem;
}

.login-copy > p:not(.eyebrow) {
  color: var(--wt-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 37rem;
}

.login-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #fff;
  border-radius: 1.5rem;
  box-shadow: var(--wt-shadow);
  padding: 1rem;
}

.login-panel-head {
  align-items: center;
  background: var(--wt-primary);
  border-radius: 1.1rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.login-panel-head img {
  background: #fff;
  border-radius: 0.9rem;
  display: block;
  height: 3.25rem;
  object-fit: contain;
  padding: 0.25rem;
  width: 3.25rem;
}

.login-panel-head strong,
.login-panel-head span {
  display: block;
}

.login-panel-head strong {
  font-size: 1.25rem;
}

.login-panel-head span {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.2rem;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-field {
  display: grid;
  gap: 0.45rem;
}

.login-field label,
.login-check {
  color: #334155;
  font-size: 0.94rem;
  font-weight: 800;
}

.login-field input {
  background: #f8fafc;
  border: 1px solid var(--wt-border);
  border-radius: 0.9rem;
  color: var(--wt-text);
  font: inherit;
  min-height: 3.35rem;
  padding: 0 1rem;
  width: 100%;
}

.login-field input:focus {
  border-color: var(--wt-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
  outline: none;
}

.login-check {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.login-check input {
  accent-color: var(--wt-primary);
  height: 1.1rem;
  width: 1.1rem;
}

.login-submit {
  width: 100%;
}

.login-validation-summary {
  display: none;
}

.login-validation-summary.validation-summary-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.9rem;
  color: #991b1b;
  display: block;
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.login-validation-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.login-field-error {
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
  min-height: 1rem;
}

.login-note {
  border-top: 1px solid var(--wt-border);
  display: grid;
  gap: 0.2rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.login-note strong {
  color: var(--wt-primary);
}

.login-note span {
  color: var(--wt-muted);
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }

  .feature-grid,
  .benefits-grid,
  .report-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .login-hero {
    grid-template-columns: 1.05fr 0.75fr;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .login-panel {
    justify-self: end;
    max-width: 28rem;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(6, 1fr);
  }

  .benefits-layout {
    grid-template-columns: 0.8fr 1fr;
  }

  .mockup-frame {
    grid-template-columns: 2fr 1fr;
    padding: 2rem;
  }

  .report-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 899px) {
  .landing-links,
  .landing-actions {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .container,
  .landing-nav,
  .hero-grid {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero-section {
    padding-top: 7rem;
  }

  .brand-logo {
    margin: -0.8rem 0;
    max-width: 9rem;
    width: 9rem;
  }

  .preview-stats,
  .site-grid {
    grid-template-columns: 1fr;
  }

  .login-hero {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .login-panel {
    border-radius: 1.1rem;
  }
}
