@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --ground: #FBF8F2;
  --card: #FFFFFF;
  --ink: #17211C;
  --muted: #5B6560;
  --line: #E5DED0;
  --sand: #EFE8DA;
  --forest: #0F4A37;
  --forest-dark: #0A3326;
  --forest-tint: #E4EEE9;
  --saffron: #E3A21A;
  --laterite: #B3401F;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--forest); }
a:hover { color: var(--forest-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.5px; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 0; font: 700 15px var(--body); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--forest); color: var(--ground); }
.btn-primary:hover { background: var(--forest-dark); color: var(--ground); }
.btn-gold { background: var(--saffron); color: var(--ink); }
.btn-ghost { background: var(--sand); color: var(--ink); }
.btn-danger { background: var(--laterite); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .5; cursor: default; }

.hero { padding: 40px 0 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -2px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--laterite); }

.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 8px 0 48px; }
.promise div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.promise b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.ccard .cover { height: 130px; padding: 14px; display: flex; align-items: flex-end; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--ground); }
.ccard .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.ccard h3 { font-size: 21px; }
.muted { color: var(--muted); }
.price { font-family: var(--display); font-weight: 800; font-size: 20px; }

.section { padding: 32px 0; }
.section h2 { font-size: 30px; margin-bottom: 16px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.table-box { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }

label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: 400 15px var(--body); background: #fff; color: var(--ink); }
textarea { min-height: 90px; }
.field { margin-bottom: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 180px; }

.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--sand); }
.badge.ok { background: var(--forest-tint); color: var(--forest-dark); }
.badge.warn { background: #FBEBC5; color: #6B4A00; }
.badge.bad { background: #F6DCD3; color: #7A2A12; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 99px; background: var(--forest); }
.timeline li::after { content: ''; position: absolute; left: 5px; top: 20px; bottom: 0; width: 2px; background: #C9BFA9; }
.timeline li:last-child::before { background: var(--laterite); }
.timeline li:last-child::after { display: none; }

.notice { padding: 12px 14px; border-radius: 12px; background: var(--forest-tint); color: var(--forest-dark); }
.notice.bad { background: #F6DCD3; color: #7A2A12; }
.hidden { display: none !important; }
