/* TrustRoom overrides for Google Stitch exports.
   Keep this file intentionally small: the Stitch HTML/CSS is the visual source of truth. */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #0b1326;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% -10%, rgba(78, 222, 163, 0.12), transparent 24rem),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: auto, 12px 12px, 12px 12px;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.material-symbols-outlined[data-icon="fingerprint"] {
  color: #4edea3;
}

.trustroom-toast {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 96px;
  z-index: 80;
  display: none;
  max-width: 420px;
  margin-inline: auto;
  padding: 14px 16px;
  border: 1px solid rgba(78, 222, 163, 0.24);
  border-radius: 14px;
  color: #003824;
  background: linear-gradient(135deg, #6ffbbe, #4edea3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font: 700 14px/1.35 Inter, sans-serif;
}

.trustroom-toast.is-visible {
  display: block;
}

.stitch-desktop-stage {
  width: 100%;
}

body > header .material-symbols-outlined[data-icon="fingerprint"],
body > header .material-symbols-outlined:first-child {
  color: #4edea3 !important;
}

body > header h1,
body > header .font-headline-xl {
  color: #4edea3 !important;
  text-transform: uppercase;
}

body > header a[href="index.html"],
body > header a[href="/"] {
  color: #4edea3 !important;
}

.trustroom-page-nav {
  display: none;
}

@media (max-width: 899px) {
  body > header {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  body > header h1,
  body > header .font-headline-xl {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }

  .trustroom-page-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-top: 8px;
    color: #9aa8c5;
    font: 800 12px/1 Inter, sans-serif;
  }

  .trustroom-page-nav a:not([href="homeowner-login.html"]):not([href="contractor-login.html"]) {
    display: none;
  }

  .trustroom-page-nav a {
    min-height: 36px;
    display: grid;
    place-items: center;
    padding: 0 8px;
    border: 1px solid rgba(216, 226, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
  }

  .trustroom-page-nav a[href="homeowner-login.html"],
  .trustroom-page-nav a[href="contractor-login.html"] {
    border-color: rgba(78, 222, 163, 0.28);
    color: #003824 !important;
    background: linear-gradient(180deg, #6ffbbe, #4edea3);
    font-weight: 900;
  }

  body > main {
    padding-top: 170px !important;
  }
}

@media (min-width: 900px) {
  body {
    display: block;
    padding-bottom: 0 !important;
  }

  body > header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    padding-left: clamp(32px, 6vw, 72px) !important;
    padding-right: clamp(32px, 6vw, 72px) !important;
  }

  .trustroom-page-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    padding-left: 24px;
    color: #9aa8c5;
    font: 700 14px/1 Inter, sans-serif;
  }

  .trustroom-page-nav a {
    transition: color 160ms ease;
  }

  .trustroom-page-nav a:hover {
    color: #4edea3;
  }

  .trustroom-page-nav a[href="homeowner-login.html"],
  .trustroom-page-nav a[href="contractor-login.html"] {
    padding: 10px 14px;
    border: 1px solid rgba(78, 222, 163, 0.28);
    border-radius: 10px;
    color: #003824;
    background: linear-gradient(180deg, #6ffbbe, #4edea3);
  }

  body > nav {
    display: none !important;
  }

  body > main,
  .stitch-desktop-stage {
    width: min(calc(100% - 64px), 1180px) !important;
    max-width: 1180px !important;
  }

  body > main {
    padding-top: 112px !important;
    padding-bottom: 72px !important;
    margin-inline: auto !important;
    border-inline: 0;
    box-shadow: none;
  }

  body > main.max-w-md,
  body > main.max-w-lg {
    width: min(calc(100% - 64px), 860px) !important;
    max-width: 860px !important;
  }

  body > main.max-w-container-max {
    width: min(calc(100% - 64px), 1180px) !important;
    max-width: 1180px !important;
  }

  body > main > .flex.flex-col.gap-md {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  body > main > .flex.flex-col.gap-md > .glass-card,
  body > main > .flex.flex-col.gap-md > article {
    height: 100%;
  }

  body > main > section.flex.flex-col.gap-lg {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: 56px !important;
  }

  body > main > section.flex.flex-col.gap-lg h1 {
    max-width: 720px;
    font-size: clamp(48px, 6vw, 88px) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.055em !important;
  }

  body > main > section.flex.flex-col.gap-lg .flex.flex-col.gap-md {
    max-width: 430px;
  }

  body > main > section.flex.flex-col.gap-md {
    max-width: 860px;
    margin-inline: auto;
  }

  body > main > section.grid,
  body > main .grid.md\:grid-cols-4 {
    gap: 16px !important;
  }

  body > main .h-48 {
    min-height: 240px;
  }

  body > main .aspect-square {
    aspect-ratio: 16 / 10;
  }

  body > main .grid.grid-cols-2.gap-sm,
  body > main .grid.grid-cols-2.gap-md {
    gap: 16px !important;
  }

  body > main .fixed,
  body > main .absolute {
    max-width: 100%;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  body > main > .flex.flex-col.gap-md {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  body > header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 640px) {
  body > header > div:last-of-type {
    display: none !important;
  }

  body > header {
    justify-content: flex-start !important;
  }
}
