:root {
  --primary: #1E3A8A;
  --accent: #F59E0B;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --wa: #15803D;
  --open-bg: #DCFCE7;
  --open-text: #166534;
  --closed-bg: #FEE2E2;
  --closed-text: #991B1B;
  --border: #CBD5E1;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom);
}

.header {
  background: var(--primary);
  color: #FFFFFF;
  padding: calc(16px + env(safe-area-inset-top)) 16px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon { flex: 0 0 48px; }

h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.tagline {
  margin: 4px 0 0;
  font-size: 16px;
}

.lang {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.lang-btn {
  flex: 1;
  min-height: 44px;
  border: 2px solid #FFFFFF;
  border-radius: 12px;
  background: transparent;
  color: #FFFFFF;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.main {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.card p { margin: 0; }
.card p + p { margin-top: 8px; }

.notice {
  background: var(--accent);
  color: var(--text);
  border-radius: 12px;
  padding: 16px;
  font-weight: 700;
}

.notice p { margin: 0; }

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.badge.open { background: var(--open-bg); color: var(--open-text); }
.badge.closed { background: var(--closed-bg); color: var(--closed-text); }

.rows, .ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows li { padding: 4px 0; }

.ticks li {
  position: relative;
  padding: 6px 0 6px 32px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 14px;
  border: solid var(--wa);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-wa { background: var(--wa); color: #FFFFFF; }
.btn-call { background: var(--primary); color: #FFFFFF; }
.btn-map { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn-install { background: var(--accent); color: var(--text); margin-top: 12px; }

.btn:active, .lang-btn:active { transform: scale(0.98); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.install p { font-size: 16px; }

.footer {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 16px 32px;
  text-align: center;
  font-size: 16px;
}

.footer p { margin: 0; }

[hidden] { display: none !important; }

@media (min-width: 600px) {
  .header { padding-left: calc(50% - 224px); padding-right: calc(50% - 224px); }
}
