/* Clidsys, 2026 redesign. One stylesheet, mobile first, brand colours kept:
   orange #de761d, ink #1c1d29, light grey #f3f3f7. */

:root {
	--orange: #de761d;
	--orange-dark: #b85f14;
	--orange-soft: #fdf1e6;
	--ink: #1c1d29;
	--ink-2: #2b2c3a;
	--text: #2a2a36;
	--muted: #5f6070;
	--line: #e4e4ec;
	--bg: #f6f6f9;
	--card: #ffffff;
	--radius: 14px;
	--promo-h: 0px;
	--nav-h: 64px;
	--wrap: 1120px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	padding-top: var(--promo-h);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.hidden { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--orange-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.lede { max-width: 62ch; color: var(--muted); font-size: 18px; }
.section-head { margin-bottom: 28px; }
.section-head .lede { margin-top: 10px; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1f5; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; }
.btn--block { width: 100%; }

/* Header */
.navbar {
	position: sticky;
	top: var(--promo-h);
	z-index: 50;
	background: rgba(255,255,255,.94);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--line);
}
.navbar__inner { display: flex; align-items: center; gap: 16px; min-height: var(--nav-h); }
.navbar__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.navbar__brand:hover { text-decoration: none; }
.navbar__logo { width: 34px; height: 34px; }
.navbar__links { display: none; margin-left: 12px; gap: 4px; }
.navbar__link { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 15px; }
.navbar__link:hover { color: var(--ink); background: var(--bg); text-decoration: none; }
.navbar__link.active { color: var(--ink); }
.navbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.navbar__cta { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.language-selector { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.lang-btn { border: 0; background: transparent; padding: 5px 10px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lang-btn.active { background: var(--orange-soft); color: var(--orange-dark); }
.navbar__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.navbar__burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.navbar__menu { display: none; padding: 8px 0 14px; border-top: 1px solid var(--line); }
.navbar__menu .navbar__link { display: block; padding: 12px 8px; font-size: 17px; }
.navbar[data-open="true"] .navbar__menu { display: block; }
.navbar__lang { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 8px 4px; border-top: 1px solid var(--line); }
.navbar__lang-label { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 899px) { .navbar__actions .language-selector { display: none; } }
@media (min-width: 900px) {
	.navbar__links { display: flex; }
	.navbar__burger, .navbar__menu { display: none !important; }
}

/* Hero */
.hero { padding: 48px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero__grid { display: grid; gap: 28px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__kicker strong { color: var(--ink); font-weight: 800; }
.hero__title { font-size: clamp(44px, 7vw, 76px); letter-spacing: -0.03em; }
.hero__lede { margin-top: 14px; max-width: 30ch; color: var(--text); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; font-weight: 500; }
.hero__tagline { margin-top: 14px; color: var(--muted); font-size: 18px; letter-spacing: 0.02em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pillars { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 30px rgba(28,29,41,.06); }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 12px; background: var(--bg); }
.pillar__icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--orange-soft); }
.pillar__icon svg { width: 100%; height: 100%; fill: var(--orange); }
.pillar h3 { margin-bottom: 4px; font-size: 17px; }
.pillar p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (min-width: 900px) {
	.hero { padding: 72px 0 64px; }
	.hero__grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; }
	.pillars { padding: 18px; }
}

/* Service cards */
.services { display: grid; gap: 16px; }
.service { display: flex; flex-direction: column; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.service__icon { width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 10px; background: var(--orange-soft); }
.service__icon svg { width: 100%; height: 100%; fill: var(--orange); }
.service h3 { font-size: 21px; }
.service__desc { margin: 8px 0 16px; color: var(--muted); font-size: 15.5px; }
.checks { display: grid; gap: 9px; margin-bottom: 22px; }
.checks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23b85f14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat; }
.service .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); gap: 20px; } .service { padding: 30px 26px; } }

/* Founder quote */
.founder { display: grid; gap: 22px; padding: 28px 22px; border-radius: 18px; background: var(--ink); color: #fff; }
.founder__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.15); }
.founder__label { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.founder__name { margin: 4px 0 14px; color: #fff; font-size: 22px; }
.founder__text { color: rgba(255,255,255,.82); font-size: 17px; }
.founder__link { display: inline-block; margin-top: 16px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 720px) { .founder { grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: 36px; } .founder__photo { width: 128px; height: 128px; } }

/* Tools teaser */
.tools-strip { display: grid; gap: 12px; }
.tool-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.tool-card:hover { border-color: var(--orange); text-decoration: none; }
.tool-card img { width: 40px; height: 40px; object-fit: contain; }
.tool-card strong { display: block; font-size: 16px; }
.tool-card span { color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (min-width: 720px) { .tools-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tools-strip { grid-template-columns: repeat(4, 1fr); } .tool-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; } }

/* CTA band */
.cta { padding: 40px 22px; border-radius: 18px; background: var(--orange); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 56ch; margin: 10px auto 0; color: rgba(255,255,255,.9); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@media (min-width: 720px) { .cta { padding: 52px 40px; } }

/* Page hero (secondary pages) */
.page-hero { padding: 44px 0 28px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 44px); }
.page-hero .lede { margin-top: 12px; }

/* Pricing */
.plans { display: grid; gap: 18px; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.plan__status { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); font-size: 12.5px; font-weight: 700; }
.plan h2 { font-size: 26px; }
.plan__price { margin: 14px 0 6px; }
.plan__price small { display: block; color: var(--muted); font-size: 14px; }
.plan__price strong { display: block; color: var(--ink); font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan__desc { margin: 10px 0 18px; color: var(--muted); font-size: 15.5px; }
.plan__note { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; font-style: italic; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 24px; } .plan { padding: 34px 30px; } }

/* Contact */
.contact-grid { display: grid; gap: 20px; }
.contact-card { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-side { display: grid; gap: 14px; }
.contact-card h2 { font-size: 19px; margin-bottom: 14px; }
.contact-form__intro { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.contact-form { position: relative; min-height: 640px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.contact-form iframe { width: 100%; height: 900px; border: 0; border-radius: 10px; background: transparent; }
.contact-form__loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; background: var(--card); }
.contact-form__loader.hidden { display: none; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 340px 1fr; align-items: start; } }

/* Legal prose, markup reused from the previous site */
.legal-content { max-width: 76ch; }
.legal-content h2 { margin: 32px 0 10px; font-size: 22px; }
.legal-content h3 { margin: 22px 0 8px; font-size: 18px; }
.legal-content p, .legal-content li { color: var(--text); font-size: 16px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin: 0 0 12px; }
.legal-content a { text-decoration: underline; }

/* Tools page keeps its catalog markup (styles/tools.css); this frames it */
.tools-page .tools-catalog { padding: 0; }
.tools-philosophy { margin-top: 48px; }

/* Footer */
.footer { margin-top: 56px; padding: 40px 0 28px; background: var(--ink); color: rgba(255,255,255,.75); }
.footer__grid { display: grid; gap: 24px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.footer__brand:hover { text-decoration: none; }

.footer__tag { margin-top: 10px; max-width: 40ch; font-size: 14.5px; }
.footer h4 { margin-bottom: 10px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: rgba(255,255,255,.8); font-size: 15px; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; }
.footer__social a:hover { background: var(--orange); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.footer__bottom a { color: rgba(255,255,255,.7); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } .footer { margin-top: 72px; padding-top: 52px; } }

/* Anchor targets land below the fixed banner and the sticky header */
[id] { scroll-margin-top: calc(var(--promo-h) + var(--nav-h) + 16px); }

/* Accessibility */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: #fff; color: var(--ink); border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
/* --- Promo banner, ported from itpro-tips.com --- */
.c-promo {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    background: #fef3c7;
    box-shadow: inset 0 -2px 0 #f59e0b;
}

.c-promo__link {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    font-size: 14px;
    line-height: 22px;
    color: inherit;
    text-decoration: none;
}

/* Site-wide link hover rules use !important on both sites, so the banner has
   to answer in kind to keep its colour under the cursor. */
.c-promo .c-promo__link:hover,
.c-promo .c-promo__link:focus {
    color: #1f2937 !important;
    text-decoration: none;
}

.c-promo .c-promo__link:hover .c-promo__cta,
.c-promo .c-promo__link:focus .c-promo__cta {
    color: #b45309 !important;
}

.c-promo__icon {
    display: block;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2));
}

.c-promo__badge {
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
    background-color: #f59e0b;
    border: 1px solid #f59e0b;
    border-radius: 100px;
}

.c-promo__cta {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-weight: 700;
    color: #b45309;
}

.c-promo__arrow {
    transition: transform .15s ease;
}

.c-promo__link:hover .c-promo__arrow,
.c-promo__link:focus-visible .c-promo__arrow {
    transform: translateX(3px);
}

.c-promo__close {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 8px;
    color: #1f2937;
    cursor: pointer;
    background: 0 0;
    border: 0;
    opacity: .75;
    transform: translateY(-50%);
}

.c-promo__close:hover {
    opacity: 1;
}

/* The banner sits above the page, so everything that starts at the top of the
   viewport moves down by its height. promo-banner.js sets --promo-h. */
body {
    padding-top: var(--promo-h, 0);
}

#navbar {
    top: var(--promo-h, 0);
}

/* Both sites paint a global focus ring in their brand orange, which lands on
   the banner as an orange box right after a click. Keyboard users still get a
   ring, in a colour that reads on the yellow background. */
.c-promo .c-promo__link:focus {
    outline: none;
}

.c-promo .c-promo__link:focus-visible {
    outline: 2px solid #b45309;
    outline-offset: -4px;
    border-radius: 6px;
}

/* Promo banner on phones: icon, text on at most two lines, arrow. The link is a
   flex item of .c-promo, so it needs an explicit width and min-width to shrink
   instead of overflowing on both sides. */
@media (max-width: 767px) {
	.c-promo { justify-content: stretch; }
	.c-promo .c-promo__link { width: 100%; min-width: 0; flex-wrap: nowrap; justify-content: flex-start; gap: 10px; padding: 8px 40px 8px 12px; font-size: 13px; line-height: 17px; }
	.c-promo .c-promo__icon { flex: none; }
	.c-promo .c-promo__badge { display: none; }
	.c-promo .c-promo__text { flex: 1 1 auto; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
	.c-promo .c-promo__cta { flex: none; }
	.c-promo .c-promo__cta > span:first-child { display: none; }
	.c-promo .c-promo__close { right: 4px; }
}
}

/* 365Boost launch countdown beside the badge (promo-banner.js). Stays visible
   on phones, where the badge is hidden. */
.c-promo__countdown {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #b45309;
}
@media (max-width: 767px) {
    .c-promo .c-promo__countdown { flex: none; font-size: 12px; }
}
