/* ═══════════════════════════════════════════
   AI REALIST DESIGN TOKENS — exact from brand
═══════════════════════════════════════════ */
:root {
  --cream:       #FAF8F3;
  --cream-2:     #F2EFE8;
  --espresso:    #3D2210;
  --orange:      #C4531F;
  --orange-d:    #A3420F;
  --brown:       #5b4230;
  --tan:         #7a5a38;
  --orange-text: #A3420F;
  --line:        rgba(61,34,16,0.13);
  --line-strong: rgba(61,34,16,0.22);
  --tab-active:  var(--orange);
  --tab-inactive: #e8e5db;
}

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

body {
  background: var(--cream);
  color: var(--espresso);
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════
   NAV — espresso bar matching brand
══════════════════════════════════════ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  height: 64px;
  background: var(--espresso);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-lock {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.logo-main {
  font-family: 'Cormorant', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
}

.logo-sub {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.5);
  font-weight: 300;
}

.nav-right {
  display: flex;
  gap: 1.8rem;
}

.nav-right a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.6);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: var(--cream);
}

.nav-right .nav-cta {
  color: var(--orange);
  border: 1px solid rgba(196,83,31,0.5);
  padding: 0.45rem 1.2rem;
}

.nav-right .nav-cta:hover {
  color: var(--cream);
  background: var(--orange);
  border-color: var(--orange);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: 4rem 4rem 3rem;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero h1 {
  font-family: 'Cormorant', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--orange);
}

/* ══════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════ */
main {
  padding: 3rem 4rem 6rem;
}

h2 {
  font-family: 'Cormorant', serif;
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.4;
  color: var(--espresso);
  margin: 2.5rem 0 1.2rem;
}

h3 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown);
  margin: 1.5rem 0 0.8rem;
}

/* ══════════════════════════════════════
   TABS COMPONENT
══════════════════════════════════════ */
.tab-container {
  margin: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.tab-buttons {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--line);
  margin-bottom: -2px;
}

.tab-button {
  padding: 0.8rem 1.5rem;
  background: var(--tab-inactive);
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brown);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-button:hover {
  background: var(--cream-2);
}

.tab-button.active {
  background: var(--cream);
  color: var(--orange);
  border-bottom: 2px solid var(--cream);
  position: relative;
  top: -1px;
  font-weight: 600;
}

.tab-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.tab-button.mac svg {
  transform: scale(1.1);
}

.tab-button.windows svg {
  transform: scale(0.95);
}

.tab-content {
  display: none;
  padding: 2rem;
  background: white;
  border-radius: 0 8px 8px 8px;
  border: 1px solid var(--line);
  border-top: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   STYLES FOR WORKSHOP EXERCISES
══════════════════════════════════════ */
section {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(61,34,16,0.1);
  border: 1px solid var(--line);
}

.prompt-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(61,34,16,0.1);
}

.prompt-card h3 {
  margin: 0 0 1rem 0;
  color: var(--espresso);
}

.prompt-card pre {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0;
  font-family: 'DM Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9em;
  line-height: 1.4;
}

.copy-button {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 14px;
  float: right;
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 400;
}

.copy-button:hover {
  background: var(--orange-d);
}

/* ══════════════════════════════════════
   LIST STYLES
══════════════════════════════════════ */
ul, ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

li {
  margin: 0.5rem 0;
  color: var(--espresso);
}

/* ══════════════════════════════════════
   LINK STYLES
══════════════════════════════════════ */
a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange-d);
  text-decoration: underline;
}

/* ══════════════════════════════════════
   CODE STYLES
══════════════════════════════════════ */
code {
  font-family: 'DM Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.2em 0.4em;
  font-size: 0.9em;
}

/* ══════════════════════════════════════
   TYPOGRAPHY UTILITY CLASSES
══════════════════════════════════════ */
.warning::before {
  content: "⚠ ";
  color: #ea4335;
  font-weight: bold;
}

.completed::before {
  content: "✓ ";
  color: #34a853;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 680px) {
  nav { padding: 0 1.5rem; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  main { padding: 3rem 1.5rem 6rem; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  
  .tab-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .tab-buttons {
    flex-wrap: wrap;
  }
}