/* Ideal I.T. — iitny.com
   Palette: ink #13263a, steel #3e5a76 (from the original Ideal I.T. mark), signal green #1d8f63 (status only),
   mist #eef3f6, line #d5dfe6, white. One memorable element: the "status board" in the hero. */
:root {
  --ink: #1d2730;
  --ink-soft: #3d4f62;
  --ink-faint: #66788a;
  --steel: #2b6c93;
  --steel-dark: #20587a;
  --green: #509312;
  --green-text: #3d730d;
  --green-bg: #e8f3dc;
  --mist: #f0f4f6;
  --line: #d5dfe6;
  --white: #fff;
  --radius: 14px;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Exo 2", var(--sans);
  --charcoal: #2c2c2c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #7fb0db; outline-offset: 2px;
}
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.mark { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.mark-icon { width: 30px; height: auto; }
.mark-text { display: grid; line-height: 1; }
.mark-tag { font: 400 .68rem/1.2 var(--brand); color: var(--ink-faint); letter-spacing: .02em; margin-top: 3px; }
.mark-name { font: 500 1.45rem/1 var(--brand); letter-spacing: .06em; color: #3a3a3a; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--ink); }
.nav-cta { color: var(--white) !important; background: var(--steel); padding: 8px 14px; border-radius: 9px; }
.nav-cta:hover { background: var(--steel-dark); }
@media (max-width: 760px) { nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--sans); padding: 14px 20px; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--steel); color: var(--white); }
.btn-primary:hover { background: var(--steel-dark); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-quiet { color: var(--steel-dark); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--steel); }

/* Hero */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.since { color: var(--steel); font-weight: 600; margin-bottom: 14px; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 600; letter-spacing: -0.025em; max-width: 17ch; }
.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The status board */
.board { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 16px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(19,38,58,.35); }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board-title { font-weight: 600; }
.board-all { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--green-text); background: var(--green-bg); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #edf2f5; }
.board-rows li:last-child { border-bottom: 0; }
.sys { font-weight: 500; }
.st { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-faint); font-size: .92rem; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); flex: none; }
.board figcaption { font-size: .82rem; color: var(--ink-faint); margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .board-all .dot { animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(80,147,18,.14); } }
}

/* Services: two equal halves */
.services { padding: 88px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.svc { padding: 40px 40px 36px; }
.svc + .svc { border-left: 1px solid var(--line); }
.svc-dev { background: #f7f9fb; }
.svc h2 { margin-bottom: 14px; }
.svc > p { color: var(--ink-soft); max-width: 48ch; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid #e6edf1; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 6px; border-left: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(-45deg); }

/* Work */
.work { padding: 8px 0 88px; }
.section-lede { color: var(--ink-soft); margin: 10px 0 28px; }
.products { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.product { display: grid; gap: 28px; align-items: center; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--white); transition: border-color .15s; }
a.product:hover { border-color: var(--steel); }
.product-feature { grid-row: span 2; grid-template-columns: 210px 1fr; }
.product .shot { border-radius: 16px; background: var(--mist); }
.product-text { background: var(--mist); }
.product h3 { margin-bottom: 10px; }
.product-name { display: flex; align-items: center; gap: 12px; }
.product-name img { width: 40px; height: 40px; border-radius: 9px; flex: none; }
.product p { color: var(--ink-soft); font-size: .98rem; }
.product-meta { font-size: .88rem; font-weight: 600; color: var(--steel); }

/* About */
.about { background: var(--charcoal); color: #e9eff4; padding: 80px 0; }
.about h2 { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.about p { color: #c9d5df; max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 48px; margin: 28px 0 0; }
.facts dt { font-size: .85rem; color: #9fb2c3; }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--white); }

/* Contact */
.contact { padding: 88px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.contact-info > p { color: var(--ink-soft); margin-top: 12px; }
address { font-style: normal; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin-top: 24px; }
.ci-label { color: var(--ink-faint); font-size: .92rem; padding-top: 1px; }
address a { font-weight: 600; text-decoration: none; }
.form { display: grid; gap: 16px; background: var(--mist); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.opt { color: var(--ink-faint); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); background: var(--white); border: 1px solid #c6d3dc; border-radius: 10px; padding: 11px 12px; width: 100%; }
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.hp { position: absolute !important; left: -9999px; }
.form-status:empty { display: none; }
.form-status { margin: 0; font-weight: 600; color: var(--steel-dark); }
.form-note { margin: 0; font-size: .85rem; color: var(--ink-faint); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0; font-size: .9rem; color: var(--ink-faint); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot p { margin: 0; }
.foot-mark { display: flex; align-items: center; gap: 10px; }

/* Privacy page */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 2.2rem; max-width: none; margin-bottom: 8px; }
.doc h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.doc .updated { color: var(--ink-faint); margin-bottom: 28px; }

@media (max-width: 900px) {
  .hero-grid, .services-grid, .products, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-feature { grid-row: auto; }
  .hero-grid { padding: 48px 0 56px; gap: 36px; }
  .svc + .svc { border-left: 0; border-top: 1px solid var(--line); }
  .svc { padding: 30px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .product-feature { grid-template-columns: 1fr; }
  .product .shot { max-width: 220px; }
  .field-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .board-head { flex-direction: column; align-items: flex-start; }
}
