/* SAMO — playful rounded one-pager. Teal + deep navy + white. */
:root {
  --teal: #17a2b0;
  --teal-dark: #0f7c8a;
  --teal-soft: #e3f5f7;
  --navy: #0b2239;
  --navy-2: #12314f;
  --ink: #16303e;
  --muted: #5b7a89;
  --gold: #f2b544;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(11, 34, 57, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Baloo 2", "Arial Rounded MT Bold", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--teal-soft);
  line-height: 1.55;
}
a { color: var(--teal-dark); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--teal);
}
header.site .wrap { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); }
.brand b { font-size: 26px; letter-spacing: 1px; }
header.site .lang-toggle { margin-left: auto; }
.menu { position: relative; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--navy); background: var(--gold); color: var(--navy);
  font-size: 24px; font-weight: 800; line-height: 1; cursor: pointer;
  box-shadow: 0 3px 0 var(--navy); font-family: inherit;
}
.menu-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--navy); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  display: flex; flex-direction: column; gap: 2px; min-width: 210px;
  background: #fff; border: 2px solid var(--navy); border-radius: 16px;
  box-shadow: var(--shadow); padding: 10px;
}
.menu-panel[hidden] { display: none; }
.menu-panel a { color: var(--navy); text-decoration: none; font-weight: 700; padding: 9px 12px; border-radius: 10px; }
.menu-panel a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.menu-panel .btn { text-align: center; margin-top: 6px; }
.lang-toggle { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; font-weight: 700; }
.lang-toggle a { padding: 4px 12px; color: var(--navy); text-decoration: none; }
.lang-toggle a.on { background: var(--navy); color: #fff; }
.btn {
  display: inline-block; background: var(--gold); color: var(--navy) !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none;
  border: 2px solid var(--navy); box-shadow: 0 4px 0 var(--navy);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.btn.ghost { background: #fff; }

/* hero */
.hero { background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; text-align: center; padding: 56px 0 64px; }
.hero img.mascot { width: min(340px, 70vw); height: auto; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--teal); }
.hero h1 { font-size: clamp(56px, 12vw, 110px); margin: 10px 0 0; letter-spacing: 4px; line-height: 1; }
.hero .tag { font-size: clamp(18px, 3.4vw, 24px); font-weight: 600; max-width: 720px; margin: 14px auto 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 16px; font-weight: 700;
  border: 2px solid var(--navy);
}
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: #37c978; box-shadow: 0 0 0 4px rgba(55, 201, 120, 0.25); }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* stat strip */
.strip { background: var(--navy); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .cell { padding: 18px 10px; text-align: center; border-left: 1px solid rgba(255,255,255,0.14); }
.strip .cell:first-child { border-left: none; }
.strip .num { font-size: 26px; font-weight: 800; color: var(--gold); }
.strip .lbl { font-size: 13px; color: #bcd3e2; font-weight: 600; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } .strip .cell { border-left: none; } }

/* sections */
section.block { padding: 52px 0; }
section.block h2 { font-size: 34px; color: var(--navy); margin: 0 0 6px; }
section.block .sub { color: var(--muted); font-weight: 600; margin: 0 0 26px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  border-top: 6px solid var(--teal);
}
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 21px; }
.card p { margin: 0; color: var(--ink); }

/* board */
.board { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 28px; border: 3px solid var(--navy); }
.board .phase-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.phase-pill { background: var(--teal); color: #fff; font-weight: 800; border-radius: 999px; padding: 6px 16px; }
.countdown { font-weight: 800; color: var(--navy); font-size: 20px; }
.countdown small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.progress { height: 26px; border-radius: 999px; background: var(--teal-soft); border: 2px solid var(--navy); overflow: hidden; margin-bottom: 22px; }
.progress > div { height: 100%; width: 0%; background: repeating-linear-gradient(45deg, var(--teal) 0 18px, var(--teal-dark) 18px 36px); transition: width 0.8s ease; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--teal-soft); border-radius: 18px; padding: 16px; }
.stat .k { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--teal-dark); text-transform: uppercase; }
.stat .v { font-size: 26px; font-weight: 800; color: var(--navy); }
.stat .v small { font-size: 15px; color: var(--muted); font-weight: 700; }
.board .note { margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 18px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--navy); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px;
}
.step h3 { margin: 8px 0 6px; color: var(--navy); }
.step p { margin: 0; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }
code { background: var(--teal-soft); padding: 1px 6px; border-radius: 6px; }

/* contracts */
.contract { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.contract .role { font-weight: 800; color: var(--gold); letter-spacing: 0.5px; }
.contract .addr { word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; color: #dcebf5; }
.contract button {
  align-self: flex-start; background: #fff; color: var(--navy); border: none; cursor: pointer;
  border-radius: 999px; padding: 5px 14px; font-weight: 800; font-family: inherit;
}
.contracts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .contracts-grid { grid-template-columns: 1fr; } }

/* faq */
details { background: #fff; border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 800; color: var(--navy); font-size: 17px; }
details p { margin: 10px 0 2px; }

footer.site { background: var(--navy); color: #bcd3e2; padding: 30px 0; text-align: center; font-weight: 600; }
footer.site a { color: var(--gold); }
