/* IncFlow public site design system — matched to Northeast Registries
   (neregistries.com): Montserrat, registry green + lime, amber CTAs,
   skewed ribbon accents, charcoal text, dark footer. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand palette (sampled from neregistries.com) */
  --green: #4dac27;        /* brand green — links, icons, accents */
  --green-dark: #3d8b1f;
  --lime: #99df5d;         /* light green ribbons / highlights */
  --amber: #ffb22c;        /* primary CTA buttons */
  --amber-dark: #f5a413;
  --orange: #ff7416;       /* ribbon accent */
  --teal: #5eddde;         /* ribbon accent */
  --charcoal: #454545;     /* headings + body text */
  --footer-bg: #3a3a3a;
  --footer-deep: #262525;

  /* Legacy variable names used across pages — remapped to the new palette */
  --navy: #454545;
  --navy2: #5a5a5a;
  --blue: #4dac27;
  --blue-dark: #3d8b1f;
  --sky: #eef7e6;
  --bg: #ffffff;
  --card: #ffffff;
  --line: #dadada;
  --panel: #f4f4f4;
  --text: #454545;
  --dim: #6f6f6f;
  --ok: #4dac27;
  --warn: #b45309;
  --bad: #cc3366;
  --radius: 10px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 10px 28px rgba(0, 0, 0, .06);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.6 "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, h4 { font-weight: 700; color: var(--charcoal); }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* nav */
.nav { background: var(--card); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 20; }
.nav .container { display: flex; align-items: center; gap: 26px; height: 74px; }
.brand { display: inline-block; line-height: 1.05; text-decoration: none !important; }
.brand .over { display: block; font-size: 11px; font-weight: 500; letter-spacing: 2.5px; color: var(--dim); text-transform: uppercase; }
.brand .word { font-weight: 700; font-size: 24px; color: var(--charcoal); letter-spacing: .5px; text-transform: uppercase; border-bottom: 3px solid var(--green); padding-bottom: 2px; }
.brand .word .bolt, .brand .bolt { color: var(--green); }
.nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 600; }
.nav .links a { color: var(--charcoal); }
.nav .links a:hover { color: var(--green); text-decoration: none; }

/* buttons — NE style: uppercase Montserrat bold, amber primary */
.btn {
  display: inline-block; background: var(--amber); color: #fff; font-weight: 700;
  font-family: inherit; text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 26px; border-radius: 3px; border: 0; cursor: pointer; font-size: 14px;
  transition: background .15s;
}
.btn:hover { background: var(--amber-dark); text-decoration: none; }
.btn.big { padding: 17px 34px; font-size: 15px; }
.btn.green { background: var(--green); }
.btn.green:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--sky); }
.btn.subtle { background: var(--sky); color: var(--green-dark); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .chev { display: inline-block; margin-left: 8px; font-weight: 800; }

/* skewed ribbon buttons (NE location-style parallelograms) */
.ribbon {
  display: inline-block; transform: skewX(-14deg); border-radius: 2px;
  padding: 13px 30px; color: #fff !important; font-weight: 700; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer;
  transition: filter .15s; text-decoration: none !important;
}
.ribbon > span { display: inline-block; transform: skewX(14deg); }
.ribbon:hover { filter: brightness(1.07); }
.ribbon.orange { background: var(--orange); }
.ribbon.lime { background: var(--lime); }
.ribbon.teal { background: var(--teal); }
.ribbon.amber { background: var(--amber); }

/* green check list (NE feature lists) */
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234dac27" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 13l5 6L20 5"/></svg>') no-repeat center / contain;
}

/* section headings — bold with short green underline bar */
.sect-head { position: relative; padding-bottom: 14px; margin-bottom: 18px; }
.sect-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 120px; height: 4px; background: var(--lime); border-radius: 2px; }

/* dotted dash decoration (NE background pattern) */
.dots {
  background-image: repeating-linear-gradient(0deg, #d9d9d9 0 7px, transparent 7px 18px),
    repeating-linear-gradient(90deg, transparent 0 3px, #fff0 3px 22px);
  background-blend-mode: normal;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 22px);
          mask-image: repeating-linear-gradient(90deg, #000 0 3px, transparent 3px 22px);
}

/* forms */
label.field { display: block; margin-bottom: 16px; }
label.field .lbl { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--charcoal); }
label.field .sub { font-weight: 400; color: var(--dim); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 6px; background: #fff; color: var(--text);
}
/* Example text must not look like a filled-in answer: lighter, italic, starts with "e.g." */
input::placeholder, textarea::placeholder { color: #a8a8a8; font-style: italic; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(77,172,39,.18); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--bad); }
/* "Same as…" suggestion buttons above a group of fields */
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; }
.suggest[hidden], .suggest .chip[hidden] { display: none; }
.suggest-lead { font-size: 13.5px; color: var(--dim); }
.chip { font: inherit; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--green); background: #fff; color: var(--green-dark); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip:hover, .chip:focus-visible { background: var(--sky); outline: none; }
.chip::before { content: "+ "; }
@keyframes just-filled { from { background: var(--sky); } to { background: #fff; } }
input.just-filled { animation: just-filled 1.2s ease-out; }
.hint { font-size: 13.5px; color: var(--dim); margin-top: 5px; }
.error-msg { color: var(--bad); font-size: 14px; margin-top: 6px; }

/* choice cards (radio-as-card) */
.choices { display: grid; gap: 12px; margin: 10px 0 18px; }
.choices.cols2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .choices.cols2 { grid-template-columns: 1fr; } }
.choice {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px;
  cursor: pointer; background: var(--card); transition: border-color .12s, box-shadow .12s;
}
.choice:hover { border-color: var(--green); }
.choice.selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(77,172,39,.16); background: var(--sky); }
.choice h4 { font-size: 16px; margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
.choice p { font-size: 14px; color: var(--dim); }
.choice .tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: var(--green); color: #fff; border-radius: 999px; padding: 2px 9px; }

.help {
  background: var(--sky); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0;
  padding: 12px 15px; font-size: 14px; color: var(--charcoal); margin: 14px 0;
}
.help b { color: var(--green-dark); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* footer — NE dark charcoal with deep bottom bar */
footer { margin-top: 0; background: var(--footer-bg); color: #e7e7e7; font-size: 14px; }
footer a { color: var(--lime); }
footer .foot-main { padding: 46px 0 40px; }
footer .foot-bottom { background: var(--footer-deep); padding: 18px 0; color: #bdbdbd; font-size: 13.5px; }
footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }

/* ---- order forms: file upload + totals ---- */
.filegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .filegrid { grid-template-columns: 1fr; } }
.filebox { display: flex; flex-direction: column; gap: 6px; border: 2px dashed var(--line); border-radius: 12px; padding: 18px; cursor: pointer; background: #fff; min-height: 128px; justify-content: center; }
.filebox:hover { border-color: var(--green); background: var(--sky); }
.filebox.has-file { border-style: solid; border-color: var(--green); }
.filebox .fb-title { font-weight: 700; font-size: 15px; }
.filebox .fb-cta { color: var(--green-dark); font-weight: 600; font-size: 14.5px; }
.filebox .fb-hint, .filebox .sub { color: var(--dim); font-size: 13px; font-weight: 400; }
.filebox .fb-name { font-size: 14px; word-break: break-all; }
.filebox .fb-change { color: var(--green-dark); font-size: 13px; text-decoration: underline; }
.filebox .fb-preview { max-width: 100%; max-height: 140px; object-fit: contain; border-radius: 6px; align-self: flex-start; }
table.totals { width: 100%; border-collapse: collapse; margin: 16px 0 6px; font-size: 15px; }
table.totals td { padding: 7px 0; border-bottom: 1px solid var(--line); }
table.totals td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
table.totals tr.sum td { font-weight: 800; border-bottom: 0; font-size: 17px; color: var(--charcoal); }
