/* ==========================================================================
   DENTIST32 — GLOBAL TOKENS & BASE
   Values taken directly from the Figma source of truth
   (file bXY4B3L3x8ajZlvQYPc9B8 — "Dentist32 For Developers").
   ========================================================================== */

@import url("fonts/fonts.css");

:root {
  /* ---- Brand ---- */
  --orange: #ff6a00;
  /* buttons, accents, eyebrows */
  --orange-deep: #fd6100;
  /* logo mark, hero headline, login button */
  --orange-hover: #e85f00;
  --orange-soft: #fff4ec;
  --blue: #0878c9;
  /* specialty labels, banners, newsletter */
  --blue-hover: #0668b0;
  --blue-light: #64b9f6;
  /* gradient stop */
  --orange-light: #ffaa6e;
  /* gradient stop */

  /* ---- Text ---- */
  --text: #2d2d2d;
  --text-muted: #66737d;
  --text-faint: #9babb7;
  --text-ink: #172b3a;
  --placeholder: rgba(23, 43, 58, 0.5);

  /* ---- Surfaces ---- */
  --white: #ffffff;
  --surface: #fafaf8;
  --surface-photo: #e7f1ee;
  --footer-bg: #2d2d2d;

  /* ---- Lines ---- */
  --border: #e1e9e5;
  --border-input: #e4e9ed;
  --border-muted: #66737d;
  --hairline: rgba(255, 255, 255, 0.1);

  /* ---- Radii ---- */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-2xl: 20px;

  /* ---- Elevation ---- */
  --shadow-header: 0 4px 4px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 2px rgba(20, 43, 39, 0.06), 0 1px 1px rgba(20, 43, 39, 0.04);
  --shadow-search: 0 8px 32px rgba(0, 0, 0, 0.18);
  --shadow-panel: 0 8px 24px rgba(20, 43, 39, 0.08), 0 2px 6px rgba(20, 43, 39, 0.05);
  --shadow-input: 0 2px 12px rgba(23, 43, 58, 0.06);

  /* ---- Type ---- */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* ---- Layout ---- */
  --container: 1180px;
  /* 1512 frame − 166px gutters each side */
  --container-wide: 1312px;
  /* header rail: 1512 − 100px each side */
  --gutter: 24px;
  --header-h: 96px;
}

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

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

body {
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

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

/* Icons default to text size; component rules override with explicit values.
   Without this, an inline <svg> with no width/height fills its container. */
svg {
  width: 1em;
  height: 1em;
  flex: none;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  /* line-height: 1.2; */
}

table {
  border-collapse: collapse;
}

/* ---- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  width: 100%;
  max-width: calc(var(--container-wide) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ---- Focus -------------------------------------------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}