/**
 * HyperCorners v9.2.0 — Design foundation.
 *
 * Shared tokens and stable global rules. Visual values mirror v9.1.47 so the
 * structural refactor does not unexpectedly redesign production pages.
 */

:root {
  /* Brand */
  --hc-blue: #2563eb;
  --hc-violet: #6d28d9;
  --hc-violet-strong: #6528f7;

  /* Text and surfaces */
  --hc-text: #334155;
  --hc-heading: #475569;
  --hc-ink: #0f172a;
  --hc-muted: #64748b;
  --hc-border: #e2e8f0;
  --hc-bg-site: #f8fafc;
  --hc-bg-content: #ffffff;
  --hc-soft-bg: #f1f5f9;

  /* Status */
  --hc-success: #16a34a;
  --hc-warning: #f59e0b;
  --hc-danger: #dc2626;

  /* Radius */
  --hc-radius-xs: 8px;
  --hc-radius-sm: 10px;
  --hc-radius-md: 14px;
  --hc-radius: 16px;
  --hc-radius-lg: 22px;
  --hc-radius-pill: 999px;

  /* Spacing */
  --hc-space-1: 0.25rem;
  --hc-space-2: 0.5rem;
  --hc-space-3: 0.75rem;
  --hc-space-4: 1rem;
  --hc-space-5: 1.25rem;
  --hc-space-6: 1.5rem;
  --hc-space-8: 2rem;
  --hc-space-10: 2.5rem;
  --hc-space-12: 3rem;

  /* Controls and layout */
  --hc-control-min-height: 44px;
  --hc-container: 1280px;

  /* Elevation */
  --hc-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --hc-shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
  --hc-shadow-focus: 0 0 0 4px rgba(37, 99, 235, 0.16);

  /* Motion */
  --hc-duration-fast: 160ms;
  --hc-duration-normal: 220ms;
  --hc-ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

body {
  background: var(--hc-bg-site);
  color: var(--hc-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title {
  color: var(--hc-heading);
}

a {
  color: var(--hc-blue);
}

a:hover,
a:focus {
  color: var(--hc-violet);
}

button,
.button,
.wp-block-button__link,
input[type="submit"] {
  border-radius: var(--hc-radius-pill);
}

.site-content .ast-container {
  max-width: var(--hc-container);
}

.hc-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
