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

:root {
  --bg-main: #F9F7F2;         /* Warm Alabaster Paper */
  --bg-card: #FFFFFF;
  --text-main: #1C1917;       /* Soft Black */
  --text-muted: #57534E;      /* Warm Stone */
  --accent: #9A3412;          /* Burnt Terracotta */
  --accent-hover: #7C2D12;
  --accent-light: #FFF7ED;
  --border: #E7E5E4;          /* Stone 200 */
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Main Page Layout --- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  flex: 1;
}

header { text-align: center; margin-bottom: 4rem; }

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.subtitle { 
  color: var(--text-muted); 
  font-size: 0.85rem; 
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.coming-soon-badge {
  display: inline-block;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
}

h1 { 
  font-family: 'Playfair Display', serif;
  font-size: 2rem; 
  font-weight: 600; 
  font-style: italic;
  margin-bottom: 1.5rem; 
  text-align: center;
  color: var(--text-main);
}

.description { 
  text-align: center; 
  color: var(--text-muted); 
  margin-bottom: 4rem; 
  font-size: 1.1rem; 
  max-width: 550px; 
  margin-left: auto; 
  margin-right: auto; 
}

/* Developer Note Card */
.dev-note {
  background: var(--bg-card);
  padding: 3rem;
  border: 1px solid var(--border);
  margin-bottom: 4rem;
  position: relative;
}

.dev-note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent);
}

.dev-note h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: center;
}

.dev-note p { 
  margin-bottom: 1.25rem; 
  color: var(--text-muted); 
  font-size: 1.05rem;
}

.dev-note strong { 
  color: var(--text-main); 
  font-weight: 600;
}

/* Contact Form - Minimalist Editorial Style */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group { margin-bottom: 2rem; position: relative; }

label { 
  display: block; 
  font-size: 0.75rem; 
  font-weight: 600; 
  color: var(--text-muted); 
  margin-bottom: 0.5rem; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input, textarea {
  width: 100%; 
  padding: 0.75rem 0; 
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-size: 1.1rem; 
  font-family: 'Playfair Display', serif;
  color: var(--text-main);
  background-color: transparent;
  transition: border-color 0.3s ease;
}

input::placeholder, textarea::placeholder {
  color: #A8A29E;
  font-style: italic;
}

input:focus, textarea:focus {
  outline: none; 
  border-bottom-color: var(--accent); 
}

textarea { resize: vertical; min-height: 100px; }

button {
  width: 100%; 
  padding: 1.25rem; 
  background-color: var(--text-main);
  color: #FFFFFF; 
  border: none;
  font-size: 0.8rem; 
  font-weight: 600; 
  cursor: pointer; 
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background-color 0.3s ease, transform 0.2s;
}

button:hover { 
  background-color: var(--accent);
}

button:active { transform: scale(0.98); }

.success-message {
  background-color: var(--accent-light); 
  color: var(--accent); 
  padding: 1.25rem; 
  text-align: center; 
  margin-bottom: 2rem; 
  font-weight: 500; 
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
}

/* --- Legal Pages Editorial Style --- */
.legal-container { 
  max-width: 720px; 
  margin: 0 auto; 
  padding: 5rem 1.5rem; 
  flex: 1; 
}

.legal-header { 
  text-align: center; 
  margin-bottom: 4rem; 
  padding-bottom: 2rem; 
  border-bottom: 1px solid var(--border); 
}

/* Accordion Styles - Minimalist */
details {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

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

summary {
  padding: 1.5rem 0;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

details[open] summary::after { 
  content: "−";
}

details[open] summary { 
  color: var(--accent);
  padding-bottom: 1rem;
}

.details-content {
  padding-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 1rem;
}

.details-content p { margin-bottom: 1.25rem; }
.details-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.details-content li { margin-bottom: 0.5rem; }
.details-content a { 
  color: var(--accent); 
  text-decoration: none; 
  border-bottom: 1px solid var(--accent);
  transition: opacity 0.2s;
}
.details-content a:hover { opacity: 0.7; }

/* Footer (Shared) */
footer {
  text-align: center; 
  padding: 3rem 1.5rem; 
  border-top: 1px solid var(--border);
  background-color: var(--bg-main); 
  margin-top: auto;
}

.footer-links { 
  display: flex; 
  justify-content: center; 
  gap: 2.5rem; 
  margin-bottom: 1.5rem; 
}

.footer-links a { 
  color: var(--text-muted); 
  text-decoration: none; 
  font-size: 0.75rem; 
  font-weight: 600; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-links a:hover { 
  color: var(--accent); 
}

.copyright { 
  font-size: 0.75rem; 
  color: var(--text-muted); 
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 600px) {
  .container, .legal-container { padding: 3rem 1.25rem; }
  .brand { font-size: 2.75rem; }
  .dev-note { padding: 2rem 1.5rem; }
}