
:root {
  --primary: #0f766e;
  --primary-soft: #e0f2f1;
  --accent: #f97316;
  --bg: #f3f4f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --radius-lg: 18px;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  margin: 12px 0 18px;
  background: linear-gradient(120deg, #ecfeff, #fefce8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-sign {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  background: #ecfeff;
}

.brand-text h1 {
  font-size: 18px;
  margin: 0 0 4px;
}

.brand-text p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.nav-links a {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.06);
}

.nav-links a.active {
  background: var(--primary);
  color: #ffffff;
}

.lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-switch button {
  border-radius: 999px;
  border: none;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  background: #e5e7eb;
}

.lang-switch button.active {
  background: var(--accent);
  color: #ffffff;
}

main {
  margin-bottom: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 18px;
  margin-bottom: 22px;
}

.hero-left h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.hero-left p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}

.hero-right {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  font-size: 13px;
}

.hero-right h3 {
  font-size: 14px;
  margin-top: 0;
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 6px;
}

.section {
  margin-bottom: 22px;
}

.section h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  font-size: 13px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 14px;
}

.small-text {
  font-size: 12px;
  color: var(--text-muted);
}

.list-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

footer.site-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.share-row {
  margin-top: 8px;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-row a {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 11px;
}

.form-section {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 13px;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.notice {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.calc-output {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #ecfeff;
  border: 1px solid #99f6e4;
}

.calc-output p {
  margin: 2px 0;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e5e7eb;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }

  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
}
