/* Best SEO Company Dublin — reference site styles
   Palette: paper (cool grey-blue), ink navy, Dublin-door green accent, filing-tag mustard for evidence labels.
   Type: Bricolage Grotesque (display), Source Serif 4 (body), IBM Plex Mono (labels). */

:root {
  --paper: #eef1f4;
  --paper-2: #ffffff;
  --ink: #172033;
  --ink-2: #3b4658;
  --muted: #6b7686;
  --rule: #cfd6de;
  --green: #157a5b;
  --green-ink: #0f5c44;
  --tag: #b7791f;
  --tag-bg: #fbf3e3;
  --notice: #fff8ec;
  --focus: #ffb703;
  --max: 74rem;
  --measure: 66ch;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1520;
    --paper-2: #161e2b;
    --ink: #e6eaf0;
    --ink-2: #b9c2cf;
    --muted: #8e99a8;
    --rule: #2a3444;
    --green: #3fbf94;
    --green-ink: #7fe0bf;
    --tag: #e0a94a;
    --tag-bg: #2b2415;
    --notice: #221c12;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--muted); }
.muted { color: var(--muted); }

/* masthead */
.masthead { border-bottom: 2px solid var(--ink); background: var(--paper); }
.masthead .wrap { padding-top: .9rem; padding-bottom: 0; }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.brand { display: inline-flex; align-items: baseline; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -.02em; color: var(--ink); text-decoration: none; line-height: 1; }
.brand em { font-style: normal; color: var(--green); }
.brand-mark { display: inline-grid; place-items: center; width: 1.1em; height: 1.1em; border: 2px solid var(--ink); border-radius: 4px; font-size: .75em; font-weight: 700; transform: translateY(-.05em); }
.sitenav { display: flex; gap: 1.4rem; overflow-x: auto; margin-top: .9rem; padding-bottom: .1rem; scrollbar-width: none; }
.sitenav a { font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink-2); text-decoration: none; padding: .55rem 0 .7rem; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -2px; }
.sitenav a:hover { color: var(--ink); }
.sitenav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--green); }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; padding-top: 2rem; padding-bottom: 4rem; align-items: start; }
@media (max-width: 62rem) { .layout { grid-template-columns: 1fr; gap: 2rem; } .rail { border-top: 2px solid var(--ink); padding-top: 1.5rem; } }
.entry { max-width: var(--measure); min-width: 0; }

/* entry head */
.crumbs ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs [aria-current] { color: var(--ink-2); }
.kicker { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin: 0 0 .5rem; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .8rem; text-wrap: balance; }
.byline { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin: 0 0 1.6rem; line-height: 1.7; }

/* answer block */
.answer { background: var(--paper-2); border-left: 4px solid var(--green); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.answer p { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.slot { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }

/* contents */
.contents { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .9rem 0; margin: 0 0 1.8rem; }
.contents ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; font-family: var(--display); font-size: .95rem; line-height: 1.7; }
.contents li { break-inside: avoid; }
.contents a { color: var(--ink-2); text-decoration: none; }
.contents a:hover { color: var(--green); text-decoration: underline; }
@media (max-width: 40rem) { .contents ol { columns: 1; } }

/* body */
.body h2, .faq h2, .related h2, .sources-sec h2, .entry-foot h2, #triples h2 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.2; margin: 2.2rem 0 .7rem; }
.body h3, .faq h3 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 1.5rem 0 .4rem; }
.body p, .faq p { margin: 0 0 1rem; }
.body ul, .body ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.body li { margin-bottom: .35rem; }
.body strong { font-weight: 600; }
.body blockquote { margin: 1.2rem 0; padding: .8rem 1.1rem; border-left: 3px solid var(--tag); background: var(--tag-bg); font-style: normal; }
.body blockquote p { margin: 0; }
.body hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.tablewrap, .body table { max-width: 100%; }
.body table, .triples, .infobox table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.body table { display: block; overflow-x: auto; margin: 1rem 0 1.4rem; -webkit-overflow-scrolling: touch; border-right: 1px solid var(--rule); }
.body table::-webkit-scrollbar { height: 8px; }
.body table::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }
.body th, .body td, .triples th, .triples td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--rule); }
.body thead th, .triples thead th { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--ink); }
#triples .tablewrap { overflow-x: auto; }
.term { border-top: 1px solid var(--rule); padding-top: .4rem; }
.term h2 { margin-top: 1.6rem; }

/* evidence labels */
.label, [data-evidence] > .label { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--tag); background: var(--tag-bg); border: 1px solid var(--tag); border-radius: 3px; padding: .05rem .4rem; vertical-align: middle; margin-left: .3rem; }

/* checklist (homepage signature) */
.checklist { background: var(--paper-2); border: 2px solid var(--ink); padding: 1.1rem 1.25rem 1rem; margin: 0 0 1.8rem; }
.checklist h2 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 .2rem; }
.checklist > p { margin: 0 0 .8rem; color: var(--ink-2); font-size: .98rem; }
.checklist ol { list-style: none; margin: 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--rule); align-items: start; }
.checklist input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--green); }
.checklist label { cursor: pointer; }
.checklist label strong { font-family: var(--display); font-weight: 700; display: block; }
.checklist label span { color: var(--ink-2); font-size: .95rem; }
.checklist .status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .8rem; padding-top: .8rem; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: .8rem; }
.checklist .status output { font-weight: 500; color: var(--green-ink); }
.checklist input[type="text"] { width: 100%; height: auto; font: inherit; font-family: var(--display); padding: .35rem .5rem; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); margin: 0 0 .6rem; }
button, .btn { font-family: var(--display); font-weight: 700; font-size: .9rem; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 4px; padding: .45rem .9rem; cursor: pointer; }
button:hover { background: var(--green); border-color: var(--green); }
button.quiet { background: transparent; color: var(--ink); }
button.quiet:hover { background: var(--paper); color: var(--green-ink); border-color: var(--green); }

/* related, sources, faq */
.related ul { padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
@media (max-width: 40rem) { .related ul { columns: 1; } }
.sources { padding-left: 1.2rem; }
.sources li { margin-bottom: .4rem; }
.faq h3 { display: flex; gap: .5rem; }

/* entry footer */
.entry-foot { margin-top: 2.5rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.cite { background: var(--paper-2); padding: 1rem 1.2rem; border: 1px solid var(--rule); }
.cite h2 { margin: 0 0 .5rem; font-size: 1rem; }
.cite p { margin: 0 0 .7rem; font-size: .93rem; word-break: break-word; }
.disclosure { margin: 1.2rem 0 .6rem; padding: .9rem 1.1rem; background: var(--notice); border: 1px dashed var(--tag); font-size: .93rem; }
.disclosure::before { content: "Disclosure"; display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tag); margin-bottom: .3rem; }
.network { font-family: var(--mono); font-size: .76rem; color: var(--muted); line-height: 1.8; margin: 0; }

/* rail */
.rail { position: sticky; top: 1rem; display: grid; gap: 1.2rem; }
@media (max-width: 62rem) { .rail { position: static; } }
.infobox { background: var(--paper-2); border: 2px solid var(--ink); }
.infobox h2 { margin: 0; padding: .55rem .9rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); font-weight: 500; }
.infobox table { font-size: .88rem; }
.infobox th, .infobox td { text-align: left; vertical-align: top; padding: .45rem .9rem; border-bottom: 1px solid var(--rule); }
.infobox th { font-family: var(--mono); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); width: 38%; }
.infobox tr:last-child th, .infobox tr:last-child td { border-bottom: 0; }
.rail-entity { border-left: 3px solid var(--green); padding: .2rem 0 .2rem .9rem; font-size: .93rem; }
.rail-entity p { margin: 0 0 .4rem; }

/* site footer */
.sitefoot { border-top: 2px solid var(--ink); padding: 1.5rem 0 2.5rem; font-size: .9rem; color: var(--ink-2); }
.sitefoot p { margin: 0 0 .5rem; }

@media print {
  .masthead, .sitenav, .rail-entity, .sitefoot, button, .skip { display: none !important; }
  .layout { display: block; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .checklist { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
