/* tism.us — Global Styles */

:root {
  --teal: #2A9D8F;
  --teal-dark: #238577;
  --teal-light: #E8F5F3;
  --text: #1a1a1a;
  --text-secondary: #555;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.5px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-left: 24px;
}

.header-nav a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-badge {
  display: inline-block;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s;
}

.store-badge:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.store-badge img {
  height: 50px;
  width: auto;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px 0;
}

.feature {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* How it works */
.how-it-works {
  padding: 32px 0 16px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.step {
  background: var(--white);
  border-radius: 14px;
  padding: 24px 16px;
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Support page */
.support-hero {
  text-align: center;
  padding: 48px 0 32px;
}

.support-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

.amount-section {
  margin-bottom: 32px;
}

.amount-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.amount-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}

.amount-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42,157,143,0.15);
}

.amount-btn:active {
  transform: translateY(0);
}

.amount-btn .per-month {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 4px;
}

/* Success page */
.success-page {
  text-align: center;
  padding: 80px 0;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--teal);
}

.success-page p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 32px;
}

/* Legal pages */
.legal {
  padding: 48px 0 64px;
}

.legal h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal .updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal li {
  margin-bottom: 6px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  margin-top: 48px;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 12px;
}

.footer-links a:hover {
  color: var(--teal);
}

/* Button */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--teal-dark);
  text-decoration: none;
  color: var(--white);
}

/* Fine print */
.fine-print {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 24px;
  line-height: 1.5;
}

/* 404 */
.not-found {
  text-align: center;
  padding: 80px 0;
}

.not-found h1 {
  font-size: 72px;
  font-weight: 700;
  color: var(--teal);
}

.not-found p {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 16px 0 32px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 28px; }
  .hero .subtitle { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .header-nav a { margin-left: 16px; font-size: 13px; }
  .logo { font-size: 24px; }
  .store-badges { flex-direction: column; align-items: center; }
}
