
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #767676;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:focus {
  outline: none;
}

.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 34px;
  box-sizing: border-box;
  text-align: center;
}

.home-title {
  font-size: clamp(36px, 8vw, 108px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-subtitle {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr;
  padding: 28px 24px 34px;
  box-sizing: border-box;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  gap: 14px;
}

.topline {
  text-align: center;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  user-select: none;
}

.statement {
  width: min(88vw, 540px);
  margin: 0 auto;
  text-align: center;
  font-size: clamp(24px, 5vw, 46px);
  line-height: 1.10;
  font-weight: 450;
  letter-spacing: 0.001em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

@media (max-width: 430px) {
  .shell, .home {
    padding: 22px 18px 24px;
  }
  .page {
    gap: 12px;
  }
  .topline, .home-subtitle {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .statement {
    width: min(86vw, 320px);
    font-size: clamp(21px, 5.6vw, 32px);
    line-height: 1.10;
  }
  .home-title {
    letter-spacing: 0.12em;
  }
}


.dictionary-block {
  width: min(88vw, 520px);
  margin: 0 auto 22px;
  text-align: center;
}

.dictionary-word {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--fg);
}

.dictionary-phonetic,
.dictionary-origin {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.dictionary-def {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg);
}

.dictionary-def p {
  margin: 0;
}

.dictionary-def p + p {
  margin-top: 6px;
}

@media (max-width: 430px) {
  .dictionary-block {
    width: min(86vw, 320px);
    margin-bottom: 18px;
  }
  .dictionary-word {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .dictionary-phonetic,
  .dictionary-origin {
    font-size: 9px;
  }
  .dictionary-def {
    font-size: 11px;
    line-height: 1.45;
  }
}
