/* Tamtava's site: the app's own palette (warm cream, terracotta), light and dark, no web fonts. */
:root {
  --bg: #fbf6ef;
  --surface: #ffffff;
  --text: #2b2420;
  --muted: #6b5e55;
  --accent: #a9401a;
  --border: #e8ddd0;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1714;
    --surface: #26201c;
    --text: #f3ece4;
    --muted: #b9aba0;
    --accent: #e07a52;
    --border: #3a312b;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
  z-index: 1;
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.lang {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.9375rem;
}

main {
  padding-top: 8px;
  padding-bottom: 48px;
}

h1 {
  font-size: 1.875rem;
  line-height: 1.25;
  margin: 28px 0 8px;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 40px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1.125rem;
  margin: 28px 0 4px;
}

section:first-of-type > h2:first-child {
  border-top: 0;
  padding-top: 0;
}

.meta {
  color: var(--muted);
}

ul,
ol {
  padding-left: 1.4em;
}

li + li {
  margin-top: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9688rem;
  background: var(--surface);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

th {
  width: 34%;
  font-weight: 600;
}

.hero {
  text-align: center;
  padding: 40px 0 8px;
}

.hero img {
  width: 120px;
  height: 120px;
  border-radius: 26px;
}

.hero h1 {
  margin-top: 16px;
}

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

/* Apple's "Download on the App Store" badge, unchanged (Apple's rules); at least 40px tall on screen. */
.store {
  text-align: center;
  margin: 20px 0 8px;
}

.store a {
  display: inline-block;
  line-height: 0;
  border-radius: 8px;
}

.store img {
  width: 165px;
  height: auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 20px;
  margin: 20px 0;
}

.contact {
  font-size: 1.1875rem;
  font-weight: 600;
  word-break: break-word;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 18px;
  padding-bottom: 28px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}
