:root {
  --sytec-color-primary: #111827;
  --sytec-color-secondary: #ffffff;
  --sytec-color-accent: #2563eb;
  --sytec-color-background: #ffffff;
  --sytec-color-surface: #f8fafc;
  --sytec-color-text: #1f2937;
  --sytec-color-muted: #64748b;
  --sytec-color-border: #e2e8f0;
  --sytec-color-success: #15803d;
  --sytec-color-warning: #b45309;
  --sytec-color-error: #b91c1c;
  --sytec-font-primary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sytec-radius-small: 4px;
  --sytec-radius-medium: 8px;
  --sytec-radius-large: 16px;
  --sytec-shadow-small: 0 1px 3px rgba(0, 0, 0, 0.08);
  --sytec-shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.1);
  --sytec-container-width: 1200px;
  --sytec-container-padding: 24px;
  --sytec-button-radius: 8px;
  --sytec-logo-width: 180px;
  --sytec-header-height: 78px;
  --sytec-header-gap: 24px;
  --sytec-footer-spacing: 64px;
  --sytec-transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  overflow-wrap: break-word;
  background: var(--sytec-color-background);
  color: var(--sytec-color-text);
  font-family: var(--sytec-font-primary);
  font-size: 1rem;
  line-height: 1.65;
}

body.sytec-menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--sytec-color-primary);
  font-weight: 750;
  line-height: 1.18;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p,
ul,
ol,
blockquote,
pre,
table {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

ul,
ol {
  padding-inline-start: 1.4rem;
}

a {
  color: var(--sytec-color-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color var(--sytec-transition), opacity var(--sytec-transition);
}

a:hover {
  color: color-mix(in srgb, var(--sytec-color-accent), #000 22%);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sytec-color-accent), transparent 55%);
  outline-offset: 3px;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0 0 1.5rem;
}

blockquote {
  margin-inline: 0;
  padding: 1rem 1.25rem;
  border-inline-start: 4px solid var(--sytec-color-accent);
  background: var(--sytec-color-surface);
  font-size: 1.125rem;
}

code,
pre {
  border-radius: var(--sytec-radius-small);
  background: #0f172a;
  color: #e2e8f0;
}

code {
  padding: 0.15rem 0.35rem;
}

pre {
  max-width: 100%;
  overflow: auto;
  padding: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  border: 1px solid var(--sytec-color-border);
  text-align: start;
  vertical-align: top;
}

th {
  background: var(--sytec-color-surface);
  color: var(--sytec-color-primary);
}

button,
input,
select,
textarea {
  max-width: 100%;
  border: 1px solid var(--sytec-color-border);
  border-radius: var(--sytec-button-radius);
  background: var(--sytec-color-secondary);
  color: var(--sytec-color-text);
  font: inherit;
}

input:not([type="checkbox"], [type="radio"], [type="submit"]),
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button,
input[type="button"],
input[type="submit"],
.sytec-button:not(.wp-block-sytec-button),
.wp-element-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--sytec-color-accent);
  border-radius: var(--sytec-button-radius);
  background: var(--sytec-color-accent);
  color: var(--sytec-color-secondary);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--sytec-transition), box-shadow var(--sytec-transition), background var(--sytec-transition);
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.sytec-button:not(.wp-block-sytec-button):hover,
.wp-element-button:hover {
  background: color-mix(in srgb, var(--sytec-color-accent), #000 16%);
  box-shadow: var(--sytec-shadow-small);
  color: var(--sytec-color-secondary);
  transform: translateY(-1px);
}

label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--sytec-color-primary);
  font-weight: 650;
}

.sytec-site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.sytec-site-main {
  flex: 1 0 auto;
}

.sytec-container {
  width: min(100% - (var(--sytec-container-padding) * 2), var(--sytec-container-width));
  margin-inline: auto;
}

.sytec-content-area,
.sytec-page-content {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.sytec-content-area--narrow {
  width: min(100% - (var(--sytec-container-padding) * 2), 820px);
}

.alignwide {
  width: min(100%, 1400px);
  max-width: 1400px;
  margin-inline: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 0.75rem;
  clip: auto;
  clip-path: none;
  background: var(--sytec-color-secondary);
}
