@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");
@import "tailwindcss";

:root {
  --tg-deep-teal: #0f4c5c;
  --tg-dusty-blue: #6c91bf;
  --tg-soft-cream: #f8f4ec;
  --tg-muted-gold: #c2a878;
  --tg-dark-brown: #3e2c23;
  --tg-divider: rgba(15, 76, 92, 0.2);
}

body {
  margin: 0;
  background: var(--tg-soft-cream);
  color: var(--tg-dark-brown);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3 {
  color: var(--tg-deep-teal);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

a {
  color: var(--tg-dusty-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--tg-deep-teal);
}

.tg-shell {
  min-height: 100vh;
  background: var(--tg-soft-cream);
  color: var(--tg-dark-brown);
}

.tg-container {
  margin: 0 auto;
  max-width: 72rem;
  padding: 2.5rem 1.5rem;
}

.tg-card {
  border: 1px solid var(--tg-divider);
  border-radius: 0.85rem;
  background: #fffaf4;
  box-shadow: 0 8px 24px rgba(62, 44, 35, 0.06);
}

.tg-kicker {
  color: var(--tg-dusty-blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tg-subtle {
  color: rgba(62, 44, 35, 0.82);
}

.tg-divider-bottom {
  border-bottom: 1px solid var(--tg-divider);
}

.tg-input,
.tg-textarea {
  width: 100%;
  border: 1px solid rgba(15, 76, 92, 0.28);
  border-radius: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: #fffcf8;
  color: var(--tg-dark-brown);
}

.tg-input:focus,
.tg-textarea:focus {
  outline: none;
  border-color: var(--tg-deep-teal);
  box-shadow: 0 0 0 3px rgba(108, 145, 191, 0.2);
}

.tg-button-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  background: var(--tg-deep-teal);
  color: #f8f4ec;
  font-weight: 600;
  padding: 0.55rem 1rem;
  text-decoration: none;
}

.tg-button-primary:hover {
  color: #f8f4ec;
  background: #0c3f4b;
}

.tg-button-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--tg-divider);
  border-radius: 0.6rem;
  background: transparent;
  color: var(--tg-deep-teal);
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
}

.tg-button-outline:hover {
  background: rgba(15, 76, 92, 0.08);
  color: var(--tg-deep-teal);
}

.tg-nav-link {
  color: var(--tg-deep-teal);
  font-weight: 500;
  text-decoration: none;
}

.tg-nav-link:hover {
  color: var(--tg-dusty-blue);
}

.tg-label {
  color: var(--tg-deep-teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tg-flash-notice {
  border: 1px solid rgba(15, 76, 92, 0.25);
  background: rgba(108, 145, 191, 0.12);
  color: var(--tg-deep-teal);
}

.tg-flash-alert {
  border: 1px solid rgba(194, 168, 120, 0.35);
  background: rgba(194, 168, 120, 0.12);
  color: var(--tg-dark-brown);
}

.tg-gold-accent {
  position: relative;
}

.tg-gold-accent::after {
  content: "";
  display: block;
  width: 4rem;
  margin-top: 0.7rem;
  border-bottom: 2px solid var(--tg-muted-gold);
}

.tg-markdown p {
  margin: 0 0 1.35rem;
}

.tg-markdown p:last-child {
  margin-bottom: 0;
}

.tg-markdown {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.06rem;
  line-height: 1.8;
}

.tg-markdown h1,
.tg-markdown h2,
.tg-markdown h3,
.tg-markdown h4 {
  margin: 2rem 0 1rem;
  line-height: 1.25;
}

.tg-markdown h1:first-child,
.tg-markdown h2:first-child,
.tg-markdown h3:first-child,
.tg-markdown h4:first-child {
  margin-top: 0;
}

.tg-markdown ul,
.tg-markdown ol,
.tg-markdown blockquote,
.tg-markdown pre {
  margin: 0 0 1.35rem;
}

.tg-markdown li + li {
  margin-top: 0.35rem;
}

.tg-markdown img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.5rem;
}
