/* phdeals.today — Base CSS */
:root {
  /* Palette: tropical + trustworthy */
  --sand: #FBF6EE;
  --sand-2: #F5EDDD;
  --ink: #1B2A2E;
  --ink-2: #3B4B4F;
  --muted: #7B8A8E;
  --line: #E4D9C3;
  --teal: #0F766E;
  --teal-2: #0B5C56;
  --coral: #E2725B;
  --gold: #E9A83A;
  --success: #2F855A;
  --danger: #C05621;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(27,42,46,.04), 0 12px 32px -12px rgba(27,42,46,.12);
  --shadow-lg: 0 2px 6px rgba(27,42,46,.06), 0 24px 60px -20px rgba(27,42,46,.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: .5rem; }

p { margin-bottom: 1rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .15s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-2); color: white; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--sand-2); }
.btn-coral { background: var(--coral); color: white; }
.btn-coral:hover { background: #C85541; color: white; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  background: var(--sand-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip-hot { background: #FFF0EA; color: var(--danger); border-color: #F5C8B8; }
.chip-new { background: #E7F5F1; color: var(--success); border-color: #B6D9CB; }

/* Utilities */
.muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
