:root{
  --sea: #0C6E8C;
  --sea-deep: #0A4657;
  --whitewash: #FBF6EC;
  --terracotta: #C1592E;
  --terracotta-deep: #96431F;
  --olive: #74833E;
  --ochre: #E0A23C;
  --minoan: #A23226;
  --card: #FFFFFF;
  --line: rgba(10,70,87,0.15);
  --ink: #1C2624;
  --muted: #5C6B67;
  --ok: #4C7A5E;
  --error: #B23A2E;
}
*{box-sizing:border-box;}
body{ margin:0; background:var(--whitewash); color:var(--ink); font-family:'Karla', Arial, sans-serif; font-size:16.5px; line-height:1.6; }
h1,h2,h3{ font-family:'Instrument Serif', Georgia, serif; font-weight:400; color:var(--sea-deep); margin:0 0 8px; }
a{ color:var(--sea-deep); }
.wrap{ max-width:1000px; margin:0 auto; padding:0 24px; }
.topbar{ background:var(--sea-deep); color:#fff; padding:16px 0; }
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; }
.topbar a{ color:#fff; text-decoration:none; font-family:'Instrument Serif', serif; font-size:1.25rem; }
.topbar nav a{ font-family:'Karla',sans-serif; font-size:0.9rem; font-weight:600; margin-left:20px; }

.card{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:34px; max-width:480px; margin:60px auto; box-shadow:0 20px 40px -28px rgba(10,70,87,0.35); }
.card.wide{ max-width:640px; }
.card h1{ font-size:1.7rem; margin-bottom:4px; }
.card .sub{ color:var(--muted); font-size:0.92rem; margin-bottom:26px; }

label{ display:block; font-size:0.85rem; font-weight:700; color:var(--sea-deep); margin-bottom:6px; }
input, select, textarea{ width:100%; padding:11px 13px; border-radius:8px; border:1px solid var(--line); font-family:inherit; font-size:0.96rem; background:var(--whitewash); margin-bottom:18px; }
textarea{ min-height:110px; resize:vertical; }
.field-hint{ font-size:0.8rem; color:var(--muted); margin-top:-12px; margin-bottom:18px; }

.btn{ display:inline-block; padding:12px 24px; border-radius:8px; font-weight:700; font-size:0.95rem; text-decoration:none; border:none; cursor:pointer; font-family:inherit; }
.btn-primary{ background:var(--terracotta); color:#fff; width:100%; text-align:center; }
.btn-primary:hover{ background:var(--terracotta-deep); }
.btn-outline{ background:transparent; border:1px solid var(--sea-deep); color:var(--sea-deep); }

.alert{ padding:14px 16px; border-radius:8px; font-size:0.92rem; margin-bottom:20px; }
.alert-error{ background:#FBE7E4; color:var(--error); border:1px solid #F0C4BC; }
.alert-ok{ background:#E9F1E7; color:var(--ok); border:1px solid #C9DEC2; }

.dash-header{ display:flex; justify-content:space-between; align-items:center; padding:36px 0 24px; border-bottom:1px solid var(--line); margin-bottom:32px; flex-wrap:wrap; gap:16px; }
.dash-header .credits{ background:var(--card); border:1px solid var(--line); border-radius:10px; padding:12px 20px; text-align:center; }
.dash-header .credits b{ display:block; font-family:'Instrument Serif',serif; font-size:1.6rem; color:var(--terracotta); }

.request-card{ background:var(--card); border:1px solid var(--line); border-radius:12px; padding:24px; margin-bottom:16px; }
.request-card .tag{ display:inline-block; background:var(--whitewash); border:1px solid var(--line); border-radius:20px; padding:4px 12px; font-size:0.78rem; font-weight:700; color:var(--sea-deep); margin-bottom:10px; }
.request-card .date{ color:var(--muted); font-size:0.82rem; float:right; }
.request-card p{ margin:8px 0 16px; }
.request-card.unlocked{ border-left:4px solid var(--ok); }
.contact-block{ background:var(--whitewash); border-radius:8px; padding:14px 16px; font-size:0.92rem; }

.pack-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:30px; }
.pack-card{ background:var(--card); border:1px solid var(--line); border-radius:12px; padding:26px; text-align:center; }
.pack-card .price{ font-family:'Instrument Serif',serif; font-size:1.8rem; color:var(--terracotta); margin:10px 0; }
.pack-card .unit{ font-size:0.8rem; color:var(--muted); }

.center{ text-align:center; }
.muted{ color:var(--muted); }
.code-box{ font-family:monospace; font-size:1.4rem; letter-spacing:3px; background:var(--whitewash); border:1px dashed var(--line); border-radius:8px; padding:16px; text-align:center; margin:20px 0; }

@media(max-width:700px){
  .pack-grid{ grid-template-columns:1fr; }
}
