/* aldeaops.com home, on glass.css. Layout only; colors, surfaces and motion come from glass.css. */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* hero: the claim and its proof side by side on a laptop (text left, story right), stacked and centered below 980 */
.hero { display: grid; gap: 40px; padding: 56px var(--gut) 0; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.hero-copy { display: grid; justify-items: center; }
.lede { max-width: 34em; margin-top: 24px; font-size: 1.125rem; color: var(--ink-2); text-wrap: pretty; }
.hero .story { width: 100%; min-width: 0; text-align: left; }
.trusted { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; color: var(--ink-3); }
.trusted > span { font-size: .875rem; white-space: nowrap; }
.trusted ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.client-logo { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; opacity: .8; }
.client-logo.scotts { --m: url(/site/brands/scotts-roofing.png); width: 104px; height: 28px; }
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 56px; text-align: left; }
  .hero h1 { font-size: clamp(2.75rem, 4.6vw, 4rem); }
  .hero-copy { justify-items: start; }
  .hero .actions, .hero .trusted { justify-content: flex-start; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.hero .actions { justify-content: center; }
@media (min-width: 980px) { .hero .actions { justify-content: flex-start; } }

/* rows: the people links */
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.row > span { display: grid; line-height: 1.35; }
.row b { font-weight: 500; }
.row small { font-size: .875rem; color: var(--ink-3); }

/* sections: on wide screens the heading sits in its own column beside the panel */
.band { padding-top: 96px; scroll-margin-top: 88px; }
.band > h2 { margin-bottom: 20px; font-size: clamp(1.75rem, 3.4vw, 2.25rem); letter-spacing: -.025em; }
.panel { list-style: none; padding: 8px; border-radius: var(--r-card); }

.pairs li { display: grid; gap: 2px 24px; padding: 16px 18px; }
.pairs li + li { border-top: 1px solid var(--hair); }
.pairs li > span:first-child { font-weight: 500; }
.pairs li > span:last-child { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--no) 45%, transparent); text-decoration-thickness: 1.5px; }
/* green check for what we do, red cross for what we avoid: one tinted disc and its mark, both from one mask */
.pairs li > span { position: relative; padding-left: 30px; }
.pairs li > span::before { content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; background: var(--ok);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill-opacity='.15'/%3E%3Cpath d='M6.2 10.3l2.5 2.5 5.1-5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pairs li > span:last-child::before { background: var(--no);
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill-opacity='.15'/%3E%3Cpath d='M7.2 7.2l5.6 5.6M12.8 7.2l-5.6 5.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

.steps { display: grid; padding: 0; overflow: hidden; }
.steps li { padding: 22px 24px; color: var(--ink-2); font-size: .9375rem; }
.steps li + li { border-top: 1px solid var(--hair); }
.steps b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }
.steps .link { display: block; width: fit-content; margin-top: 12px; }

.connect { padding: 0; overflow: hidden; }
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; padding: 18px 24px; }
.tools li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink-2); font-size: .9375rem; }
.tools img { height: 20px; width: auto; }
.tools img.wide { height: 16px; }
.tools svg.aws { height: 20px; width: auto; color: var(--ink); }
.tools .any { color: var(--ink); font-weight: 600; }
.tools img.ns { height: 20px; filter: brightness(.22); } /* the NetSuite file is drawn light */
:root[data-theme="dark"] .tools img.ns { filter: none; }
:root[data-theme="dark"] .tools img.mono { filter: invert(1); }

.terms { display: grid; padding: 0; overflow: hidden; }
.terms > div { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; align-content: start; padding: 24px; }
.terms > div + div { border-top: 1px solid var(--hair); }
.terms h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.terms p { color: var(--ink-2); }
.terms .promise { color: var(--ink); font-weight: 500; }

.people { display: grid; gap: 8px; }
.people .lede { margin: 0 0 8px; }
.person { justify-content: flex-start; text-decoration: none; }
.person img { width: 48px; height: 48px; border-radius: 50%; filter: grayscale(1); }



@media (min-width: 720px) {
  .pairs li { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li + li { border-top: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .steps li:nth-child(even) { border-left: 1px solid var(--hair); }
  .terms { grid-template-columns: 1fr 1fr; }
  .terms > div + div { border-top: 0; border-left: 1px solid var(--hair); }
  .people { grid-template-columns: 1fr 1fr; }
  .people .lede { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.75fr); gap: 40px; align-items: start; padding-top: 112px; }
  .band > h2 { position: sticky; top: 104px; margin: 0; padding-top: 14px; font-size: 1.75rem; }
  .band > :not(h2) { grid-column: 2; }
  .people { grid-column: 2; }
  .hero { padding-top: 64px; }
}
@media (max-width: 719px) {
  .hero { padding-top: 32px; }
  .band { padding-top: 72px; }
}

/* the build plan: open, centered, its own soft light */
.finale { position: relative; padding-top: 144px; text-align: center; scroll-margin-top: 40px; }
.finale::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 60%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side at 38% 50%, var(--glow-a), transparent), radial-gradient(closest-side at 64% 54%, var(--glow-b), transparent); }
.finale h2 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.035em; }
.plan { position: relative; display: grid; gap: 28px; max-width: 880px; margin: 48px auto 0; padding: 0; list-style: none; counter-reset: s; }
.plan li { display: grid; justify-items: center; align-content: start; gap: 14px; max-width: 16em; margin-inline: auto; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.4; text-wrap: balance; counter-increment: s; }
.plan li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glass-2); box-shadow: var(--sh-row); color: var(--ink);
  font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.finale .actions { justify-content: center; margin-top: 48px; }
.note { display: grid; gap: 8px; width: min(480px, 100%); margin: 32px auto 0; padding: 8px; border-radius: 24px; text-align: left; }
.note input, .note textarea { font: inherit; width: 100%; border: 0; border-radius: 16px; padding: 12px 16px; background: transparent; color: var(--ink); font-size: 1rem; line-height: 1.5; resize: vertical; }
.note input:focus-visible, .note textarea:focus-visible { outline-offset: -2px; }
.note input::placeholder, .note textarea::placeholder { color: var(--ink-3); }
.note input { border-bottom: 1px solid var(--hair); border-radius: 16px 16px 0 0; }
.note .key { justify-self: end; }
.note .trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.note-done { display: none; margin-top: 16px; color: var(--ink-2); }
.note-done:target { display: block; }
#sent:target ~ .note, .finale:has(#sent:target) .note { display: none; }
@media (min-width: 720px) {
  .plan { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  /* one hairline joins the three steps, behind the numbers */
  .plan::before { content: ""; position: absolute; top: 20px; left: 16.67%; right: 16.67%; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-2) 12%, var(--hair-2) 88%, transparent); }
}
@media (max-width: 719px) { .steps li { font-size: 1rem; } }
@media (forced-colors: active) {
  .pairs li > span::before { forced-color-adjust: none; background: CanvasText; }
}
