:root {
  --c-acc: #0ea968;
  --c-acc-dark: #077f4d;
  --c-dark: #0a1a14;
  --c-bg: #ffffff;
  --c-bg-soft: #f0faf5;
  --c-border: #dde9e2;
  --c-text: #0a1a14;
  --c-muted: rgba(0,0,0,.5);
  --rhythm: 88px;
  --radius: 10px;
  --shadow: 0 1px 4px rgba(0,0,0,.04);
  --ff-h: 'Sora', system-ui, -apple-system, sans-serif;
  --ff-b: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--ff-b);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--ff-h); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

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

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sec { padding: var(--rhythm) 0; background: var(--c-bg); }
.sec-dark { background: var(--c-dark); color: #fff; }

.hd {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.hd .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hd-logo {
  font-family: var(--ff-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
}

.hd-nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.hd-link {
  color: var(--c-text);
  text-decoration: none;
  font-weight: 500;
}

.hd-link:hover { color: var(--c-acc); }

.hd-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hd-burger span {
  width: 25px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hd-burger { display: flex; }
  .hd-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--c-bg); border-bottom: 1px solid var(--c-border); padding: 2rem 1.5rem; gap: 1rem; }
  .hd-nav.open { display: flex; }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-acc {
  background: var(--c-acc);
  color: #fff;
}

.btn-acc:hover { background: var(--c-acc-dark); text-decoration: none; }

.btn-outline {
  border: 1px solid var(--c-acc);
  color: var(--c-acc);
  background: transparent;
}

.btn-outline:hover { background: var(--c-bg-soft); text-decoration: none; }

.sec-hero {
  background: linear-gradient(135deg, var(--c-acc) 0%, var(--c-acc-dark) 100%);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}

.sec-hero h1 { color: #fff; }
.sec-hero p { color: rgba(255,255,255,0.9); }

.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--c-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.tbl thead {
  background: var(--c-bg-soft);
  font-weight: 600;
}

.tbl th, .tbl td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.tbl tbody tr:hover { background: var(--c-bg-soft); }

.tbl tbody tr:last-child td { border-bottom: none; }

.ft {
  background: var(--c-dark);
  color: #fff;
  padding: var(--rhythm) 2rem;
  margin-top: 4rem;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.ft h4 { color: #fff; }

.ft a { color: #fff; text-decoration: underline; }

.ft p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; }

.ck {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 2rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 200;
  max-height: 90vh;
  overflow-y: auto;
}

.ck-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.ck-btns {
  display: flex;
  gap: 1rem;
}

.ck-prefs label {
  display: block;
  margin-bottom: 1rem;
}

.ck-prefs input {
  margin-right: 0.5rem;
}

@media (max-width: 600px) {
  .ck-row { grid-template-columns: 1fr; }
  .ck-btns { flex-direction: column; }
}

.qa-item { margin-bottom: 1rem; }

.qa-q {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--c-bg-soft);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  transition: 0.3s;
}

.qa-q:hover { background: var(--c-border); }

.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.qa-item.open .qa-a {
  max-height: 1000px;
  padding: 1rem;
}

.main { min-height: calc(100vh - 200px); }

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .sec { padding: calc(var(--rhythm) * 0.5) 0; }
  .tbl { font-size: 0.9rem; }
  .tbl th, .tbl td { padding: 0.75rem; }
}
