/* Try/Keep Landing Page Styles */

:root {
  --color-text: #525252;
  --color-text-dark: #171717;
  --color-text-light: #737373;
  --color-background: #ffffff;
  --color-border: rgba(0, 0, 0, 0.08);
  --font-base: 1rem;
  --font-md: 1.125rem;
  --font-lg: 1.25rem;
  --font-xl: 1.5rem;
  --font-2xl: 2rem;
  --font-3xl: 2.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: var(--font-md);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-text-dark);
}

.logo {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.app-store-badge img {
  height: 40px;
  display: block;
}

.app-store-badge:hover {
  opacity: 0.85;
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.header-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

h1 {
  font-size: var(--font-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.subhead {
  font-size: var(--font-lg);
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 1.5;
}

.manifesto {
  font-size: var(--font-base);
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-weight: 500;
}

.app-store-badge-large img {
  height: 54px;
}

/* Footer */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.made-by {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.made-by a {
  color: var(--color-text-light);
  font-weight: 500;
}

.made-by a:hover {
  color: var(--color-text-dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--color-text-dark);
  text-decoration: none;
}

/* Legal Pages */
.legal {
  justify-content: flex-start;
  padding-top: 24px;
}

.legal h1 {
  font-size: var(--font-2xl);
  margin-bottom: 8px;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

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

.legal h2 {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.legal p {
  color: var(--color-text);
  line-height: 1.7;
}

.legal ul {
  list-style: none;
  padding: 0;
}

.legal ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.7;
}

.legal ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-light);
}

.legal a {
  color: var(--color-text-dark);
  font-weight: 600;
  text-decoration: underline;
}

.legal a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 480px) {
  h1 {
    font-size: var(--font-2xl);
  }

  .subhead {
    font-size: var(--font-md);
  }

  .app-store-badge img {
    height: 36px;
  }

  .app-store-badge-large img {
    height: 48px;
  }

  .footer-links {
    gap: 16px;
  }
}
