/* Shared styling for Menu Hunter's standalone pages (legal, account management). */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #FF6B35;
  --primary-dark: #E85D2C;
  --secondary: #1B2D45;
  --bg: #FFFAF5;
  --text: #2D3748;
  --text-light: #718096;
  --white: #fff;
  --danger: #C53030;
  --radius: 16px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

header.site {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 10;
}
header.site .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--secondary); }
.logo img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.logo span.name { font-weight: 800; font-size: 20px; }
.logo span.name em { color: var(--primary); font-style: normal; }
header.site nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; margin-left: 24px; }
header.site nav a:hover { color: var(--primary); }

main { padding: 48px 0 80px; }
h1 { font-size: 38px; font-weight: 900; color: var(--secondary); line-height: 1.2; margin-bottom: 8px; }
.updated { color: var(--text-light); font-size: 14px; margin-bottom: 36px; }
h2 { font-size: 22px; font-weight: 700; color: var(--secondary); margin: 36px 0 12px; }
h3 { font-size: 17px; font-weight: 600; color: var(--secondary); margin: 24px 0 8px; }
p, li { font-size: 16px; margin-bottom: 12px; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
a { color: var(--primary); }
strong { color: var(--secondary); }
hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 40px 0; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}
.callout {
  background: #FFF5F0;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.callout.warn { background: #FFF5F5; border-left-color: var(--danger); }
.callout p:last-child, .card p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: top; }
th { font-weight: 600; color: var(--secondary); background: rgba(0,0,0,0.02); }
.table-wrap { overflow-x: auto; }

label { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 6px; color: var(--secondary); }
input[type=email], input[type=password], textarea, select {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1.5px solid rgba(0,0,0,0.14); border-radius: 10px; background: var(--white); color: var(--text);
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 92px; resize: vertical; }
.hint { font-size: 13px; color: var(--text-light); margin-top: 6px; }

button {
  font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  padding: 13px 28px; border-radius: 50px; border: none; margin-top: 24px;
  background: var(--primary); color: #fff; transition: background .2s, transform .2s;
}
button:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); }
button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
button.danger { background: var(--danger); }
button.danger:hover:not(:disabled) { background: #9B2C2C; }

.msg { border-radius: 10px; padding: 14px 16px; margin-top: 20px; font-size: 15px; display: none; }
.msg.show { display: block; }
.msg.ok { background: #F0FFF4; border: 1px solid #9AE6B4; color: #22543D; }
.msg.err { background: #FFF5F5; border: 1px solid #FEB2B2; color: #742A2A; }

footer.site {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 28px 0; text-align: center; color: var(--text-light); font-size: 14px;
}
footer.site a { color: var(--text-light); margin: 0 10px; }

@media (max-width: 600px) {
  h1 { font-size: 29px; }
  main { padding: 32px 0 56px; }
  .card { padding: 20px; }
  header.site nav a { margin-left: 14px; font-size: 14px; }
}
