/* The LANtech Group — landing page.

   The brand supplies everything: its blue and its charcoal, the thin blue rule
   that runs above the wordmark (used here as the eyebrow's marker), and the
   three-node mark (grown into the hero's network). Montserrat carries the
   headings because its geometric capitals sit naturally beside the logotype;
   Inter carries the body because it disappears. */

:root {
  --blue: #0071bc;
  --blue-deep: #005a96;
  --blue-soft: #e6f1fa;
  --ink: #262a30;
  --ink-2: #565d68;
  --ink-3: #8a93a0;
  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --rule: #e3e7ed;
  --dark: #1b1f25;
  --dark-2: #242932;
  --head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 17px/1.65 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--blue); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--head); margin: 0; }
h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 24ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.blue { color: var(--blue); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; margin: 26px 0 0; }
.prose { color: var(--ink-2); max-width: 46ch; margin-top: 18px; }

/* The eyebrow: a short blue rule (the logo's rule) then small caps. */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--head); font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
}
.eyebrow .rule { width: 28px; height: 3px; background: var(--blue); border-radius: 2px; flex: 0 0 auto; }
.eyebrow.light { color: #7cc0ee; }
.eyebrow.light .rule { background: #7cc0ee; }

.section-head { max-width: 760px; margin-bottom: 44px; }

/* --------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-head.scrolled { border-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(20, 30, 50, .35); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand img { width: 262px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); text-decoration: none; position: relative;
}
.nav a:not(.cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.cta):hover::after { transform: scaleX(1); }
.nav .cta { color: #fff; background: var(--blue); padding: 12px 18px; border-radius: 5px; white-space: nowrap; transition: background .2s, transform .2s; }
.nav .cta:hover { background: var(--blue-deep); }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 17px 24px; border-radius: 5px; border: 2px solid var(--ink); color: var(--ink);
  background: transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 113, 188, .8); }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; box-shadow: 0 14px 28px -14px rgba(0, 113, 188, .9); }
.btn.ghost { border-color: rgba(38, 42, 48, .22); }
.btn.ghost:hover { border-color: var(--ink); }
.btn .arrow { font-family: var(--body); font-weight: 500; transition: transform .2s var(--ease); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(0, 113, 188, .07), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.hero-art { position: relative; }
.net { width: 100%; height: auto; display: block; }
.net .links .faint { stroke: var(--rule); stroke-dasharray: 4 8; }

/* ------------------------------------------------------------- sections */
.section { padding: 104px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  padding: 32px 30px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { border-color: #cfdcea; }
.card svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--blue-soft);
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }


/* ------------------------------------------------------------- approach */
.section.dark { background: var(--dark); color: #e8ecf1; }
.section.dark h2 { color: #fff; }
.approach p { margin: 0 0 20px; color: #b4bcc7; font-size: 17px; max-width: 58ch; }
.approach p:last-child { margin-bottom: 0; }
.approach b { color: #fff; font-weight: 600; }

/* -------------------------------------------------------------- contact */
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; color: var(--ink-2); }
.contact-lines li { padding: 6px 0; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.form {
  display: grid; gap: 18px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 32px;
  box-shadow: 0 30px 60px -44px rgba(20, 30, 50, .45);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-family: var(--head); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.form label input, .form label textarea { display: block; margin-top: 8px; }
.form .opt { font-family: var(--body); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); margin-left: 4px; }
.form input, .form textarea {
  font: 16px/1.45 var(--body); color: var(--ink); background: var(--paper-2);
  border: 1px solid #d5dbe3; border-radius: 6px; padding: 13px 14px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form input:hover, .form textarea:hover { border-color: #b9c3cf; }
.form input:focus, .form textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 188, .18); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0; color: #b42318; font-size: 14.5px; }
.fine { margin: 0; font-size: 13.5px; color: var(--ink-3); }

/* --------------------------------------------------------------- footer */
.site-foot { background: var(--dark); color: #aab3bf; padding: 56px 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-mark { width: 60px; height: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 16px; }
.foot-name { font-family: var(--head); font-weight: 700; color: #fff; font-size: 16px; }
.foot-tag { font-size: 14px; margin-top: 4px; }
.foot-nav { display: grid; gap: 10px; }
.foot-nav a, .foot-meta a { color: #dfe4ea; text-decoration: none; font-size: 15px; }
.foot-nav a:hover, .foot-meta a:hover { color: #fff; text-decoration: underline; }
.foot-meta { display: grid; gap: 10px; font-size: 15px; }

/* --------------------------------------------------------------- thanks */
.thanks { padding: 120px 0; text-align: center; }
.thanks .eyebrow { justify-content: center; }
.thanks .btn { margin-top: 28px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.cta) { display: none; }
}
@media (max-width: 640px) {
  /* The phone gets a denser page: the same content, less air. A landing
     page that takes six screens to reach the form is asking too much of a
     thumb. Target is four. */
  .wrap { padding: 0 20px; }
  .head-row { height: 66px; }
  .brand img { width: 196px; }
  .nav .cta { padding: 10px 14px; font-size: 12px; }
  .hero { padding: 44px 0 48px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { display: none; }          /* the copy carries the phone; the network is a desktop flourish */
  .lede { font-size: 17px; margin-top: 18px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  h2 { max-width: none; }
  /* Service cards become compact rows: icon beside the title, one short paragraph. */
  .cards { gap: 10px; }
  .card { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: start; padding: 18px 18px 16px; border-radius: 8px; }
  .card svg { width: 36px; height: 36px; padding: 8px; margin: 0; grid-row: 1 / span 2; }
  .card h3 { font-size: 16.5px; margin: 6px 0 4px; }
  .card p { font-size: 15px; line-height: 1.5; }
  .approach p { font-size: 16px; margin-bottom: 14px; }
  .contact .prose { margin-top: 12px; }
  .contact-lines { margin-top: 18px; }
  .form { padding: 18px; gap: 14px; }
  .form .row2 { grid-template-columns: 1fr; }
  .form textarea { min-height: 110px; }
  .site-foot { padding: 34px 0 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .foot-mark { width: 44px; margin-bottom: 10px; }
  .foot-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
  .foot-meta { gap: 4px; font-size: 14px; }
}

