/* weldcanvas.com — steel, shop drawings, paint-marker callouts. Fonts are hosted here (no third-party requests). */
@font-face { font-family: Barlow; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Barlow; src: url(/fonts/barlow-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #0E1B3D;     /* app top bar */
  --blue: #2457D6;     /* app buttons */
  --steel: #3A4350;    /* tube in the 3D view */
  --paper: #F3F6FA;    /* drawing paper */
  --line: #D6DDE7;
  --marker: #F2C230;   /* paint-marker yellow, callouts only */
  --ink: #1B2333;
  --muted: #566173;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 Barlow, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
h1, h2 { font-family: 'Barlow Condensed', Barlow, sans-serif; font-weight: 700; line-height: 1.05; color: var(--navy); }
h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.lead { font-size: 20px; color: var(--muted); max-width: 62ch; margin: 0 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 4vw, 48px); background: var(--navy); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 26px 'Barlow Condensed', sans-serif; }
.brand img { border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); }
.top nav a { color: #fff; text-decoration: none; font-weight: 600; }
.top nav a:hover { text-decoration: underline; }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 8px; border: 2px solid var(--blue); }
.btn:hover { background: #1c47b4; border-color: #1c47b4; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.top .btn.small { padding: 8px 14px; border-color: #fff; background: #fff; color: var(--navy) !important; }
.top .btn.small:hover { text-decoration: none; background: var(--marker); border-color: var(--marker); }

/* home hero — the one loud thing: a real 3D model with a marker-yellow stock tag */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px) 32px; max-width: 1320px; margin: 0 auto; }
.herotext h1 { max-width: 11ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.soon { color: var(--muted); font-size: 16px; margin-top: 14px; }
.herofig { position: relative; margin: 0; }
.herofig img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(14, 27, 61, .5); }
.tag { position: absolute; left: clamp(-24px, -2vw, -8px); bottom: -22px; background: var(--marker); color: var(--navy); padding: 12px 16px 12px 22px; border-radius: 4px 10px 10px 4px; transform: rotate(-2deg);
  display: grid; gap: 2px; font: 600 16px/1.25 'Barlow Condensed', sans-serif; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.tag::before { content: ''; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.tagname { font-weight: 700; font-size: 19px; }

/* how it works: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 1320px; margin: 56px auto 0; padding: 0 clamp(16px, 4vw, 48px); }
.step { border-top: 4px solid var(--navy); padding-top: 14px; }
.step .num { font: 700 44px/1 'Barlow Condensed', sans-serif; color: var(--blue); }
.step h2 { margin: 6px 0 8px; }
.step p { margin: 0; color: var(--muted); max-width: 40ch; }

/* sections and grids */
.band { max-width: 1320px; margin: 56px auto 0; padding: 0 clamp(16px, 4vw, 48px); }
.wrap .band { padding: 0; margin-top: 44px; }
.bandhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bandhead a { font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card:hover { border-color: var(--steel); }
.card:hover .cname { text-decoration: underline; }
.card img { aspect-ratio: 440 / 280; object-fit: cover; background: #eef1f4; }
.cname { font-weight: 700; padding: 10px 12px 2px; line-height: 1.25; }
.cmeta { display: flex; justify-content: space-between; align-items: center; padding: 4px 12px 12px; font-size: 15px; }
.lvl { color: var(--muted); }
.price { font-weight: 700; color: var(--navy); }
.price.free { color: #1d6b3a; }
.catlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; }
.catlist a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.catlist a:hover { color: var(--blue); }
.catlist span { color: var(--muted); font-weight: 400; }
.note { color: var(--muted); }

/* inner pages */
.wrap { max-width: 1180px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 0; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.plan { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.planpic img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.plan h1 { font-size: clamp(36px, 5vw, 56px); }
.facts { margin: 0 0 24px; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; }
.why { display: block; color: var(--muted); font-size: 15px; }
.plandetail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); margin-top: 44px; }
.mat { list-style: none; padding: 0; margin: 0 0 28px; }
.mat li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.mat li span:last-child { font-weight: 700; white-space: nowrap; }
.plain { padding-left: 1.1em; margin: 0 0 28px; } .plain li { margin: 6px 0; }
.safety { background: #fff6d6; border-left: 6px solid var(--marker); padding: 14px 16px; border-radius: 4px; }

/* legal pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin-top: 36px; }
.prose p, .prose li { max-width: 72ch; }
.tablewrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy); }

/* footer */
.foot { margin-top: 80px; background: var(--navy); color: #c9d2e3; padding: 40px clamp(16px, 4vw, 48px) 24px; }
.footcols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1320px; margin: 0 auto; }
.foot a { display: block; color: #fff; text-decoration: none; padding: 3px 0; font-size: 16px; }
.foot a:hover { text-decoration: underline; }
.fbrand { font: 700 28px 'Barlow Condensed', sans-serif; color: #fff; margin: 0; }
.fhead { font-weight: 700; color: #fff; margin: 0 0 8px; }
.fine { font-size: 14px; line-height: 1.5; max-width: 60ch; }
.copy { max-width: 1320px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero, .plan, .plandetail, .steps { grid-template-columns: 1fr; }
  .herofig { margin-bottom: 20px; }
  .tag { left: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cname { font-size: 15px; } .cmeta { font-size: 13px; }
  .footcols { grid-template-columns: 1fr 1fr; } .footcols > div:first-child { grid-column: 1 / -1; }
  .top nav a[href="/support/"] { display: none; } /* Help stays in the footer */
  .brand span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
