/* Hasake design system — from handoff SPEC.md. Light only, RTL, no emojis. */
:root {
  /* Brand */
  --color-primary: #0E7A86;
  --color-primary-hover: #0A5A63;
  --color-primary-tint: #E6F4F5;
  --color-secondary: #EFA23C;
  --color-secondary-soft: #FBEAD1;
  /* Surfaces */
  --color-bg: #FBFAF8;
  --color-surface: #FFFFFF;
  --color-border: #E9E6E1;
  /* Text */
  --color-text: #17282B;
  --color-text-muted: #5E6E70;
  --color-ink-on-amber: #3A2A08;
  /* States */
  --color-success: #1E9E6A; --color-success-bg: #EAF7F0;
  --color-error: #D6533C; --color-error-bg: #FBEDEA;
  /* Radius */
  --r-sm: 8px; --r-md: 11px; --r-lg: 16px; --r-xl: 20px; --r-pill: 999px;
  /* Type */
  --font-heading: 'Rubik', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --shadow-card: 0 12px 40px rgba(23,40,43,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; font-weight: 700; }
h1 { font-size: 2.5rem; } h2 { font-size: 2.125rem; } h3 { font-size: 1.375rem; }
small, .caption { font-size: .875rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--color-text-muted); }

/* Buttons */
.btn { font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-md); padding: 12px 22px; border: 1.5px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: .15s; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); text-decoration: none; }
.btn-secondary { background: #fff; border-color: var(--color-primary); color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary-tint); text-decoration: none; }
.btn-accent { background: var(--color-secondary); color: var(--color-ink-on-amber); }
.btn-accent:hover { filter: brightness(.97); text-decoration: none; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand, .brand:hover { text-decoration: none; }
.brand .tile { width: 50px; height: 50px; border-radius: 22%; background: var(--color-primary);
  display: flex; align-items: center; justify-content: center; color: #fff; }
.brand .tile svg { width: 32px; height: 32px; }
.brand .word { font-family: var(--font-heading); font-weight: 800; font-size: 1.75rem; color: var(--color-primary); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--color-text); font-weight: 600; }

/* Hero */
.hero { padding: 56px 0 36px; text-align: center; }
.hero h1 { margin-bottom: 14px; }
.hero p { font-size: 1.2rem; color: var(--color-text-muted); max-width: 640px; margin: 0 auto; }

/* Filter bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 26px 0; }
.chip-filter { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-pill);
  padding: 7px 16px; font-weight: 600; cursor: pointer; color: var(--color-text-muted); }
.chip-filter.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Group grid + card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 10px 0 60px; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16/10; background: var(--color-primary-tint); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3 { font-size: 1.15rem; }
.pill { font-family: var(--font-heading); font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: var(--r-pill); }
.pill-amber { background: var(--color-secondary-soft); color: var(--color-ink-on-amber); }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-now { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; }
.price-old { color: var(--color-text-muted); text-decoration: line-through; }
.chip-disc { background: var(--color-primary-tint); color: var(--color-primary); font-weight: 700;
  font-size: .85rem; padding: 2px 9px; border-radius: var(--r-sm); }

/* Progress */
.progress { margin-top: 4px; }
.progress .track { background: #F0EDE8; height: 10px; border-radius: var(--r-pill); overflow: hidden; }
.progress .fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--color-secondary), var(--color-primary)); }
.progress .lbl { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 6px; }
.progress .lbl .left { color: var(--color-text-muted); }
.progress .lbl .right { color: var(--color-secondary); font-weight: 700; }

/* Status chips */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600;
  padding: 4px 12px; border-radius: var(--r-pill); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.status-success { background: var(--color-success-bg); color: #136B48; } .status-success .dot { background: var(--color-success); }
.status-error { background: var(--color-error-bg); color: #A63A26; } .status-error .dot { background: var(--color-error); }
.status-neutral { background: var(--color-primary-tint); color: var(--color-primary); } .status-neutral .dot { background: var(--color-primary); }

/* Footer + partners */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding: 18px 0; flex-shrink: 0; }
.partners { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: center; margin-bottom: 18px; }
.partners .p { color: var(--color-text-muted); font-weight: 600; }
.site-footer .legal { text-align: center; color: var(--color-text-muted); font-size: .85rem; }
.site-footer .legal a { margin: 0 8px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; padding: 11px 13px;
  border: 1px solid var(--color-border); border-radius: var(--r-md); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--color-primary); border-color: var(--color-primary); }
.card-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg); padding: 26px; max-width: 460px; margin: 30px auto; box-shadow: var(--shadow-card); }
.notice { padding: 12px 14px; border-radius: var(--r-md); font-size: .92rem; }
.notice-info { background: var(--color-primary-tint); color: var(--color-primary); }

@media (max-width: 600px) {
  h1 { font-size: 2rem; } .hero { padding: 38px 0 24px; }
  .nav { gap: 14px; } .nav a.hide-sm { display: none; }
}
