/* ny3dprinterrepair.com */

:root {
  --ink:    #15191d;
  --text:   #333a40;
  --muted:  #646c74;
  --line:   #d9ddd8;
  --paper:  #f7f8f5;
  --white:  #ffffff;
  --accent: #1d7a4f;      /* links, numbers */
  --go:     #4cc985;      /* buttons */
  --go-dk:  #36b06e;
  --slate:  #121c24;      /* header, hero, footer */
  --slate-line: #263644;
  --slate-text: #c2ced8;
  --slate-muted:#8ea2b3;
  --warn-bg: #eef7f1;

  --wrap: 1060px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: 1.45rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.small { font-size: .88rem; color: var(--muted); }
.email { overflow-wrap: anywhere; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2;
  padding: 12px 20px; border-radius: 6px; cursor: pointer; text-decoration: none;
  background: var(--go); color: #0d2417; border: 1.5px solid var(--go);
}
.btn:hover { background: var(--go-dk); border-color: var(--go-dk); color: #0d2417; }
.btn-plain { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-plain:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--slate); border-bottom: 1px solid var(--slate-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text { font-weight: 800; letter-spacing: -.02em; font-size: 1.06rem; color: #fff; white-space: nowrap; }
.brand-text span { color: var(--go); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: .93rem; text-decoration: none; color: var(--slate-text); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--go); text-underline-offset: 6px; }
.nav .btn { padding: 8px 14px; color: #0d2417; }
.nav .btn:hover { color: #0d2417; }

.nav-toggle {
  display: none; font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 12px;
  background: transparent; color: #fff; border: 1.5px solid #34495a; border-radius: 6px; cursor: pointer;
}

/* ---------- hero / page head ---------- */
.hero, .page-head { background: var(--slate); color: var(--slate-text); }
.hero { padding: 56px 0 64px; }
.page-head { padding: 44px 0 46px; }
.hero h1, .page-head h1 { color: #fff; }
.hero a, .page-head a { color: #fff; text-decoration-color: var(--go); }
.hero a:hover, .page-head a:hover { color: var(--go); }
.hero .btn, .hero .btn:hover, .page-head .btn, .page-head .btn:hover { color: #0d2417; }
.hero-where, .crumbs { font-size: .9rem; color: var(--slate-muted); margin-bottom: 14px; }
.crumbs a { color: var(--slate-text); }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 52px; align-items: start; }
.hero-lede, .page-head .lede { font-size: 1.12rem; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 26px 0 30px; }

.facts { margin: 0; border-top: 1px solid var(--slate-line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--slate-line); }
.facts dt { font-size: .88rem; color: var(--slate-muted); }
.facts dd { margin: 0; font-size: .95rem; color: #fff; }

.hero-art { align-self: center; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 340px; height: auto; }
figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* ---------- sections: heading on the left, content on the right ---------- */
.section { border-top: 1px solid var(--line); padding: 56px 0; }
.page-head + .section { border-top: 0; }
.section > .wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px 52px; align-items: start; }
.section h2::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--go); margin-bottom: 14px; }
.section-body > :last-child { margin-bottom: 0; }
.section-body > h3 { margin-top: 2em; }
.section-body > h3:first-child { margin-top: 0; }
.section-body > p, .section-body > ul, .section-body > ol { max-width: 40em; }

.plain-list { margin: 0 0 1.4em; }
.plain-list dt { font-weight: 700; color: var(--ink); margin-top: 1em; }
.plain-list dt:first-child { margin-top: 0; }
.plain-list dd { margin: .15em 0 0; max-width: 40em; }

.notice { border-left: 3px solid var(--accent); background: var(--warn-bg); padding: 14px 18px; margin: 1.4em 0; max-width: 42em; }
.notice p { margin: 0 0 .6em; font-size: .96rem; }
.notice p:last-child { margin: 0; }

/* numbered steps */
.steps { list-style: none; counter-reset: step; margin: 0 0 1.6em; padding: 0; max-width: 42em; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 18px 46px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -.12em; font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; }

/* two/three column cards (services, training modules) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.cards > li, .card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; margin: 0; }
.cards h3 { margin-bottom: .35em; }
.cards p { margin: 0 0 .6em; font-size: .97rem; }
.cards p:last-child { margin: 0; }
.cards a.more { font-size: .92rem; font-weight: 600; }

/* checklist (training outlines) */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 26px; }
.check li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* training module blocks */
.module { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 30px; }
.module:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.module h3 { font-size: 1.2rem; }
.module .who { font-size: .92rem; color: var(--muted); margin-top: -.3em; }
.module-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }

/* ---------- rates ---------- */
.rate-box { background: var(--slate); color: var(--slate-text); border-radius: 8px; padding: 26px 30px; max-width: 44em; margin-bottom: 26px; }
.rate-box strong { color: #fff; }
.rate-box .free { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.rate-box .free span { color: var(--go); }
.rate-box p:last-child { margin: 0; }

/* ---------- tables ---------- */
.table-scroll { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .84rem; font-weight: 600; color: var(--muted); }
tbody th { color: var(--ink); min-width: 6.5em; }
td.num { white-space: nowrap; font-weight: 600; color: var(--ink); }

/* ---------- brands (text wordmarks) ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.brand-strip li { margin: 0; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; font-size: .92rem; color: var(--ink); letter-spacing: -.01em; }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.brand-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.brand-card h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .1em; }
.brand-card .kind { font-size: .84rem; color: var(--muted); margin-bottom: .7em; }
.brand-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brand-card li { margin: 0; font-family: var(--mono); font-size: .8rem; padding: 3px 8px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

.brands + p { margin-top: 1.4em; }
.brand-card .more-link { margin: .9em 0 0; font-size: .92rem; font-weight: 600; }

/* ---------- problems ---------- */
.toc { columns: 2; column-gap: 32px; max-width: 44em; padding-left: 1.2em; }
.toc li { break-inside: avoid; }
.problem { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 26px; max-width: 44em; }
.problem:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.problem h3 { font-size: 1.15rem; }
.problem dl { margin: 0; }
.problem dt { font-weight: 700; color: var(--ink); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; margin-top: .9em; }
.problem dd { margin: .15em 0 0; }
.problem dd ul { margin: .2em 0 0; }

/* ---------- form ---------- */
.form { max-width: 44em; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 5px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #c4cac4; border-radius: 6px; padding: 10px 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(29,122,79,.18); }
.field .is-bad { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices label { font-weight: 400; display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.choices input { width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 6px; max-width: 44em; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--warn-bg); border-left: 3px solid var(--accent); color: var(--ink); }
.form-status.err { background: #fdf0ee; border-left: 3px solid #b3261e; color: var(--ink); }

.form-note { margin-top: 14px; }

.email-big { font-size: clamp(1.15rem, 4.2vw, 1.5rem); font-weight: 700; margin: 0 0 12px; overflow-wrap: anywhere; }

/* ---------- area ---------- */
.area { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 28px; max-width: 46em; }
.area h3 { font-size: .98rem; margin: .4em 0 .25em; }
.area p { font-size: .95rem; margin: 0 0 .8em; }

/* ---------- about ---------- */
.about-cols { max-width: 42em; }

/* ---------- FAQ ---------- */
.faq { max-width: 44em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 16px; }

/* ---------- call to action band ---------- */
.cta-band { background: var(--white); border-top: 1px solid var(--line); padding: 40px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.cta-band p { margin: 0; font-size: 1.1rem; color: var(--ink); max-width: 34em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); padding: 44px 0 34px; font-size: .86rem; color: var(--slate-muted); }
.footer-brand { margin-bottom: 12px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px 60px; }
.footer-inner p { max-width: 58em; margin-bottom: .8em; }
.footer-inner p a { color: var(--slate-text); text-decoration-color: var(--go); }
.footer-inner p a:hover { color: #fff; }
.footer-nav { display: grid; gap: 6px; align-content: start; white-space: nowrap; }
.footer-nav a { text-decoration: none; color: var(--slate-text); }
.footer-nav a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { gap: 16px; }
}

@media (max-width: 860px) {
  .hero { padding: 36px 0 48px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-art { display: none; }
  .section { padding: 44px 0; }
  .section > .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .module-cols { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate); border-bottom: 1px solid var(--slate-line); padding: 4px 22px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--slate-line); font-size: 1rem; }
  .nav .btn { margin-top: 14px; border-bottom: 1.5px solid var(--go); text-align: center; }
  .facts div { grid-template-columns: 96px 1fr; }
  .rate-box { padding: 22px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .toc { columns: 1; }
}

/* Tables become stacked rows on phones: name, then rate, then notes. */
@media (max-width: 600px) {
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  tbody th, tbody td { display: block; border: 0; padding: 0; }
  tbody td.num { font-size: 1.1rem; margin: 2px 0; }
  tbody td:last-child { font-size: .92rem; color: var(--muted); }
}

@media print {
  .site-header, .hero-cta, .cta-band, .form { display: none !important; }
  body { background: #fff; color: #000; }
}
