/* Policy pages — privacy, terms, refund (system fonts = no load-in flicker) */
:root {
  --orange: #fc5603;
  --orange-light: #ff7a35;
  --orange-dark: #d84315;
  --maroon: #d84315;
  --page-gap: 32px;
  --bg: #fff8f5;
  --surface: #ffffff;
  --text: #0a0a0a;
  --muted: #54656f;
  --card: #ffffff;
  --radius: 16px;
}

body,
button,
input,
select,
textarea,
.policy-section,
.policy-section p,
.policy-section li,
.policy-section h2,
.hero,
.hero h1,
.hero p,
.lang-btn,
.container,
.policy-footer {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

a.back-link,
a.back-link:hover {
  text-decoration: none;
}

.hero {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 40px 24px 36px;
  margin: var(--page-gap) 20px 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(252, 86, 3, 0.25);
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.hero p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.92;
}

.lang-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 6px auto 24px;
  max-width: 760px;
  padding: 0 20px;
}

.lang-btn {
  padding: 10px 22px;
  border-radius: 20px;
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange-dark);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 6px 20px 28px;
}

.policy-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(252, 86, 3, 0.08);
}

.policy-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 10px;
  line-height: 1.3;
}

.policy-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 8px;
}

.policy-section ul {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  padding-left: 1.35rem;
  margin: 0;
  list-style-position: outside;
}

.policy-section li {
  padding-left: 0.2em;
  margin-bottom: 5px;
}

.policy-section li:last-child {
  margin-bottom: 0;
}

.policy-footer {
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  padding: 20px 24px;
}

.policy-footer p {
  margin: 0 0 6px;
  line-height: 1.45;
}

.policy-footer p:last-child {
  margin-bottom: 0;
}

.lang-te {
  display: none !important;
}

html.lang-telugu .lang-en {
  display: none !important;
}

html.lang-telugu .lang-te {
  display: block !important;
}

html.lang-telugu .lang-te.inline {
  display: inline !important;
}

html.lang-telugu .policy-section p,
html.lang-telugu .policy-section li,
html.lang-telugu .policy-footer p {
  line-height: 1.52;
}

body.terms-page .policy-section ul {
  list-style: none;
  padding-left: 0;
}

@media (max-width: 900px) {
  .hero {
    padding: 34px 16px 30px;
    margin: var(--page-gap) 16px 20px;
  }
}
