:root {
  /* Colors - SAMUEL HOLLEY BRANDING */
  --brand-primary: #1A365D; /* Text Color */
  --brand-secondary: #4A5568; /* Secondary Text */
  --brand-accent: #FC6112; /* Orange */
  --brand-light: #F8FAFC; /* Alt. Secondary Background */
  --brand-white: #FFFFFF; /* Primary Background */

  --color-background: var(--brand-light);
  --color-surface: var(--brand-white);
  --color-text: var(--brand-primary);
  --color-text-secondary: var(--brand-secondary);
  --color-primary: var(--brand-accent);
  --color-primary-hover: #E0540B;
  --color-btn-primary-text: var(--brand-white);
  --color-border: rgba(26, 54, 93, 0.15);

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;

  /* Spacing & Radius */
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --radius-base: 8px;
  --radius-lg: 12px;

  /* Shadows & Animation */
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-family-base);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: var(--line-height-normal);
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-32);
}

header h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

header .subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

section {
    padding: 30px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--color-text);
}

h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 15px;
    margin-top: 25px;
}

p, ul, ol {
    margin-bottom: var(--space-16);
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

ul, ol {
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
}

#interactive-choice h2 {
    color: var(--color-text);
}

#interactive-choice {
    text-align: center;
}

.choice-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

button,
.btn {
    font-family: var(--font-family-base);
    background: var(--color-primary);
    color: var(--color-btn-primary-text);
    border: none;
    padding: var(--space-12) var(--space-24);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    border-radius: var(--radius-base);
    transition: all var(--duration-normal) var(--ease-standard);
}

button:hover,
.btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: height 0.3s ease;
}

#chatbot-header {
    background-color: var(--color-background);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
}

#chatbot-header span {
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

#chatbot-header button {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    padding: 0 5px;
}

#chat-window {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-message.user {
    background-color: var(--color-primary);
    color: var(--color-btn-primary-text);
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.chat-message.bot {
    background-color: var(--color-surface);
    color: var(--color-text-secondary);
    align-self: flex-start;
    border: 1px solid var(--color-border);
    border-bottom-left-radius: 3px;
}

#chat-input-container {
    display: flex;
    border-top: 1px solid var(--color-border);
}

#chat-input {
    flex-grow: 1;
    background-color: var(--color-surface);
    border: none;
    color: var(--color-text);
    padding: 15px;
    font-size: 1rem;
}

#chat-input:focus {
    outline: none;
    background-color: var(--color-background);
}

#chat-send {
    padding: 0 20px;
    border-radius: 0;
    border-top-left-radius: var(--radius-base);
    border-bottom-left-radius: var(--radius-base);
}
