/* SyntaxTree Co., Ltd. — Black & white, simple */

:root {
  --bg: #fff;
  --bg-alt: #f5f5f5;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e0e0e0;
  --link: #1a1a1a;
  --link-hover: #333;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--link-hover);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.nav a:hover {
  color: var(--text);
}

.nav .lang-switch {
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero .tagline {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero .desc {
  margin: 0;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-intro {
  margin-bottom: 1.5rem !important;
  color: var(--text-muted);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Contact */
.contact-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
  color: var(--link-hover);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 2rem;
  background: var(--bg-alt);
}

.site-footer .copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer .icp {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.site-footer .icp a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer .icp a:hover {
  color: var(--text);
  text-decoration: underline;
}
