/* ==========================================================================
   linktheai.com homepage hero (hero-L1), approved by Nicole 2026-11-29.
   Loaded only by index.html, after site.css. Every rule is scoped to
   .hl1 (the hero section) or to .nav.at-top (the header while it sits over
   the hero), so no other section or page is affected.
   Source: /workspace/linktheai-redesign/mockup (hero-L1).
   Root size: the mockup used a fluid html font-size; here it is a local
   --r variable so the live site's rem scale is untouched.
   ========================================================================== */
.hl1{--r:16px;--brand:#76b900;--cta:#2b7d2c;--cta-dark:#1f6422;--ink:#0e1a14;--t-h1:4.6875;--t-b:1.125;
  font-family:"Instrument Sans",Arial,sans-serif;font-size:calc(var(--r) * var(--t-b));font-weight:400;font-stretch:100%;
  line-height:1.33333;letter-spacing:0;color:var(--ink);text-align:left;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-kerning:normal}
@media screen and (max-width:1920px){.hl1{--r:calc(13.00312px + .20812vw)}}
@media screen and (max-width:1440px){.hl1{--r:calc(9.39582px + .41841vw)}}
@media screen and (max-width:991px){.hl1{--r:16px;--t-h1:3.75;--t-b:1}}
@media screen and (max-width:767px){.hl1{--t-h1:3}}
@media screen and (max-width:479px){.hl1{--t-h1:2.25}}
.hl1 *,.hl1 *::before,.hl1 *::after{box-sizing:border-box}
.hl1 img{max-width:100%;display:block}
.hl1 a{color:inherit}
.hl1 p{margin:0}
.hl1 h1{font-family:"Instrument Sans",Arial,sans-serif;color:var(--ink);margin:0;text-wrap:balance;font-stretch:75%;font-variation-settings:"wdth" 75;
  font-weight:700;line-height:1em;text-transform:none;font-size:calc(var(--r) * var(--t-h1));letter-spacing:-.05em}
.hl1 .hl1-wrap{margin:0 auto}
.hl1 .ico{width:1em;height:1em;stroke-width:1.75;fill:none;vertical-align:-.125em}
.hl1 .hl1-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:calc(var(--r) * 2.5);padding:calc(var(--r) * .75) calc(var(--r) * 1);
  border-radius:12px;font-family:"Instrument Sans",Arial,sans-serif;font-size:calc(var(--r) * .875);font-weight:700;line-height:1.07143;letter-spacing:0;
  text-transform:none;text-decoration:none;border:0;cursor:pointer;transition:transform .15s,box-shadow .15s}
.hl1 .hl1-primary{color:#fff;background:linear-gradient(180deg,#34912f 0%,var(--cta) 55%,var(--cta-dark) 100%);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 2px 4px rgba(31,100,34,.3),0 10px 24px rgba(43,125,44,.32)}
.hl1 .hl1-primary:hover{transform:translateY(-1px);color:#fff}
.hl1 .hl1-ghost{color:var(--ink);background:#fff;border:1.5px solid #cfd9ca}
.hl1 .hl1-btn:focus-visible{outline:2px solid var(--cta);outline-offset:2px}
.hl1{position:relative;padding:136px 0 76px;color:#fff;background:
  radial-gradient(820px 520px at 84% 30%,rgba(118,185,0,.17),transparent 62%),
  radial-gradient(700px 420px at 0% 0%,rgba(38,96,64,.35),transparent 62%),
  linear-gradient(180deg,#10261b 0%,#0e1a14 100%);overflow:hidden}
.hl1 h1{color:#fff}
.hl1 .hl1-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hl1 .hl1-pill{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:7px 14px 7px 8px;font-size:calc(var(--r) * .875);font-weight:700;line-height:1.28571;letter-spacing:0;text-transform:none;color:#fff;margin-bottom:22px}
.hl1 .hl1-pill i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;font-size:12px}
.hl1 h1{max-width:18ch}
.hl1 .hl1-lead{margin:22px 0 0;max-width:44ch}
.hl1 .hl1-lead p{margin:0 0 .55em;font-size:calc(var(--r) * var(--t-b));line-height:1.33333;color:#dbe6df}
.hl1 .hl1-lead p:last-child{margin-bottom:0}
.hl1 .hl1-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hl1 .hl1-checks{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:8px;font-size:calc(var(--r) * .875);font-weight:500;line-height:1.4;color:#dbe6df}
.hl1 .hl1-checks li{display:flex;gap:10px;align-items:center}
.hl1 .hl1-checks .ico{color:#0e1a14;background:var(--brand);border-radius:50%;padding:3px;width:20px;height:20px;stroke-width:3}

/* Hero D1: realistic iPhone + job-site photo. All rules scoped to .hl1. Spacing scale 4/8/12/16/24/32/48/64/96. */
.hl1{padding:152px 0 80px}
.hl1 .hl1-wrap{width:min(1200px,100% - 64px)}
.hl1 .hl1-grid{grid-template-columns:1.05fr .95fr;column-gap:48px}
.hl1 .hl1-pill{border-radius:6px;padding:6px 12px 6px 6px;margin-bottom:24px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16)}
.hl1 .hl1-pill i{border-radius:4px}
.hl1 .hl1-lead{margin-top:24px}
.hl1 .hl1-cta{gap:12px;margin-top:32px}
.hl1 .hl1-btn{min-height:40px;height:40px;padding:0 16px;border-radius:6px;gap:8px}
.hl1 .hl1-primary{box-shadow:0 1px 0 rgba(255,255,255,.22) inset,0 1px 2px rgba(0,0,0,.3),0 8px 16px rgba(43,125,44,.24)}
.hl1 .hl1-ghost{border-width:1px;border-color:rgba(255,255,255,.32)}
.hl1 .hl1-checks{margin-top:24px;gap:8px}
.hl1 .hl1-checks .ico{width:20px;height:20px}

.hl1 .hp-stage{--pw:284px;position:relative;height:624px;width:100%;max-width:560px;justify-self:end}
.hl1 .hp-photo{position:absolute;left:0;top:48px;width:384px;height:512px;border-radius:8px;overflow:hidden;background:#1c2a22;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 24px 48px rgba(0,0,0,.35)}
.hl1 .hp-photo img{width:100%;height:100%;object-fit:cover;object-position:64% 30%;filter:saturate(.95) contrast(1.04)}
.hl1 .hp-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,26,20,0) 55%,rgba(14,26,20,.35));pointer-events:none}
.hl1 .hp-note{position:absolute;left:0;top:572px;font-size:calc(var(--r) * .75);font-weight:500;line-height:1;color:rgba(255,255,255,.6)}

/* iPhone 15 Pro proportions: body 70.6 x 146.6 mm, screen 19.5:9, Dynamic Island 126x37pt */
.hl1 .hp-phone{position:absolute;right:8px;top:0;width:var(--pw);height:calc(var(--pw) * 2.0765);padding:calc(var(--pw) * .036);border-radius:calc(var(--pw) * .166);
  background:#060807;z-index:2;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),
    0 0 0 2px #6f7572,0 0 0 3px #3c403e,0 0 0 3.5px rgba(255,255,255,.18),
    0 2px 4px rgba(0,0,0,.3),0 24px 48px -8px rgba(0,0,0,.55),0 48px 96px -24px rgba(0,0,0,.45)}
.hl1 .hp-key{position:absolute;width:3px;border-radius:1px;background:linear-gradient(90deg,#4a4f4c,#8a908c 60%,#565b58)}
.hl1 .hp-action{left:-6px;top:17%;height:5%}
.hl1 .hp-volup{left:-6px;top:25.5%;height:8%}
.hl1 .hp-voldn{left:-6px;top:35.5%;height:8%}
.hl1 .hp-power{right:-6px;top:27%;height:12.5%;background:linear-gradient(270deg,#4a4f4c,#8a908c 60%,#565b58)}
.hl1 .hp-screen{position:relative;height:100%;border-radius:calc(var(--pw) * .13);overflow:hidden;background:#0b0f0d;color:#fff;font-size:max(12px,calc(var(--pw) * .044));line-height:1.3;display:flex;flex-direction:column;padding:0 calc(var(--pw) * .048) calc(var(--pw) * .03)}
.hl1 .hp-screen::before{content:"";position:absolute;inset:-10%;background:url(/images/hero-l1/customer-avatar.jpg) center 30%/cover;filter:blur(28px) saturate(1.1) brightness(.45);transform:scale(1.1);z-index:0}
.hl1 .hp-screen::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,10,8,.15),rgba(6,10,8,.55) 45%,rgba(6,10,8,.85));z-index:0}
.hl1 .hp-screen>*{position:relative;z-index:1}
.hl1 .hp-status{display:flex;align-items:center;justify-content:space-between;height:calc(var(--pw) * .13);padding:0 calc(var(--pw) * .02)}
.hl1 .hp-island{position:absolute;left:50%;top:calc(var(--pw) * .026);transform:translateX(-50%);width:calc(var(--pw) * .296);height:calc(var(--pw) * .087);border-radius:calc(var(--pw) * .044);background:#000}
.hl1 .hp-live{display:grid;place-items:center;width:calc(var(--pw) * .1);height:calc(var(--pw) * .052);border-radius:calc(var(--pw) * .026);background:#30d158;color:#fff;font-size:.72em}
.hl1 .hp-live .ico{stroke-width:2.5;fill:currentColor}
.hl1 .hp-sys{display:flex;align-items:center;gap:calc(var(--pw) * .014)}
.hl1 .hp-sig{display:flex;align-items:flex-end;gap:1px;height:calc(var(--pw) * .034)}
.hl1 .hp-sig i{display:block;width:calc(var(--pw) * .01);border-radius:.5px;background:#fff}
.hl1 .hp-sig i:nth-child(1){height:35%}.hl1 .hp-sig i:nth-child(2){height:55%}.hl1 .hp-sig i:nth-child(3){height:78%}.hl1 .hp-sig i:nth-child(4){height:100%}
.hl1 .hp-wifi{width:calc(var(--pw) * .046);height:calc(var(--pw) * .034);background:#fff;clip-path:polygon(50% 100%,0 28%,12% 14%,30% 4%,50% 0,70% 4%,88% 14%,100% 28%);border-radius:1px}
.hl1 .hp-batt{position:relative;width:calc(var(--pw) * .074);height:calc(var(--pw) * .036);border-radius:calc(var(--pw) * .011);border:1px solid rgba(255,255,255,.45);padding:1.5px}
.hl1 .hp-batt::before{content:"";display:block;height:100%;width:78%;border-radius:1.5px;background:#fff}
.hl1 .hp-batt::after{content:"";position:absolute;right:-3px;top:30%;height:40%;width:1.5px;border-radius:0 1px 1px 0;background:rgba(255,255,255,.45)}

.hl1 .hp-caller{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.75em;margin-top:2em;font-size:1.32em;font-weight:600;line-height:1.2;letter-spacing:-.01em}
.hl1 .hp-av{width:4.2em;height:4.2em;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.hl1 .hp-caller small{display:block;font-size:.62em;font-weight:500;letter-spacing:0;color:rgba(255,255,255,.62);margin-bottom:.45em}
.hl1 .hp-list{margin-top:auto;border-radius:calc(var(--pw) * .028);background:rgba(28,32,30,.62);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.1)}
.hl1 .hp-row{display:flex;gap:.75em;align-items:flex-start;padding:.85em .9em;font-weight:500;line-height:1.3;text-wrap:pretty}
.hl1 .hp-row>div{text-wrap:balance}
.hl1 .hp-row small,.hl1 .hp-caller small{font-size:max(12px,.8em)}
.hl1 .hp-row+.hp-row{border-top:.5px solid rgba(255,255,255,.12)}
.hl1 .hp-row small{display:block;font-size:max(12px,.8em);font-weight:600;color:rgba(255,255,255,.55);margin-bottom:.2em}
.hl1 .hp-ic{flex:none;display:grid;place-items:center;width:2.3em;height:2.3em;border-radius:.55em;font-size:1em}
.hl1 .hp-n{background:linear-gradient(180deg,#86c813,#5b9a00);color:#fff;font-stretch:87.5%;font-variation-settings:"wdth" 87.5;font-weight:700;font-size:1.05em}
.hl1 .hp-tick{background:#30d158;color:#fff}
.hl1 .hp-tick .ico{width:1.2em;height:1.2em;stroke-width:2}
.hl1 .hp-end{align-self:center;display:grid;place-items:center;width:calc(var(--pw) * .21);height:calc(var(--pw) * .21);margin-top:1.6em;border-radius:50%;background:#ff3b30;color:#fff;font-size:calc(var(--pw) * .085)}
.hl1 .hp-end .ico{transform:rotate(135deg);fill:currentColor;stroke-width:1.5}
.hl1 .hp-home{align-self:center;width:calc(var(--pw) * .35);height:calc(var(--pw) * .016);border-radius:calc(var(--pw) * .01);background:rgba(255,255,255,.85);margin-top:1.4em}

@media (max-width:1040px){
  .hl1{padding:136px 0 64px}
  .hl1 .hl1-grid{grid-template-columns:1fr;row-gap:48px}
  .hl1 .hp-stage{justify-self:center;--pw:264px;height:592px}
  .hl1 .hp-photo{width:360px;height:480px}
  .hl1 .hp-note{top:540px}
}
@media (max-width:480px){
  .hl1{padding:128px 0 56px}
  .hl1 .hl1-wrap{width:calc(100% - 40px)}
  .hl1 .hl1-grid{row-gap:32px}
  .hl1 .hl1-cta{flex-direction:column;gap:16px;margin-top:24px}
  .hl1 .hl1-cta .hl1-btn{width:100%}
  .hl1 .hp-stage{--pw:220px;height:496px;max-width:none}
  .hl1 .hp-photo{top:32px;width:62%;height:376px}
  .hl1 .hp-phone{right:8px}
  .hl1 .hp-caller{margin-top:1em;gap:.5em;font-size:1.2em}
  .hl1 .hp-av{width:3.4em;height:3.4em}
  .hl1 .hp-end{margin-top:1.2em}
  .hl1 .hp-screen{padding-left:12px;padding-right:12px}
  .hl1 .hp-row{gap:8px;padding:10px}
  .hl1 .hp-row>div{text-wrap:pretty}
  .hl1 .hp-ic{width:24px;height:24px;border-radius:6px}
  .hl1 .hp-note{top:auto;bottom:0}
}

/* Hero L1: light page background, dark green only in a contained panel behind the photo and phone. Scoped to .hl1 (plus the nav's top state, which sits over the hero). */
.hl1{color:var(--ink);background:
  radial-gradient(760px 420px at 100% 0%,rgba(118,185,0,.07),transparent 65%),
  linear-gradient(180deg,#f8f8f4 0%,#f3f4ee 100%);border-bottom:1px solid #e4e7dd}
.hl1 h1{color:var(--ink)}
.hl1 .hl1-pill{background:#fff;border:1px solid #dfe4d8;color:var(--ink);box-shadow:0 1px 2px rgba(14,26,20,.05)}
.hl1 .hl1-pill i{background:#0f2e1f;color:var(--brand)}
.hl1 .hl1-lead p{color:#3b4640}
.hl1 .hl1-checks{color:#26302a}
.hl1 .hl1-checks .ico{background:#0f2e1f;color:var(--brand)}
.hl1 .hl1-primary{box-shadow:0 1px 0 rgba(255,255,255,.22) inset,0 1px 2px rgba(14,26,20,.18),0 6px 14px rgba(43,125,44,.22)}
.hl1 .hl1-ghost{background:#fff;color:var(--ink);border:1px solid #c9d3c4;box-shadow:0 1px 2px rgba(14,26,20,.06)}
.hl1 .hl1-ghost .ico{color:var(--cta)}
.hl1 .hl1-ghost:hover{background:#fbfcf9;border-color:#aebbaa}
.hl1 .hl1-cta{display:inline-grid;grid-template-columns:1fr 1fr;gap:12px}
.hl1 .hl1-cta .hl1-btn{width:100%;box-sizing:border-box}
/* contained deep-green panel: photo and phone sit on it, phone breaks out above and below by the same amount */
.hl1 .hp-stage{height:624px}
.hl1 .hp-panel{position:absolute;left:0;right:0;top:48px;bottom:48px;border-radius:8px;overflow:hidden;
  background:radial-gradient(420px 320px at 80% 40%,rgba(118,185,0,.20),transparent 70%),linear-gradient(160deg,#164030 0%,#0f2e1f 55%,#0b2418 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 2px 4px rgba(15,46,31,.08),0 24px 48px rgba(15,46,31,.16)}
.hl1 .hp-photo{left:32px;top:88px;width:336px;height:416px;box-shadow:0 2px 4px rgba(0,0,0,.2),0 16px 32px rgba(0,0,0,.3);background:#1c2a22}
.hl1 .hp-phone{right:32px;top:calc((624px - var(--pw) * 2.0765) / 2);filter:drop-shadow(0 24px 40px rgba(14,26,20,.28))}
.hl1 .hp-note{left:32px;top:520px;max-width:196px;line-height:1.35;color:rgba(255,255,255,.72)}
.hl1 .hp-photo img{object-position:78% 30%}
@media (max-width:1040px){
  .hl1 .hp-stage{height:592px}
  .hl1 .hp-photo{left:32px;top:88px;width:312px;height:384px}
  .hl1 .hp-phone{top:calc((592px - var(--pw) * 2.0765) / 2)}
  .hl1 .hp-note{top:488px}
}
@media (max-width:480px){
  .hl1 .hl1-cta{display:flex;width:100%;flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:12px;margin-top:24px}
  .hl1 .hl1-cta .hl1-btn{box-sizing:border-box;flex:none;width:calc((100% - 12px) / 2);min-width:0;max-width:none;height:40px;min-height:40px;padding:0 8px;font-size:13px;line-height:1.15;text-align:center;white-space:normal;text-wrap:balance}
  .hl1 .hl1-cta .hl1-btn .ico{display:none}
  .hl1 .hp-stage{height:536px}
  .hl1 .hp-panel{top:40px;bottom:64px}
  .hl1 .hp-photo{left:16px;top:72px;width:56%;height:368px}
  .hl1 .hp-phone{right:16px;top:calc((512px - var(--pw) * 2.0765) / 2)}
  .hl1 .hp-note{left:0;right:0;top:auto;bottom:0;max-width:none;text-align:center;color:#56615a}
  .hl1 .hp-photo img{object-position:88% 30%}
}


/* Live site: the header is sticky (in flow, 64px), not fixed over the hero like the
   mockup's 72px header. Top padding = mockup padding - 64px, so the content sits
   at the same distance from the top of the page as in the approved renders. */
.hl1{padding-top:88px}
@media (max-width:1040px){.hl1{padding-top:72px}}
@media (max-width:480px){.hl1{padding-top:64px}}
/* The hero's radial tint is anchored 64px above the hero, so it continues
   seamlessly from the header (which carries the top 64px of the same tint). */
.hl1{background:radial-gradient(760px 420px at 100% -64px,rgba(118,185,0,.07),transparent 65%),linear-gradient(180deg,#f8f8f4 0%,#f3f4ee 100%)}
/* #tryDemo stays in the page because the chat-widget script references it; it is never shown in this hero. */
.hl1 #tryDemo{display:none !important}

/* Header over the light hero (class .at-top is set in the HTML and removed by a small
   script once the hero scrolls under the header; after that the live dark header is unchanged). */
.nav{transition:background-color .35s ease,box-shadow .35s ease}
.nav .logo-dark{display:none}
.nav.at-top{background:radial-gradient(760px 420px at 100% 0,rgba(118,185,0,.07),transparent 65%),#f8f8f4;color:#0e1a14;box-shadow:none}
.nav.at-top .logo-white{display:none}
.nav.at-top .logo-dark{display:block}
.nav.at-top .brand{color:#0e1a14}
.nav.at-top ul a{color:#2a332e}
.nav.at-top ul a:hover{color:#0e1a14}
.nav.at-top .btn.nav-book{color:#0e1a14;background:#fff;border-color:#c9d3c4}
.nav.at-top .btn.nav-book:hover{color:#0e1a14;background:#fbfcf9;border-color:#aebbaa}
.nav.at-top .m-menu summary{color:#0e1a14;background:#fff;border-color:#c9d3c4}
.nav.at-top .m-menu[open] summary{color:#2b7d2c;border-color:#2b7d2c}
