:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #0e7c86;
  --accent-2: #f2a541;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --surface: #1e293b;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #14b8a6;
    --accent-2: #fbbf24;
    --border: #334155;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4rem 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: color-mix(in srgb, var(--surface), transparent 20%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 600px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.hero {
  padding: 6rem 16px;
  text-align: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent), transparent 90%), color-mix(in srgb, var(--accent-2), transparent 90%));
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgb(0 0 0 / 0.15);
}

.card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.subtitle {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.features {
  padding: 0;
  margin: 0 0 1.5rem 0;
  list-style: none;
  font-size: 0.9rem;
}

.features li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.tag {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

.principles {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.principles li {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
}

.email-placeholder {
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--muted);
  text-align: center;
}

footer {
  text-align: center;
  padding: 4rem 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

#about,
#contact {
  text-align: center;
}

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

footer .container {
  padding: 0 16px;
}

.email-placeholder a {
  color: var(--accent);
  text-decoration: none;
}

.email-placeholder a:hover {
  text-decoration: underline;
}
